samsung: tizen_rpi: change kernel and bootparam loading address
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 10 Sep 2019 10:11:13 +0000 (19:11 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 17 Oct 2023 04:19:19 +0000 (13:19 +0900)
Change kernel and bootparam loading address.
ramdisk/script/fdt address are changed at latest mainline.
So tizen kernel loading address also needs to change.

As comment, rebootparam address is ramdisk_addr_r.
But 0x3a62b000 is not ramdisk_addr_r.
Fixed to rebootparam_addr as correct ramdisk_addr_r.

Change-Id: I5fc5aadbc5ffe94e7917eb5e41370937ea48850b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
include/samsung/tizen_rpi.h

index 0faff8b..38ae0c6 100644 (file)
@@ -45,7 +45,7 @@
 
 /*
 # Tizen kernel image is over than 16MB, it will be overlapped with other address.
-# To avoid this behaivor, change to 0x02d00000 from 0x01000000
+# To avoid this behaivor, change to 0x03300000 from 0x01000000
 #
 # NOTE: booti command will move kernel image to 0x80000 (text offset), and
 # ramdisk is loaded to $ramdisk_addr_r (0x02100000), so kernel should be equal
 # 0x6c6e7764 is ascii code for representing string "dwnl"
 */
 #define TIZEN_ENV_SETTING \
-       "tizen_kernel_addr_r=0x02d00000\0"      \
+       "tizen_kernel_addr_r=0x03300000\0"      \
        "mmcbootdev=0\0"                        \
        "mmcbootpart=1\0"                       \
        "mmcrootdev=0\0"                        \
        "mmcrootpart=2\0"                       \
        "mmcinformpart=9\0"                     \
        "rebootparamfile=reboot-param.bin\0"    \
-       "rebootparam_addr=0x3a62b000\0"         \
+       "rebootparam_addr=0x02700000\0"         \
        "upgrade_val=72677075\0"                \
        "recovery_val=72766372\0"               \
        "nodef_val=6665646e\0"                  \