Boot from SD fail after 2013.02
Sascha Hauer
s.hauer at pengutronix.de
Thu Apr 18 07:59:18 EDT 2013
On Thu, Apr 18, 2013 at 03:06:26PM +0400, Alexander Shiyan wrote:
>
> So. OK, I temporary patch my board and it working now.
> Please forget about correct memory size, it is not true.
> Size is incorrect. Both banks are enabled and size detected as 512M.
> I think this size is programmed by flash_header:
> { .ptr_type = 4, .addr = 0x83fd9000, .val = 0xb2a20000, },
> { .ptr_type = 4, .addr = 0x83fd9008, .val = 0xb2a20000, },
>
> After program NAND and start from NAND, size is still wrong...
> So, what we can do it this case for proper operation? Disable second bank?
When writing the autodetection code I assumed that all boards correctly
setup the SDRAM controller. Appearently I was wrong.
I suggest disabling the second chip select since it's not used on your
board. However, I begin doubting that it was the right decision to
depend on ram size detection.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list