configs/toradex_apalis_imx6: remove defconfig, broken
This defconfig no longer builds:
https://gitlab.com/buildroot.org/buildroot/-/jobs/11026774072
It has been broken for at least 2 months:
https://gitlab.com/buildroot.org/buildroot/-/jobs?name=T%3Dtoradex_apalis_imx6&kind=BUILD
It uses an outdated Linux 4.9 kernel, which no longer builds with
modern toolchains.
Unless a fix is provided, this defconfig will be removed.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/11026774072
Cc: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
(cherry picked from commit 1a3bae6424)
Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
This commit is contained in:
committed by
Titouan Christophe
parent
26cfbf7f7d
commit
d7a398b38c
@@ -69,7 +69,6 @@ board/stmicroelectronics/stm32f469-disco/flash_sd.sh Shellcheck
|
||||
board/stmicroelectronics/stm32f469-disco/flash_xip.sh Shellcheck
|
||||
board/synopsys/axs10x/post-build.sh Shellcheck
|
||||
board/technologic/ts4900/post-image.sh Shellcheck
|
||||
board/toradex/apalis-imx6/post-image.sh Shellcheck
|
||||
board/udoo/common/post-build.sh Shellcheck
|
||||
boot/afboot-stm32/0003-Makefile-disable-stack-protector.patch lib_patch.Upstream
|
||||
boot/optee-os/3.13.0/0001-core-zlib-fix-build-warning-when-_LFS64_LARGEFILE-is.patch lib_patch.Upstream
|
||||
@@ -202,7 +201,6 @@ configs/solidrun_clearfog_gt_8k_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/solidrun_macchiatobin_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/stm32mp157c_odyssey_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/terasic_de10nano_cyclone5_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/toradex_apalis_imx6_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/ts4900_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/ts5500_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/ts7680_defconfig lib_defconfig.ForceCheckHash
|
||||
|
||||
@@ -2977,8 +2977,6 @@ F: package/wpa_supplicant/
|
||||
F: package/xr819-xradio/
|
||||
|
||||
N: Sergio Prado <sergio.prado@e-labworks.com>
|
||||
F: board/toradex/apalis-imx6/
|
||||
F: configs/toradex_apalis_imx6_defconfig
|
||||
F: package/aoetools/
|
||||
F: package/asn1c/
|
||||
F: package/azure-iot-sdk-c/
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
# Minimal SD card image for the Toradex Apalis i.MX6 COM
|
||||
#
|
||||
# It does not need a boot section for a bootloader since it is booted
|
||||
# from its internal flash memory (eMMC).
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext2"
|
||||
size = 512M
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
../linux/linux.hash
|
||||
@@ -1,2 +0,0 @@
|
||||
# Locally calculated
|
||||
sha256 722ece80ee8dbcc04309c89139da8b1df6974e1ab4bb66d04c1906a576fa46fa linux-d899927728beca8357a5b4120b690cb3c1d80844-git4.tar.gz
|
||||
@@ -1,2 +0,0 @@
|
||||
# Locally calculated
|
||||
sha256 f8d3e45d7944c9620ecacbd8f8824db42134c70e3b55efd6dab127bf763e48c2 uboot-30a1208727729dae22cb42f9ba9ba17efe5e6f77-git4.tar.gz
|
||||
@@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
GENIMAGE_CFG="$(dirname $0)/genimage.cfg"
|
||||
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
|
||||
|
||||
# copy the uEnv.txt to the output/images directory
|
||||
cp board/toradex/apalis-imx6/uEnv.txt $BINARIES_DIR/uEnv.txt
|
||||
|
||||
rm -rf "${GENIMAGE_TMP}"
|
||||
|
||||
# generate rootfs.img
|
||||
genimage \
|
||||
--rootpath "${TARGET_DIR}" \
|
||||
--tmppath "${GENIMAGE_TMP}" \
|
||||
--inputpath "${BINARIES_DIR}" \
|
||||
--outputpath "${BINARIES_DIR}" \
|
||||
--config "${GENIMAGE_CFG}"
|
||||
|
||||
RET=${?}
|
||||
exit ${RET}
|
||||
@@ -1,53 +0,0 @@
|
||||
Toradex Apalis i.MX6 Computer on Module
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
The Apalis iMX6 is a small form-factor Computer on Module that comes
|
||||
in both quad core and dual core versions based on Freescale i.MX6Q and
|
||||
Freescale i.MX6D SoCs respectively. The Cortex A9 quad core and dual
|
||||
core CPU peaks at 1 GHz for commercial temperature variant, while the
|
||||
industrial temperature variant has a peak frequency of 800 MHz.
|
||||
|
||||
https://www.toradex.com/computer-on-modules/apalis-arm-family/freescale-imx-6
|
||||
|
||||
It supports two carrier boards:
|
||||
|
||||
Apalis Evaluation Board
|
||||
https://www.toradex.com/products/carrier-boards/apalis-evaluation-board
|
||||
|
||||
Ixora Carrier Board
|
||||
https://www.toradex.com/products/carrier-boards/ixora-carrier-board
|
||||
|
||||
How to build it
|
||||
===============
|
||||
|
||||
Configure Buildroot:
|
||||
|
||||
$ make toradex_apalis_imx6_defconfig
|
||||
|
||||
Compile everything and build the rootfs image:
|
||||
|
||||
$ make
|
||||
|
||||
How to boot the image
|
||||
=====================
|
||||
|
||||
The board only boots from its internal flash memory eMMC, so the
|
||||
bootloader image should be copied to it, following the procedures
|
||||
described in Toradex website.
|
||||
|
||||
http://developer.toradex.com/knowledge-base/flashing-linux-on-imx6-modules
|
||||
|
||||
Buildroot prepares a "sdcard.img" in output/images/ with the kernel
|
||||
image, device tree and a root filesystem, ready to be dumped on an SD
|
||||
card.
|
||||
|
||||
$ dd if=output/images/sdcard.img of=/dev/sdX bs=1M
|
||||
|
||||
To boot from the SD card, you should change the U-Boot
|
||||
environment. Since U-Boot is running from internal eMMC, you will need
|
||||
to access its command line prompt and manually set the necessary
|
||||
variables to boot from the external SD card. For convenience, you can
|
||||
use uEnv.txt provided in output/images/ as a reference to create the
|
||||
necessary U-Boot variables to boot from the SD card.
|
||||
@@ -1,6 +0,0 @@
|
||||
boot_file=zImage
|
||||
fdt_file=imx6q-apalis_v1_0-ixora.dtb
|
||||
sdargs=ip=off root=/dev/mmcblk1p1 rw,noatime rootfstype=ext4 rootwait
|
||||
sddtbload=ext2load mmc 2:1 ${fdt_addr_r} boot/${fdt_file}
|
||||
sdkernelload=ext2load mmc 2:1 ${kernel_addr_r} boot/${boot_file}
|
||||
bootcmd=run setup; setenv bootargs ${defargs} ${sdargs} ${setupargs} ${vidargs}; echo Booting from SD card...; run sddtbload; run sdkernelload; bootz ${kernel_addr_r} - ${fdt_addr_r}
|
||||
@@ -1,26 +0,0 @@
|
||||
BR2_arm=y
|
||||
BR2_cortex_a9=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y
|
||||
BR2_GLOBAL_PATCH_DIR="board/toradex/apalis-imx6/patches"
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/toradex/apalis-imx6/post-image.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.toradex.com/linux-toradex.git"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="d899927728beca8357a5b4120b690cb3c1d80844"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="apalis_imx6"
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-apalis-eval imx6q-apalis-ixora imx6q-apalis-ixora-v1.1"
|
||||
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_4=y
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_GIT=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.toradex.com/u-boot-toradex.git"
|
||||
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="30a1208727729dae22cb42f9ba9ba17efe5e6f77"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="apalis_imx6"
|
||||
BR2_TARGET_UBOOT_FORMAT_IMG=y
|
||||
BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_TARGET_UBOOT_SPL_NAME="SPL"
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
Reference in New Issue
Block a user