doc: rockchip: Update build instruction for rk3308
Subsystems (2)
PATCH 1/4 doc: rockchip: Update build instruction for rk3308
After commit d8765e2422cd ("Enable building of u-boot.itb on Rockchip platform"), u-boot.itb will automatically generated by "make all" command, manually command "make u-boot.itb" is no longer needed.
---
doc/README.rockchip | 1 - 1 file changed, 1 deletion(-)
doc/README.rockchip +0 -1
@@ -108,7 +108,6 @@ For example: => export BL31=/path/to/rkbin/bin/rk33/rk3308_bl31_v2.22.elf => make roc-rk3308-cc_defconfig => make CROSS_COMPILE=aarch64-linux-gnu- all - => make CROSS_COMPILE=aarch64-linux-gnu- u-boot.itb => ./tools/mkimage -n rk3308 -T rksd -d /path/to/rkbin/bin/rk33/rk3308_ddr_589MHz_uart2_m0_v1.26.bin idbloader.img => cat spl/u-boot-spl.bin >> idbloader.img
Signature · 1 line
2.17.1
PATCH 2/4 rockchip: rk3308: enable spl-fifo-mode for emmc
We need load some parts of ATF to sram, but rockchip dwmmc controllers can't do dma to non-ddr addresses space, so set the mmc controller into fifo mode in spl.
And show my best respect to Heiko's work for this solution.
---
arch/arm/dts/rk3308-u-boot.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/dts/rk3308-u-boot.dtsi +2 -0
@@ -12,6 +12,8 @@ }; &emmc { + /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */ + u-boot,spl-fifo-mode; u-boot,dm-pre-reloc; };
Signature · 1 line
2.17.1
PATCH 2/4 rockchip: rk3308: enable spl-fifo-mode for emmc
Quoted 7 lines · Andy Yan
We need load some parts of ATF to sram, but rockchip dwmmc controllers can't do dma to non-ddr addresses space, so set the mmc controller into fifo mode in spl.
And show my best respect to Heiko's work for this solution.
Signed-off-by Andy Yan <[email protected]>
Thanks,
- Kever
Quoted 18 lines
---
arch/arm/dts/rk3308-u-boot.dtsi | 2 ++ 1 file changed, 2 insertions(+)arch/arm/dts/rk3308-u-boot.dtsi +2
-0@@ -12,6 +12,8 @@ }; &emmc { + /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */ + u-boot,spl-fifo-mode; u-boot,dm-pre-reloc; };
PATCH 3/4 rockchip: px5: enable spl-fifo-mode for emmc for px5-evb
In reply to Andy YanWe need load some parts of ATF to sram, but rockchip dwmmc controllers can't do dma to non-ddr addresses space, so set the mmc controller into fifo mode in spl.
---
arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/dts/rk3368-px5-evb-u-boot.dtsi +2 -0
@@ -58,6 +58,8 @@ }; &emmc { + /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */ + u-boot,spl-fifo-mode; u-boot,dm-pre-reloc; };
Signature · 1 line
2.17.1
PATCH 3/4 rockchip: px5: enable spl-fifo-mode for emmc for px5-evb
Quoted 8 lines · Andy Yan
We need load some parts of ATF to sram, but rockchip dwmmc controllers can't do dma to non-ddr addresses space, so set the mmc controller into fifo mode in spl.
Signed-off-by Andy Yan <[email protected]>
PATCH 3/4 rockchip: px5: enable spl-fifo-mode for emmc for px5-evb
In reply to Andy YanQuoted 5 lines · Andy Yan
We need load some parts of ATF to sram, but rockchip dwmmc controllers can't do dma to non-ddr addresses space, so set the mmc controller into fifo mode in spl.
Signed-off-by Andy Yan <[email protected]>
Thanks,
- Kever
Quoted 18 lines
---
arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 2 ++ 1 file changed, 2 insertions(+)arch/arm/dts/rk3368-px5-evb-u-boot.dtsi +2
-0@@ -58,6 +58,8 @@ }; &emmc { + /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */ + u-boot,spl-fifo-mode; u-boot,dm-pre-reloc; };
PATCH 4/4 rockchip: evb-px5: disable NET
In reply to Andy YanPX5 evb has no ETH port, so disable it.
---
configs/evb-px5_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configs/evb-px5_defconfig +1 -1
@@ -45,7 +45,7 @@ CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parent" CONFIG_TPL_OF_PLATDATA=y CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y -CONFIG_NET_RANDOM_ETHADDR=y +# CONFIG_NET is not set CONFIG_TPL_DM=y CONFIG_REGMAP=y CONFIG_SPL_REGMAP=y
Signature · 1 line
2.17.1
PATCH 4/4 rockchip: evb-px5: disable NET
Quoted 3 lines · Andy Yan
PX5 evb has no ETH port, so disable it.
Signed-off-by Andy Yan <[email protected]>
Thanks,
- Kever
Quoted 18 lines
---
configs/evb-px5_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)configs/evb-px5_defconfig +1
-1@@ -45,7 +45,7 @@ CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parent" CONFIG_TPL_OF_PLATDATA=y CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y -CONFIG_NET_RANDOM_ETHADDR=y +# CONFIG_NET is not set CONFIG_TPL_DM=y CONFIG_REGMAP=y CONFIG_SPL_REGMAP=y
PATCH 1/4 doc: rockchip: Update build instruction for rk3308
In reply to Andy YanQuoted 6 lines · Andy Yan
After commit
d8765e2422cd("Enable building of u-boot.itb on Rockchip platform"), u-boot.itb will automatically generated by "make all" command, manually command "make u-boot.itb" is no longer needed.Signed-off-by Andy Yan <[email protected]>
Thanks,
- Kever
Quoted 17 lines
---
doc/README.rockchip | 1 - 1 file changed, 1 deletion(-)doc/README.rockchip +0
-1@@ -108,7 +108,6 @@ For example: => export BL31=/path/to/rkbin/bin/rk33/rk3308_bl31_v2.22.elf => make roc-rk3308-cc_defconfig => make CROSS_COMPILE=aarch64-linux-gnu- all - => make CROSS_COMPILE=aarch64-linux-gnu- u-boot.itb => ./tools/mkimage -n rk3308 -T rksd -d /path/to/rkbin/bin/rk33/rk3308_ddr_589MHz_uart2_m0_v1.26.bin idbloader.img => cat spl/u-boot-spl.bin >> idbloader.img