| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | HOWTO load and run the kernel image using redboot? |
| From: | srinivas naga vutukuri <srinivas.vutukuri@gmail.com> |
| Date: | Thu, 3 Mar 2005 16:07:22 +0530 |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=sZxwz3zFfe9CWtjKdwvAbX4IB1X9pUrstvq9+J15l6lgApidQ/Z/ZiyhmbfZb8QXH29s9BUtld60uv0gJyl1uNyfDDOt3nD6sZ1yKNUHyTEuClbAtBGr4oJNWFaCpK0mRRN6FxDjEMG817Xv3sZLe69PXvETB3zr6TMWx4fm1A4= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Reply-to: | srinivas naga vutukuri <srinivas.vutukuri@gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
Hi,
I have compiled the mips kernel image, and got vmlinux. And
how can load image into the ram run using redboot, my board is running
with the redboot.
I followed the steps, after i got the vmlinux
1. mips-linux-objcopy -O binary -g vmlinux vmlinux.bin
2. gzip vmlinux.bin
3. mips-linux-objdump -f vmlinux | grep start
shows the entry point, which is say ENTRY
4. mips-linux-nm vmlinux | grep _ftext
which is say MEMADDR.
5. Load the image into memory
At a RedBoot prompt, type:
load -r -b %{FREEMEMLO} vmlinux.bin.gz
6. Copy the compressed image from memory to flash
fis create -e ENTRY -r MEMADDR vmlinux.bin.gz
and once i do go/exec, garbage is showing at the Redboot> prompt...
Can help the way of loading the kernel image using redboot and boot it.
Best Regards,
srinivas.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | iptable_nat oops, Josh Green |
|---|---|
| Next by Date: | Re: cross-compile toolchain for linux-mips64?, Ralf Baechle |
| Previous by Thread: | iptable_nat oops, Josh Green |
| Next by Thread: | Re: cross-compile toolchain for linux-mips64?, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |