Commit f8e3b083777844196ecd7b422ff3cfd2df904144
Committed by
Simon Glass
1 parent
1644f381ca
Exists in
smarc_8mq_lf_v2020.04
and in
20 other branches
rockchip: board: puma_rk3399: build FIT image via u-boot.itb
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Simon Glass <sjg@chromium.org>
Showing 2 changed files with 3 additions and 3 deletions Side-by-side Diff
board/theobroma-systems/puma_rk3399/README
| ... | ... | @@ -56,8 +56,7 @@ |
| 56 | 56 | ================= |
| 57 | 57 | |
| 58 | 58 | > tools/mkimage -n rk3399 -T rksd -d spl/u-boot-spl.bin spl.img |
| 59 | - > tools/mkimage -f board/theobroma/puma_rk3399/fit_spl_atf.its \ | |
| 60 | - -E rk3399_bl3x.itb | |
| 59 | + > make CROSS_COMPILE=aarch64-linux-gnu- u-boot.itb | |
| 61 | 60 | |
| 62 | 61 | Flash the image |
| 63 | 62 | =============== |
| ... | ... | @@ -67,7 +66,7 @@ |
| 67 | 66 | card. |
| 68 | 67 | |
| 69 | 68 | > dd if=spl.img of=/dev/sdb seek=64 |
| 70 | - > dd if=rk3399_bl3x.itb of=/dev/sdb seek=512 | |
| 69 | + > dd if=u-boot.itb of=/dev/sdb seek=512 | |
| 71 | 70 | |
| 72 | 71 | After powering up the board (with the inserted SD card), you should see |
| 73 | 72 | a U-Boot console on UART0 (115200n8). |
configs/puma-rk3399_defconfig
| ... | ... | @@ -12,6 +12,7 @@ |
| 12 | 12 | CONFIG_FIT=y |
| 13 | 13 | CONFIG_SPL_FIT=y |
| 14 | 14 | CONFIG_SPL_LOAD_FIT=y |
| 15 | +CONFIG_SPL_FIT_SOURCE="board/theobroma-systems/puma_rk3399/fit_spl_atf.its" | |
| 15 | 16 | # CONFIG_DISPLAY_CPUINFO is not set |
| 16 | 17 | # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set |
| 17 | 18 | # CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set |