Add support for Colibri Vybrid Modules
Subsystems (4)
cover Add support for Colibri Vybrid Modules
Hello,
This patchset adds support for the Toradex Colibri Vybrid VF50 and VF61 modules. Boot up has been tested using the serial loader over UART.
First patch in the series refactors the DDR related code for use by both the tower board and colibri modules. It also introduces a DDR3 based JEDEC timing structure.
Second third and fourth patch in this series are improvement patches related to RTC, SoC/CPU detection and caches.
Fifth patch introduces USB support for Vybrid modules. Much of the code is similar to the ehci-mx6 driver. One open question here would be is there a better way to take care of this similarity and perhaps share the code base among the two drivers? Both host and client modes are working and DFU has also been tested. Currently, we restrict the ports to be in one of host and client mode.
Sixth patch adds the actual support for the Colibri modules.
Comments and feedback are most welcome.
The patchset has been based and tested on the latest master branch as of this writing.
- Sanchayan.
Sanchayan Maity (4):
ARM: vf610: Move DDR3 initialization to imx-common
ARM: vf610: Add SoC and CPU type detection
usb: host: Add ehci-vf USB driver for ARM Vybrid SoC's
ARM: vf610: Initial integration for Colibri VF50/VF61
Stefan Agner (2):
ARM: vf610: Enable external 32KHz oscillator
ARM: vf610: Enable caches
arch/arm/Kconfig | 5 + arch/arm/cpu/armv7/vf610/generic.c | 45 ++- arch/arm/imx-common/Makefile | 3 + arch/arm/imx-common/ddrmc-vf610.c | 278 ++++++++++++++++++ arch/arm/include/asm/arch-vf610/crm_regs.h | 15 + arch/arm/include/asm/arch-vf610/ddrmc-vf610.h | 72 +++++ arch/arm/include/asm/arch-vf610/imx-regs.h | 36 ++- board/freescale/vf610twr/vf610twr.c | 295 +++++-------------- board/toradex/colibri_vf/Kconfig | 18 ++ board/toradex/colibri_vf/MAINTAINERS | 6 + board/toradex/colibri_vf/Makefile | 7 + board/toradex/colibri_vf/colibri_vf.c | 389 ++++++++++++++++++++++++++ board/toradex/colibri_vf/imximage.cfg | 17 ++ configs/colibri_vf_defconfig | 3 + drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-vf.c | 204 ++++++++++++++ include/configs/colibri_vf.h | 266 ++++++++++++++++++ 17 files changed, 1425 insertions(+), 235 deletions(-) create mode 100644 arch/arm/imx-common/ddrmc-vf610.c create mode 100644 arch/arm/include/asm/arch-vf610/ddrmc-vf610.h create mode 100644 board/toradex/colibri_vf/Kconfig create mode 100644 board/toradex/colibri_vf/MAINTAINERS create mode 100644 board/toradex/colibri_vf/Makefile create mode 100644 board/toradex/colibri_vf/colibri_vf.c create mode 100644 board/toradex/colibri_vf/imximage.cfg create mode 100644 configs/colibri_vf_defconfig create mode 100644 drivers/usb/host/ehci-vf.c create mode 100644 include/configs/colibri_vf.h
Signature · 1 line
2.3.3
PATCH 1/6 ARM: vf610: Move DDR3 initialization to imx-common
In order to avoid code duplication, move the DDR3 initialization to the common place under imx-common. Currently ROW_DIFF and COL_DIFF can be chosen from the board file. The JEDEC timings are specified using a common ddr3_jedec_timings structure.
--- arch/arm/imx-common/Makefile | 3 + arch/arm/imx-common/ddrmc-vf610.c | 278 +++++++++++++++++++++++++ arch/arm/include/asm/arch-vf610/ddrmc-vf610.h | 72 +++++++ arch/arm/include/asm/arch-vf610/imx-regs.h | 4 +- board/freescale/vf610twr/vf610twr.c | 282 +++++--------------------- 5 files changed, 408 insertions(+), 231 deletions(-) create mode 100644 arch/arm/imx-common/ddrmc-vf610.c create mode 100644 arch/arm/include/asm/arch-vf610/ddrmc-vf610.h
arch/arm/imx-common/Makefile +3 -0
@@ -22,6 +22,9 @@ ifeq ($(SOC),$(filter $(SOC),mx6)) obj-$(CONFIG_CMD_SATA) += sata.o obj-$(CONFIG_IMX_VIDEO_SKIP) += video.o endif +ifeq ($(SOC),$(filter $(SOC),vf610)) +obj-y += ddrmc-vf610.o +endif obj-$(CONFIG_CMD_BMODE) += cmd_bmode.o obj-$(CONFIG_CMD_HDMIDETECT) += cmd_hdmidet.o obj-$(CONFIG_CMD_DEKBLOB) += cmd_dek.o
arch/arm/imx-common/ddrmc-vf610.c new file +278 -0
278 lines not on this page · raw message
arch/arm/include/asm/arch-vf610/ddrmc-vf610.h new file +72 -0
72 lines not on this page · raw message
arch/arm/include/asm/arch-vf610/imx-regs.h +2 -2
@@ -196,8 +196,8 @@#define DDRMC_CR96_WLMRD (v) (((v) & 0x3f) << 8)#define DDRMC_CR96_WLDQSEN (v) ((v) & 0x3f)#define DDRMC_CR97_WRLVL_EN (1 << 24) -#define DDRMC_CR98_WRLVL_DL_0 (0) -#define DDRMC_CR99_WRLVL_DL_1 (0) +#define DDRMC_CR98_WRLVL_DL_0 (v) ((v) & 0xffff) +#define DDRMC_CR99_WRLVL_DL_1 (v) ((v) & 0xffff)#define DDRMC_CR102_RDLVL_GT_REGEN (1 << 16)#define DDRMC_CR102_RDLVL_REG_EN (1 << 8)#define DDRMC_CR105_RDLVL_DL_0 (v) (((v) & 0xff) << 8)
board/freescale/vf610twr/vf610twr.c +53 -229
299 lines not on this page · raw message
Signature · 1 line
2.3.3
PATCH 2/6 ARM: vf610: Enable external 32KHz oscillator
In reply to Sanchayan MaityFrom: Stefan Agner <[email protected]>
Enable the SCSC (Slow Clock Source Controller) and select the external 32KHz oscillator. This improves the accuracy of the RTC.
--- arch/arm/include/asm/arch-vf610/crm_regs.h | 1 + arch/arm/include/asm/arch-vf610/imx-regs.h | 11 ++++++++++- board/freescale/vf610twr/vf610twr.c | 13 ++++++++++++- 3 files changed, 23 insertions(+), 2 deletions(-)
arch/arm/include/asm/arch-vf610/crm_regs.h +1 -0
@@ -199,6 +199,7 @@ struct anadig_reg {#define CCM_CCGR2_PORTD_CTRL_MASK (0x3 << 24)#define CCM_CCGR2_PORTE_CTRL_MASK (0x3 << 26)#define CCM_CCGR3_ANADIG_CTRL_MASK 0x3 +#define CCM_CCGR3_SCSC_CTRL_MASK (0x3 << 4)#define CCM_CCGR4_WKUP_CTRL_MASK (0x3 << 20)#define CCM_CCGR4_CCM_CTRL_MASK (0x3 << 22)#define CCM_CCGR4_GPC_CTRL_MASK (0x3 << 24)
arch/arm/include/asm/arch-vf610/imx-regs.h +10 -1
@@ -65,7 +65,7 @@#define QSPI0_BASE_ADDR (AIPS0_BASE_ADDR + 0x00044000)#define IOMUXC_BASE_ADDR (AIPS0_BASE_ADDR + 0x00048000)#define ANADIG_BASE_ADDR (AIPS0_BASE_ADDR + 0x00050000) -#define SCSCM_BASE_ADDR (AIPS0_BASE_ADDR + 0x00052000) +#define SCSC_BASE_ADDR (AIPS0_BASE_ADDR + 0x00052000)#define ASRC_BASE_ADDR (AIPS0_BASE_ADDR + 0x00060000)#define SPDIF_BASE_ADDR (AIPS0_BASE_ADDR + 0x00061000)#define ESAI_BASE_ADDR (AIPS0_BASE_ADDR + 0x00062000)
@@ -264,6 +264,9 @@#define SRC_SRSR_WDOG_A5 (0x1 << 3)#define SRC_SRSR_POR_RST (0x1 << 0) +/* Slow Clock Source Controller Module (SCSC) */ +#define SCSC_SOSC_CTR_SOSC_EN 0x1 +#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))#include <asm/types.h>
@@ -448,6 +451,12 @@ struct mscm_ir {u16 rsvd3[848 ]; }; +/* SCSC */ +struct scsc_reg { +u32 sirc_ctr; +u32 sosc_ctr; +}; +#endif /* __ASSEMBLER__*/ #endif /* __ASM_ARCH_IMX_REGS_H__ */
board/freescale/vf610twr/vf610twr.c +12 -1
@@ -227,7 +227,7 @@ static void clock_init(void)CCM_CCGR2_PORTD_CTRL_MASK |CCM_CCGR2_PORTE_CTRL_MASK | CCM_CCGR2_QSPI0_CTRL_MASK);clrsetbits_le32 (&ccm->ccgr3,CCM_REG_CTRL_MASK , -CCM_CCGR3_ANADIG_CTRL_MASK ); +CCM_CCGR3_ANADIG_CTRL_MASK |CCM_CCGR3_SCSC_CTRL_MASK );clrsetbits_le32 (&ccm->ccgr4,CCM_REG_CTRL_MASK ,CCM_CCGR4_WKUP_CTRL_MASK |CCM_CCGR4_CCM_CTRL_MASK |CCM_CCGR4_GPC_CTRL_MASK |CCM_CCGR4_I2C0_CTRL_MASK );
@@ -308,9 +308,20 @@ int board_early_init_f(void)int board_init (void ) { +struct scsc_reg *scsc = (struct scsc_reg *)SCSC_BASE_ADDR ; +/* address of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM +0x100 ; +/* +* Enable external 32K Oscillator +* +* The internal clock experiences significant drift +* so we must use the external oscillator in order +* to maintain correct time in the hwclock +*/ +setbits_le32 (&scsc->sosc_ctr,SCSC_SOSC_CTR_SOSC_EN ); +return 0 ; }
Signature · 1 line
2.3.3
PATCH 3/6 ARM: vf610: Add SoC and CPU type detection
In reply to Sanchayan MaityVybrid product family consists of several rather similar SoC which can be determined by softare during boot time. This allows use of variable ${soc} for Linux device tree files. Detect VF5xx CPU's by reading the CPU count register. We can determine the second number of the CPU type (VF6x0) which indicates the presence of a L2 cache.
--- arch/arm/cpu/armv7/vf610/generic.c | 29 +++++++++++++++++++++++++++-- arch/arm/include/asm/arch-vf610/imx-regs.h | 12 ++++++++++++ 2 files changed, 39 insertions(+), 2 deletions(-)
arch/arm/cpu/armv7/vf610/generic.c +27 -2
@@ -18,6 +18,8 @@DECLARE_GLOBAL_DATA_PTR ;#endif +static char soc_type[] ="xx0" ; +#ifdef CONFIG_MXC_OCOTP void enable_ocotp_clk (unsigned char enable) {
@@ -284,14 +286,37 @@ static char *get_reset_cause(void)int print_cpuinfo (void ) { -printf ("CPU: Freescale Vybrid VF610 at %d MHz\n" , -mxc_get_clock (MXC_ARM_CLK ) /1000000 ); +printf ("CPU: Freescale Vybrid VF%s at %d MHz\n" , + soc_type,mxc_get_clock (MXC_ARM_CLK ) /1000000 );printf ("Reset cause: %s\n" ,get_reset_cause ());return 0 ; }#endif +int arch_cpu_init (void ) +{ +struct mscm *mscm = (struct mscm *)MSCM_BASE_ADDR ; + + soc_type[0 ] = mscm->cpxcount ?'6' :'5' ;/*Dual Core => VF6x0 */ + soc_type[1 ] = mscm->cpxcfg1 ?'1' :'0' ;/* L2 Cache => VFx10 */ + +return 0 ; +} + +#ifdef CONFIG_ARCH_MISC_INIT +int arch_misc_init (void ) +{ +char soc[6 ]; + +strcat (soc,"vf" ); +strcat (soc, soc_type); +setenv ("soc" , soc); + +return 0 ; +} +#endif +int cpu_eth_init (bd_t *bis) {int rc = -ENODEV ;
arch/arm/include/asm/arch-vf610/imx-regs.h +12 -0
@@ -457,6 +457,18 @@ struct scsc_reg {u32 sosc_ctr; }; +/* MSCM */ +struct mscm { +u32 cpxtype; +u32 cpxnum; +u32 cpxmaster; +u32 cpxcount; +u32 cpxcfg0; +u32 cpxcfg1; +u32 cpxcfg2; +u32 cpxcfg3; +}; +#endif /* __ASSEMBLER__*/ #endif /* __ASM_ARCH_IMX_REGS_H__ */
Signature · 1 line
2.3.3
PATCH 4/6 ARM: vf610: Enable caches
In reply to Sanchayan MaityFrom: Stefan Agner <[email protected]>
Enables caches which provides a rather huge speedup of the boot loader. Also mark the on-chip RAM as cachable since this is the area U-Boot runs from.
--- arch/arm/cpu/armv7/vf610/generic.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
arch/arm/cpu/armv7/vf610/generic.c +16 -0
@@ -342,3 +342,19 @@ int get_clocks(void)#endif return 0 ; } + +#ifndef CONFIG_SYS_DCACHE_OFF +void enable_caches (void ) +{ +#if defined(CONFIG_SYS_ARM_CACHE_WRITETHROUGH ) +enum dcache_option option =DCACHE_WRITETHROUGH ; +#else +enum dcache_option option =DCACHE_WRITEBACK ; +#endif +dcache_enable (); +icache_enable (); + +/* Enable caching on OCRAM */ +mmu_set_region_dcache_behaviour (IRAM_BASE_ADDR ,IRAM_SIZE , option); +} +#endif
Signature · 1 line
2.3.3
PATCH 5/6 usb: host: Add ehci-vf USB driver for ARM Vybrid SoC's
In reply to Sanchayan Maity--- arch/arm/include/asm/arch-vf610/crm_regs.h | 14 ++ arch/arm/include/asm/arch-vf610/imx-regs.h | 4 + drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-vf.c | 204 +++++++++++++++++++++++++++++ 4 files changed, 223 insertions(+) create mode 100644 drivers/usb/host/ehci-vf.c
arch/arm/include/asm/arch-vf610/crm_regs.h +14 -0
@@ -124,6 +124,10 @@ struct anadig_reg {#define CCM_CCSR_PLL1_PFD_CLK_SEL_MASK (0x7 << 16)#define CCM_CCSR_PLL1_PFD_CLK_SEL (v) (((v) & 0x7) << 16) +#define CCM_CCSR_PLL3_PFD4_EN (1 << 31) +#define CCM_CCSR_PLL3_PFD3_EN (1 << 30) +#define CCM_CCSR_PLL3_PFD2_EN (1 << 29) +#define CCM_CCSR_PLL3_PFD1_EN (1 << 28)#define CCM_CCSR_PLL2_PFD4_EN (1 << 15)#define CCM_CCSR_PLL2_PFD3_EN (1 << 14)#define CCM_CCSR_PLL2_PFD2_EN (1 << 13)
@@ -189,6 +193,7 @@ struct anadig_reg {#define CCM_REG_CTRL_MASK 0xffffffff#define CCM_CCGR0_UART0_CTRL_MASK (0x3 << 14)#define CCM_CCGR0_UART1_CTRL_MASK (0x3 << 16) +#define CCM_CCGR1_USBC0_CTRL_MASK (0x3 << 8)#define CCM_CCGR1_PIT_CTRL_MASK (0x3 << 14)#define CCM_CCGR1_WDOGA5_CTRL_MASK (0x3 << 28)#define CCM_CCGR2_QSPI0_CTRL_MASK (0x3 << 8)
@@ -207,14 +212,23 @@ struct anadig_reg {#define CCM_CCGR6_OCOTP_CTRL_MASK (0x3 << 10)#define CCM_CCGR6_DDRMC_CTRL_MASK (0x3 << 28)#define CCM_CCGR7_SDHC1_CTRL_MASK (0x3 << 4) +#define CCM_CCGR7_USBC1_CTRL_MASK (0x3 << 8)#define CCM_CCGR9_FEC0_CTRL_MASK 0x3#define CCM_CCGR9_FEC1_CTRL_MASK (0x3 << 2)#define CCM_CCGR10_NFC_CTRL_MASK 0x3 +#define ANADIG_PLL7_CTRL_BYPASS (1 << 16) +#define ANADIG_PLL7_CTRL_ENABLE (1 << 13) +#define ANADIG_PLL7_CTRL_POWERDOWN (1 << 12) +#define ANADIG_PLL7_CTRL_DIV_SELECT (1 << 1)#define ANADIG_PLL5_CTRL_BYPASS (1 << 16)#define ANADIG_PLL5_CTRL_ENABLE (1 << 13)#define ANADIG_PLL5_CTRL_POWERDOWN (1 << 12)#define ANADIG_PLL5_CTRL_DIV_SELECT 1 +#define ANADIG_PLL3_CTRL_BYPASS (1 << 16) +#define ANADIG_PLL3_CTRL_ENABLE (1 << 13) +#define ANADIG_PLL3_CTRL_POWERDOWN (1 << 12) +#define ANADIG_PLL3_CTRL_DIV_SELECT (1 << 1)#define ANADIG_PLL2_CTRL_ENABLE (1 << 13)#define ANADIG_PLL2_CTRL_POWERDOWN (1 << 12)#define ANADIG_PLL2_CTRL_DIV_SELECT 1
arch/arm/include/asm/arch-vf610/imx-regs.h +4 -0
@@ -52,6 +52,7 @@#define SAI2_BASE_ADDR (AIPS0_BASE_ADDR + 0x00031000)#define SAI3_BASE_ADDR (AIPS0_BASE_ADDR + 0x00032000)#define CRC_BASE_ADDR (AIPS0_BASE_ADDR + 0x00033000) +#define USBC0_BASE_ADDR (AIPS0_BASE_ADDR + 0x00034000)#define PDB_BASE_ADDR (AIPS0_BASE_ADDR + 0x00036000)#define PIT_BASE_ADDR (AIPS0_BASE_ADDR + 0x00037000)#define FTM0_BASE_ADDR (AIPS0_BASE_ADDR + 0x00038000)
@@ -65,6 +66,8 @@#define QSPI0_BASE_ADDR (AIPS0_BASE_ADDR + 0x00044000)#define IOMUXC_BASE_ADDR (AIPS0_BASE_ADDR + 0x00048000)#define ANADIG_BASE_ADDR (AIPS0_BASE_ADDR + 0x00050000) +#define USB_PHY0_BASE_ADDR (AIPS0_BASE_ADDR + 0x00050800) +#define USB_PHY1_BASE_ADDR (AIPS0_BASE_ADDR + 0x00050C00)#define SCSC_BASE_ADDR (AIPS0_BASE_ADDR + 0x00052000)#define ASRC_BASE_ADDR (AIPS0_BASE_ADDR + 0x00060000)#define SPDIF_BASE_ADDR (AIPS0_BASE_ADDR + 0x00061000)
@@ -84,6 +87,7 @@#define DDR_BASE_ADDR (AIPS1_BASE_ADDR + 0x0002E000)#define ESDHC0_BASE_ADDR (AIPS1_BASE_ADDR + 0x00031000)#define ESDHC1_BASE_ADDR (AIPS1_BASE_ADDR + 0x00032000) +#define USBC1_BASE_ADDR (AIPS1_BASE_ADDR + 0x00034000)#define ENET_BASE_ADDR (AIPS1_BASE_ADDR + 0x00050000)#define ENET1_BASE_ADDR (AIPS1_BASE_ADDR + 0x00051000)#define NFC_BASE_ADDR (AIPS1_BASE_ADDR + 0x00060000)
drivers/usb/host/Makefile +1 -0
@@ -39,6 +39,7 @@ obj-$(CONFIG_USB_EHCI_SUNXI) += ehci-sunxi.o obj-$(CONFIG_USB_EHCI_TEGRA) += ehci-tegra.o obj-$(CONFIG_USB_EHCI_UNIPHIER) += ehci-uniphier.o obj-$(CONFIG_USB_EHCI_VCT) += ehci-vct.o +obj-$(CONFIG_USB_EHCI_VF) += ehci-vf.o obj-$(CONFIG_USB_EHCI_RMOBILE) += ehci-rmobile.o obj-$(CONFIG_USB_EHCI_ZYNQ) += ehci-zynq.o
drivers/usb/host/ehci-vf.c new file +204 -0
204 lines not on this page · raw message
Signature · 1 line
2.3.3
PATCH 6/6 ARM: vf610: Initial integration for Colibri VF50/VF61
In reply to Sanchayan MaityThis adds initial support for Colibri VF50/VF61 based on Freescale Vybrid SoC.
- CPU clocked at 396/500 MHz
- DDR3 at 396MHz
- for VF50, use PLL2 as memory clock (synchronous mode)
- for VF61, use PLL1 as memory clock (asynchronous mode)
- Console on UART0 (Colibri UART_A)
- Ethernet on FEC1
- PLL5 based RMII clocking (E.g. No external crystal)
- UART_A and UART_C I/O muxing
- Boot from NAND by default
- USB host and client support
Tested on Colibri VF50/VF61 booting using serial loader over UART.
--- arch/arm/Kconfig | 5 + arch/arm/include/asm/arch-vf610/imx-regs.h | 5 + board/toradex/colibri_vf/Kconfig | 18 ++ board/toradex/colibri_vf/MAINTAINERS | 6 + board/toradex/colibri_vf/Makefile | 7 + board/toradex/colibri_vf/colibri_vf.c | 389 +++++++++++++++++++++++++++++ board/toradex/colibri_vf/imximage.cfg | 17 ++ configs/colibri_vf_defconfig | 3 + include/configs/colibri_vf.h | 266 ++++++++++++++++++++ 9 files changed, 716 insertions(+) create mode 100644 board/toradex/colibri_vf/Kconfig create mode 100644 board/toradex/colibri_vf/MAINTAINERS create mode 100644 board/toradex/colibri_vf/Makefile create mode 100644 board/toradex/colibri_vf/colibri_vf.c create mode 100644 board/toradex/colibri_vf/imximage.cfg create mode 100644 configs/colibri_vf_defconfig create mode 100644 include/configs/colibri_vf.h
arch/arm/Kconfig +5 -0
@@ -609,6 +609,10 @@ config TARGET_VF610TWR bool "Support vf610twr" select CPU_V7 +config TARGET_COLIBRI_VF + bool "Support Colibri VF50/61" + select CPU_V7 + config ZYNQ bool "Xilinx Zynq Platform" select CPU_V7
@@ -863,6 +867,7 @@ source "board/ti/ti814x/Kconfig" source "board/ti/ti816x/Kconfig" source "board/timll/devkit3250/Kconfig" source "board/toradex/colibri_pxa270/Kconfig" +source "board/toradex/colibri_vf/Kconfig" source "board/tqc/tqma6/Kconfig" source "board/trizepsiv/Kconfig" source "board/ttcontrol/vision2/Kconfig"
arch/arm/include/asm/arch-vf610/imx-regs.h +5 -0
@@ -267,6 +267,11 @@#define SRC_SRSR_WDOG_M4 (0x1 << 4)#define SRC_SRSR_WDOG_A5 (0x1 << 3)#define SRC_SRSR_POR_RST (0x1 << 0) +#define SRC_SBMR2_BMOD_MASK (0x3 << 24) +#define SRC_SBMR2_BMOD_SHIFT 24 +#define SRC_SBMR2_BMOD_FUSES 0x0 +#define SRC_SBMR2_BMOD_SERIAL 0x1 +#define SRC_SBMR2_BMOD_RCON 0x2/* Slow Clock Source Controller Module (SCSC) */ #define SCSC_SOSC_CTR_SOSC_EN 0x1
board/toradex/colibri_vf/Kconfig new file +18 -0
@@ -0,0 +1,18 @@ +if TARGET_COLIBRI_VF + +config SYS_CPU + default "armv7" + +config SYS_BOARD + default "colibri_vf" + +config SYS_VENDOR + default "toradex" + +config SYS_SOC + default "vf610" + +config SYS_CONFIG_NAME + default "colibri_vf" + +endif
board/toradex/colibri_vf/MAINTAINERS new file +6 -0
@@ -0,0 +1,6 @@ +Colibri VFxx +M: Stefan Agner <[email protected]> +S: Maintained +F: board/toradex/colibri_vf/ +F: include/configs/colibri_vf.h +F: configs/colibri_vf_defconfig
board/toradex/colibri_vf/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# +# Copyright 2013 Freescale Semiconductor, Inc. +# +# SPDX-License-Identifier: GPL-2.0+ +# + +obj-y := colibri_vf.o
board/toradex/colibri_vf/colibri_vf.c new file +389 -0
389 lines not on this page · raw message
board/toradex/colibri_vf/imximage.cfg new file +17 -0
@@ -0,0 +1,17 @@ +/* + * Copyright 2014 Toradex, Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + * + * Refer docs/README.imxmage for more details about how-to configure + * and create imximage boot image + * + * The syntax is taken as close as possible with the kwbimage + */ +#include <asm/imx-common/imximage.cfg> + +/* image version */ +IMAGE_VERSION 2 + +/* Boot Offset 0x400, valid for both SD and NAND boot */ +BOOT_OFFSET FLASH_OFFSET_STANDARD
configs/colibri_vf_defconfig new file +3 -0
@@ -0,0 +1,3 @@ +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/colibri_vf/imximage.cfg,ENV_IS_IN_NAND,IMX_NAND" +CONFIG_ARM=y +CONFIG_TARGET_COLIBRI_VF=y
include/configs/colibri_vf.h new file +266 -0
266 lines not on this page · raw message
Signature · 1 line
2.3.3