configs: at91: at91sam9x5ek: fix bootcmd for NAND flash
PATCH 1/1 configs: at91: at91sam9x5ek: fix bootcmd for NAND flash
The default bootcommand needs to be accurate w.r.t the nand memory map
at http://www.at91.com/linux4sam/bin/view/Linux4SAM/AT91sam9x5ekMainPage#NAND_Flash_demo_Memory_map
Updated to load kernel + dtb at right offsets and boot the zImage.
Signed-off-by Eugen Hristev <[email protected]>
--- include/configs/at91sam9x5ek.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
include/configs/at91sam9x5ek.h +3 -2
@@ -85,8 +85,9 @@#define CONFIG_ENV_OFFSET_REDUND 0x100000#define CONFIG_ENV_SIZE 0x20000/* 1 sector = 128 kB */ #define CONFIG_BOOTCOMMAND "nand read " \ - "0x22000000 0x200000 0x300000; " \ - "bootm 0x22000000" + "0x22000000 0x200000 0x600000; " \ + "nand read 0x21000000 0x180000 0x20000; " \ + "bootz 0x22000000 - 0x21000000"#elif defined(CONFIG_SPI_BOOT )/* bootstrap + u-boot + env + linux in spi flash */ #define CONFIG_ENV_OFFSET 0x5000
Signature · 1 line
2.7.4
Quoted 6 lines · Eugen.Hristev at microchip.com
The default bootcommand needs to be accurate w.r.t the nand memory map
at http://www.at91.com/linux4sam/bin/view/Linux4SAM/AT91sam9x5ekMainPage#NAND_Flash_demo_Memory_mapUpdated to load kernel + dtb at right offsets and boot the zImage.
Signed-off-by Eugen Hristev <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181102/f16e0f14/attachment.sig>