summaryrefslogtreecommitdiffstats
path: root/configs
Commit message (Collapse)AuthorAgeFilesLines
...
* ptxconfig: disable havegedMichael Olbrich2023-05-081-2/+1
| | | | | | | This is no longer needed. The current kernels provide enough entroy, even without hardware RNG. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxdist: version bump 2023.04.0 -> 2023.05.0Michael Olbrich2023-05-089-138/+175
| | | | | | | | | - all changes in rules/at91bootstrap2.make and rules/host-qemu.make are now upstream. - update configs/platform-mipsel/rules/host-qemu.make to the latest version from upstream. It still has local changes for mips. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* arch: bootloader: enable 'fastboot' support over USB and networkJuergen Borleis2023-05-0825-87/+208
| | | | | | | | | | | | | Enabling: - CONFIG_BOOTM_INITRD = y - CONFIG_USB_GADGET = y - CONFIG_USB_GADGET_FASTBOOT = y - CONFIG_NET_FASTBOOT = y - CONFIG_FASTBOOT_SPARSE = y - CONFIG_FASTBOOT_CMD_OEM = y Signed-off-by: Jürgen Borleis <jbe@pengutronix.de>
* mips: linux: fixup kernel configurationJuergen Borleis2023-05-081-1/+2
| | | | | | | | | | | | | | | | | In commit 382e4ea5aef35e748466e635845ee05d01ab96db "ptxdist: version bump 2022.12.0 -> 2023.02.0" the generic kernel build rule was changed to consider disabling the use of the tool 'pahole'. But the mips arch has their local build rules and thus, do not consider 'pahole'. So, commit 6401964d92d713d5ea2004f00483d006bbf9522b "platform-mips: kernel: version bump 5.15 -> 6.2" does not update the 'pahole' setting and building the BPS with '-q' always fails due to kernel configuartion file adaptions. Signed-off-by: Jürgen Borleis <jbe@pengutronix.de>
* mips: linux: adapt the build rules regarding the tool 'pahole'Juergen Borleis2023-05-083-0/+3
| | | | | | | Using 'pahole' needs to be disabled on MIPS as well in order to avoid host depended config file adaptions which let the build fail. Signed-off-by: Signed-off-by: Jürgen Borleis <jbe@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-183-0/+49
| | | | | | | | | | | | 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>
* 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>
* 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>
* 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>
* 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-115-97/+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-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 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-062-5/+1
| | | | | | | | | | | | | | | | | 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>
* toolchain: version bump 2020.08 -> 2022.10Robert Schwebel2022-11-2819-67/+141
| | | | | | | Now that OSELAS.Toolchain-2022.10, with gcc-12.2.1 and glibc-2.36 is out, move to the new toolchain. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* tf-a: move patches out of platformRobert Schwebel2022-11-252-106/+0
| | | | | | | | | With new binutils, we need a non-platform specific patch for tf-a that handles executable stacks correctly. As platform specific patches in ptxdist should only be used for patches that break other platforms anyway, move the patches to the normal patches directory. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: stm32mp: enable serial and mass storage gadget driversJan Luebbe2022-11-232-4/+2
| | | | | | They are enabled in the common config and we don't want to disable them there. Signed-off-by: Jan Luebbe <jlu@pengutronix.de>