Re: passing arguments from bootloader to kernel
- From: "Bruce Eitman \(eMVP\)" <beitman.nospam@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 22 Nov 2005 08:21:55 -0500
That would be totally up to you and your BSP. I am not sure that I follow
everything that you wrote, but if the bootloader writes to a BOOT_ARGS
struct at 0xA00FFC00 and the kernel reads from a BOOT_ARGS struct at
0xA00FF0C00 then it should work. Just make sure that both addresses point
to the same physical address.
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"Ulrich Eckhardt" <eckhardt@xxxxxxxxxxxxxx> wrote in message
news:lf9b53-7d2.ln1@xxxxxxxxxxxxxxxxxxxxxxxxx
> Hi!
>
> I'm currently porting a BSP from PB4.2 to PB5. The board I'm developing
> for
> is derived from the AMP DBAU1100 boards. I currently have the problem that
> I can't pass things like the MAC and IP addresses from EBOOT to the
> kernel.
>
> I have traced EBOOT to the point where it jumps into the image and there
> is
> no place where it writes any arguments to the RAM. I know there is a
> struct
> BOOT_ARGS at address 0xA00FFC00 (used by the bootloader and identifiable
> by
> its signature) which is also where EBOOT reads some of the configuration
> data from, but this is not where and what the kernel expects.
>
> The kernel (in ..SRC\KERNEL\OAL\args.c) expects a struct BSP_ARGS
> somewhere.
> My main questions are:
> - What has changed between 4.2 and 5 that this ceased to work?
> - Is it in fact something that changed in PB (I read that EBOOT barely
> changed since PB3) or is it some adaptions that must have taken place in
> our 4.2 version (which unfortunately was not written in house...) which
> have to be repeated for the PB5 port?
> - What would be the best way to tackle this problem, should I (as good as
> possible) copy the BOOT_ARGS struct to a BSP_ARGS struct? Should I replace
> the implementation of OALArgsQuery with one that looks at the BOOT_ARGS
> struct?
>
> thanks for any suggestions
>
> Uli
>
>
.
- Follow-Ups:
- Re: passing arguments from bootloader to kernel
- From: Ulrich Eckhardt
- Re: passing arguments from bootloader to kernel
- References:
- passing arguments from bootloader to kernel
- From: Ulrich Eckhardt
- passing arguments from bootloader to kernel
- Prev by Date: Re: Reboot a CEPC
- Next by Date: Re: GPIO Sampling at 1 ms
- Previous by thread: passing arguments from bootloader to kernel
- Next by thread: Re: passing arguments from bootloader to kernel
- Index(es):
Relevant Pages
|