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>
This commit is contained in:
Philipp Tomsich 2017-05-05 19:22:54 +02:00 committed by Simon Glass
parent 1644f381ca
commit f8e3b08377
2 changed files with 3 additions and 3 deletions

View file

@ -56,8 +56,7 @@ Package the image
================= =================
> tools/mkimage -n rk3399 -T rksd -d spl/u-boot-spl.bin spl.img > tools/mkimage -n rk3399 -T rksd -d spl/u-boot-spl.bin spl.img
> tools/mkimage -f board/theobroma/puma_rk3399/fit_spl_atf.its \ > make CROSS_COMPILE=aarch64-linux-gnu- u-boot.itb
-E rk3399_bl3x.itb
Flash the image Flash the image
=============== ===============
@ -67,7 +66,7 @@ Copy the SPL to offset 32k and the FIT image containing the payloads
card. card.
> dd if=spl.img of=/dev/sdb seek=64 > dd if=spl.img of=/dev/sdb seek=64
> dd if=rk3399_bl3x.itb of=/dev/sdb seek=512 > dd if=u-boot.itb of=/dev/sdb seek=512
After powering up the board (with the inserted SD card), you should see After powering up the board (with the inserted SD card), you should see
a U-Boot console on UART0 (115200n8). a U-Boot console on UART0 (115200n8).

View file

@ -12,6 +12,7 @@ CONFIG_DEFAULT_DEVICE_TREE="rk3399-puma"
CONFIG_FIT=y CONFIG_FIT=y
CONFIG_SPL_FIT=y CONFIG_SPL_FIT=y
CONFIG_SPL_LOAD_FIT=y CONFIG_SPL_LOAD_FIT=y
CONFIG_SPL_FIT_SOURCE="board/theobroma-systems/puma_rk3399/fit_spl_atf.its"
# CONFIG_DISPLAY_CPUINFO is not set # CONFIG_DISPLAY_CPUINFO is not set
# CONFIG_SPL_RAW_IMAGE_SUPPORT is not set # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
# CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set # CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set