This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Question about exec the linux 2.4.19-rmk7-pxa3
- From: Mark Salter <msalter at redhat dot com>
- To: pred at 163 dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Sat, 13 Sep 2003 09:54:10 -0400 (EDT)
- Subject: Re: [ECOS]Question about exec the linux 2.4.19-rmk7-pxa3
- References: <263450823.05736@mails.tsinghua.edu.cn>
>>>>> Pred writes:
> Dear ECOS experts,
> I use the redboot exec command to load the linux 2.4.19-rmk7-pxa3 kernel,
> but it seems i can't pass the kernel command line to it. In the
> configuration tool, I've set the base address of kernel tag to 0x100. I put
> some code in the arch/arm/kernel/setup.c to dump memory from 0xC0000100, and
> find that the memory content is set up as expected. But the kernel just
> igore any thing I passed. Could you give me a hand? Thanks in advance.
You probably need to add:
BOOT_PARAMS(0xa0000100)
to the linux machine description. Using lubbock as an example, it would go
in arch/arm/mach-pxa/lubbock.c between the MACHINE_START and MACHINE_END
macros.
Note that the 0xa0000100 is a physical address.
--Mark
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss