From: David A. Panariti (davep@who.net)
Date: Fri Jul 20 2001 - 00:06:28 EDT
V2_14_10 and later bootldrs have a baddr command which lets you boot a
kernel at some addr in memory. If 2-14-10 or later is not on the ftp
site then you'll need to checkout and build from cvs.
To use baddr, you need to:
1) download a kernel image:
boot> load ram 0xc0008000 1
2) make sure the entry param is 0xc0000000 (this is the default)
boot> show entry
if not 0xc0000000
boot> set entry 0xc0000000
if you want to save this param to flash:
boot> params save
3) boot this new kernel:
boot> baddr 0xc0008000 0xc0000
Please note: I'm writing this from memory, late at night, without an
ipaq at hand to ensure all of the steps and numbers. Other than
params save, however, nothing is permanent, and the steps should be
close.
The use of 0xc0000000 and 0xc0008000 is correct, due to some old
compatibilty code with booting other kernels on other architectures.
Internally, the bootldr applies an offset of 0x8000 at certain steps
in the boot process.
I also have some work in progress code that allows you to bundle up a
kernel and an initrd into a single file, download that and boot the
bundled kernel with the bundled initrd with one command. It works,
but there's a bunch of debug code and its not cleaned up yet. If
you're interested, I could check it in to a cvs branch.
Let me know if you're interested.
regards,
davep
-- Michael> I need the ability to quickly test kernels and have noticed a Michael> "download_kernel" option in the bootldr documentation. I am Michael> using bootldr 2.14.8 and it does not seem to have this Michael> parameter. Is there a stable version of the bootldr that Michael> would allow me to boot kernels without flashing them? Michael> Thanks, Michael Frisbie -- All men are mortal. Socrates was mortal. Therefore, all men are Socrates. -- Woody Allen
This archive was generated by hypermail 2.1.5 : Fri Jan 17 2003 - 17:47:02 EST