27.10.2015 22:43, Misha Komarovskiy пишет:
Hello Matwey,

On Tue, Oct 27, 2015 at 9:52 PM, Matwey V. Kornilov
<[email protected]> wrote:
27.10.2015 11:04, Guillaume Gardet пишет:
Hi,

Le 26/10/2015 19:52, Matwey V. Kornilov a écrit :
Hello,

Why bootmenu command is not used atm? Are there any reasons?



You mean ansi bootmenu? If yes, ac100 community member tried to enable
it for our board,
but extlinux.conf was proposed as better solution, here is link
http://patchwork.ozlabs.org/patch/450122/

I tried to use extlinux.conf with openSUSE  on Chromebook Snow,
because its support already enabled there, and it work flawlessly and
very flexible,
take a look at README.distro in u-boot repo, also as it is same as pxe
config file kiwi probably already have
support for it.

Here is example of my test extlinux.conf:

TIMEOUT 1000
ONTIMEOUT localboot
DEFAULT default
MENU TITLE Boot menu
PROMPT 0

LABEL default
         MENU LABEL Default
         LINUX /boot/zImage
         FDT /boot/dtb/exynos5250-snow.dtb
         INITRD /boot/initrd
         APPEND root=/dev/disk/by-id/mmc-SL08G_0x01978580-part3
loader=uboot disk=/dev/disk/by-id/mmc-SL08G_0x01978580
resume=/dev/disk/by-id/mmc-SL08G_0x01978580-part4 plymouth.enable=0
console=ttySAC3,115200n8 console=tty

LABEL failsafe
         MENU LABEL Failsafe
         LINUX /boot/zImage-4.1.5-exynos_defconfig
         FDT /boot/dtb/exynos5250-snow.dtb
         INITRD /boot/initrd-4.1.5-exynos_defconfig
         APPEND root=/dev/disk/by-id/mmc-SL08G_0x01978580-part3
loader=uboot disk=/dev/disk/by-id/mmc-SL08G_0x01978580
resume=/dev/disk/by-id/mmc-SL08G_0x01978580-part4 plymouth.enable=0
console=ttySAC3,115200n8 console=tty

LABEL localboot
         MENU LABEL Local boot script (boot.scr)
         LOCALBOOT 1


Nice. I cannot understand is it uboot who runs extlinux or just support of extlinux configuration file syntax inside uboot?



I think nobody worked on it until now.


Oh, I see.

But first I am going to introduce additional env variable to simplify
selection of the kernel version from u-boot command line.

After then, I would highly want to have fallback possibility like the
following:
https://www.gnu.org/software/grub/manual/legacy/Booting-fallback-systems.html
which can be implemented using u-boot uEnv.txt file


--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]






--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to