]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: board: puma_rk3399: build FIT image via u-boot.itb
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 5 May 2017 17:22:54 +0000 (19:22 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 7 Jun 2017 13:29:19 +0000 (07:29 -0600)
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Simon Glass <sjg@chromium.org>
board/theobroma-systems/puma_rk3399/README
configs/puma-rk3399_defconfig

index 1a8d02b480c70ae5f3a1ff558e924e930d3e8b8a..250e3459a3a6e4ac37356ee4a8a110bb16ce9e2a 100644 (file)
@@ -56,8 +56,7 @@ Package the image
 =================
 
        > 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 \
-               -E rk3399_bl3x.itb
+       > make CROSS_COMPILE=aarch64-linux-gnu- u-boot.itb
 
 Flash the image
 ===============
@@ -67,7 +66,7 @@ Copy the SPL to offset 32k and the FIT image containing the payloads
 card.
 
   > 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
 a U-Boot console on UART0 (115200n8).
index 08c80efd8b7900803f5d68814109a87a4b8b6bb0..2dca1682b2d8e74eee8dc364b850b708a4b94238 100644 (file)
@@ -12,6 +12,7 @@ CONFIG_DEFAULT_DEVICE_TREE="rk3399-puma"
 CONFIG_FIT=y
 CONFIG_SPL_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_SPL_RAW_IMAGE_SUPPORT is not set
 # CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set