RiOTboard: add new board
Subsystems (4)
PATCH 1/1 RiOTboard: add new board
From: Eric Bénard <[email protected]>
this board is produced by Embest/Element 14 and is based on i.MX6 Solo The following features are tested :
- UART2 (console)
- eMMC
- SDCard
- uSDCard
- Ethernet
- USB Host (through 4 ports hub)
- I2C 1/2/3
- 2 LEDs
Boot on eMMC and through USB loader are tested.
For more informations on this board : http://www.riotboard.org/
---
v2 lst:
- rebase to current master
- add barebox update handler
- add to imx_v7_defconfig
--- arch/arm/boards/Makefile | 1 + arch/arm/boards/embest-riotboard/Makefile | 3 + arch/arm/boards/embest-riotboard/board.c | 90 +++++ .../flash-header-embest-riotboard.imxcfg | 62 ++++ arch/arm/boards/embest-riotboard/lowlevel.c | 43 +++ arch/arm/configs/imx_v7_defconfig | 1 + arch/arm/dts/Makefile | 4 +- arch/arm/dts/imx6s-riotboard.dts | 391 +++++++++++++++++++++ arch/arm/mach-imx/Kconfig | 4 + images/Makefile.imx | 5 + 10 files changed, 603 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boards/embest-riotboard/Makefile create mode 100644 arch/arm/boards/embest-riotboard/board.c create mode 100644 arch/arm/boards/embest-riotboard/flash-header-embest-riotboard.imxcfg create mode 100644 arch/arm/boards/embest-riotboard/lowlevel.c create mode 100644 arch/arm/dts/imx6s-riotboard.dts
arch/arm/boards/Makefile +1 -0
@@ -28,6 +28,7 @@ obj-$(CONFIG_MACH_EDB9307) += edb93xx/ obj-$(CONFIG_MACH_EDB9315A) += edb93xx/ obj-$(CONFIG_MACH_EDB9315) += edb93xx/ obj-$(CONFIG_MACH_EFIKA_MX_SMARTBOOK) += efika-mx-smartbook/ +obj-$(CONFIG_MACH_EMBEST_RIOTBOARD) += embest-riotboard/ obj-$(CONFIG_MACH_EUKREA_CPUIMX25) += eukrea_cpuimx25/ obj-$(CONFIG_MACH_EUKREA_CPUIMX27) += eukrea_cpuimx27/ obj-$(CONFIG_MACH_EUKREA_CPUIMX35) += eukrea_cpuimx35/
arch/arm/boards/embest-riotboard/Makefile new file +3 -0
@@ -0,0 +1,3 @@ +obj-y += board.o flash-header-embest-riotboard.dcd.o +extra-y += flash-header-embest-riotboard.dcd.S flash-header-embest-riotboard.dcd +lwl-y += lowlevel.o
arch/arm/boards/embest-riotboard/board.c new file +90 -0
90 lines not on this page · raw message
arch/arm/boards/embest-riotboard/flash-header-embest-riotboard.imxcfg new file +62 -0
62 lines not on this page · raw message
arch/arm/boards/embest-riotboard/lowlevel.c new file +43 -0
43 lines not on this page · raw message
arch/arm/configs/imx_v7_defconfig +1 -0
@@ -15,6 +15,7 @@ CONFIG_MACH_SABRELITE=y CONFIG_MACH_SABRESD=y CONFIG_MACH_NITROGEN6X=y CONFIG_MACH_SOLIDRUN_HUMMINGBOARD=y +CONFIG_MACH_EMBEST_RIOTBOARD=y CONFIG_MACH_UDOO=y CONFIG_MACH_VARISCITE_MX6=y CONFIG_IMX_IIM=y
arch/arm/dts/Makefile +3 -1
@@ -27,7 +27,8 @@ dtb-$(CONFIG_ARCH_IMX6) += imx6q-gk802.dtb \ imx6q-nitrogen6x.dtb \ imx6dl-nitrogen6x.dtb \ imx6q-udoo.dtb \ - imx6q-var-custom.dtb + imx6q-var-custom.dtb \ + imx6s-riotboard.dtb dtb-$(CONFIG_ARCH_MVEBU) += dove-cubox-bb.dtb dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_cyclone5_sockit.dtb \ socfpga_cyclone5_socrates.dtb
@@ -40,6 +41,7 @@ obj-$(CONFIG_BUILTIN_DTB) += $(BUILTIN_DTB).dtb.o pbl-$(CONFIG_MACH_BEAGLEBONE) += am335x-bone.dtb.o am335x-boneblack.dtb.o pbl-$(CONFIG_MACH_EFIKA_MX_SMARTBOOK) += imx51-genesi-efika-sb.dtb.o +pbl-$(CONFIG_MACH_EMBEST_RIOTBOARD) += imx6s-riotboard.dtb.o pbl-$(CONFIG_MACH_FREESCALE_MX51_PDK) += imx51-babbage.dtb.o pbl-$(CONFIG_MACH_FREESCALE_MX53_LOCO) += imx53-qsb.dtb.o imx53-qsrb.dtb.o pbl-$(CONFIG_MACH_FREESCALE_MX53_VMX53) += imx53-voipac-bsb.dtb.o
arch/arm/dts/imx6s-riotboard.dts new file +391 -0
391 lines not on this page · raw message
arch/arm/mach-imx/Kconfig +4 -0
@@ -250,6 +250,10 @@ config MACH_SOLIDRUN_HUMMINGBOARD bool "SolidRun Hummingboard" select ARCH_IMX6 +config MACH_EMBEST_RIOTBOARD + bool "Embest RIoTboard" + select ARCH_IMX6 + config MACH_UDOO bool "Freescale i.MX6 UDOO Board" select ARCH_IMX6
images/Makefile.imx +5 -0
@@ -166,3 +166,8 @@ pblx-$(CONFIG_MACH_VARISCITE_MX6) += start_variscite_custom CFG_start_variscite_custom.pblx.imximg = $(board)/variscite-mx6/flash-header-variscite.imxcfg FILE_barebox-variscite-custom.img = start_variscite_custom.pblx.imximg image-$(CONFIG_MACH_VARISCITE_MX6) += barebox-variscite-custom.img + +pblx-$(CONFIG_MACH_EMBEST_RIOTBOARD) += start_imx6s_riotboard +CFG_start_imx6s_riotboard.pblx.imximg = $(board)/embest-riotboard/flash-header-embest-riotboard.imxcfg +FILE_barebox-embest-imx6s-riotboard.img = start_imx6s_riotboard.pblx.imximg +image-$(CONFIG_MACH_EMBEST_RIOTBOARD) += barebox-embest-imx6s-riotboard.img
Signature · 7 lines
1.9.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Hi Lucas,
Quoted 14 lines · Lucas Stach
From: Eric Bénard <[email protected]>
this board is produced by Embest/Element 14 and is based on i.MX6 Solo The following features are tested :
- UART2 (console)
- eMMC
- SDCard
- uSDCard
- Ethernet
- USB Host (through 4 ports hub)
- I2C 1/2/3
- 2 LEDs
Quoted 4 lines
Boot on eMMC and through USB loader are tested.
For more informations on this board : http://www.riotboard.org/
FWIW, we are working on a common dts for Riot & Mars boards. So if you apply this one, I'll submit this change in the coming weeks (common dtsi and 2 x dts).
Eric
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Am Freitag, den 25.04.2014, 09:16 +0200 schrieb Eric Bénard:
Quoted 19 lines
Hi Lucas,
Quoted 14 lines · Lucas Stach
From: Eric Bénard <[email protected]>
this board is produced by Embest/Element 14 and is based on i.MX6 Solo The following features are tested :
- UART2 (console)
- eMMC
- SDCard
- uSDCard
- Ethernet
- USB Host (through 4 ports hub)
- I2C 1/2/3
- 2 LEDs
Quoted 8 lines
Quoted 4 lines
Boot on eMMC and through USB loader are tested.
For more informations on this board : http://www.riotboard.org/
FWIW, we are working on a common dts for Riot & Mars boards. So if you apply this one, I'll submit this change in the coming weeks (common dtsi and 2 x dts).
Yes, I think this is definitely the way to go.
But in the meantime I think it makes sense to apply this patch as is, because even without the Marsboard support and the common dtsi this adds fully working support for the Riotboard, so I would like to see this going into barebox-next now.
Regards,
Lucas
Signature · 8 lines
Pengutronix e.K. | Lucas Stach | Industrial Linux Solutions | http://www.pengutronix.de/ | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Eric Bénard
Acked-byQuoted 29 lines · Lucas Stach
Am Freitag, den 25.04.2014, 09:16 +0200 schrieb Eric Bénard:
Quoted 19 lines
Hi Lucas,
Quoted 14 lines · Lucas Stach
From: Eric Bénard <[email protected]>
this board is produced by Embest/Element 14 and is based on i.MX6 Solo The following features are tested :
- UART2 (console)
- eMMC
- SDCard
- uSDCard
- Ethernet
- USB Host (through 4 ports hub)
- I2C 1/2/3
- 2 LEDsQuoted 8 lines
Quoted 4 lines
Boot on eMMC and through USB loader are tested.
For more informations on this board : http://www.riotboard.org/
FWIW, we are working on a common dts for Riot & Mars boards. So if you apply this one, I'll submit this change in the coming weeks (common dtsi and 2 x dts).
Quoted 7 lines
Yes, I think this is definitely the way to go.
But in the meantime I think it makes sense to apply this patch as is, because even without the Marsboard support and the common dtsi this adds fully working support for the Riotboard, so I would like to see this going into barebox-next now.
Eric
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Quoted 13 lines · Lucas Stach
From: Eric Bénard <[email protected]>
this board is produced by Embest/Element 14 and is based on i.MX6 Solo The following features are tested :
- UART2 (console)
- eMMC
- SDCard
- uSDCard
- Ethernet
- USB Host (through 4 ports hub)
- I2C 1/2/3
- 2 LEDs
Quoted 6 lines
Boot on eMMC and through USB loader are tested.
For more informations on this board : http://www.riotboard.org/
Signed-off-by Eric Bénard <[email protected]>Signed-off-by Lucas Stach <[email protected]>
Applied, thanks
Sascha
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox