Passing parameters from u-boot to kernel in 2.6.18

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Wednesday, March 26, 2008 - 6:57 pm

Hi All,

I am passing the bd_info structure from u-boot to bd_t (bd info)
structure of the kernel.

And within my platform_init, I am have the below line which assigns
the u-boot parameter to the bd structure.
Will this be enough ..

memcpy(&bd, (bd_t *)r3, sizeof(bd));

Reason is, I am not seeing the same values that I am passing from the
u-boot. Hence the question.

Is there any kernel hacking that I need to set or any thing that I may
need to be aware of?

Appreciate your help.

Thanks,
Sreen
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Passing parameters from u-boot to kernel in 2.6.18, Sreen Tallam, (Wed Mar 26, 6:57 pm)