| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Already enabled for v8a. Tested on Beaglebone Black and RIoTboard.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20240306092530.1448784-4-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
The latest and greatest. Has the nice support for 'noload' sub-images
in FIT images conforming for spec.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20240306092530.1448784-2-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This lets us drop two patches that fixed issues with v2023.09.0.
This update also enables some options that are useful for the hardware
we support:
- on STM32MP1, support for the NAND controller is enabled
- on STM32MP1, we enable HWRNG and stack protector support
The latter could be enabled universally for all platforms that are no
size constrained, but it prints an ugly error message if there's no
HWRNG as using the fixed fallback canary is insecure. We'll just
postpone enabling stack protector on other platforms until we enable
HWRNG support there.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20240112170529.1970537-5-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
We want to be able to boot from devices formatted with GPT, enable this
on the platforms that don't have it yet.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20231020090519.3320460-4-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Kernels prior to v5.10-rc1 could not ensure deterministic ordering for
MMC devices. For this reason, the default 'append-root' behaviour of
barebox for MMC block devices is to append a 'root=PARTUUID=XYZ' option
to the kernel command line. The PARTUUID is derived from the partition
table and is expected to be unique system-wide. This is however
susceptible to breakage if the exact same image is written to different
boot media in the system, e.g. SD and eMMC, so the PARTUUID will no
longer uniquely refer to a single partition.
Newer kernel versions honor the numbering used for 'mmc' aliases,
which makes 'root=mmcblkXpN' deterministic as long as barebox and
kernel aliases are identical. Since we're using kernel 6.4, enable this
option in barebox.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20231020090519.3320460-3-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Enable two useful commands for debugging.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/distrokit/20230926092713.3680509-3-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update to v2023.09.0, which includes auto-detection for barebox-state
partitions in GPT, which will come in handy for the LXA MC-1 board.
For AM335X, selecting OMAP_MULTI is now necessary, otherwise do an
oldconfig with default options.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/distrokit/20230926092713.3680509-2-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
The of_diff command shows a diff over the fixups barebox would do to the
device tree when booting and is very useful to see at a glance, things
like fixed up bootsource or memory size. Enable it for all v7a boards.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220930162159.814389-11-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
The original patch didn't go upstream, because semantics were a bit odd,
a Kconfig option changing behavior, but only for devices barebox probes.
This imports v3 of the series into DistroKit.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220930162159.814389-3-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
Th v2022.08.0 release added Raspberry Pi i2c controller support as
well as Raspberry Pi 4 support. We enable both here and will put
the Raspberry Pi 4 support into use in a follow-up commit.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220930162159.814389-2-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Link: https://lore.pengutronix.de/20220907132343.3321447-2-jlu@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
It was enabled for mx6&rpi&stm32mp, but not for am335x&at91&vexpress.
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Link: https://lore.pengutronix.de/20220906103328.3303545-4-jlu@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In remote labs co-located with other hardware, we've observed card
detect levers of different boards to sporadically fail to detect
the card, e.g. because the cable on the usbsdmux was yanked around
by accident. When this happens, barebox usually boots up normally as
the card detect is ignored and then Linux waits indefinitely for
the card-detect to turn active. Add a new config option that can be
enabled to avoid these issues altogether.
We enable this for all configurations, except for barebox-am335x-mlo,
which is size-constrained as it needs to fit into on-chip SRAM
and those 100 extra bytes are deemed too expensive.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220725120445.1295669-8-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
There has been two barebox releases in the mean time, so give the v7a
barebox-common an update to get rid of the patches we carry.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220725120445.1295669-7-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Config changes are those of olddefconfig with the exception of
CONFIG_FS_UBIFS_COMPRESSION_ZSTD for the i.MX6 barebox: We already have
UBIFS support enabled, so it makes sense to allow mounting UBIFS with
zstd as well.
This update imports two barebox patches to address regressions due to
recent Raspberry Pi upstream rework.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220426083821.1829442-2-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Freshest barebox release incorporates the OMAP patches we have in the
BSP. Bump up the release and drop these two patches in return.
The release also introduced CONFIG_STM32_BSEC_WRITE, which enables
blowing e-fuses on STM32MP1 SoCs, e.g. to persist an Ethernet address.
We support a couple of STM32MP1 boards, so it makes sense to enable
this option. All other Kconfig changes are those of olddefconfig.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Update to latest barebox release. Config changes are the default.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20211126064836.1306873-2-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Update to latest barebox release. Config changes are the default.
In return we can drop the one patch that went upstream in the mean time.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20210824125248.22580-1-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
barebox v2021.07.0 now comes with support for first stage boot on the
SAMA5D3. The SAMA5D3 has a v7a CPU but lacks NEON, so it doesn't make
sense to enable for the v7a platform. Unfortunately, barebox master
is upset if you don't build both sama5d2 and sama5d3 at the same time.
Instead of working around this in the defconfig and enabling a board
we don't need and may forget to disable, import a small patch.
We should be able to drop this with v2021.08.0.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20210722133520.17946-1-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updating to v2021.05.0 lets us drop the single patch we have,
as it went upstream in revised form.
Kconfig changes are those produced by oldconfig. One notable
new option is CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_IKCONFIG,
which allows barebox to embed its configuration as /env/data/config
analogously to /proc/config.gz, which we already enable for Linux.
This is not enabled here, but might be something we want to use
eventually.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20210602111803.15832-1-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updating to v2021.04.0 lets us drop the patches we have, but
unfortunately we need to import a new patch in return to fix
a USB/Ethernet breakage on barebox-rpi2.
Kconfig changes are those produced by oldconfig, except for the
following:
- BTHREAD: new feature that's not used by default, but could use
some extra coverage. Enable it for all configuration, except
for am335x-mlo, where we have a restrictive size limitation.
- MACH_STM32MP15X_EV1: The EV1 is the full featured STM32MP1
evaluation kit. In preperation for supporting this, enable its
newly added barebox support.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20210421073820.1318-1-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One new patch is required to fix a regression for USB on rpi3. Also USB
on rpi3 requires CONFIG_USB_NOP_XCEIV=y now which is enabled in the rpi2
config now.
For the beaglebone two patches are added fixing a regression related to
a dts sync from upstream.
All three patches were already sent to the barebox mailing list.
Acked-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous upgrade to v2020.08.1 gave us first stage boot support on
the sama5d2, but had slight multi-image breakage because the fresh
giantboard support on the sama5d27 messed up the EK1 environment
support: it set nv.boot.default=mmc1 in the built-in environment when
none should've been set. This is fixed in v2020.09.0, which is imported
here.
The config changes are those of olddefconfig.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
Update to the most recent barebox release, which includes our patch.
CONFIG_USB_GADGET_FASTBOOT_* have been renamed to CONFIG_FASTBOOT_*, for
all other new options use the default values.
Tested-by: Roland Hieber <rhi@pengutronix.de> on qemu-vexpress, rpi3-b
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to drop the patch stack we had for Linux Automation MC-1
support. The series went into barebox with a fix that makes a warning
about the eMMC environment go away. In return we import a single patch
to address a breakage on the rpi3b platform. Being a bug fix, we should
be able to drop the patch along with v2020.07.0.
On the Kconfig front, CONFIG_OF_NET was dropped upstream, because it was
an unreferenced symbol. All Kconfig changes are the result of an
olddefconfig.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds barebox support for the Linux Automation GmbH MC-1 board built
around the Octavo Systems OSD32MP157C-512M SiP.
The patches have been posted[1] upstream, but are not yet accepted.
It's however expected for them to be part of barebox v2020.06.0, at which
time we can drop the patchset again.
[1]: https://lists.infradead.org/pipermail/barebox/2020-April/041653.html
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
This lets us drop the am335x USB fixes, because they were already in the
v2020.03.0 release. Only new enabled config option is
CONFIG_USB_GADGET_FASTBOOT_CMD_OEM, which was non-configurable before.
Marking it as enabled avoid a regression for people using `fastboot oem exec`
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Kernel commit 0782e8572c ("ARM: dts: Probe am335x musb with ti-sysc")
which barebox pulled in during the v2020.02.0 dts/ sync moved the USB nodes
to be under a ti-sysc bus instead of ti,am33xx-usb.
This broke am335x USB under barebox, because the MUSB drivers couldn't
cope with the now different device probe order.
Import the two patches fixing this out of barebox master branch.
These can be dropped when moving to barebox v2020.03.0.
Fixes: 1d84e5419f50 ("v7a: barebox: version bump 2020.01.0 -> 2020.02.0")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
barebox v2020.02.0 has just been released. Drop the now upstream
rpi patches, oldconfig the configs and use it.
As seen in the config diffs, two of our configuration options have
changed with this release:
CONFIG_CLOCKSOURCE_ARMV8_TIMER=y:
barebox support for ARMv7 (and ARMv8) architected timers on >= ARMv7
has now been reenabled. This should improve clocksource accuracy on
the rpi3 and vexpress. The name will be changed to indicate that
it's not ARMv8 specific in v2020.03.0.
CONFIG_DEFAULT_ENVIRONMENT=n in am335x-mlo:
This symbol became selectable even without CONFIG_ENV_HANDLING.
We didn't use the environment before for this configuration, so we
probably don't want to start now, so this is left disabled.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
| |
barebox v2020.01.0 has just been released. Rebase the patch stack,
oldconfig the configs and use it.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
|
| |
This adds a barebox patchstack which is needed for the rasperrypi which
otherwise issues several warnings during boot. While at it add DWC2 USB
support as well to finally get networking support for the raspberrypi.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
|
|
| |
Use the latest and greatest.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
|
|
| |
A new barebox version is out, use it.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
This avoids problems if the same git tree is used in local_src/ for
multiple barebox packages.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
There's a new barebox in town. Upgrade to it.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Particularly relevant in this release is the v5.2 device tree sync
which is a prerequisite for the incoming STM32MP1 support.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Tested-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Just a simple oldconfig with default values for all variants with the
help of ./scripts/update-diffs-v7a.sh.
Changes in config symbols:
* BAREBOX_MAX_PBLX_SIZE was removed in v2019.04.0 because pblx was
removed. The maximum file size is now instead determined by
BAREBOX_MAX_IMAGE_SIZE. [1]
* The m25p80 driver was refactored to use the spi_mem API [2] (affects
am355x and mx6)
* The ARMv8 clocksource can now also work with ARMv7 timers, so it is
auto-enabled by kconfig since barebox v2019.05.0. [3]
* GPIO_BCM283X was replaced by PINCTRL_BCM283X in v2019.04.0. [4]
* CRC16 was replaced by CRC_ITU_T in v2019.04.0 [5], but since it has no
prompt in the menu and it is actually not selected by anyone except on
am335x-mlo, it now stays disabled in the other variants.
Relevant barebox commits:
[1]: 9e72ea7a006cd0931913 ("images: pbl: verify CONFIG_BAREBOX_MAX_IMAGE_SIZE is not exceeded"
[2]: 80b6b874944d7982e6c7 ("mtd: devices: m25p80: use the spi_mem_xx() API")
[3]: dece707522434d5c8eb3 ("clocksource: Enable architected timer support for CPU_V7")
[4]: be717102c8ba2d0ea022 ("pinctrl: bcm2835: move existing code from gpio.")
[5]: 74de1afbd2ed4262d410 ("crc: import crc_itu_t() from kernel")
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* don't disable common features unnecessarily: enable the features
BZLIB, FS_FAT_LFN, FS_FAT_WRITE, FS_NFS, HWRNG, I2C, LED,
LED_TRIGGERS, LZO_DECOMPRESS, MENU, NET_USB*, PINCTRL, REGULATOR, SPI,
USB, USBGADGET_START, USB_EHCI, USB_GADGET, USB_GADGET_AUTOSTART,
USB_GADGET_SERIAL, USB_HOST, USB_STORAGE WATCHDOG, XZ_DECOMPRESS,
ZLIB, and the commands mmuinfo, bootz, clk, cmp, i2c, imd, led,
trigger, let, ln, memtest, menu, menutree, mm, msleep, of_node,
of_property, readf, regulator, sha1sum, spi, state, time, usb,
usbgadget, and wd.
All of those are enabled in the barebox-common config too, and make
sense to have on a generic barebox.
* repair compile log level < default log level by using the defaults
* disable unneeded features:
- CMD_LOADB: no one uses kermit these days
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
| |
Patch free, baby!
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|
|
|
|
|
|
|
| |
ptxdist-2018.12.0 has a stricter understanding of barebox config files,
so we need to update them in order to survive a 'ptxdist oldconfig'.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
This disables broken support for state and bootchooser for barebox-vexpress.
We also remove the nv files and the bootsource file, the later is unsupported
since the vexpress platform will always report the bootsource as unknown.
Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
|
|
|
|
|
|
|
|
| |
Bump barebox from v2018.05.0 to v2018.12.0.
This barebox release officially supports RPI3, this will be enabled in
a later commit.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|
|
|
|
|
|
| |
Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|