summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* all platforms: switch to host-dtc-1.6.1mkl/for-nextMarc Kleine-Budde2023-04-246-12/+12
| | | | | | 1.6.0 fails to build with modern compilers. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* linux: version bump 6.2 -> 6.3Robert Schwebel2023-04-2420-517/+709
| | | | | | A new kernel is out, so we update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: wifx-l1: drop fixed partitions node from kernel DTAhmad Fatoum2023-04-181-26/+0
| | | | | | | | | | Bootloader will fix up its own partition description into the kernel device tree, so the description in the kernel DT serves no purpose and is at worst confusing. Drop it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20230418121126.2124891-1-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: add Wifx L1 SD-Card imageAhmad Fatoum2023-04-185-0/+66
| | | | | | | | | | | | The Wifx L1 is a SAMA5D4-based LoRaWAN gateway. This commit adds first support for booting DistroKit on it from SD-Card. Default boot medium is NAND, but a bootable SD-Card always has precedence over NAND. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20230417131141.908678-6-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: kernel: extend support to SAMA5D4-based Wifx L1Ahmad Fatoum2023-04-183-7/+424
| | | | | | | | | | | | | Let's import the barebox device tree into the BSP for use by Linux. This allows us to update it separately in the future. The kernel was so far configured for SAMA5D2 only, so enable whatever else is needed for the SAMA5D4. While we boot from SD for now, main boot medium is meant to be NAND. We thus enable the NAND driver and UBIFS. Driver support is there, but we have yet to integrate boot from NAND into the BSP. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20230417131141.908678-5-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: extend support to SAMA5D4-based Wifx L1Ahmad Fatoum2023-04-183-12/+89
| | | | | | | | | Support for booting the Wifx L1 from SD-Card is upstream in barebox since v2023.02.0. We have 2023.02.1, so let's enable it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20230417131141.908678-4-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: at91bootstrap: configure v4.0.6-rc1 for Wifx L1Ahmad Fatoum2023-04-182-1/+305
| | | | | | | | | | | | We will use AT91Bootstrap as first stage bootloader for the Wifx L1 for now, so let's add a suitable config file. We import v4.0.6-rc1 as that's the first tag that contains commit 41cd6c4 ("crt0_gnu.S: always pass along r4 to next stage"), which is required for later boot firmware to determine what the initial boot medium was. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20230417131141.908678-3-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* at91bootstrap2: make targetinstall v4.x compatibleAhmad Fatoum2023-04-171-0/+90
| | | | | | | | | | | | | | | | | | | | | The binaries directory, where artifacts were previously written to is now beneath build/ by default[1]: BUILDDIR ?= ./build BINDIR:=$(BUILDDIR)/binaries Supply BUILDDIR=. after the make command to return to the old directory scheme. This should have no effect on AT91Bootstrap v3.x and older as BUILDDIR was first added in v4.0.0[1]. This has already been submitted for PTXdist inclusion[2]. [1]: https://github.com/linux4sam/at91bootstrap/commit/814f3bdab515287fbb0d972d89d228748613ae91 [2]: https://lore.ptxdist.org/ptxdist/20230417115146.745019-1-a.fatoum@pengutronix.de/T/#u Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20230417131141.908678-2-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: enable busybox zcat appletAhmad Fatoum2023-04-171-1/+1
| | | | | | | | | | | We already enable gunzip in busybox. zcat extends that to be able to write to stdout. This is e.g. useful for: zcat /proc/config.gz | grep CONFIG_SOMETHING Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20230417113303.742006-1-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: barebox: rockchip: disable CONFIG_MMCBLKDEV_ROOTARGAhmad Fatoum2023-04-171-1/+1
| | | | | | | | | | | | | | | | | | | The help text of CONFIG_MMCBLKDEV_ROOTARG is pretty clear on that the option should only be used when barebox and kernel aliases agree. The upstream kernel DT aliases for all Radxa boards were recently changed, so depending on whether we update kernel or barebox first, we may experience breakage. Let's avoid this by using the default PARTUUID-based root argument generation again until we have updated both barebox and Linux to device tree revisions that agree. [afa: It would be best if barebox' append_root feature could just use kernel aliases, but this is not totally trivial, as the root= entry is generated early at barebox mount time and kernel DT isn't known till boot] Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20230414163429.602101-1-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxconfig: enable libatomicRobert Schwebel2023-04-112-1/+7
| | | | | | | | | | | | Since openssl 3.x, they link agains libatomic unconditionally, and we build with -Wl,--as-needed so it gets dropped on platforms that don't need it. This triggers a reason warning on platform-rpi1 and platform-mips. Enable libatomic locally and whitelist the reason check. This adds a small library, but shouldn't harm otherwhise. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* host-qemu: ignore git submodulesRobert Schwebel2023-04-081-1/+2
| | | | | | | | | | | | | | | | | | without this configure switch, we get the following error: ------------------------- target: host-qemu.prepare ------------------------- Using './build' as the directory for build output warn: ignoring non-existent submodule ui/keycodemapdb warn: ignoring non-existent submodule tests/fp/berkeley-testfloat-3 warn: ignoring non-existent submodule tests/fp/berkeley-softfloat-3 warn: ignoring non-existent submodule dtc fatal: not a git repository: '/home/rsc/work/DistroKit/platform-v7a/build-host/qemu-7.2.0/.git-disabled' /home/rsc/work/DistroKit/platform-v7a/build-host/qemu-7.2.0/scripts/git-submodule.sh: failed to update modules Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* host-qemu: add version from ptxdist-2023.04.0Robert Schwebel2023-04-081-0/+230
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* expat: remove local recipieRobert Schwebel2023-04-081-66/+0
| | | | | | | The SF archive seems to be active again, so we can remove the local change to download from github. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2023.03.0 -> 2023.04.0Robert Schwebel2023-04-088-16/+20
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2023.02.0 -> 2023.03.0Robert Schwebel2023-03-2812-22/+25
| | | | | | A new ptxdist version is out, update the configs. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: image-imx8mq-evk: select BAREBOX_IMX8MBastian Krause2023-03-281-0/+1
| | | | | | | | The image contains a barebox image, so make sure it is actually selected. Fixes: 3572278e1 ("Add i.MX8MQ-EVK image") Signed-off-by: Bastian Krause <bst@pengutronix.de>
* v8a: image-imx8mp-evk: select BAREBOX_IMX8MBastian Krause2023-03-281-0/+1
| | | | | | | | The image contains a barebox image, so make sure it is actually selected. Fixes: c0f98d8a2 ("Add i.MX8MP-EVK image") Signed-off-by: Bastian Krause <bst@pengutronix.de>
* v8a: image-imx8mm-evk: select BAREBOX_IMX8MBastian Krause2023-03-281-0/+1
| | | | | | | | The image contains a barebox image, so make sure it is actually selected. Fixes: 3b20b7dc4 ("Add i.MX8MM-EVK image") Signed-off-by: Bastian Krause <bst@pengutronix.de>
* x86_64: run: add 9p supportMichael Grzeschik2023-03-271-1/+22
| | | | | | | | - copy the 9p rules from platform v7a and make 9p default Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Link: https://lore.pengutronix.de/20230302080647.2124306-1-m.grzeschik@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: v8a: ROCK 3A: add documentation on writing barebox-only images to ↵Johannes Zink2023-03-271-1/+9
| | | | | | | | | | | | | | | | SD-Card and NOR Flash It may be useful to sometimes only write a barebox image to SD-Card, e.g. for chainloading, TFTP-Boot or if Android Fastboot is used for flashing the actual full image to a storage medium. Add documentation on which image to use. Also add a short section about how to write barebox to the fallback NOR SPI Flash on the ROCK 3A board. Signed-off-by: Johannes Zink <j.zink@pengutronix.de> Link: https://lore.pengutronix.de/20230324182952.501117-1-j.zink@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: version bump v2022.09.0 → v2023.02.1Ahmad Fatoum2023-03-2719-200/+90
| | | | | | | | | | | | | | | | Our patches for optionally working around flaky SD-Card detect are now upstream, so let's update to the newest release and drop them from our side. Config is what resulted from oldconfig with the exception of: - CONFIG_DRIVER_NET_BCMGENET, which is now enabled to give resulting barebox-raspberry-pi.img Ethernet support when running on the rpi 4-b. - CONFIG_CMD_FCB, which adds a useful fcb command for debugging boot from NAND on i.MX SoCs. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20230307114541.3179101-1-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi1: kernel: disable CONFIG_BLOCK_LEGACY_AUTOLOADRobert Schwebel2023-02-221-1/+1
| | | | | | which was forgotten while recently updating the kernel. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a_noneon: kernel: version bump 5.18 -> 6.2Robert Schwebel2023-02-212-109/+209
| | | | | | It has been a while but here is a version bump. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi1: kernel: version bump 5.15 -> 6.2Robert Schwebel2023-02-212-160/+366
| | | | | | It has been a while but here is a version bump. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-mipsel: kernel: version bump 5.15 -> 6.2Robert Schwebel2023-02-214-190/+291
| | | | | | | It has been a while but here is a version bump. While being there, remove old patches. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-mips: kernel: version bump 5.15 -> 6.2Robert Schwebel2023-02-2111-587/+883
| | | | | | | It has been a while but here is a version bump. While being there, remove old patches. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-x86_64: kernel: version bump 5.15 -> 6.2Robert Schwebel2023-02-212-239/+443
| | | | | | It has been a while but here is a version bump. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v8a: kernel: version bump 5.17 -> 6.2Robert Schwebel2023-02-202-174/+311
| | | | | | It has been a while but here is a version bump. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: version bump 5.17 -> 6.2Robert Schwebel2023-02-202-154/+283
| | | | | | It has been a while but here is a version bump. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2022.12.0 -> 2023.02.0Robert Schwebel2023-02-168-17/+36
| | | | | | Some new ptxdist versions are out, so we bump to 2023.02.0. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a_noneon: switch off CONFIG_BLOCK_LEGACY_AUTOLOAD in kernelconfigRobert Schwebel2023-02-161-1/+1
| | | | | | | | The CONFIG_BLOCK_LEGACY_AUTOLOAD option was used many years ago for loading modules on file access. This has long been superseeded by udev based systems. Switch it off. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: blspec: convert to ptxdist default entriesMarco Felsch2023-02-1149-770/+5
| | | | | | | | | | | | | | | | | | Adding new board support always included adding a special blspec package for this new board. Most of the blspec entries are the same except for the used devicetree blob. Since the blspec-entry package is able to the add the barebox 'linux-appendroot true' option as well can move to the buildin blspec-entry creation. This lowers the burden of adding new board support since ptxdist will create a blspec entry for devicetree each listed within the platformconfig. I added the 'rootwait rw' kernel command line options since most blspec entries used these options, albeit the 'rw' support should be reconsidered. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-15-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: vexpress: remove console from blspec configMarco Felsch2023-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The console setup and linux command line passing is now done within barebox: | commit 319e387dbf72c7aea4b5159af9a43b5399c6431b | Author: Lucas Stach <dev@lynxeye.de> | Date: Sun Aug 16 23:42:40 2020 +0200 | | ARM: vexpress: set stdout path | | This ensures that the correct console gets activated independent | of the device probe order. | | Signed-off-by: Lucas Stach <dev@lynxeye.de> | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> The commit is part of mainline barebox since version v2020.09.0, so drop the console option. Drop the rootfstype as well while on it since the kernel will do an autodetection. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-14-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: blspec: drop incomplete Gute Fee supportMarco Felsch2023-02-113-12/+0
| | | | | | | | | | The blspec support for the Gute Fee HW was incomplete since the actual makefile is missing as well as the devicetree, so drop the blspec boot support. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-13-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: blspec: switch to default blspec entryMarco Felsch2023-02-1113-202/+5
| | | | | | | | | | | | | | PTXdist will create a blspec config for each specified devicetree. Since this mechanism supports the 'linux-appendroot true' feature now we can use it to generate all blspecs entries, so seperate blspec packages for each platform are not longer needed. Enable this mechanism for all supported v8a platforms and remove the dedicated packages execpt for the RPi. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-12-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* blspec-entry: add linux-appendroot supportMarco Felsch2023-02-113-1/+18
| | | | | | | | | Add the option to add the 'linux-appendroot true' to blspec config file which is very useful in case of using barebox as bootlaoder. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-11-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* blspec-entry: import from upstream ptxdist-2022.12.0Marco Felsch2023-02-113-0/+89
| | | | | | | | | Import all required files from upstream ptxdist-2022.12.0 for further adaptions. No functional changes done. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-10-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: barebox: version sync to 2023.01.0Marco Felsch2023-02-114-28/+118
| | | | | | | | | Sync both barebox versions to the most recent available mainline version. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-9-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: barebox-imx8m: make use of the INJECT_FILES mechanismMarco Felsch2023-02-111-10/+14
| | | | | | | | | Use the mainline available mechanism to copy the required firmware artifacts. This also align the code with the barebox-rockchip.make file. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-8-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: barebox-imx8m: fix firmware-imx dependenciesMarco Felsch2023-02-112-1/+2
| | | | | | | | Select the required sub-option so the required binaries are installed. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-7-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: firmware-imx: fix destition pathMarco Felsch2023-02-112-4/+4
| | | | | | | | | | The linux firmware search path is /lib/firmware, so adapt it accordingly. Add the /usr prefix since DistroKit already applied the /usr merge. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-6-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: firmware-imx: fix dest pathMarco Felsch2023-02-111-2/+2
| | | | | | | | | | The barebox-imx8m package searches for firmware within <sysroot-target>/firmware/ddr/synopsys and not within <sysroot-target>/firmware/imx so fix this. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-5-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: replace imx-atf with tf-aMarco Felsch2023-02-1110-263/+2
| | | | | | | | | Replace the downstream imx-atf version with the most recent upstream version already used by the v7a platform. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-4-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: tf-a: enable packageMarco Felsch2023-02-111-1/+18
| | | | | | | | | Enable the upstream tf-a support which will replace the imx-atf later on. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-3-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: tf-a: version bump v2.7 -> 2.8/customers/pengutronix/distrokit/20230210-1Marco Felsch2023-02-1116-194/+430
| | | | | | | | | | | | | | | | | | | | | | | Do mainline version bump v2.7 -> v2.8 Drop upstreamed patch: - 0001-fix-stm32mp1-fdts-stm32mp1-align-DDR-regulators-with.patch Squash patches: - 0003-feat-build-add-support-for-new-binutils-versions.patch - 0004-makefile-link-with-z-noexecstack.patch Added patches: - i.MX8MQ PIE support - i.MX8MQ GCC-12 build fixes Finally make use of umpf [1] for the patchstack management. [1] https://github.com/pengutronix/umpf/pull/10 Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-2-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* blspec-rpi4: move menu file to platforms/Michael Olbrich2023-01-063-5/+8
| | | | | | | | | | | | | | | | | The rule file is toplevel in rules/ so without this "ptxdist lint" reports for all other platforms: [...] Checking kconfig symbols in rule files ... Undefined symbol PTXCONF_BLSPEC_RPI4 used in 'DistroKit/rules/blspec-rpi4.make'. [...] Add some dependencies so it can only be selected on platforms where it makes sense and disable it on v8a for now. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://lore.pengutronix.de/20230106113946.1775158-1-m.olbrich@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* libpcre: disable unused libraryRobert Schwebel2022-12-041-8/+1
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2022.11.0 -> 2022.12.0Robert Schwebel2022-12-038-22/+21
| | | | | | A new ptxdist version is out, so we can migrate. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* toolchain: disable unused glibc sublibrariesRobert Schwebel2022-11-281-4/+4
| | | | | | | Since glibc-2.34, these libpthread, librt, libdl and libutil have moved into the main library. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>