* [Buildroot] [PATCH 1/3] configs/freescale_imx6sololiteevk: Remove target
@ 2018-05-05 23:12 Fabio Estevam
2018-05-05 23:12 ` [Buildroot] [PATCH 2/3] configs/freescale_imx31_3stack: " Fabio Estevam
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Fabio Estevam @ 2018-05-05 23:12 UTC (permalink / raw)
To: buildroot
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.
Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/66561693
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
configs/freescale_imx6sololiteevk_defconfig | 39 -----------------------------
1 file changed, 39 deletions(-)
delete mode 100644 configs/freescale_imx6sololiteevk_defconfig
diff --git a/configs/freescale_imx6sololiteevk_defconfig b/configs/freescale_imx6sololiteevk_defconfig
deleted file mode 100644
index b840f2f..0000000
--- a/configs/freescale_imx6sololiteevk_defconfig
+++ /dev/null
@@ -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
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 2/3] configs/freescale_imx31_3stack: Remove target
2018-05-05 23:12 [Buildroot] [PATCH 1/3] configs/freescale_imx6sololiteevk: Remove target Fabio Estevam
@ 2018-05-05 23:12 ` Fabio Estevam
2018-05-05 23:12 ` [Buildroot] [PATCH 3/3] configs/freescale_imx6ulevk: " Fabio Estevam
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2018-05-05 23:12 UTC (permalink / raw)
To: buildroot
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.
Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/66561688
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
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
diff --git a/board/freescale/imx31_3stack/linux.fragment b/board/freescale/imx31_3stack/linux.fragment
deleted file mode 100644
index beb6b46..0000000
--- a/board/freescale/imx31_3stack/linux.fragment
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_FB_MXS is not set
diff --git a/board/freescale/imx31_3stack/readme.txt b/board/freescale/imx31_3stack/readme.txt
deleted file mode 100644
index 4f8f393..0000000
--- a/board/freescale/imx31_3stack/readme.txt
+++ /dev/null
@@ -1,92 +0,0 @@
-**************************************
-Freescale i.MX31 PDK development board
-**************************************
-
-This file documents the Buildroot support for the Freescale i.MX31 PDK in "3
-stack" configuration.
-
-The i.MX31 Product Development Kit (or PDK) is Freescale development board [1]
-based on the i.MX31 application processor [2].
-
-For more details on the i.MX31 PDK board, refer to the User's Guide [3].
-
-Build
-=====
-
-First, configure Buildroot for your i.MX31 PDK board:
-
- make freescale_imx31_3stack_defconfig
-
-Build all components:
-
- make
-
-You will find in ./output/images/ the following files:
- - rootfs.cpio
- - rootfs.cpio.gz
- - rootfs.tar
- - zImage
-
-The generated zImage does include the rootfs.
-
-Boot the PDK board
-==================
-
-The i.MX31 PDK contains a RedBoot bootloader in flash, which can be used to
-boot the newly created Buildroot images from the network.
-
-This necessitates to setup a TFTP server first. This setup is explained for
-example in Freescale i.MX31 PDK 1.5 Linux User's Guide [4].
-
-Here is a sample RedBoot configuration, for proper network boot of Buildroot on
-the i.MX31 PDK:
-
- RedBoot> fconfig -l
- Run script at boot: true
- Boot script:
- .. load -r -b 0x100000 zImage
- .. exec -c "console=ttymxc0,115200"
-
- Boot script timeout (1000ms resolution): 2
- Use BOOTP for network configuration: false
- Gateway IP address: <your gateway IP address>
- Local IP address: <your PDK IP address>
- Local IP address mask: 255.255.255.0
- Default server IP address: <your TFTP server IP address>
- Board specifics: 0
- Console baud rate: 115200
- Set eth0 network hardware address [MAC]: false
- GDB connection port: 9000
- Force console for special debug messages: false
- Network debug at boot time: false
-
-Adapt those settings to your network configuration by replacing the appropriate
-network addresses where necessary.
-
-You might want to verify that your i.MX31 PDK switches settings are the correct
-ones for UART, power, boot mode, etc. Here is a reference switches
-configuration:
-
- SW4
- 1 2 3 4 5 6 7 8
- ON off off off off off off ON
-
- SW5 SW6 SW7 SW8 SW9 SW10
- 0 1 0 0 0 0
-
-See the i.MX31 PDK Linux Quick Start Guide [5] for more details on the switches
-settings.
-
-Connect a serial terminal set to 115200n8 and power on the i.MX31 PDK board.
-Buildroot will present a login prompt on the serial port.
-
-Enjoy!
-
-References
-==========
-
-[1] http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX31PDK
-[2] http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX31
-[3] http://cache.freescale.com/files/32bit/doc/user_guide/pdk15_imx31_Hardware_UG.pdf
-[4] http://cache.freescale.com/files/32bit/doc/support_info/IMX31_PDK15_LINUXDOCS_BUNDLE.zip, pdk15_imx31__Linux_UG.pdf
-[5] http://www.freescale.com/files/32bit/doc/quick_ref_guide/PDK14LINUXQUICKSTART.pdf
diff --git a/configs/freescale_imx31_3stack_defconfig b/configs/freescale_imx31_3stack_defconfig
deleted file mode 100644
index 025f93f..0000000
--- a/configs/freescale_imx31_3stack_defconfig
+++ /dev/null
@@ -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
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 3/3] configs/freescale_imx6ulevk: Remove target
2018-05-05 23:12 [Buildroot] [PATCH 1/3] configs/freescale_imx6sololiteevk: Remove target Fabio Estevam
2018-05-05 23:12 ` [Buildroot] [PATCH 2/3] configs/freescale_imx31_3stack: " Fabio Estevam
@ 2018-05-05 23:12 ` Fabio Estevam
2018-05-06 7:00 ` [Buildroot] [PATCH 1/3] configs/freescale_imx6sololiteevk: " Peter Korsgaard
2018-05-24 21:04 ` Peter Korsgaard
3 siblings, 0 replies; 5+ messages in thread
From: Fabio Estevam @ 2018-05-05 23:12 UTC (permalink / raw)
To: buildroot
Currently 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.
Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/66561695
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
configs/freescale_imx6ulevk_defconfig | 36 -----------------------------------
1 file changed, 36 deletions(-)
delete mode 100644 configs/freescale_imx6ulevk_defconfig
diff --git a/configs/freescale_imx6ulevk_defconfig b/configs/freescale_imx6ulevk_defconfig
deleted file mode 100644
index 76ad101..0000000
--- a/configs/freescale_imx6ulevk_defconfig
+++ /dev/null
@@ -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
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/3] configs/freescale_imx6sololiteevk: Remove target
2018-05-05 23:12 [Buildroot] [PATCH 1/3] configs/freescale_imx6sololiteevk: Remove target Fabio Estevam
2018-05-05 23:12 ` [Buildroot] [PATCH 2/3] configs/freescale_imx31_3stack: " Fabio Estevam
2018-05-05 23:12 ` [Buildroot] [PATCH 3/3] configs/freescale_imx6ulevk: " Fabio Estevam
@ 2018-05-06 7:00 ` Peter Korsgaard
2018-05-24 21:04 ` Peter Korsgaard
3 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2018-05-06 7:00 UTC (permalink / raw)
To: buildroot
>>>>> "Fabio" == Fabio Estevam <festevam@gmail.com> writes:
> 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.
> Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/66561693
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
Committed all 3, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/3] configs/freescale_imx6sololiteevk: Remove target
2018-05-05 23:12 [Buildroot] [PATCH 1/3] configs/freescale_imx6sololiteevk: Remove target Fabio Estevam
` (2 preceding siblings ...)
2018-05-06 7:00 ` [Buildroot] [PATCH 1/3] configs/freescale_imx6sololiteevk: " Peter Korsgaard
@ 2018-05-24 21:04 ` Peter Korsgaard
3 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2018-05-24 21:04 UTC (permalink / raw)
To: buildroot
>>>>> "Fabio" == Fabio Estevam <festevam@gmail.com> writes:
> 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.
> Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/66561693
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
Committed all 3 to 2018.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-05-24 21:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-05 23:12 [Buildroot] [PATCH 1/3] configs/freescale_imx6sololiteevk: Remove target Fabio Estevam
2018-05-05 23:12 ` [Buildroot] [PATCH 2/3] configs/freescale_imx31_3stack: " Fabio Estevam
2018-05-05 23:12 ` [Buildroot] [PATCH 3/3] configs/freescale_imx6ulevk: " Fabio Estevam
2018-05-06 7:00 ` [Buildroot] [PATCH 1/3] configs/freescale_imx6sololiteevk: " Peter Korsgaard
2018-05-24 21:04 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.