| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The idea behind enabling the USB gadget by default was to allow
quick experimentation with only a USB connection by exposing both
fastboot and a ACM serial gadget.
However, Fastboot over UDP, isn't as useful:
- the user first has to find out the IP address assigned to the board
- getting a DHCP lease on every boot takes a bit of time
- The shell is unusable until the DHCP request succeeds or times out.
Ctrl+C can't be used as it's not called interactively
Therefore, disable Fastboot over UDP and leave only USB enabled by
default. User wishing to use Fastboot over UDP can just set
nv.fastboot.net.autostart=1
manually to restore the old behavior.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20240306184640.628394-1-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that every image is in GPT format, we can use the devnodes that
include the partition label instead of the partition number to boot our
rootfs. These names are more readable and also more robust against
changing the order of the partitions. Make the change on all bareboxes
that didn't have that yet.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20231103225253.1349209-11-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change is similar to:
2732f93bcf4ee011cecca3518aec7e523c311d7a
"v8a: barebox: enable loading kernel, dtb and initrd via fastboot"
but for some of the v7a platforms. Due to the absence of a common environment
it only can be added for the i.MX6 based systems for now.
This change prepares all v7a platforms to load kernel, dtb and initrd as
sparse images to RAM-files for rapid development.
It exposes mmc{1,2,3} as 'fastboot' partitions and add init script to
force barebox to detect these devices and have them available for
'fastboot'.
It autostarts the USB gadget and network capability to use 'fastboot' out of
the box.
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Link: https://lore.barebox.org/20230825111056.32801-1-jbe@pengutronix.de
Adapted bsp.ref for v7a, similar to v8a.
Inspired-by: Roland Hieber <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
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* The 9p bootsource is only available for qemu-vexpress
* The bootstate entries were never evaluated because the system0 and
system1 partitions were never set up on any boards
Remove all unneeded variables to keep the defaultenvs lean.
Fixes: ef189b9c3e0c9e3fed89 (2017-07-03, "platform-v7a: rpi2: create own rpi2 barebox defaultenv")
Fixes: 785275ccb99d60da8abb (2017-07-03, "platform-v72: mx6: create own mx6 barebox defaultenv")
Fixes: 26f5cf36862014ee9975 (2017-07-03, "platform-v7a: am335x: create own barebox defaultenv")
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20210426060526.32029-3-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
|
|
|
|
|
|
| |
Also disable the bootchooser which is no longer used.
Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
|
|
|
|
|
|
|
| |
Remove bootchoser files which contain a typo and try to call a binary
with an option that does not exist.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
The global variable linux.bootargs.console is set by barebox on startup
to the chosen stdout path from the Device Tree. Rename the variable in
our barebox defaultenvs to prevent shadowing this automatic variable,
so that the stdout path is passed on to the Linux kernel.
Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
|
|
Using this change the barebox-mx6 package has its own defaultenv
directory.
Signed-off-by: Chris Fiege <c.fiege@pengutronix.de>
|