[U-Boot] [PATCH 3/3] arm: goni: update environmental variables
Robert Baldyga
r.baldyga at samsung.com
Wed Sep 17 10:03:37 CEST 2014
According to changes in memory configuration in first stage bootloader,
memory in address range 0x30000000-0x35000000 is no longer available.
It has moved to 0x20000000-0x25000000 to make DRAM base for kernel
the same as in another platforms based on s5pv210 SoC.
Because this memory bank is not currently used by u-boot we have only
to change addresses used in default environmental variables to be sure
that operations like kernel loading will be done at correct address in
memory.
Signed-off-by: Robert Baldyga <r.baldyga at samsung.com>
---
include/configs/s5p_goni.h | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
index eab9288..97891b0 100644
--- a/include/configs/s5p_goni.h
+++ b/include/configs/s5p_goni.h
@@ -149,7 +149,7 @@
CONFIG_COMMON_BOOT
#define CONFIG_UPDATEB "updateb=onenand erase 0x0 0x100000;" \
- " onenand write 0x32008000 0x0 0x100000\0"
+ " onenand write 0x22008000 0x0 0x100000\0"
#define CONFIG_MISC_COMMON
#define CONFIG_MISC_INIT_R
@@ -162,13 +162,13 @@
CONFIG_UPDATEB \
"updatek=" \
"onenand erase 0xc00000 0x600000;" \
- "onenand write 0x31008000 0xc00000 0x600000\0" \
+ "onenand write 0x21008000 0xc00000 0x600000\0" \
"updateu=" \
"onenand erase 0x01560000 0x1eaa0000;" \
- "onenand write 0x32000000 0x1260000 0x8C0000\0" \
+ "onenand write 0x22000000 0x1260000 0x8C0000\0" \
"bootk=" \
"run loaduimage;" \
- "bootm 0x30007FC0\0" \
+ "bootm 0x20007FC0\0" \
"flashboot=" \
"set bootargs root=/dev/mtdblock${bootblock} " \
"rootfstype=${rootfstype} ${opts} " \
@@ -180,10 +180,10 @@
"tftpboot=" \
"set bootargs root=ubi0!rootfs rootfstype=ubifs " \
"${opts} ${lcdinfo} " CONFIG_COMMON_BOOT \
- "; tftp 0x30007FC0 uImage; bootm 0x30007FC0\0" \
+ "; tftp 0x20007FC0 uImage; bootm 0x20007FC0\0" \
"ramboot=" \
"set bootargs " CONFIG_RAMDISK_BOOT \
- "initrd=0x33000000,8M ramdisk=8192\0" \
+ "initrd=0x23000000,8M ramdisk=8192\0" \
"mmcboot=" \
"set bootargs root=/dev/mmcblk${mmcdev}p${mmcrootpart} " \
"rootfstype=${rootfstype} ${opts} ${lcdinfo} " \
@@ -194,7 +194,7 @@
"rootfstype=ext4\0" \
"console=" CONFIG_DEFAULT_CONSOLE \
"meminfo=mem=80M mem=256M at 0x40000000 mem=128M at 0x50000000\0" \
- "loaduimage=ext4load mmc ${mmcdev}:${mmcbootpart} 0x30007FC0 uImage\0" \
+ "loaduimage=ext4load mmc ${mmcdev}:${mmcbootpart} 0x20007FC0 uImage\0" \
"mmcdev=0\0" \
"mmcbootpart=2\0" \
"mmcrootpart=5\0" \
--
1.9.1
More information about the U-Boot
mailing list