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

Re: Using Linux as a boot loader -- status and RFH



after read url and your parm suggest that you explicit more parameters like xon/xoff , 7 or 8 bits for serial console, see detailed about speed because in some cases equipment defaults are not the same kexec defaults. I am not sure about if is possible capture or redirect stderr to other place or to file. good tests, because i have make more than one hundred with on opticon arm920 and only when i used gammu for virtual simulation i gathered the error message and soon solved parameters problem in load / boot.!!!

2011/1/30 Eric Cooper <ecc@cmu.edu>
I've been experimenting with using a stripped-down Linux kernel
instead of u-boot.  I'm working with a Seagate DockStar, but the same
approach should work with the Sheevaplug or other variants.  The idea
(which is not original -- you can find several other similar projects
via Google) is to use the power of the Linux networking, filesystem,
and USB stacks to load whatever kernel you want, and then the kexec
system call to warm-boot into it.

Unfortunately, I've hit a brick wall: after loading a kernel (via
"kexec -l ...") and executing it ("kexec -e"), the new kernel hangs
during initialization when it tries to access various hardware
registers. These same hardware registers are accessed when the kernel
is booted via u-boot, so there's some bug here I haven't been able to
track down. See this thread for more details:

http://lists.infradead.org/pipermail/linux-arm-kernel/2011-January/039949.html

If anyone can help me solve this, I'd be very grateful, and could move
on to the final step of flashing the minimal kernel and booting it
directly from the hardware. My early tests are promising: the minimal
kernel and initramfs are only 1.5MB, and it boots to a shell in about
5 seconds.

--
Eric Cooper             e c c @ c m u . e d u


--
To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20110130163917.GA2920@localhost




--
gilberto dos santos alves

(11) 8646-5049
são paulo - SP - Brasil


Reply to: