Dear Lava users,

 

Our embedded SW offers 3 boot modes, selectable from u-boot.

When booting, u-boot offers the possibility to select the boot mode:

 

Select the boot mode

1:            <boot mode 1>

2:            <boot mode 2>

3:            <boot mode 3>

Enter choice: 1: <boot mode 1>

 

<boot mode 1> is a default value, used after a counter has expired.

All this is done using the extlinux feature.

We have scripts that allow to select the boot mode, using Kermit. Now, we’d like to integrate this boot mode selection in a Lava job, and our current solution is not compatible.

In Lava we may boot the kernel, modify the extlinux configuration and reboot, but do you know a direct way (with interactive mode maybe) to select the boot mode from u-boot?

 

Best regards,

 

Denis