ARM: AM57xx: Enable fit support
cover ARM: AM57xx: Enable fit support
This series adds support for AM572x-IDK and FIT support on all AM57xx platforms.
Testing:
AM57xx-evm: http://pastebin.ubuntu.com/16315497/
AM572x-IDK: http://pastebin.ubuntu.com/16315517/
Lokesh Vutla (4):
board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM
board: am57xx: fit: add support for selecting dtb dynamically
ARM: AM57xx: Enable FIT
ti_omap5_common: Add right dtb file for AM572x-IDK
Schuyler Patton (1):
ARM: dts: AM572x-IDK Initial Support
arch/arm/cpu/armv7/omap5/Kconfig | 4 +- arch/arm/dts/Makefile | 3 +- arch/arm/dts/am572x-idk.dts | 89 +++++++++++ arch/arm/dts/am57xx-idk-common.dtsi | 302 ++++++++++++++++++++++++++++++++++++ board/ti/am57xx/Kconfig | 2 +- board/ti/am57xx/board.c | 14 ++ configs/am57xx_evm_defconfig | 6 +- configs/am57xx_evm_nodt_defconfig | 2 +- include/configs/ti_omap5_common.h | 2 + 9 files changed, 418 insertions(+), 6 deletions(-) create mode 100644 arch/arm/dts/am572x-idk.dts create mode 100644 arch/arm/dts/am57xx-idk-common.dtsi
Signature · 1 line
2.7.4
PATCH 1/5 board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM
board/am57xx supports all boards based on am57xx. Rename the taget as TARGET_AM57XX_EVM.
--- arch/arm/cpu/armv7/omap5/Kconfig | 4 ++-- arch/arm/dts/Makefile | 2 +- board/ti/am57xx/Kconfig | 2 +- configs/am57xx_evm_defconfig | 2 +- configs/am57xx_evm_nodt_defconfig | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-)
arch/arm/cpu/armv7/omap5/Kconfig +2 -2
@@ -14,8 +14,8 @@ config TARGET_DRA7XX_EVM bool "TI DRA7XX" select TI_I2C_BOARD_DETECT -config TARGET_BEAGLE_X15 - bool "BeagleBoard X15" +config TARGET_AM57XX_EVM + bool "AM57XX" select TI_I2C_BOARD_DETECT endchoice
arch/arm/dts/Makefile +1 -1
@@ -103,7 +103,7 @@ dtb-$(CONFIG_ARCH_SOCFPGA) += \ socfpga_cyclone5_sr1500.dtb dtb-$(CONFIG_TARGET_DRA7XX_EVM) += dra72-evm.dtb dra7-evm.dtb -dtb-$(CONFIG_TARGET_BEAGLE_X15) += am57xx-beagle-x15.dtb +dtb-$(CONFIG_TARGET_AM57XX_EVM) += am57xx-beagle-x15.dtb dtb-$(CONFIG_TARGET_STV0991) += stv0991.dtb dtb-$(CONFIG_LS102XA) += ls1021a-qds-duart.dtb \
board/ti/am57xx/Kconfig +1 -1
@@ -1,4 +1,4 @@ -if TARGET_BEAGLE_X15 +if TARGET_AM57XX_EVM config SYS_BOARD default "am57xx"
configs/am57xx_evm_defconfig +1 -1
@@ -1,6 +1,6 @@ CONFIG_ARM=y CONFIG_OMAP54XX=y -CONFIG_TARGET_BEAGLE_X15=y +CONFIG_TARGET_AM57XX_EVM=y CONFIG_DM_SERIAL=y CONFIG_DM_GPIO=y CONFIG_SPL_STACK_R_ADDR=0x82000000
configs/am57xx_evm_nodt_defconfig +1 -1
@@ -1,6 +1,6 @@ CONFIG_ARM=y CONFIG_OMAP54XX=y -CONFIG_TARGET_BEAGLE_X15=y +CONFIG_TARGET_AM57XX_EVM=y CONFIG_SPL=y CONFIG_HUSH_PARSER=y CONFIG_CMD_BOOTZ=y
Signature · 1 line
2.7.4
PATCH 1/5 board: am57xx: Rename TARGET_BEAGLE_X15 as TARGET_AM57XX_EVM
Quoted 5 lines · Lokesh Vutla
board/am57xx supports all boards based on am57xx. Rename the taget as
TARGET_AM57XX_EVM.Fixes 74cc8b097d9af ("board: ti: beagle_x15: Rename to indicate support for TI am57xx evms")Signed-off-by Lokesh Vutla <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160513/29cc65b4/attachment.sig>
PATCH 2/5 board: am57xx: fit: add support for selecting dtb dynamically
In reply to Lokesh VutlaFIT allows for a multiple dtb in a single image. SPL needs away to detect the right dtb to be used. Adding support for the same for am57xx platforms.
--- board/ti/am57xx/board.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
board/ti/am57xx/board.c +12 -0
@@ -686,3 +686,15 @@ int board_early_init_f(void) return 0; }#endif + +#ifdef CONFIG_SPL_LOAD_FIT +int board_fit_config_name_match (const char *name) +{ +if (board_is_x15 () && !strcmp (name,"am57xx-beagle-x15" )) +return 0 ; +else if (board_is_am572x_evm () && !strcmp (name,"am57xx-beagle-x15" )) +return 0 ; +else +return -1 ; +} +#endif
Signature · 1 line
2.7.4
PATCH 2/5 board: am57xx: fit: add support for selecting dtb dynamically
Quoted 5 lines · Lokesh Vutla
FIT allows for a multiple dtb in a single image. SPL needs away to detect the right dtb to be used. Adding support for the same for am57xx platforms.
Signed-off-by Lokesh Vutla <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160513/7c73bc19/attachment.sig>
PATCH 3/5 ARM: AM57xx: Enable FIT
In reply to Lokesh VutlaEnable FIT support for AM57xx platforms
--- configs/am57xx_evm_defconfig | 4 ++++ 1 file changed, 4 insertions(+)
configs/am57xx_evm_defconfig +4 -0
@@ -32,3 +32,7 @@ CONFIG_DM_MMC=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_BAR=y CONFIG_SYS_NS16550=y +CONFIG_FIT=y +CONFIG_SPL_OF_LIBFDT=y +CONFIG_SPL_LOAD_FIT=y +CONFIG_OF_LIST="am57xx-beagle-x15"
Signature · 1 line
2.7.4
PATCH 3/5 ARM: AM57xx: Enable FIT
Quoted 3 lines · Lokesh Vutla
Enable FIT support for AM57xx platforms
Signed-off-by Lokesh Vutla <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160513/7180a4d9/attachment.sig>
PATCH 4/5 ARM: dts: AM572x-IDK Initial Support
In reply to Lokesh VutlaFrom: Schuyler Patton <[email protected]>
Add initial DTS support for AM572-IDK evm.
---
- This is posted to Upstream Linux[1] and has been accepted.
[1] https://lkml.org/lkml/2016/4/12/847
arch/arm/dts/Makefile | 3 +- arch/arm/dts/am572x-idk.dts | 89 +++++++++++ arch/arm/dts/am57xx-idk-common.dtsi | 302 ++++++++++++++++++++++++++++++++++++ board/ti/am57xx/board.c | 2 + configs/am57xx_evm_defconfig | 2 +- 5 files changed, 396 insertions(+), 2 deletions(-) create mode 100644 arch/arm/dts/am572x-idk.dts create mode 100644 arch/arm/dts/am57xx-idk-common.dtsi
arch/arm/dts/Makefile +2 -1
@@ -103,7 +103,8 @@ dtb-$(CONFIG_ARCH_SOCFPGA) += \ socfpga_cyclone5_sr1500.dtb dtb-$(CONFIG_TARGET_DRA7XX_EVM) += dra72-evm.dtb dra7-evm.dtb -dtb-$(CONFIG_TARGET_AM57XX_EVM) += am57xx-beagle-x15.dtb +dtb-$(CONFIG_TARGET_AM57XX_EVM) += am57xx-beagle-x15.dtb \ + am572x-idk.dtb dtb-$(CONFIG_TARGET_STV0991) += stv0991.dtb dtb-$(CONFIG_LS102XA) += ls1021a-qds-duart.dtb \
arch/arm/dts/am572x-idk.dts new file +89 -0
89 lines not on this page · raw message
arch/arm/dts/am57xx-idk-common.dtsi new file +302 -0
302 lines not on this page · raw message
board/ti/am57xx/board.c +2 -0
@@ -694,6 +694,8 @@ int board_fit_config_name_match(const char *name)return 0 ; else if (board_is_am572x_evm() && !strcmp(name, "am57xx-beagle-x15")) return 0; + else if (board_is_am572x_idk() && !strcmp(name, "am572x-idk")) + return 0; else return -1; }
configs/am57xx_evm_defconfig +1 -1
@@ -35,4 +35,4 @@ CONFIG_SYS_NS16550=y CONFIG_FIT=y CONFIG_SPL_OF_LIBFDT=y CONFIG_SPL_LOAD_FIT=y -CONFIG_OF_LIST="am57xx-beagle-x15" +CONFIG_OF_LIST="am57xx-beagle-x15 am572x-idk"
Signature · 1 line
2.7.4
PATCH 4/5 ARM: dts: AM572x-IDK Initial Support
Quoted 7 lines · Lokesh Vutla
From: Schuyler Patton <[email protected]>
Add initial DTS support for AM572-IDK evm.
Signed-off-by Schuyler Patton <[email protected]>Signed-off-by Nishanth Menon <[email protected]>Signed-off-by Lokesh Vutla <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160513/d2993d10/attachment.sig>
PATCH 5/5 ti_omap5_common: Add right dtb file for AM572x-IDK
In reply to Lokesh VutlaAdd proper dtb file name for AM572x-IDK in env.
--- include/configs/ti_omap5_common.h | 2 ++ 1 file changed, 2 insertions(+)
include/configs/ti_omap5_common.h +2 -0
@@ -104,6 +104,8 @@"setenv fdtfile dra72-evm.dtb; fi;" \"if test $board_name = beagle_x15; then " \"setenv fdtfile am57xx-beagle-x15.dtb; fi;" \ +"if test $board_name = am572x_idk; then " \ +"setenv fdtfile am572x-idk.dtb; fi;" \"if test $board_name = am57xx_evm; then " \"setenv fdtfile am57xx-beagle-x15.dtb; fi;" \"if test $fdtfile = undefined; then " \
Signature · 1 line
2.7.4
PATCH 5/5 ti_omap5_common: Add right dtb file for AM572x-IDK
Quoted 3 lines · Lokesh Vutla
Add proper dtb file name for AM572x-IDK in env.
Signed-off-by Lokesh Vutla <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160513/1633c006/attachment.sig>
cover ARM: AM57xx: Enable fit support
In reply to Lokesh VutlaHi Tom,
Quoted 5 lines · Lokesh Vutla
This series adds support for AM572x-IDK and FIT support on all AM57xx platforms.
Testing:
AM57xx-evm: http://pastebin.ubuntu.com/16315497/
AM572x-IDK: http://pastebin.ubuntu.com/16315517/
If you are ok with this series can you merge it?
Thanks and regards,
Lokesh
Quoted 23 lines
Lokesh Vutla (4):
board: am57xx: RenameTARGET_BEAGLE_X15asTARGET_AM57XX_EVM
board: am57xx: fit: add support for selecting dtb dynamically
ARM: AM57xx: Enable FIT
ti_omap5_common: Add right dtb file for AM572x-IDKSchuyler Patton (1):
ARM: dts: AM572x-IDK Initial Supportarch/arm/cpu/armv7/omap5/Kconfig | 4 +- arch/arm/dts/Makefile | 3 +- arch/arm/dts/am572x-idk.dts | 89 +++++++++++ arch/arm/dts/am57xx-idk-common.dtsi | 302 ++++++++++++++++++++++++++++++++++++ board/ti/am57xx/Kconfig | 2 +- board/ti/am57xx/board.c | 14 ++ configs/am57xx_evm_defconfig | 6 +- configs/am57xx_evm_nodt_defconfig | 2 +- include/configs/ti_omap5_common.h | 2 + 9 files changed, 418 insertions(+), 6 deletions(-)create mode 100644
arch/arm/dts/am572x-idk.dtscreate mode 100644arch/arm/dts/am57xx-idk-common.dtsi
cover ARM: AM57xx: Enable fit support
Quoted 10 lines · Lokesh Vutla
Hi Tom,
Quoted 5 lines · Lokesh Vutla
This series adds support for AM572x-IDK and FIT support on all AM57xx platforms.
Testing:
AM57xx-evm: http://pastebin.ubuntu.com/16315497/
AM572x-IDK: http://pastebin.ubuntu.com/16315517/If you are ok with this series can you merge it?
Hmm, oops. I had marked this as superseded by accident. I'm about to push the changes for moving BOOTDELAY into Kconfig and that means a re-sync on defconfigs, can you please pick up my reviewed-by from before and re-post once that's live? Sorry & thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160609/412c2433/attachment.sig>
cover ARM: AM57xx: Enable fit support
Quoted 11 lines · Tom Rini
Quoted 9 lines · Lokesh Vutla
Hi Tom,
Quoted 5 lines · Lokesh Vutla
This series adds support for AM572x-IDK and FIT support on all AM57xx platforms.
Testing:
AM57xx-evm: http://pastebin.ubuntu.com/16315497/
AM572x-IDK: http://pastebin.ubuntu.com/16315517/
Quoted 6 lines
Quoted 1 line
If you are ok with this series can you merge it?
Hmm, oops. I had marked this as superseded by accident. I'm about to push the changes for moving BOOTDELAY into
Kconfigand that means a re-sync on defconfigs, can you please pick up my reviewed-by from before and re-post once that's live? Sorry & thanks!
Just posted the updated series.
Thanks and regards,
Lokesh