sysmobts-v2: Change the rootfs partitioning for bigger u-boot

We are flashing multiple copies of the UBL and U-Boot to be more
tolerant for too many bit flips in the early messages.
This commit is contained in:
Holger Hans Peter Freyther 2014-05-19 15:19:58 +02:00 committed by Holger Hans Peter Freyther
parent 8c2ff5295c
commit 0a964871c7
2 changed files with 3 additions and 3 deletions

View File

@ -166,7 +166,7 @@ int misc_init_r(void)
if (sysmobts_v2_read_mac_address(eeprom_enetaddr))
davinci_sync_env_enetaddr(eeprom_enetaddr);
setenv("fwup", "dhcp;setenv filesize 0;tftp 85000000 ${tftp_serverip}:rootfs.ubi;mtdpart default;nand erase.part RootFs;nand write 85000000 100000 ${filesize}");
setenv("fwup", "dhcp;setenv filesize 0;tftp 85000000 ${tftp_serverip}:rootfs.ubi;mtdpart default;nand erase.part RootFs;nand write 85000000 RootFs ${filesize}");
return(0);
}

View File

@ -99,8 +99,8 @@
#define MTDPARTS_DEFAULT \
"mtdparts=davinci_nand.0:" \
"128k(U-Boot-Environment)ro," \
"384k(UBL)ro," \
"512k(U-Boot)ro," \
"640k(UBL)ro," \
"3328k(U-Boot)ro," \
"-(RootFs)"
#define CONFIG_SKIP_LOWLEVEL_INIT /* U-Boot is loaded by a bootloader */
#define CONFIG_SYS_NAND_BASE 0x02000000