aboutsummaryrefslogtreecommitdiff
path: root/board
Commit message (Collapse)AuthorAgeFilesLines
* board/qemu/s390x: disable SSP when neededGravatar Fabrice Fontaine11 hours1-0/+47
| | | | | | | | | | | | | Fix build failure raised since commit 810ba387bec3c5b6904e8893fb4cb6f9d3717466 by disabling SSP when needed Fixes: - https://gitlab.com/kubu93/buildroot/-/jobs/1247043361 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* configs/beaglev: enable host jh71xx-toolsGravatar Thomas Petazzoni14 hours1-1/+3
| | | | | | | | This host utility is useful to recover the bootloader. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* configs/beaglev: enable building of low-level firmwareGravatar Thomas Petazzoni8 days1-2/+36
| | | | | | | | | | This commit extends the beaglev_defconfig and its documentation to build the low-level firmware, and to explain how to reflash it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> [yann.morin.1998@free.fr: use typoed-name for beaglev-ddrlnit] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* configs/beaglev_defconfig: new defconfigGravatar Thomas Petazzoni8 days5-0/+160
| | | | | | | | | | This commit introduces support for the RISC-V based BeagleV platform, which uses a Starfive JH7100. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> [yann.morin.1998@free.fr: use: eval $(make printvars)] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* configs/aarch64_efi: bump kernel version and updateGravatar Vincent Stehlé11 days3-5/+26
| | | | | | | | | | | | | | | | | | | | | | - Bump kernel to version 5.11.16. We remove the hardcoded ttyAMA0 and rely on the firmware to discover our console. This enables serial console on systems, which do not have an Arm pl011 UART. We switch to GPT disklabel and discover our root filesystem using its PARTLABEL. This enables booting from more media, such as HDD, SD card or USB. We update the readme, which hinted that ACPI was mandatory. This is not strictly the case as we can also boot with a dtb and/or a U-Boot based firmware, with no ACPI. While at it, mention EBBR, SystemReady and explain how to build and use a U-Boot-based qemu firmware. Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com> Cc: Erico Nunes <nunes.erico@gmail.com> Reviewed-by: Erico Nunes <nunes.erico@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* board/boundarydevices: update readme.txt for nitrogen8mpGravatar Gary Bisson2021-04-281-0/+3
| | | | | | | | Add mention about nitrogen8mp_defconfig which is meant for our Nitrogen8MPlus SOM device. Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* board/boundarydevices: update boot scriptsGravatar Gary Bisson2021-04-262-34/+56
| | | | | | | | | - Add support for 8M Plus CPU (A1 and A0 silicon) - Simplify cpu type parsing - Update to be closer to Yocto counterpart Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/acmesystems_acqua_a5: new defconfigsGravatar Edgar Bonet2021-03-303-0/+373
| | | | | | | | | | | | | | | | | | | | | | The Acqua A5 is a system on module based on the Microchip SAMA5D31 SoC: https://www.acmesystems.it/acqua It is available in both 256 MiB and 512 MiB versions, hence the two defconfig files. These configs build microSD card images with: - AT91Bootstrap 3 - Linux 5.4.107 - default buildroot packages (uClibc, Busybox) The device tree blob comes from Acme Systems: https://github.com/AcmeSystems/dts-archive It is licensed under GPLv2 or later. Signed-off-by: Edgar Bonet <bonet@grenoble.cnrs.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/beaglebone: remove genimage_linux41.cfgGravatar Michael Nosthoff2021-03-291-32/+0
| | | | | | | | | Commit 5502a889dd9f065ec4694a993cfa509377da2cce ("configs/beaglebone_qt5: don't use custom post-image script") removed the use of genimage_linux41.cfg but didn't remove the file. Signed-off-by: Michael Nosthoff <buildroot@heine.tech> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/freescale_imx8mpevk: new defconfigGravatar Stephane Viau2021-03-271-0/+71
| | | | | | | | | | | | | | This patch adds support for the NXP i.MX 8M Plus EVK board [1]. The final boot image is created from uboot and firmware binaries in post image script board/freescale/common/imx/imx8-bootloader-prepare.sh. This first support is based on NXP's 5.4.70_2.3.0 BSP. [1] https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-for-the-i-mx-8m-plus-applications-processor:8MPLUSLPD4-EVK Signed-off-by: Stephane Viau <stephane.viau@oss.nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/freescale/common/imx: add support for i.MX 8M PlusGravatar Stephane Viau2021-03-272-0/+9
| | | | | | | | | | | | | Almost identical as i.MX 8M Nano, with a couple of differences: - different ATF load address [1] - different entry point [2] [1] https://source.denx.de/u-boot/u-boot/-/commit/e8e2703a3050feb8d2e6473d806c5277d5e3236f [2] https://source.denx.de/u-boot/u-boot/-/blob/v2021.04-rc4/configs/imx8mp_evk_defconfig#L14 Signed-off-by: Stephane Viau <stephane.viau@oss.nxp.com> Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/qemu_arm_vexpress_tz: bump versions and updateGravatar Vincent Stehlé2021-03-203-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | - Bump TF-A to version 2.4. - Bump u-boot to version 2021.01. - Bump kernel to version 5.11.3. We switch TF-A to a single FIP image. Thanks to this, TF-A does not need to use semihosting to load the various BL* anymore (but U-Boot still does). Update the readme.txt accordingly. We switch to a u-boot image for the ramdisk. This removes the need to update the fdt chosen node manually in the bootcmd. While at it, we drop the generation of the kernel dtb, which we do not use. In this config, we are indeed using the dtb generated on-the-fly by qemu and amended by TF-A. Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Gerome Burlats <gerome.burlats@smile.fr> Cc: Romain Naour <romain.naour@gmail.com> Cc: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Romain Naour <romain.naour@gmail.com> Tested-by: Romain Naour <romain.naour@gmail.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* Merge branch 'next'Gravatar Peter Korsgaard2021-03-082-0/+15
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * board/qemu: Add ppc-e500mc configurationGravatar Bin Meng2021-03-012-0/+15
| | | | | | | | | | | | | | | | This adds a 32-bit equivalent configuration of ppc64-e5500 board. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | configs: rename a bunch of friendlyarm boardsGravatar Yann E. MORIN2021-03-017-7/+7
|/ | | | | | | | | | | | | | | | | We have defconfigs for quite a few friendlyarm boards, but the naming for the defconfigs for those boards is inconsistent: some start with 'friendlyarm_' while others don't. Although the number of boards starting with 'friendlyarm_' is less than those which do not, we still choose to rename the boards so all have the 'friendlyarm_' prefix. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Chakra Divi <chakra@openedev.com> Cc: Davide Viti <zinosat@gmail.com> Cc: Marek Belisko <marek.belisko@open-nandra.com> Cc: Suniel Mahesh <sunil@amarulasolutions.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/avenger96_defconfig: add support for Arrow Avenger96 boardGravatar Peter Korsgaard2021-02-083-0/+47
| | | | | | | Very similar to the other stm32mp157-based boards, except that we use the multi_v7 defconfig for ease of maintenance. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/nexbox_a95x_defconfig: bump to kernel 5.10.12Gravatar Peter Korsgaard2021-02-042-1/+3
| | | | | | | | | | | | The mmc probing order has changed since commit 21b2cec61c04bd1 (mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4), so get rid of the hardcoded root=/dev/mmcblk1p2. The old vendor U-Boot unfortunately does not have GPT support, so stick to MBR and use the legacy root=PARTUUID=<disksignature>-<partition> format and set a fixed disk signature, similar to how it was done for orangepi-r1 in commit 34cce93adb (configs/orangepi_r1_defconfig: bump kernel to 5.10.10, u-boot to 2020.10). Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/orangepi_r1_defconfig: fix typo in commentGravatar Yann E. MORIN2021-02-031-1/+1
| | | | | | | | | | In commit 38d04e6b1341, I did a last-minute change by adding the comment to explain where the PARTLABEL was coming from, and introduced a typo in that comment. Fix it. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* board/orangepi-zero-plus2: switch to GPT for PARTLABEL supportGravatar Sergey Matyukevich2021-02-033-35/+9
| | | | | | | | | | | Patch that pins mmc indexes was not accepted to mainline kernel. Drop that patch and switch to GPT to use partition labels. For GPT the name of the partition in genimage.cfg is used as the label for that partition. Note that the default GPT partition table location conflicts with the SPL location, so move GPT table after bootloaders. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* configs/hifive_unleashed: use mainline Linux + U-BootGravatar Bin Meng2021-01-316-28/+93
| | | | | | | | | | | | | | | | Update to use the official linux kernel v5.10 instead of an out-of-tree kernel, and use the official U-Boot v2021.01 as the bootloader. Provide two configuration files of genimage for different boot flows: - Boot from SD card (default) - Boot from SPI flash A boot script is generated to automatically boot the distro. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/minnowboard: grub.cfg: disable eudev network interface renamingGravatar Peter Korsgaard2021-01-311-1/+1
| | | | | | | | So the normal DHCP-on-eth0 logic works for the graphical defconfig where eudev is used. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/minnowboard_max_defconfig: bump kernel to 5.10.11Gravatar Peter Korsgaard2021-01-313-3/+5
| | | | | | | | | | | | | | Explicitly enable PCI support in the kernel after commit eb01d42a77785 (PCI: consolidate PCI config entry in drivers/pci) and change to GPT partitions / root=PARTLABEL to find the rootfs instead of hardcoding /dev/mmcblk2p2 as the mmc probing order has changed since commit 21b2cec61c04bd1 (mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4). This has the additional advantage that the same image will work when written to a USB drive instead of a microsd. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/qemu/sh4*: Remove linux-headers patchGravatar Geoffrey Le Gourriérec2021-01-302-152/+0
| | | | | | | | | | | | | | Previous patch about time data structures [1] provided a dirty fix that did not solve the real issue. After discussing with Linux folks on the SuperH mailing list [2], the patch was deemed unnecessary, as the problem lied in uclibc. [1] https://git.buildroot.net/buildroot/commit/?id=742f37de8d0e3797698411dfc6a63bd7e98aafe2 [2] https://patchwork.kernel.org/project/linux-sh/patch/20210123165652.10884-1-geoffrey.legourrierec@gmail.com/ Signed-off-by: Geoffrey Le Gourriérec <geoffrey.legourrierec@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/orangepi_zero_plus2_defconfig: bump BSP versionsGravatar Sergey Matyukevich2021-01-281-0/+33
| | | | | | | | | | Bump Linux to 5.10.10 and U-Boot to 2020.10. In the new kernel sunxi-mmc driver has been switched to asynchronous probe. As a result, mmc indexes can be shuffled breaking board boot. Add patch that pins mmc indexes to their original ordered values. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/bananapi_m1_plus_defconfig: new defconfigGravatar Filip Skoneczny2021-01-258-0/+216
| | | | | | | | | | | | | | | | | | This commit adds support for Sinovoip's Banana Pi M1+. It is mostly based on bananapro_defconfig but with appropriate device tree and minor tweaks: - apply bananapi-m1-plus device tree in linux - apply bananapi_m1_plus defconfig for uboot - apply patch for OOB IRQs on new device tree - update device tree name in boot.cmd, genimage.cfg - update symlink for BRCM driver in rootfs_overlay - overall clean-up of the config Tested on BPI-M1+ V1_1. Signed-off-by: Filip Skoneczny <fskoneczny@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/orangepi_r1_defconfig: change to GPT partitions for root=PARTLABEL ↵Gravatar Peter Korsgaard2021-01-252-4/+8
| | | | | | | | | | | | | | | | | | support GPT provides partition labels, which can be used to tell the kernel to find the rootfs based on it (root=PARTLABEL=rootfs) as a nicer/more extensible solution than the MBR disk signature / PARTUUID. When using GPT, the name of the partition in genimage.cfg is used as the label for that partition. The default GPT partition table location unfortunately conflicts with the SPL location, so move the 16KB GPT table after it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> [yann.morin.1998@free.fr: add the comment about 'rootfs'] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* configs/orangepi_r1_defconfig: bump kernel to 5.10.10, u-boot to 2020.10Gravatar Peter Korsgaard2021-01-242-1/+3
| | | | | | | | | | | The probing order of the two mmc controllers (sdcard and sdio wifi) has changed in kernel 5.10 since commit 21b2cec61c04bd1 (mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4), so change to root=PARTUUID=.. instead of hardcoding /dev/mmcblkXp2. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> [yann.morin.1998@free.fr: use feedc0de as magic] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* configs/orangepi_pc_defconfig: bump kernel to 5.10.9, u-boot to 2020.10Gravatar Peter Korsgaard2021-01-231-1/+0
| | | | | | | | | HDMI support is enabled by default in sunxi_defconfig since commit c822a3ec17 (ARM: configs: sunxi: Add DRM output-related options), so drop from fragment. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/qemu_ppc_virtex_ml507: remove defconfigGravatar Geoffrey Le Gourriérec2021-01-212-41/+0
| | | | | | | | | | | | Support for this board was removed in Linux upstream [1] since Xilinx new design tools dropped these platforms in 2013, along with all PPC405/PPC440 new designs. They are not maintained nor tested anymore. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7ade8495dcfd788a76e6877c9ea86f5207369ea4 Signed-off-by: Geoffrey Le Gourriérec <geoffrey.legourrierec@gmail.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/qemu_*: bump kernel version to 5.10.7Gravatar Geoffrey Le Gourriérec2021-01-2110-112/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump most QEMU defconfigs (every one that was previously on 5.4.y) to latest longterm kernel 5.10.7. Please note the following exceptions/modifications: - board/qemu/qemu_s390x_defconfig: ignored (already up to date) - board/qemu/sh4*-r2d: - Remove the remaining kernel patch [1] provided by Alan Modra fixing rodata alignment, carried here by Romain Naour [2] to fix an issue preventing kernel from booting with binutils 2.23. Patch is present in upstream Linux now. - Fix compile-time error regarding 64-bit time data structures from kernel headers when building with uclibc. Previous fix [3] existed upstream; but see details below. - board/qemu/ppc-mpc8544ds: Updated kernel patch - board/qemu/arm-versatile: Updated kernel patch - board/qemu/mips*r6*: Updated kernel patch Tested on all configs/qemu* configurations. [4] [1] https://www.sourceware.org/ml/binutils/2019-12/msg00112.html [2] https://git.busybox.net/buildroot/commit/?id=a2331c8a61bdd71c47492efc818fb0458a349219 [3] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fc94cf2092c7c1267fa2deb8388d624f50eba808 [4] https://gitlab.com/clumsyape/buildroot/-/pipelines/244024195 Signed-off-by: Geoffrey Le Gourriérec <geoffrey.legourrierec@gmail.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/kontron_smarc_sal28: integrate RCW into rootfs imageGravatar Michael Walle2021-01-141-0/+6
| | | | | | | | | Integrate the RCW into the storage device image, so the image can also be used a boot source. The SoC expects the RCW at offset 4096 of the SD card or eMMC. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* configs/kontron_smarc_sal28: enable u-bootGravatar Michael Walle2021-01-142-0/+21
| | | | | | | | | Enable building of the bootloader and integrate it into the resulting image. Signed-off-by: Michael Walle <michael@walle.cc> Tested-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* configs/qemu_*: bump kernel version to 5.4.88Gravatar Geoffrey Le Gourriérec2021-01-112-59/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bump QEMU defconfigs to latest longterm kernel 5.4.88. Please note that QEMU boards not based on 5.4.y were ignored: - qemu_csky810_virt_defconfig - qemu_csky807_virt_defconfig - qemu_csky610_virt_defconfig - qemu_csky860_virt_defconfig Tests were carried out on all QEMU boards using Gitlab [1] (commit message was slightly different, but the patch is identical) Additional actions needed were: - board/qemu/sh4-r2d: Remove one of the two kernel patches [2] provided by Alan Modra fixing rodata alignment, carried here by Romain Naour [3] to fix an issue preventing kernel from booting with binutils 2.23. Patch is present in upstream Linux now. [1] https://gitlab.com/clumsyape/buildroot/-/pipelines/239483891 [2] https://www.sourceware.org/ml/binutils/2019-12/msg00112.html [3] https://git.busybox.net/buildroot/commit/?id=a2331c8a61bdd71c47492efc818fb0458a349219 Signed-off-by: Geoffrey Le Gourriérec <geoffrey.legourrierec@gmail.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/microchip_sam9x60ek: new defconfigsGravatar Eugen Hristev2021-01-022-0/+33
| | | | | | | | Add the new SAM9X60 Evaluation Kit with linux4sam_2020.04 components. Update README file with new defconfigs. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/rock64: new defconfigGravatar Min Xu2020-12-315-0/+163
| | | | | | | | | | Re-introduced rock64_defconfig which was dropped by commit a5fa2469e6506ea4f5a91739aa099f63a10e45ce ('Revert "configs/rock64_defconfig: remove defconfig"'). Signed-off-by: Min Xu <xuminready@gmail.com> Tested-by: Michał Łyszczek <michal.lyszczek@bofc.pl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/boundarydevices: promote buildroot-external-boundary projectGravatar Romain Naour2020-12-261-0/+6
| | | | | | | | | | | | | | | It may be useful for users using Boundary Devices boards to find more advanced defconfigs that the one provided by Buildroot. See: https://github.com/boundarydevices/buildroot-external-boundary#configurations-details Update the readme.txt to add the link to the br2_external maintained by Boundary Devices. Signed-off-by: Romain Naour <romain.naour@smile.fr> Cc: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/roseapplypi: bump kernel to 5.10.1Gravatar Peter Korsgaard2020-12-192-141/+0
| | | | | | | | | And drop now upstreamed patches. Mmc support is still not mainline, but enqueued for 5.12: https://www.spinics.net/lists/linux-i2c/msg49279.html Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* board/kontron/smarc-sal28: remove "known bugs" sectionGravatar Michael Walle2020-12-161-7/+0
| | | | | | | | Remove the note about non-working network. This was actually fixed with linux kernel 5.9. This board is now on 5.10. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* configs/beaglebone_qt5: switch to using KMS instead of wayland+westonGravatar Adam Duskett2020-12-132-1/+26
| | | | | | | | | | weston does not work on the ti-sgx SDK, so switch to using KMS directly, and drop the wayland-related config options. Signed-off-by: Adam Duskett <Aduskett@gmail.com> [yann.morin.1998@free.fr: split into its own patch] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/qemu_arm_vexpress_tz_defconfig: build start-qemu.shGravatar Romain Naour2020-12-052-1/+4
| | | | | | | | | | | | | | | | | When tags was added by commit 011206b2bffd509b29365bc1eaa761414ee13726 to detect the qemu command line, the qemu_arm_vexpress_tz_defconfig was ignored due to a build issue. This build issue has been fixed by previous patches, so we can enable the runtime testing by adding the tag in the readme.txt and the post-image script in the defconfig. Since Qemu from HOST_DIR is now executed directly from BINARIES_DIR, we can remove all the string before "qemu-system-*". Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/qemu/post-image.sh: execute from BINARIES_DIRGravatar Romain Naour2020-12-051-3/+6
| | | | | | | | | | | | | | | | | | | | | Usually the qemu command line start directly with "qemu-system-<arch> ...". But the command line for qemu_arm_vexpress_tz_defconfig start by doing "cd output/images && ../host/bin/qemu-system-arm". This is necessary since boot binaries, except BL1, are primarily loaded via semi-hosting so all binaries has to reside in the same directory as QEMU is started from [1]. To order to handle this case correctly, update the post-image.sh used by all qemu defconfigs to execute qemu from BINARIES_DIR. Since we have to change the current directory use a subshell to restore the current directory after Qemu execution. [1] https://github.com/ARM-software/arm-trusted-firmware/blob/4ebbea9592ab37fc62217d0ac62fa13a3e063527/docs/plat/qemu.rst Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/qemu/post-image.sh: rename IMAGE_DIR to BINARIES_DIRGravatar Romain Naour2020-12-051-3/+3
| | | | | | | | | The output/images directory is called BINARIES_DIR in the Buildroot manual, not IMAGE_DIR. Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/arm_foundationv8: bump to Linux 5.9.11Gravatar Vincent Stehlé2020-12-011-3/+4
| | | | | | | | | | | | - Bump to the latest kernel v5.9.11 and require openssl. - Switch to PSCI for bringing up the secondary CPUs. - Switch to GICv3. - Update the instruction in the readme.txt to use the latest FVP v8 Foundation Platform 11.12 build 38, and to start 4 cores in SMP. Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/rock64_defconfig: remove defconfigGravatar Romain Naour2020-11-125-163/+0
| | | | | | | | | | | | | | | | | | | | | | The rock64 defconfig is currently broken [1][2] since a while due to incompatibility between uboot-2017.09-rockchip-ayufan fork and pylibfdt. Even with the latest uboot-2017.09-rockchip-ayufan fork version [3], it doesn't build. The original submitter tried the uboot upstream rock64-rk3328_defconfig but the board doesn't boot [4]. In order to not release 2020.05 with a broken defconfig, let's remove it. It can be re-added later once the uboot issue has been resolved. [1] 2020.05-rc2: https://gitlab.com/buildroot.org/buildroot/-/jobs/563613273 [2] 2020.02: https://gitlab.com/buildroot.org/buildroot/-/jobs/548596102 [3] https://github.com/ayufan-rock64/linux-u-boot/releases/tag/2017.09-rockchip-ayufan-1065-g95f6152134 [4] http://lists.busybox.net/pipermail/buildroot/2020-May/282164.html Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Michał Łyszczek <michal.lyszczek@bofc.pl> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* board/qemu/ppc-mpc8544ds: apply Debian patch fixing wrong mcpuGravatar Romain Naour2020-11-091-0/+53
| | | | | | | | | | | | | | | | | | | | | | When building the linux kernel for PPC_85xx cpus with GCC 8, the build fail with: powerpc-e500v2-linux-gnuspe-gcc: error: unrecognized argument in option '-mcpu=powerpc' powerpc-e500v2-linux-gnuspe-gcc: note: valid arguments to '-mcpu=' are: 8540 8548 native "GCC started treating "PowerPC" and "PowerPC SPE" as two different architectures and that's the reason for the reduced -mcpu list." [1] As suggested in the crosstool-ng issue [1], apply the Debian patch to avoid -mcpu=powerpc or -mcpu=powerpc64. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/830981654 [1] https://github.com/crosstool-ng/crosstool-ng/issues/1152 [2] https://salsa.debian.org/kernel-team/linux/-/blob/buster/debian/patches/bugfix/powerpc/powerpc-fix-mcpu-options-for-spe-only-compiler.patch Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* board: add Orangepi Zero Plus supportGravatar Marcin Niestroj2020-11-033-0/+79
| | | | | | | | | | | | | | | Add initial support for Orangepi Zero Plus board: - U-Boot 2020.10 - Linux 5.7.19 - Default packages from buildroot This patch is based on Orangepi Zero Plus2 board support, so genimage configuration and description is copy pasted. One difference is that newer Linux and U-Boot are selected. Another difference is Ethernet support (Plus) instead of WiFi (Plus2). Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* board/pc/genimage-efi.cfg: align the rootfs to start at 16MB offset from ↵Gravatar Florian La Roche2020-11-031-3/+2
| | | | | | | | | | | | | start of the image For grub-efi we can align the rootfs to start at exactly 16MB from the beginning of the disk. This can be done by reducing the vfat partition to be 32 KB smaller than its 16MB size, just like the offset of the vfat partition. Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com> [Peter: drop redundant offset/size settings, add comment] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* board/hardkernel/odruidc2: remove rootfs size limitGravatar Dagg Stompler2020-10-151-1/+0
| | | | | | | | | As resizing the rootfs partition using a partition manager can result in a non booting image due to the firmware's location, removal of the size limit for the rootfs allows better match size-wise. Signed-off-by: Dagg Stompler <daggs@gmx.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/udoo: use common freescale infrastructureGravatar Sergey Matyukevich2020-10-157-57/+6
| | | | | | | | | | | U-Boot 2020.10 no longer provides boot command in default environment for Udoo Quad/Dual board. Boot script needs to be added to the image. In order to keep using common infrastructure for freescale boards, move boot files to root filesystem and add boot script there. Also switch Udoo Neo board to common freescale infrastructure to simplify maintenance. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* board/udoo/mx6qdl: disable usb host in device treeGravatar Sergey Matyukevich2020-10-152-1/+26
| | | | | | | | | | | After BSP update Udoo Quad/Dual board once again hangs on boot. On a new kernel disabling CONFIG_USB option is not enough to work around the troublesome usb host on Udoo Quad/Dual board. So in order to be future-proof it makes sense to disable usbh1 block in device tree rather than fine-tune kernel configuration after BSP updates. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>