Skip to content

Nfs uboot prompt#36

Merged
bhcopeland merged 4 commits into
kernelci:mainfrom
roxell:nfs-uboot-prompt
Jun 24, 2026
Merged

Nfs uboot prompt#36
bhcopeland merged 4 commits into
kernelci:mainfrom
roxell:nfs-uboot-prompt

Conversation

@roxell

@roxell roxell commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Get the rpi4 to boot over NFS in device-dict mode. Match both U-Boot prompts and set the kernel, ramdisk and dtb load addresses. Also drop the lsibcli mount we don't use.

roxell added 4 commits June 16, 2026 19:44
The rpi4 u-boot prints 'U-Boot> ' but the default prompt was only '=> ',
so we had to set it per board.

bootloader_prompt is matched as a regex, so let the default match both
'=> ' and 'U-Boot> '. Then boards with either prompt boot without an
override.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
In device-dict mode tuxrun does not use LAVA's bcm2711-rpi-4-b
device-type, so the kernel and ramdisk load addresses were missing and
the parameters block did not render.

Set them in NfsRpi4, same values as the LAVA device-type, and pass the
device context_overrides to the device-dict render. Now the rpi4 boots
in device-dict mode without a per-board device-dict.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
The rpi4 device-dict and the NfsRpi4 class could use different ramdisk
and dtb addresses. In device-dict mode the file values win, so the two
boot paths could disagree.

Set ramdisk 0x10000000 and dtb 0x08000000 in both, and add the kernel
address and U-Boot prompt to the device-dict.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
The device-dicts mounted /usr/bin/lsibcli into the docker shell, but the
tool is not used. Remove the volume from all device-dicts.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
@bhcopeland
bhcopeland added this pull request to the merge queue Jun 24, 2026
Merged via the queue into kernelci:main with commit ffa3c05 Jun 24, 2026
28 checks 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.

2 participants