| Summary: | Flexibility and configurability to boot from any partition | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BSPs | Reporter: | Chin Kooi KHOR <chin.kooi.khor> |
| Component: | bsps-configuration | Assignee: | sweeaun <swee.aun.khor> |
| Status: | RESOLVED OBSOLETE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | mei.yeen.ng, mikko.ylinen, randy.macleod, yp.bsp.watcher, yp.watcher |
| Version: | 2.4 | ||
| Target Milestone: | 2.4 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Chin Kooi KHOR
2017-05-03 12:53:53 UTC
(In reply to comment #0) > Default boot is from second partition. Request to provide flexibility and > configurability to boot from any partition. FYI: Ed is working on a related topic in bug 10073. Can you be more specific in which configuration the default is 'second partition'. Miko, Thanks for remind Ed's work on bug 10073. Just to clarify, it should be "Default boot is from first partition" instead of "Default boot is from second partition" This bug is to provide flexibility to boot from other partition instead of first partition. (In reply to comment #2) > > > This bug is to provide flexibility to boot from other partition instead of > first partition. What kind of flexibility? An option in the bootloader menu or a build time setting? Based on our investigation so far, system-boot doesn't allow to boot from another partition. At this point, we thought of trying to change the startup.nsh file which happened before system-boot. We still on the investigation stage to find a way for this. (In reply to comment #4) > Based on our investigation so far, system-boot doesn't allow to boot from > another partition. Is this with refkit or with core-image? If it's the latter, it's possible to install multiple labels that show in the boot menu. It is with core-image-minimal. We tried to add multiple labels that show in the boot menu(add more conf file in entries directory), but that only allow boot Images that within the partition. We added startup.nsh script in the boot partition and that allow us to boot Images from different partition. We are double checking with requester about this requirement before do implementation. we able to boot from other boot partition by using EFI script (startup.nsh) at EFI boot partition. However, requestor decided not to pursue this implementation as they will redefine the requirement. This requirement is not valid now. |