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

Bug#793157: marked as done (flash-kernel: syslinux-style boot configuration on recent u-boot versions)



Your message dated Wed, 22 Jul 2015 09:11:08 +0100
with message-id <1437552668.407.15.camel@debian.org>
and subject line Re: Bug#793157: flash-kernel: syslinux-style boot configuration on recent u-boot versions
has caused the Debian Bug report #793157,
regarding flash-kernel: syslinux-style boot configuration on recent u-boot versions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
793157: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793157
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: flash-kernel
Severity: normal

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.

Long story short, I manually installed Debian Jessie (as well as
linux-image-4.0.0-2-armmp and u-boot from u-boot-sunxi=2015.04+dfsg1-2) on an
A20-OLinuXino-LIME2 from Olimex but couldn't get it to boot (even with the
boot.scr created by flash-kernel when invoked in a chroot with
“FK_MACHINE="Olimex A20-OLinuXino-LIME2" flash-kernel”) until I created the
simple /boot/extlinux/extlinux.conf file attached.

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

--- End Message ---
--- Begin Message ---
On Wed, 2015-07-22 at 09:58 +0200, Thibaut Girka wrote:
> On Wed, Jul 22, 2015 at 08:44:44AM +0100, Ian Campbell wrote:
> > […]
> > It's hard to say without logs but I suspect you are missing the
> > contents of /etc/default/flash-kernel which according to your 
> working
> > extlinux.conf in your case should should contain:
> > 
> > LINUX_KERNEL_CMDLINE="root=/dev/mmcblk0p1 ro rootwait"
> 
> It indeed cointained only “LINUX_KERNEL_CMDLINE="quiet"”.
> 
> > This would normally be setup by d-i. You can either edit that file
> > directly or "dpkg-reconfigure -plow flash-kernel" in the chroot.
> > 
> > You might also be able to add console=tty there to override the 
> default
> > serial console.
> 
> Done, and it now boots fine using the boot.scr, thanks!

Super, closing the bug.

If anyone feels minded to work on extlinux.conf integration I think
that should be a separate wishlist issue against another package,
ideally with patches attached ;-)...

Ian.

--- End Message ---

Reply to: