[PATCH u-boot] Enable FIT image support and FDT loading for AST2400/AST2500

Rick Altherr raltherr at google.com
Wed Nov 2 16:19:27 AEDT 2016


FIT is the modern u-boot native image format for kernels, device trees,
and ramdisks.  Enabling FIT only compiles in support for the image
format.  For these devices, the kernel+dtb and ramdisk are loaded from
separate locations in flash and be any mix of legacy or FIT images.
When using FIT images, the dtb is stored as a separate entry that
requires additional support to load it into RAM and pass it to the
kernel.

Signed-off-by: Rick Altherr <raltherr at google.com>
---
 configs/ast_g4_ncsi_defconfig | 3 +++
 configs/ast_g4_phy_defconfig  | 3 +++
 configs/ast_g5_ncsi_defconfig | 3 +++
 configs/ast_g5_phy_defconfig  | 3 +++
 4 files changed, 12 insertions(+)

diff --git a/configs/ast_g4_ncsi_defconfig b/configs/ast_g4_ncsi_defconfig
index 4ee71c5..70cd3c2 100644
--- a/configs/ast_g4_ncsi_defconfig
+++ b/configs/ast_g4_ncsi_defconfig
@@ -3,5 +3,8 @@ CONFIG_TARGET_AST_G4=y
 CONFIG_SYS_PROMPT="ast# "
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
+CONFIG_FIT=y
+CONFIG_FIT_VERBOSE=y
+CONFIG_OF_LIBFDT=y
 CONFIG_SPI_FLASH=y
 CONFIG_SYS_NS16550=y
diff --git a/configs/ast_g4_phy_defconfig b/configs/ast_g4_phy_defconfig
index 61fd69b..468fbc4 100644
--- a/configs/ast_g4_phy_defconfig
+++ b/configs/ast_g4_phy_defconfig
@@ -4,5 +4,8 @@ CONFIG_ASPEED_NET_PHY=y
 CONFIG_SYS_PROMPT="ast# "
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
+CONFIG_FIT=y
+CONFIG_FIT_VERBOSE=y
+CONFIG_OF_LIBFDT=y
 CONFIG_SPI_FLASH=y
 CONFIG_SYS_NS16550=y
diff --git a/configs/ast_g5_ncsi_defconfig b/configs/ast_g5_ncsi_defconfig
index 6d11afb..8a9c297 100644
--- a/configs/ast_g5_ncsi_defconfig
+++ b/configs/ast_g5_ncsi_defconfig
@@ -3,5 +3,8 @@ CONFIG_TARGET_AST_G5=y
 CONFIG_SYS_PROMPT="ast# "
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
+CONFIG_FIT=y
+CONFIG_FIT_VERBOSE=y
+CONFIG_OF_LIBFDT=y
 CONFIG_SPI_FLASH=y
 CONFIG_SYS_NS16550=y
diff --git a/configs/ast_g5_phy_defconfig b/configs/ast_g5_phy_defconfig
index 20f62e0..fd450b9 100644
--- a/configs/ast_g5_phy_defconfig
+++ b/configs/ast_g5_phy_defconfig
@@ -4,5 +4,8 @@ CONFIG_ASPEED_NET_PHY=y
 CONFIG_SYS_PROMPT="ast# "
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
+CONFIG_FIT=y
+CONFIG_FIT_VERBOSE=y
+CONFIG_OF_LIBFDT=y
 CONFIG_SPI_FLASH=y
 CONFIG_SYS_NS16550=y
-- 
2.8.0.rc3.226.g39d4020



More information about the openbmc mailing list