From 0a964871c71999031353d6f1bd19360e074ec8f2 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 19 May 2014 15:19:58 +0200 Subject: [PATCH] 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. --- board/davinci/sysmobts_v2/sysmobts_v2.c | 2 +- include/configs/davinci_sysmobts_v2.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/davinci/sysmobts_v2/sysmobts_v2.c b/board/davinci/sysmobts_v2/sysmobts_v2.c index c40358a9b0..5d1a06005e 100644 --- a/board/davinci/sysmobts_v2/sysmobts_v2.c +++ b/board/davinci/sysmobts_v2/sysmobts_v2.c @@ -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); } diff --git a/include/configs/davinci_sysmobts_v2.h b/include/configs/davinci_sysmobts_v2.h index 21517a1901..94bc621d1d 100644 --- a/include/configs/davinci_sysmobts_v2.h +++ b/include/configs/davinci_sysmobts_v2.h @@ -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