| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
This is no longer needed. The current kernels provide enough entroy,
even without hardware RNG.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
A new kernel is out, so we update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, update the configs.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
which was forgotten while recently updating the kernel.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
It has been a while but here is a version bump.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
It has been a while but here is a version bump.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
It has been a while but here is a version bump.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
It has been a while but here is a version bump.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
It has been a while but here is a version bump.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
Some new ptxdist versions are out, so we bump to 2023.02.0.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, so we can migrate.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
They are enabled in the common config and we don't want to disable them there.
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
|