| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
So far, the two STM32MP1 boards we support had the same board name
string within the file names of first stage (TF-A) and second stage
(barebox) bootloaders. This will no longer be true when updating
to a more recent barebox version, as the dk2 image's name has been
changed to dkx to indicate support for both dk1 and dk2.
Prepare for this by splitting up STM32MP_BOARD_NAME.
No functional change.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
The images sizes don't correspond to a specific SD-Card or eMMC size,
so software checking for the backup partition table at the end of
the device won't find it.
Dropping it will however reduce the STM32MP1 images size (618M -> 66M).
Do so.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Both forms are accepted, but it looks more natural to not quote
non-string values. This is also what we do for the other genimage
configs (e.g. bootable = true).
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
The names of the TF-A files changed with the new PTXdist version. This was
necessary to support multiple platforms in one build: The platforms may
create images with the same name. Without the aditional prefix, the names
clash when copoed to images/.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
With the previous barebox and kernel changes, we can combine it with the
DistroKit-v7a rootfs to get an image to boot on the sama5d27-som1-ek.
Do this.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
[rebased to master]
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
We don't need the whole 1 GiB image, the rootfs is only about 50 MiB in
size. Slim the image down to 64 MiB rootfs + 63 MiB data and 1 MiB of
padding at the end to keep the kernel happy.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
partition-type is specific to DOS partitions. The counterpart for GPT
partitions would be partition-type-uuid, which already defaults to "L",
which is ok for our purposes.
So far, this didn't have an impact, but starting with genimage v13,
commit 013b22f26b73 ("Add support for Hybrid MBR partitions"), support
for a partition-type key in a GPT partition was introduced:
Using this option with a GPT partition table will create a hybrid
MBR partition table with a maximum of 3 partition entries(this
limit does not effect the maximum number of GPT partition entries
in the same image).
The ARM TF-A can't cope with this new format and fails to boot barebox
with a "ERROR: Partition ssbl not found" message. Drop partition-type
to prevent the ptxdist 2020.06.0 upgrade that includes host-genimage v13
from breaking the stm32mp157c-dk2 and lxa-mc1 images.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Both STM32MP BootROM and TF-A expect the subsequent bootloader stage to
come from a GPT partition when booting from SD-Card.
Add a genimage config that describes this.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
| |
It's not needed and now the files are actually removed during 'clean'.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
|
|
|
|
|
|
|
|
| |
The disk signature is necessary so that barebox can auto-detect the boot
source and append it to the Linux command line in the 'root=' parameter.
A random but fixed value will suffice for this purpose.
Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
|
|
|
|
|
|
|
| |
The vexpress patch series has recently been reworked. Use it.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Reviewed-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|
|
|
|
|
|
| |
This should help keeping the code-formatting consistent in this files.
Signed-off-by: Chris Fiege <c.fiege@pengutronix.de>
|
|
|
|
|
|
|
| |
Add missing select to BAREBOX_MX6
We need root.ext2, select it.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for Versatile Express, with the configs+rules for image
creation and bootspec entries.
Note that vexpress in qemu can currently only boot from nor, so we put
the bootloader, environment and boot state there and the rest of the
system into mmc.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
[add vexpress.conf]
Signed-off-by: Chris Fiege <c.fiege@pengutronix.de>
[improve commit description]
[split from vexpress patches]
[fix and cleanupimage generation]
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Add support for RIoTboard, with the configs+rules for image creation and
bootspec entries.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
[improve commit description, split from vexpress patches]
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Add support for SabreLite, with the configs+rules for image creation and
bootspec entries.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
[improve commit description]
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Re-add support for Gute Fee, with the configs+rules for image creation
and bootspec entries.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
[improve commit description]
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Re-add support for beaglebone-white and beaglebone-black, with the
configs+rules for image creation and bootspec entries.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
[improve commit description]
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
We will split up the image generation into one image per target hardware
in subsequent patches.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
[improved commit message]
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
* not tested yet
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
In the meantime, in addition to beaglebone, this platform supports the
other ARMv7 based boards (rpi2, vexpress), so rename it.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|