Skip to contentSkip to conversation

rockchip: doc: Fix U-Boot proper location for falcon

PATCH New Jagan Teki 2 participants 8 messages Nov 10, 2017 Arm Rockchip

lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH 1/2 rockchip: doc: Fix U-Boot proper location for falcon

This patch fixed U-Boot proper location has been
missed to update in bewlo commit
"rockchip: doc: update U-Boot location info"
(sha1: 73e6dbe855f357a8330cfd53ff3033303611c1ad)

---
Note: Fix for 2017.11

 doc/README.rockchip | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/README.rockchip +1 -1
index 9d5af3d..dffa6d5 100644
@@ -166,7 +166,7 @@ To write an image that boots from an SD card (assumed to be /dev/mmcblk0):
    ./tools/mkimage -n rk3288 -T rksd -d ./tpl/u-boot-tpl.bin out &&
     cat ./spl/u-boot-spl-dtb.bin >> out &&
     sudo dd if=out of=/dev/mmcblk0 seek=64 &&
-    sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 seek=256
+    sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 seek=16384
 
 Booting from an SD card on RK3188
 =================================
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 2/2 rockchip: configs: vyasa: Update falcon offsets

Update the falcon offsets for args to 16MB and kernel to 17MB Since the below commit updated U-Boot proper location along with rockchip boot image offsets
"spl: set SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to 0x4000 for rockchip" (sha1: 8f4d62b403db45dfa8b1cadb9da9096c79b7df47)

---
Note: Fix for 2017.11

 include/configs/vyasa-rk3288.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
include/configs/vyasa-rk3288.h +4 -4
index 8774e42..c8c7fc7 100644
@@ -31,10 +31,10 @@
 #define CONFIG_SYS_SPL_ARGS_ADDR	0x0ffe5000
 #define CONFIG_CMD_SPL_WRITE_SIZE      (128 * SZ_1K)
 
-/* Falcon Mode - MMC support: args at 1MB kernel at 2MB */
-#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR  0x800   /* 1MB */
-#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS (CONFIG_CMD_SPL_WRITE_SIZE / 512)
-#define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR        0x1000  /* 2MB */
+/* Falcon Mode - MMC support: args at 16MB kernel at 17MB */
+#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR		0x8000	/* 16MB */
+#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS		(CONFIG_CMD_SPL_WRITE_SIZE / 512)
+#define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR		0x8800	/* 17MB */
 #endif
 
 #endif
Signature · 1 line
2.7.4
#2 lore raw

PATCH 2/2 rockchip: configs: vyasa: Update falcon offsets

Quoted 6 lines

Update the falcon offsets for args to 16MB and kernel to 17MB Since the below commit updated U-Boot proper location along with rockchip boot image offsets
"spl: set SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to 0x4000 for rockchip" (sha1: 8f4d62b403db45dfa8b1cadb9da9096c79b7df47)

Quoted 7 lines

---
Note: Fix for 2017.11

 include/configs/vyasa-rk3288.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
#3 lore raw

PATCH 2/2 rockchip: configs: vyasa: Update falcon offsets

In reply to Jagan Teki
Quoted 6 lines

Update the falcon offsets for args to 16MB and kernel to 17MB Since the below commit updated U-Boot proper location along with rockchip boot image offsets
"spl: set SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to 0x4000 for rockchip" (sha1: 8f4d62b403db45dfa8b1cadb9da9096c79b7df47)

Quoted 7 lines

---
Note: Fix for 2017.11

 include/configs/vyasa-rk3288.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
#4 lore raw

PATCH 2/2 rockchip: configs: vyasa: Update falcon offsets

In reply to Jagan Teki
Quoted 6 lines

Update the falcon offsets for args to 16MB and kernel to 17MB Since the below commit updated U-Boot proper location along with rockchip boot image offsets
"spl: set SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to 0x4000 for rockchip" (sha1: 8f4d62b403db45dfa8b1cadb9da9096c79b7df47)

Quoted 9 lines

---
Note: Fix for 2017.11

 include/configs/vyasa-rk3288.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Applied to u-boot-rockchip, thanks!

#5 lore raw

PATCH 1/2 rockchip: doc: Fix U-Boot proper location for falcon

In reply to Jagan Teki
Quoted 5 lines

This patch fixed U-Boot proper location has been
missed to update in bewlo commit
"rockchip: doc: update U-Boot location info"
(sha1: 73e6dbe855f357a8330cfd53ff3033303611c1ad)

Quoted 7 lines

---
Note: Fix for 2017.11

 doc/README.rockchip | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#6 lore raw

PATCH 1/2 rockchip: doc: Fix U-Boot proper location for falcon

In reply to Jagan Teki
Quoted 5 lines

This patch fixed U-Boot proper location has been
missed to update in bewlo commit
"rockchip: doc: update U-Boot location info"
(sha1: 73e6dbe855f357a8330cfd53ff3033303611c1ad)

Quoted 7 lines

---
Note: Fix for 2017.11

 doc/README.rockchip | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#7 lore raw

PATCH 1/2 rockchip: doc: Fix U-Boot proper location for falcon

In reply to Jagan Teki
Quoted 5 lines

This patch fixed U-Boot proper location has been
missed to update in bewlo commit
"rockchip: doc: update U-Boot location info"
(sha1: 73e6dbe855f357a8330cfd53ff3033303611c1ad)

Quoted 9 lines

---
Note: Fix for 2017.11

 doc/README.rockchip | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-rockchip, thanks!