diff mbox series

[U-Boot,v3,2/3] rockchip: firefly-rk3399: add FIT for rk3399

Message ID 1513307705-28434-2-git-send-email-kever.yang@rock-chips.com
State Accepted
Commit 1a066c22f233fcf59b2e8cddf295b98b6998e037
Delegated to: Philipp Tomsich
Headers show
Series [U-Boot,v3,1/3] rockchip: add a common script for generate fit its | expand

Commit Message

Kever Yang Dec. 15, 2017, 3:15 a.m. UTC
Enable SPL_FIT_GENERATOR with path for it.
With this patch you can get u-boot.itb for rk3399-firefly with:
> make u-boot.itb

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Tested-by: Mark Kettenis <kettenis@openbsd.org>
---

Changes in v3:
- update with new script path

Changes in v2:
- typo fix, rk3399-evb->rk3399-firefly

 configs/firefly-rk3399_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Philipp Tomsich Dec. 17, 2017, 3:54 p.m. UTC | #1
> Enable SPL_FIT_GENERATOR with path for it.
> With this patch you can get u-boot.itb for rk3399-firefly with:
> > make u-boot.itb
> 
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
> Tested-by: Mark Kettenis <kettenis@openbsd.org>
> ---
> 
> Changes in v3:
> - update with new script path
> 
> Changes in v2:
> - typo fix, rk3399-evb->rk3399-firefly
> 
>  configs/firefly-rk3399_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Philipp Tomsich Dec. 18, 2017, 4:05 p.m. UTC | #2
> Enable SPL_FIT_GENERATOR with path for it.
> With this patch you can get u-boot.itb for rk3399-firefly with:
> > make u-boot.itb
> 
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
> Tested-by: Mark Kettenis <kettenis@openbsd.org>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
> 
> Changes in v3:
> - update with new script path
> 
> Changes in v2:
> - typo fix, rk3399-evb->rk3399-firefly
> 
>  configs/firefly-rk3399_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 

Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Philipp Tomsich Dec. 18, 2017, 4:18 p.m. UTC | #3
> Enable SPL_FIT_GENERATOR with path for it.
> With this patch you can get u-boot.itb for rk3399-firefly with:
> > make u-boot.itb
> 
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
> Tested-by: Mark Kettenis <kettenis@openbsd.org>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
> 
> Changes in v3:
> - update with new script path
> 
> Changes in v2:
> - typo fix, rk3399-evb->rk3399-firefly
> 
>  configs/firefly-rk3399_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied to u-boot-rockchip, thanks!
Philipp Tomsich Dec. 18, 2017, 11:21 p.m. UTC | #4
> Enable SPL_FIT_GENERATOR with path for it.
> With this patch you can get u-boot.itb for rk3399-firefly with:
> > make u-boot.itb
> 
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
> Tested-by: Mark Kettenis <kettenis@openbsd.org>
> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> ---
> 
> Changes in v3:
> - update with new script path
> 
> Changes in v2:
> - typo fix, rk3399-evb->rk3399-firefly
> 
>  configs/firefly-rk3399_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied to u-boot-rockchip, thanks!
diff mbox series

Patch

diff --git a/configs/firefly-rk3399_defconfig b/configs/firefly-rk3399_defconfig
index 731222c..7a3fb83 100644
--- a/configs/firefly-rk3399_defconfig
+++ b/configs/firefly-rk3399_defconfig
@@ -9,6 +9,7 @@  CONFIG_DEFAULT_DEVICE_TREE="rk3399-firefly"
 CONFIG_DEBUG_UART=y
 CONFIG_FIT=y
 CONFIG_SPL_LOAD_FIT=y
+CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-rockchip/make_fit_atf.py"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x4000