samsung: tizen_amlogic: increase u-boot size for raw write 53/247853/1
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 17 Nov 2020 11:35:14 +0000 (20:35 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 17 Nov 2020 11:35:14 +0000 (20:35 +0900)
Increase u-boot size from 0x850 to 0x1000.
- From 1M to 2M.
If u-boot image is over 1064K (0x850), then it will be broken.

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

index 0112fe7635e2de98bc9d3ca763862f4e66eb0698..deac19fa4b04d887c4e8a661a9f806cfa4076d4f 100644 (file)
        "ramdisk.img part -1 7;"                \
        "ramdisk-recovery.img part -1 8"
 
-#define DFU_ALT_BOOT_ODROID_N2 "u-boot.bin raw 0x1 0x850;"     \
-                               "u-boot-n2.bin raw 0x1 0x850;"  \
+#define DFU_ALT_BOOT_ODROID_N2 "u-boot.bin raw 0x1 0x1000;"    \
+                               "u-boot-n2.bin raw 0x1 0x1000;" \
                                "u-boot-c4.bin skip 0 0;"       \
                                "u-boot-kvim3.bin skip 0 0"
-#define DFU_ALT_BOOT_KVIM3     "u-boot.bin raw 0x1 0x850;"     \
-                               "u-boot-kvim3.bin raw 0x1 0x850;" \
+#define DFU_ALT_BOOT_KVIM3     "u-boot.bin raw 0x1 0x1000;"    \
+                               "u-boot-kvim3.bin raw 0x1 0x1000;" \
                                "u-boot-c4.bin skip 0 0;"       \
                                "u-boot-n2.bin skip 0 0"
-#define DFU_ALT_BOOT_ODROID_C4 "u-boot.bin raw 0x1 0x850;"     \
-                               "u-boot-c4.bin raw 0x1 0x850;"  \
+#define DFU_ALT_BOOT_ODROID_C4 "u-boot.bin raw 0x1 0x1000;"    \
+                               "u-boot-c4.bin raw 0x1 0x1000;" \
                                "u-boot-kvim3.bin skip 0 0;"    \
                                "u-boot-n2.bin skip 0 0"
 #define CONFIG_SET_DFU_ALT_BUF_LEN     (SZ_1K)