Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: runtime: boot: add support for barebox bootloader #2782

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

hnez
Copy link
Contributor

@hnez hnez commented Jan 23, 2025

We are currently in the process of reviving the Pengutronix LAVA lab for use with the new KernelCI infrastsructure.

As a first step we need Barebox bootloader support, since it is used by all boards in the Pengutronix lab.

This PR replaces #2600 by @pawiecz and includes the following suggestion by @a-wai #2600 (comment):

This doesn't take into account the case where boot_commands == nfs; I'd rather suggest to just copy the u-boot template and s/u-boot/barebox/ there, as it seems they should be otherwise identical.

The barebox template is indeed a copy of the u-boot template with the method set to barebox.

Copy link
Contributor

@pawiecz pawiecz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Older nfsroot might not be able to run all the currently enabled tests but it can be updated later

config/runtime/boot/barebox.jinja2 Outdated Show resolved Hide resolved
hnez added a commit to hnez/kernelci-core that referenced this pull request Jan 27, 2025
While adding barebox bootloader support in [1] it was discovered that the
default nfsroot image has not been updated in some time.
Update to the current most recent version 20250117.0.

[1]: kernelci#2782

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
hnez added a commit to hnez/kernelci-core that referenced this pull request Jan 27, 2025
While adding barebox bootloader support in [1] it was discovered that the
default nfsroot image in the u-boot template has not been updated in some
time.

Update to the current most recent version 20250117.0.

[1]: kernelci#2782

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Barebox is used by platforms in Pengutronix' LAVA laboratory.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
@hnez hnez force-pushed the add-barebox-boot-method branch from bbf7d71 to f259460 Compare January 27, 2025 12:47
Copy link
Contributor

@pawiecz pawiecz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @hnez for picking up this task and your contribution!

github-merge-queue bot pushed a commit that referenced this pull request Jan 27, 2025
While adding barebox bootloader support in [1] it was discovered that the
default nfsroot image in the u-boot template has not been updated in some
time.

Update to the current most recent version 20250117.0.

[1]: #2782

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
@nuclearcat nuclearcat added this pull request to the merge queue Jan 28, 2025
Merged via the queue into kernelci:main with commit 0274eb3 Jan 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants