On Wed, 13 Feb 2019 at 12:28, Denis HUMEAU denis.humeau@st.com wrote:
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>
We experimented with menus via UEFI and it is *horribly* unreliable. Characters get mangled, lines get missed and selections fail. The devices which used to use UEFI menus have since been upgraded to firmware which does not use menus. The code exists but it may need to get removed.
<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?
Make it deterministic. Don't allow the menus to be altered by any test jobs or any admins. Avoid needing to actually parse the menu.
Best regards,
Denis
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users