[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#793157: flash-kernel: syslinux-style boot configuration on recent u-boot versions



On 2015-07-21, Thibaut Girka wrote:
> syslinux-style /boot/extlinux/extlinux.conf superseed boot.scr in recent u-boot
> versions and seems to be the way forward for u-boot configuration, but I
> couldn't find anything to automatically generate them in Debian.
...
> I'm not sure whether flash-kernel is the correct package to implement this
> feature, but there should be a way to automaticaly generate such files.
> menu title LIME2 boot menu
> timeout 10
> ontimeout linux
> LABEL linux
>         KERNEL /boot/vmlinuz-4.0.0-2-armmp
>         INITRD /boot/initrd.img-4.0.0-2-armmp
>         fdt /boot/dtb-4.0.0-2-armmp
>         append root=/dev/mmcblk0p1 ro rootwait

I think I'll take a stab at writing this. It's fairly safe, as only
machines that support it will use it, as long as it also generates the
boot script as a fallback.

I think the main downside is that it doesn't inherrit the console boot
arguments... not sure exactly how to handle that.

It also has the advantage of being able to specify multiple boot options
(e.g. old kernel versions if the new kernel doesn't boot, alternate boot
options, alternate consoles console=tty1 vs. console=ttyS0,115200).

This would also be good to add to debian-installer...


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


Reply to: