* [ECOS]Question about exec the linux 2.4.19-rmk7-pxa3
[not found] <014a01c379e6$af39b6e0$d8496fa6@PredNotebook>
@ 2003-09-13 11:03 ` Pred
2003-09-13 13:54 ` Mark Salter
2003-09-13 11:13 ` Gary Thomas
1 sibling, 1 reply; 3+ messages in thread
From: Pred @ 2003-09-13 11:03 UTC (permalink / raw)
To: ecos-discuss
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.
Best regards,
Pred
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS]Question about exec the linux 2.4.19-rmk7-pxa3
[not found] <014a01c379e6$af39b6e0$d8496fa6@PredNotebook>
2003-09-13 11:03 ` [ECOS]Question about exec the linux 2.4.19-rmk7-pxa3 Pred
@ 2003-09-13 11:13 ` Gary Thomas
1 sibling, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2003-09-13 11:13 UTC (permalink / raw)
To: Pred; +Cc: eCos Discussion
On Sat, 2003-09-13 at 05:03, Pred wrote:
> 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.
>
This is a Linux kernel issue - you must configure it to pay attention to
the data passed to it by RedBoot.
Be sure and adjust linux/arch/arm/boot/Makefile to match your setup:
PARAMS_PHYS = 0xc0000100
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS]Question about exec the linux 2.4.19-rmk7-pxa3
2003-09-13 11:03 ` [ECOS]Question about exec the linux 2.4.19-rmk7-pxa3 Pred
@ 2003-09-13 13:54 ` Mark Salter
0 siblings, 0 replies; 3+ messages in thread
From: Mark Salter @ 2003-09-13 13:54 UTC (permalink / raw)
To: pred; +Cc: ecos-discuss
>>>>> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-09-13 13:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <014a01c379e6$af39b6e0$d8496fa6@PredNotebook>
2003-09-13 11:03 ` [ECOS]Question about exec the linux 2.4.19-rmk7-pxa3 Pred
2003-09-13 13:54 ` Mark Salter
2003-09-13 11:13 ` Gary Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).