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:
parent
8c2ff5295c
commit
0a964871c7
|
@ -166,7 +166,7 @@ int misc_init_r(void)
|
||||||
if (sysmobts_v2_read_mac_address(eeprom_enetaddr))
|
if (sysmobts_v2_read_mac_address(eeprom_enetaddr))
|
||||||
davinci_sync_env_enetaddr(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);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -99,8 +99,8 @@
|
||||||
#define MTDPARTS_DEFAULT \
|
#define MTDPARTS_DEFAULT \
|
||||||
"mtdparts=davinci_nand.0:" \
|
"mtdparts=davinci_nand.0:" \
|
||||||
"128k(U-Boot-Environment)ro," \
|
"128k(U-Boot-Environment)ro," \
|
||||||
"384k(UBL)ro," \
|
"640k(UBL)ro," \
|
||||||
"512k(U-Boot)ro," \
|
"3328k(U-Boot)ro," \
|
||||||
"-(RootFs)"
|
"-(RootFs)"
|
||||||
#define CONFIG_SKIP_LOWLEVEL_INIT /* U-Boot is loaded by a bootloader */
|
#define CONFIG_SKIP_LOWLEVEL_INIT /* U-Boot is loaded by a bootloader */
|
||||||
#define CONFIG_SYS_NAND_BASE 0x02000000
|
#define CONFIG_SYS_NAND_BASE 0x02000000
|
||||||
|
|
Loading…
Reference in New Issue