This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about exec the linux 2.4.19-rmk7-pxa3


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]