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
parent 40d74c99ac
commit a031c0833b
2 changed files with 3 additions and 3 deletions

View File

@ -177,7 +177,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

@ -102,8 +102,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_SKIP_RELOCATE_UBOOT /* to a proper address, init done */