This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: how to run a Linux kernel on the assabet?
- To: "K. Young Park" <pkyoung at palmpalm dot co dot kr>
- Subject: RE: [ECOS] how to run a Linux kernel on the assabet?
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Fri, 23 Feb 2001 08:32:15 -0700 (MST)
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat, Inc.
On 23-Feb-2001 K. Young Park wrote:
> Hi,
> I an running redboot on my SA-1110 based system.
> I want to run a Linux kernel using the redboot.
> Usually Arm Linux kernel is loaded to 0xc0008000 of main RAM (virtual address of 0x8000 in the
> redboot).
> But when I down-load a kernel to the address of 0x8000, the resboot seems to be reset.
> I think that the redboot is using the area. I am using the same memory map with that of assabet.
> So I want to know where to down-load and how to execute a linux kernel in the assabet.
> Thanks in advance.
This is indeed the problem. You need a special command in RedBoot used to
start the Linux kernel. This is installed as 'exec' and the latest version
should show up in anonCVS soon. (If it's not there, contact me and I'll
send it to you separately).
Secondly, you need to apply a few small patches to the Linux kernel.
I am using this version:
ftp://ftp.handhelds.org/pub/linux/compaq/ipaq/v0.20/linux-2.4.0-rmk2-np1-hh1.tar.gz
Once you update your RedBoot and Linux kernel, then you can load and run
like this.
lo /tftpboot/ramdisk_img.gz -r -b 0xC00000
lo /tftpboot/zImage -r -b 0x100000
exec -c "root=/dev/ram" -b 0x100000 -l 0xa0000 -r 0xC0C00000 -s 0x40000 0xc0008000
diffs