hi, with uboot mainline uboot you can use menu like lilo grub
See the option extlinux
My /boot/extlinux/extlinux.conf basically contains this:
menu title LIME2 boot menu
timeout 10
ontimeout linux
LABEL linux
KERNEL /boot/zImage
fdt /boot/sun7i-a20-olinuxino-lime2.dtb
append root=/dev/mmcblk0p1 console=ttyS0,115200 ro rootwait
An exmple image with select menu for hdmi and/or serial
check this page
https://github.com/ssvb/sunxi-bootsetup/releases/tag/20141215-sunxi-bootsetup-prototype
regards
2014-12-20 10:56 GMT+01:00 Bruno Prémont <[email protected]>:
> Hi,
>
> On Fri, 19 December 2014 [email protected] wrote:
> > I use lilo on x86/64 PC from 2002.
> > Why it doesnt work on allwinner ? What is the problem ?
> >
> > > I want try mainline kernel, is it possible to select kernel on boot ?
> > > Something similar to lilo\grub.
>
> Lilo has its core bootloader part written in x86 assembler and also
> depends on BIOS interface to work. So it's not compatible with uboot
> (nor EFI on PCs!).
>
>
> You can select different kernels from uboot if you want. It will
> not provide you with a nice graphical kernel selector but you can
> load the kernel you want from uboot command line (similar to what
> you would do in grub command line).
> With proper uboot scripting you can e.g. select the kernel based on
> status of GPIO lines (or pressed buttons).
>
> Bruno
>
> --
> You received this message because you are subscribed to the Google Groups
> "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.