From: Minkyu Kang Date: Tue, 2 Feb 2010 04:22:50 +0000 (+0900) Subject: s5pc110: universal: partition update (temporary) X-Git-Tag: JB02_20100203~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4845f9b66be14043918448f607c21aedbd1f4ded;p=kernel%2Fu-boot.git s5pc110: universal: partition update (temporary) name size offset mask_flags 0: bootloader 0x00040000 0x00000000 0 1: params 0x00040000 0x00040000 0 2: config 0x00380000 0x00080000 0 3: csa_new 0x00800000 0x00400000 0 4: kernel 0x00600000 0x00c00000 0 5: log 0x00100000 0x01200000 0 6: modem 0x00980000 0x01300000 0 7: csa 0x00800000 0x01c80000 0 8: UBI 0x1db80000 0x02480000 0 Signed-off-by: Minkyu Kang --- diff --git a/include/configs/s5pc1xx_universal.h b/include/configs/s5pc1xx_universal.h index a82c5f1..0b79362 100644 --- a/include/configs/s5pc1xx_universal.h +++ b/include/configs/s5pc1xx_universal.h @@ -141,20 +141,22 @@ #define MTDIDS_DEFAULT "onenand0=samsung-onenand" #define MTDPARTS_DEFAULT "mtdparts=samsung-onenand:256k(bootloader)"\ ",128k(params)"\ - ",3m(kernel)"\ - ",18m(modem)"\ - ",7m(fota)"\ - ",8m(csa)"\ + ",3584k(config)"\ + ",8m(csa_new)"\ + ",6m(kernel)"\ ",1m(log)"\ + ",9728k(modem)"\ + ",8m(csa)"\ ",-(UBI)\0" #define MTDPARTS_DEFAULT_4KB "mtdparts=samsung-onenand:256k(bootloader)"\ ",256k(params)"\ - ",3m(kernel)"\ - ",18m(modem)"\ - ",7m(fota)"\ - ",8m(csa)"\ + ",3584k(config)"\ + ",8m(csa_new)"\ + ",6m(kernel)"\ ",1m(log)"\ + ",9728k(modem)"\ + ",8m(csa)"\ ",-(UBI)\0" #define NORMAL_MTDPARTS_DEFAULT MTDPARTS_DEFAULT @@ -169,13 +171,13 @@ " ${meminfo}" \ " ${mtdparts}" -#define CONFIG_BOOTARGS "root=/dev/mtdblock8 ubi.mtd=7 ubi.mtd=5" \ +#define CONFIG_BOOTARGS "root=/dev/mtdblock8 ubi.mtd=8 ubi.mtd=7" \ " rootfstype=cramfs " CONFIG_COMMON_BOOT #define CONFIG_UPDATEB "updateb=onenand erase 0x0 0x40000;" \ " onenand write 0x32008000 0x0 0x40000\0" -#define CONFIG_UBI_MTD " ubi.mtd=${ubiblock} ubi.mtd=5" +#define CONFIG_UBI_MTD " ubi.mtd=${ubiblock} ubi.mtd=7" #define CONFIG_UBIFS_OPTION "rootflags=bulk_read,no_chk_data_crc" @@ -183,11 +185,11 @@ #define CONFIG_SYS_CONSOLE_IS_IN_ENV #define CONFIG_EXTRA_ENV_SETTINGS \ CONFIG_UPDATEB \ - "updatek=onenand erase 0x80000 0x300000;" \ - " onenand write 0x31008000 0x80000 0x300000\0" \ + "updatek=onenand erase 0xc00000 0x600000;" \ + " onenand write 0x31008000 0xc00000 0x600000\0" \ "updateu=onenand erase 0x01560000 0x1eaa0000;" \ " onenand write 0x32000000 0x1260000 0x8C0000\0" \ - "bootk=onenand read 0x30007FC0 0x80000 0x300000;" \ + "bootk=onenand read 0x30007FC0 0xc00000 0x600000;" \ " bootm 0x30007FC0\0" \ "flashboot=set bootargs root=/dev/mtdblock${bootblock}" \ " rootfstype=${rootfstype}" \ @@ -211,8 +213,8 @@ "meminfo=mem=80M mem=128M@0x40000000\0" \ "nfsroot=/nfsroot/arm\0" \ "mmcblk=/dev/mmcblk1p1\0" \ - "bootblock=8\0" \ - "ubiblock=7\0" \ + "bootblock=9\0" \ + "ubiblock=8\0" \ "ubi=enabled" /*