[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 Tue, Jul 21, 2015 at 11:09:37PM +0200, Thibaut Girka wrote:
> On Tue, Jul 21, 2015 at 09:48:32PM +0100, Ian Campbell wrote:
> > > […]
> > > Long story short, I manually
> > 
> > "manually" == with debootstrap from a host system or some other way?
> 
> Yes, debootstrap from my amd64 laptop (second stage in a chroot with
> qemu-static). I also installed the kernel and flash-kernel in the chroot.
> 
> I just deleted the /boot/extlinux directory and ran flash-kernel again in the
> booted system, but it still doesn't work.
> 
> > > 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.
> > 
> > This is a bug, the boot.scr method is expected to work and should be
> > supported for this system, since there is a db entry. If it is broken
> > we'd like to know the details of how please, including full logs if
> > possible.
> 
> It appears to load the kernel, and then nothing happens anymore, the screen
> is black and everything appears dead. I have not tried accessing it through
> the serial console as I don't have the required hardware (that is the reason
> why I haven't used d-i in the first place, as it lacks display support).

Hello,

could you try running "setenv console tty0; saveenv" at the u-boot prompt
and then retry booting the system with boot.scr?  The boot script in Jessie
passes the u-boot console variable to the kernel, and that points to the
serial console by default. Changing it to the framebuffer console might
result in further kernel output in your case.

Regards,
Karsten
-- 
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.


Reply to: