diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-20 12:11:57 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-20 12:12:05 +0200 |
commit | 9f31eaf9da3fd7956cde0b32ecf2971bd08a8f7b (patch) | |
tree | 4cec7a740f01e64655ddfdf37523222861d830ad /target/arm | |
parent | efd1970e8fdc0a92cd75111eb868264068a7ae36 (diff) |
add u-boot update for hummingboardrd, add some basic infrastructure
Diffstat (limited to 'target/arm')
-rw-r--r-- | target/arm/Makefile | 16 | ||||
-rw-r--r-- | target/arm/kernel/hummingboard | 18 | ||||
-rw-r--r-- | target/arm/systems/hummingboard | 28 |
3 files changed, 60 insertions, 2 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile index 3213212bc..4a87bc6ec 100644 --- a/target/arm/Makefile +++ b/target/arm/Makefile @@ -54,6 +54,11 @@ ifeq ($(ADK_TARGET_SYSTEM_CUBOX_I),y) @echo "sudo ./scripts/install-cubox.sh /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL) $(FW_DIR)" endif +ifeq ($(ADK_TARGET_SYSTEM_HUMMINGBOARD),y) + @echo "Use following command to install it on SD card:" + @echo "sudo ./scripts/install-cubox.sh /dev/sdX $(FW_DIR)/$(ROOTFSTARBALL) $(FW_DIR)" + +endif endif ifeq ($(ADK_TARGET_FS),initramfs) targethelp: @@ -85,15 +90,22 @@ kernel-install: kernel-strip @cp $(BUILD_DIR)/$(TARGET_KERNEL) $(FW_DIR)/$(TARGET_KERNEL) dtb-install: +ifeq ($(ADK_TARGET_SYSTEM_CUBOX_I),y) env $(KERNEL_MAKE_ENV) $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKE_OPTS) \ -j${ADK_MAKE_JOBS} imx6q-cubox-i.dtb imx6dl-cubox-i.dtb $(MAKE_TRACE) $(CP) $(LINUX_DIR)/arch/arm/boot/dts/imx6*-cubox-i.dtb \ $(FW_DIR) - +endif +ifeq ($(ADK_TARGET_SYSTEM_HUMMINGBOARD),y) + env $(KERNEL_MAKE_ENV) $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKE_OPTS) \ + -j${ADK_MAKE_JOBS} imx6dl-hummingboard.dtb $(MAKE_TRACE) + $(CP) $(LINUX_DIR)/arch/arm/boot/dts/imx6*-hummingboard.dtb \ + $(FW_DIR) +endif # filesystem specific targets ifeq ($(ADK_TARGET_FS),archive) -ifeq ($(ADK_TARGET_SYSTEM_CUBOX_I),y) +ifeq ($(ADK_TARGET_SYSTEM_CUBOX_I)$(ADK_TARGET_SYSTEM_HUMMINGBOARD),y) imageinstall: dtb-install $(FW_DIR)/$(ROOTFSTARBALL) targethelp else imageinstall: $(FW_DIR)/$(ROOTFSTARBALL) targethelp diff --git a/target/arm/kernel/hummingboard b/target/arm/kernel/hummingboard new file mode 100644 index 000000000..97e6393ef --- /dev/null +++ b/target/arm/kernel/hummingboard @@ -0,0 +1,18 @@ +CONFIG_ARM=y +CONFIG_ARM_PATCH_PHYS_VIRT=y +CONFIG_ARCH_MULTI_V7=y +CONFIG_ARCH_MXC=y +CONFIG_ARCH_MX6=y +CONFIG_SOC_IMX6Q=y +CONFIG_SOC_IMX6SL=y +CONFIG_LOCAL_TIMERS=y +CONFIG_MXC_DEBUG_BOARD=y +CONFIG_KUSER_HELPERS=y +CONFIG_VFP=y +CONFIG_VFPv3=y +CONFIG_NEON=y +CONFIG_PCI_IMX6=y +CONFIG_SERIAL_IMX=y +CONFIG_SERIAL_IMX_CONSOLE=y +CONFIG_ATAGS=y +CONFIG_CMDLINE_FORCE=y diff --git a/target/arm/systems/hummingboard b/target/arm/systems/hummingboard new file mode 100644 index 000000000..b7421f4d1 --- /dev/null +++ b/target/arm/systems/hummingboard @@ -0,0 +1,28 @@ +config ADK_TARGET_SYSTEM_HUMMINGBOARD + bool "HummingBoard" + select ADK_arm + select ADK_little + select ADK_eabihf + select ADK_fpu_neon + select ADK_hummingboard + select ADK_CPU_CORTEX_A9 + select ADK_TARGET_CPU_WITH_FPU + select ADK_TARGET_WITH_VGA + select ADK_TARGET_WITH_CPU_FREQ + select ADK_TARGET_WITH_USB + select ADK_TARGET_WITH_SD + select ADK_TARGET_WITH_I2C + select ADK_TARGET_WITH_SPI + select ADK_TARGET_WITH_RTC + select ADK_TARGET_WITH_SDIO + select ADK_TARGET_WITH_SOUND + select ADK_TARGET_WITH_LEDS + select ADK_TARGET_WITH_SMP + select ADK_TARGET_WITH_WATCHDOG + select ADK_TARGET_WITH_WIFI + select ADK_TARGET_KERNEL_ZIMAGE + select ADK_TARGET_WITH_ROOT_RW + select ADK_PACKAGE_U_BOOT_IMX6 + help + Solidrun HummingBoard + |