From a031c0833b322258f5d7fe77efc965b9d4eead42 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 645f86d0db..c9ee38bd31 100644 --- a/board/davinci/sysmobts_v2/sysmobts_v2.c +++ b/board/davinci/sysmobts_v2/sysmobts_v2.c @@ -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); } diff --git a/include/configs/davinci_sysmobts_v2.h b/include/configs/davinci_sysmobts_v2.h index 620047117f..1476d8a829 100644 --- a/include/configs/davinci_sysmobts_v2.h +++ b/include/configs/davinci_sysmobts_v2.h @@ -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 */