summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* v8a: imx8m: use common genimage configurationAhmad Fatoum2023-08-157-54/+29
| | | | | | | | | | | | The i.MX8M defconfigs are identical, except for the bootloader binary used. We already fix up the hd image name into the genimage config, so let's fix up the bootloader image name as well and just have all i.MX8M share a single config template. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Reviewed-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230728164933.342061-5-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: barebox: enable i.MX8M Nano EVK supportAhmad Fatoum2023-08-151-1/+4
| | | | | | | | | | barebox supports i.MX8MN DDR4 and LPDDR4 EVK with the same image. Enable it in the defconfig. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Reviewed-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230728164933.342061-4-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: imx8m: imx-firmware: install DDR4 PHY firmwareAhmad Fatoum2023-08-151-0/+9
| | | | | | | | | | | There i.MX8MN-EVK comes in multiple variants: with LPDDR4, DDR4 and DDR3L. barebox supports configuration of both LPDDR4 and DDR4 images, so enable installation of the DDR4 PHY firmware. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Reviewed-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230728164933.342061-3-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: imx8m: tf-a: build for i.MX8M Nano as wellAhmad Fatoum2023-08-152-1/+2
| | | | | | | | | | | | | While TF-A itself can't build multiple images in one-go, the upstream PTXdist recipe can, so configure it to build one more image for imx8mn. This will later be linked into barebox as part of booting DistroKit on the imx8mn-evk. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Reviewed-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230728164933.342061-2-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* x86_64: update to OSELAS.Toolchain 2023.07Roland Hieber2023-08-152-7/+8
| | | | | | | | | Use the new toolchain release for x86_64 builds, and update the kernel config with default options. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230813192846.1210986-9-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: update to OSELAS.Toolchain 2023.07Roland Hieber2023-08-152-7/+8
| | | | | | | | | Use the new toolchain release for v8a builds, and update the kernel config with default options. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230813192846.1210986-8-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a_noneon: update to OSELAS.Toolchain 2023.07Roland Hieber2023-08-152-7/+8
| | | | | | | | | Use the new toolchain release for v7a_noneon builds, and update the kernel config with default options. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230813192846.1210986-7-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: update to OSELAS.Toolchain 2023.07Roland Hieber2023-08-152-7/+8
| | | | | | | | | Use the new toolchain release for v7a builds, and update the kernel config with default options. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230813192846.1210986-6-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* rpi1: update to OSELAS.Toolchain 2023.07Roland Hieber2023-08-152-7/+8
| | | | | | | | | Use the new toolchain release for rpi1 builds, and update the kernel config with default options. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230813192846.1210986-5-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* mips: update to OSELAS.Toolchain 2023.07Roland Hieber2023-08-156-17/+17
| | | | | | | | | Use the new toolchain release for mips builds, and update the kernel config with default options. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230813192846.1210986-4-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* mipsel: update to OSELAS.Toolchain 2023.07Roland Hieber2023-08-152-8/+8
| | | | | | | | | Use the new toolchain release for mipsel builds, and update the kernel config with default options. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230813192846.1210986-3-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* treewide: remove files that are identical in upstream PTXdistRoland Hieber2023-08-153-39/+0
| | | | | | | | | There's no need in duplicating these files here; all changes to them have been applied in upstream PTXdist in the meantime. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230813192846.1210986-2-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate 2023.07.1 -> 2023.08.0Roland Hieber2023-08-158-16/+17
| | | | | | | | Migrate to the new PTXdist release with default options. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230813192846.1210986-1-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* configs: remove outdated collectionconfigsRoland Hieber2023-08-152-29/+0
| | | | | | | | | | | These files were last touched in 2013 (10 years ago), and there is currently no package that can be selected in a collectionconfig anyway – the last ones were removed in commit cb563ef79200116c0101 (2016-06-09, Robert Schwebel: "ptxconfig: reduce active components"). Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230813185733.3933842-2-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: kernel: enable features necessary for RAUCRoland Hieber2023-08-151-4/+64
| | | | | | | | | | | | | | | Enable the following kernel features: * ARM SHA256 acceleration (CRYPTO_SHA256_ARM) * Device mapper support (MD, BLK_DEV_DM) * Verity target support (DM_VERITY), needed for the verity bundle format * squashfs file system (MISC_FILESYSTEMS, SQUASHFS*, XZ_DEC_*, LZ4_*), also having multiple compression algorithms enabled for squashfs makes it easy to change the compression of the RAUC bundle in the future * Network block device support (BLK_DEV_NBD), needed for HTTPS streaming Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: add RAUC support for riotboardRoland Hieber2023-08-1511-4/+52
| | | | | | | | | | | * Enable barebox bootchooser framework * Add a redundant root partition to the genimage config * Add appropriate variables to the barebox defaultenv so the bootchooser can decide into which partition to boot * Add a state backend to the device tree fragment * Map partitions in rauc-udev compatibility layer Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: add RAUC support for rpi3Roland Hieber2023-08-1511-4/+58
| | | | | | | | | | | | | * Enable barebox bootchooser framework * Add a redundant root partition to the genimage config. The state and environment partitions can live in the first 4 MiB of the SD card, so move the the boot partition by the same amount. * Add appropriate variables to the barebox defaultenv so the bootchooser can decide into which partition to boot * Add a state backend to the device tree fragment * Map partitions in rauc-udev compatibility layer Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: add RAUC support for beaglebone blackRoland Hieber2023-08-1511-3/+63
| | | | | | | | | | | * Enable barebox bootchooser framework * Add a redundant root partition to the genimage config * Add appropriate variables to the barebox defaultenv so the bootchooser can decide into which partition to boot * Add a state backend to the device tree fragment * Map partitions in rauc-udev compatibility layer Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: add RAUC support for qemu-vexpressRoland Hieber2023-08-1510-3/+22
| | | | | | | | | | | | | * Enable barebox bootchooser framework * Add a redundant root partition to the genimage config. The current size of the rootfs is below 98 MiB, so we can add a second root partition to the image while keeping the overall image size the same. * Add appropriate variables to the barebox defaultenv so the bootchooser can decide into which partition to boot * Use the already existing bootstate in the upstream barebox Device Tree * Map partitions in rauc-udev compatibility layer Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: barebox: include generic bootstate node in device treeRoland Hieber2023-08-1514-13/+63
| | | | | | | | | Add a device tree fragment via CONFIG_EXTERNAL_DTS_FRAGMENTS in the barebox config, which is appended to each device tree built by barebox. Then add definitions for the state variables, which are the same on all boards; board-specific state backends will be added in the next patches. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxconfig: enable more tools for debuggingRoland Hieber2023-08-151-9/+37
| | | | | | | | Enable lsblk, file, sha*sum, time, strings, and curl to access the internet. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* rauc-udev: add a compatibility layer for mapping partitionsRoland Hieber2023-08-155-1/+70
| | | | | | | | | | | | | | | | When we add RAUC support for different platforms later, we need a way to specify their respective root partitions in RAUC's system.conf; however, the names of the actual partitions can differ on different hardware platforms. Add a short udev rule that can add symlinks to the actual partitions based on the device tree compatible. This way we can refer to the partitions in system.conf using the symlinks on all boards that we want to support. This commit only adds a stub for now; we will add the code that creates the actual symlinks for each hardware in later commits. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platforms: revert to default systemd loglevelRoland Hieber2023-08-1513-13/+13
| | | | | | | | | | | | | | | | | | By decreasing the systemd loglevel to "warning", the journal no longer contains useful lines like which units were started and stopped and when, which is quite sparse information for debugging. Remove the systemd.log_level from the kernel command line so systemd defaults to loglevel "info" (same level as loglevel=5 for the kernel). Keep the systemd.show_status setting on "auto" so that systemd only produces actual console output when the boot takes a significant amount of time, or produces error messages; so this change only changes the verbosity of the journal, not the console, on normal boots. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230623124755.2292833-2-rhi@pengutronix.de [remove meanwile eliminated special environment for rock3a, see 8ed4f77e790a24bd8c0d4fb15f95731eb1490be6 for reference] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: rpi2: Restore finding rpi-firmware when used as base layerAlexander Dahl2023-08-151-1/+1
| | | | | | | | | | | | | | | When DistroKit was used as a base layer, the firmware was not in '$(PTXDIST_WORKSPACE)/rpi-firmware' but in '$(PTXDIST_WORKSPACE)/base/rpi-firmware' or '$(PTXDIST_WORKSPACE)/base/base/rpi-firmware' … so we just need to look for it in all layers. Otherwise no firmware is put to the FAT partition of the SD card image and the device does not boot at all. Fixes: 4dbcbb498769 ("v7a: rpi2: move rpi-firmware directory to top-level workspace") Signed-off-by: Alexander Dahl <ada@thorsis.com> Reviewed-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://lore.barebox.org/20230630120847.3271567-1-ada@thorsis.com Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* linux-6.4: backport regression patchesRobert Schwebel2023-08-155-0/+136
| | | | | | | | | | With Linux 6.4, 'ldconfig' tries to mmap libraries but fails on a 9p root filesystem. This is v3 of the patch series from here: https://lore.kernel.org/lkml/20230716-fixes-overly-restrictive-mmap-v3-0-769791f474fd@kernel.org/ Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-x86_64: don't use platform specific kernel series fileRobert Schwebel2023-08-151-1/+1
| | | | | | | | | | | | | | | | All other platforms use a non-platform-specific series file: rsc@dude05:~/work/DistroKit$ grep SERIES configs/platform-*/platformconfig configs/platform-rpi1/platformconfig:PTXCONF_KERNEL_SERIES="series" configs/platform-v7a_noneon/platformconfig:PTXCONF_KERNEL_SERIES="series" configs/platform-v7a/platformconfig:PTXCONF_KERNEL_SERIES="series" configs/platform-v8a/platformconfig:PTXCONF_KERNEL_SERIES="series" configs/platform-x86_64/platformconfig:PTXCONF_KERNEL_SERIES="series${PTXDIST_PLATFORMSUFFIX}" This is not relevant for now, but the next patch will introduce kernel patches with a series file and would crash 'ptxdist oldconfig kernel'. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxconfig: disable Y2038 support, broken on MIPSRobert Schwebel2023-07-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | All other platforms in DistroKit do at least initially work with PTXCONF_GLIBC_Y2038, but MIPS fails to boot. In qemu, it stops here: rsc@dude05:~/work/DistroKit$ configs/platform-mips/run [ 0.000000] Linux version 6.4.0-malta (ptxdist@ptxdist) (mips-softfloat-linux-gnu-gcc (OSELAS.Toolchain-2022.10.1 12-20230519) 12.3.1 20230519, GNU ld (GNU Binutils) 2.39) #1 SMP PREEMPT 2023-07-01T00:00:00+00:00 [ 0.000000] earlycon: uart8250 at I/O port 0x3f8 (options '38400n8') [ 0.000000] printk: bootconsole [uart8250] enabled [ 0.000000] CPU0 revision is: 00019300 (MIPS 24Kc) [ 0.000000] FPU revision is: 00739300 [ 0.000000] MIPS: machine is mti,malta [ 0.000000] Software DMA cache coherency enabled [ 0.000000] CPU frequency 333.33 MHz [ 0.637209] This architecture does not have kernel memory protection. [ 7.486114] systemd-rc-once[95]: remounting root rw...done [ 7.492033] systemd-rc-once[95]: running rc.once.d services... [ 7.538456] systemd-rc-once[100]: Creating dynamic linker cache... [ 7.942716] systemd-rc-once[109]: Create ed25519 key; this may take some time ... [ 8.104296] systemd-rc-once[109]: Created ed25519 key. [ 8.264490] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=1 'systemd' [ 9.463754] systemd-rc-once[95]: remounting root ro...done Changing the config option makes it boot again, so we do this for now. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* bsp.ref: don't check fixed-partitions on v7a_noneonRobert Schwebel2023-07-101-1/+4
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2023.06.0 -> 2023.07.1Robert Schwebel2023-07-108-18/+26
| | | | | | We have an issue with ptxdist-2023.07.0, so we continue with .1. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a_noneon: kernel: enable Microchip LAN9370 T1 PHY supportOleksij Rempel2023-07-101-1/+1
| | | | | | | | | | Enable T1 PHY support for Microchip LAN9370 DSA switches. This is needed for SAMA5D3 EDS switch plugin board. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230710050324.3004120-8-o.rempel@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a_noneon: barebox-at91: enable DSA supportOleksij Rempel2023-07-102-30/+54
| | | | | | | | | | Enable DSA support and related KSZ9477 switch driver. At least KSZ9477 EVB need it for proper netboot support. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230710050324.3004120-7-o.rempel@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a_noneon: kernel: make KSZ9477 work againOleksij Rempel2023-07-101-1/+2
| | | | | | | | | | | DSA KSZ switch related Kconfig symbols was changed at some kernel version. So, the switch driver was partially disabled. So, re-enable KSZ SPI support and make KSZ9477 EVB work again. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230710050324.3004120-6-o.rempel@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a_noneon: add Microchip SAMA5D3 Ethernet Delopment System Board supportOleksij Rempel2023-07-106-24/+145
| | | | | | | | | | | | | | | | | | Microchip Technology SAMA5D3 Ethernet Development System (EDS) Board (DM320114) is an MPU-based platform for evaluating Ethernet Switch and PHY products. Compatible Ethernet Switch and PHY Evaluation Boards connect to the SAMA5D3 EDS Board via either an RGMII or RMII connector. The Microchip Technology SAMA5D3 EDS Board is not intended for stand-alone use and has no Ethernet capabilities when no daughter board or an USB Ethernet adapter is connected. For more information see: https://www.microchip.com/en-us/development-tool/DM320114 Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230710050324.3004120-5-o.rempel@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a_noneon: blspec: convert to ptxdist default entriesOleksij Rempel2023-07-105-25/+4
| | | | | | | | | | | | | | | | | | | 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: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230710050324.3004120-4-o.rempel@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a_noneon: use upstreamed devicetree the KSZ9477 EVBOleksij Rempel2023-07-103-195/+2
| | | | | | | | | | KSZ9477 EVB is already mainline and there are some naming differences. So, drop downstream dts and use the mainline version. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230710050324.3004120-3-o.rempel@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a_noneon: barebox: version bump v2023.01.0 → v2023.07.1Oleksij Rempel2023-07-1011-84/+476
| | | | | | | | | | This version updated includes some patches for the Microchip KSZ9477 and support for the Microchip SAMA5D3 Ethernet Development System (EDS) Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230710050324.3004120-2-o.rempel@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2023.05.0 -> 2023.06.0Robert Schwebel2023-06-308-16/+22
| | | | | | A new ptxdist version is out, so we can update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: version bump 6.3 -> 6.4DistroKit-2023.06.0Robert Schwebel2023-06-2918-200/+356
| | | | | | | Enable CRYPTO_SHA256_ARM on ARM with NEON extensions (suggested by reason). Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* Toolchain: version bump 2022.10.0 -> 2022.10.1Robert Schwebel2023-06-2915-23/+23
| | | | | | | With Debian Bookworm, OSELAS.Toolchain-2022.10.0 doesn't work any more, switch to 2022.10.1, which has the issues being fixed. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* firmware-rockchip: make sure menuconfig works correctlyMichael Olbrich2023-06-201-4/+5
| | | | | | | | | | | | | Suboptions are only sorted into when: - the suboptions depend on the menuconfig option - the suboptions are listed immediately after the menuconfig option The BAREBOX_DEPENDENCIES in the middle breaks this so move it to the bottom of the file. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://lore.barebox.org/20230620132931.2179983-8-m.olbrich@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* firmware-imx: make sure menuconfig works correctlyMichael Olbrich2023-06-201-5/+6
| | | | | | | | | | | | | Suboptions are only sorted into a submenu if: - the suboptions depend on the menuconfig option - the suboptions are listed immediately after the menuconfig option The BAREBOX_DEPENDENCIES in the middle breaks this so move it to the bottom of the file. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://lore.barebox.org/20230620132931.2179983-7-m.olbrich@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* firmware-imx: use foreach and ptx/nlMichael Olbrich2023-06-201-5/+5
| | | | | | | | | | Combining multiple commands with ';' hides errors. So use $(foreach ...) and $(ptx/nl) to create separate commands that are executed individually and all errors are caught. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://lore.barebox.org/20230620132931.2179983-6-m.olbrich@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v8a: simplify dts search pathMichael Olbrich2023-06-201-2/+2
| | | | | | | | | | support for subdirs in PTXCONF_KERNEL_DTS was added some time ago. So the long PTXCONF_KERNEL_DTS_PATH with an entry for each vendor is no longer needed. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://lore.barebox.org/20230620132931.2179983-5-m.olbrich@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v8a: move platform menu files to platforms/Michael Olbrich2023-06-202-0/+0
| | | | | | | | | Menu files that are only use for the platformconfig and not the ptxconfig belong in platforms/. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://lore.barebox.org/20230620132931.2179983-4-m.olbrich@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* firmware-imx: move to the correct sectionMichael Olbrich2023-06-202-6/+5
| | | | | | | | | There is a non_free_firmware section, which is exactly for packages like this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://lore.barebox.org/20230620132931.2179983-3-m.olbrich@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v8a: cleanup barebox firmware handlingMichael Olbrich2023-06-204-16/+35
| | | | | | | | | | | | | | | | | | BAREBOX_INJECT_FILES is explicitly designed in such a way that all packages can add to it in their regular rules, so move the declarations accordingly. And only add to BAREBOX_INJECT_FILES if the package is acutally enabled. imx/imx-usb-loader is already part of BAREBOX_PROGS_HOST, so no need to add it. Move rk-usb-loader to rules/barebox.rockchip.make (it's explicitly loaded after rules/barebox.make) for now. This can be removed when this is added upstream. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://lore.barebox.org/20230620132931.2179983-2-m.olbrich@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: replace "copy onto" by "write to" to prevent confusionRoland Hieber2023-06-209-13/+13
| | | | | | | | | | | | | | | "Copy" could be misunderstood as "use cp (on the file system level)", which will not lead to the intended results, i.e. writing to the device directly (e.g. using dd). Furthermore, using "write onto" [1] instead of "write to" [2] feels unnatural here – as if writing something on top of another. Use "to" instead. [1]: about 460.000 Google results [2]: about 146.000.000 Google results Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* doc: intro: link to license and Git historyRoland Hieber2023-06-201-2/+5
| | | | | | | | | | For the people who only have a tarball of the DistroKit source, the version history is not included, so link to it. Also link to the full license to make it easier to find when reading the HTML version. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230510133915.1724757-2-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* doc: use layered documentation instead of overwriting doc/guru.rstoRoland Hieber2023-06-202-19/+0
| | | | | | | | | | | | | | | Since PTXdist 2023.01.0, all files named index-layer-*.rst are included in the main toctree by upstream PTXdist, so there is no need anymore to fork the upstream guru.rst. See the docs for more info. We have to remove the :numbered: argument because the main toctree in the upstream guru.rst is already numbered, otherwise this will generate a warning. Link: https://www.ptxdist.org/doc/daily_work_section.html#integrate-project-specific-documentation-into-the-manual Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230510133915.1724757-1-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: barebox: add a boot target for fastboot loaded image filesJohannes Zink2023-06-091-0/+7
| | | | | | | | This allows to boot a kernel with dtb and initrd entirely from RAM after loading it via Android Fastboot by simply calling 'boot ram-fastboot'. Signed-off-by: Johannes Zink <j.zink@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>