configs/freescale_imx6sololiteevk: Remove target
Fabio Estevam
reviewerPATCH 1/3 configs/freescale_imx6sololiteevk: Remove target
Currently this target fails to build:
Error: No BOOT_FROM tag in board/freescale/mx6slevk/imximage.cfg.cfgtmp arch/arm/imx-common/Makefile:91: recipe for target 'u-boot-dtb.imx' failed
This problem has been already solved in upstream U-Boot, but not on NXP version of U-Boot.
To avoid the maintainance burden of keeping two defconfigs for the same board, remove freescale_imx6sololiteevk_defconfig in favor of imx6slevk_defconfig, which uses U-Boot and kernel mainline.
--- configs/freescale_imx6sololiteevk_defconfig | 39 ----------------------------- 1 file changed, 39 deletions(-) delete mode 100644 configs/freescale_imx6sololiteevk_defconfig
configs/freescale_imx6sololiteevk_defconfig deleted +0 -39
@@ -1,39 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 4.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_GIT=y -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/linux-imx.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_4.9.x_1.0.0_ga" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sl-evk" - -# filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y - -# required tools to create the microSD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6slevk" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/uboot-imx.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_4.9.x_1.0.0_ga" -BR2_TARGET_UBOOT_NEEDS_DTC=y
Signature · 1 line
2.7.4
Fabio Estevam
reviewerPATCH 2/3 configs/freescale_imx31_3stack: Remove target
Currently this target fails to build:
arch/arm/mach-imx/built-in.o: In function `init_mmdc_lpddr2_settings':
platform-spi_imx.c:(.text+0x8f18): undefined reference to imx6sll_lpddr2_freq_change' arch/arm/mach-imx/built-in.o: In function imx6ul_cpuidle_init':
platform-spi_imx.c:(.init.text+0x195c): undefined reference to mx6ull_lpm_wfi_end' platform-spi_imx.c:(.init.text+0x1960): undefined reference to mx6ull_lpm_wfi_start' platform-spi_imx.c:(.init.text+0x1964): undefined reference to imx6ull_low_power_idle' arch/arm/mach-imx/built-in.o: In function imx6sl_init_late':
platform-spi_imx.c:(.init.text+0x56f0): undefined reference to `imx6sll_cpuidle_init' Makefile:969: recipe for target 'vmlinux' failed
NXP 4.9 kernel does not properly support mx31, so better remove this target.
mx31_3stack board is currently supported in U-Boot and kernel mainline, so if someone is interested on this board, then a target can be introduced later which uses these mainline components.
Currently I do not have access to this board, so remove it its defconfig for now.
--- board/freescale/imx31_3stack/linux.fragment | 1 - board/freescale/imx31_3stack/readme.txt | 92 ----------------------------- configs/freescale_imx31_3stack_defconfig | 20 ------- 3 files changed, 113 deletions(-) delete mode 100644 board/freescale/imx31_3stack/linux.fragment delete mode 100644 board/freescale/imx31_3stack/readme.txt delete mode 100644 configs/freescale_imx31_3stack_defconfig
board/freescale/imx31_3stack/linux.fragment deleted +0 -1
@@ -1 +0,0 @@ -# CONFIG_FB_MXS is not set
board/freescale/imx31_3stack/readme.txt deleted +0 -92
92 lines not on this page · raw message
configs/freescale_imx31_3stack_defconfig deleted +0 -20
@@ -1,20 +0,0 @@ -# architecture -BR2_arm=y -BR2_arm1136jf_s=y -BR2_ARM_EABIHF=y - -# Linux headers same as kernel, a 4.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_GIT=y -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/linux-imx.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_4.9.x_1.0.0_ga" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/freescale/imx31_3stack/linux.fragment" -BR2_TARGET_ROOTFS_CPIO_GZIP=y -BR2_TARGET_ROOTFS_INITRAMFS=y
Signature · 1 line
2.7.4
Fabio Estevam
reviewerPATCH 3/3 configs/freescale_imx6ulevk: Remove target
In reply to Fabio EstevamCurrently this target fails to build:
./scripts/dtc-version.sh: line 17: dtc: command not found ./scripts/dtc-version.sh: line 18: dtc: command not found *** Your dtc is too old, please upgrade to dtc 1.4 or newer
Even though the fix for this build failure is easy, I prefer to maintain only imx6ulevk_defconfig, which is a target for the same board, but uses mainline kernel and U-Boot versions instead.
--- configs/freescale_imx6ulevk_defconfig | 36 ----------------------------------- 1 file changed, 36 deletions(-) delete mode 100644 configs/freescale_imx6ulevk_defconfig
configs/freescale_imx6ulevk_defconfig deleted +0 -36
@@ -1,36 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y - -# Linux headers same as kernel, a 4.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_GIT=y -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/linux-imx.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_4.9.x_1.0.0_ga" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-14x14-evk" - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6ul_14x14_evk" -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://source.codeaurora.org/external/imx/uboot-imx.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_4.9.x_1.0.0_ga" -BR2_TARGET_UBOOT_FORMAT_IMX=y - -# required tools to create the microSD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# filesystem / image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y
Signature · 1 line
2.7.4
PATCH 1/3 configs/freescale_imx6sololiteevk: Remove target
In reply to Fabio EstevamQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabio" == Fabio Estevam <[email protected]> writes:
Currently this target fails to build:
Error: NoBOOT_FROMtag in board/freescale/mx6slevk/imximage.cfg.cfgtmparch/arm/imx-common/Makefile:91: recipe for target 'u-boot-dtb.imx' failedThis problem has been already solved in upstream U-Boot, but not on NXP version of U-Boot.
Quoted 6 lines
To avoid the maintainance burden of keeping two defconfigs for the same board, remove
freescale_imx6sololiteevk_defconfigin favor ofimx6slevk_defconfig, which uses U-Boot and kernel mainline.
Committed all 3, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/3 configs/freescale_imx6sololiteevk: Remove target
In reply to Fabio EstevamQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabio" == Fabio Estevam <[email protected]> writes:
Currently this target fails to build:
Error: NoBOOT_FROMtag in board/freescale/mx6slevk/imximage.cfg.cfgtmparch/arm/imx-common/Makefile:91: recipe for target 'u-boot-dtb.imx' failedThis problem has been already solved in upstream U-Boot, but not on NXP version of U-Boot.
Quoted 6 lines
To avoid the maintainance burden of keeping two defconfigs for the same board, remove
freescale_imx6sololiteevk_defconfigin favor ofimx6slevk_defconfig, which uses U-Boot and kernel mainline.
Committed all 3 to 2018.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard