[Arm-netbook] CONFIG_CMDLINE, override uboot parameters

Piyush Verma piyush.pv at gmail.com
Wed Feb 20 02:32:27 GMT 2013


While booting we can stop at uboot prompt.

there we can see all environment variable with printenv.
we can change it by setenv. don't forget to save it by saveenv after
changing environment variable.

bootargs is the environment variable where we can pass all rootfs details.

Does it solve ur issue ?

On Wed, Feb 20, 2013 at 4:01 AM, Peter Steenbergen <p.steenbergen at j1nx.nl>wrote:

> I am running into an issue with my Amlogic XBMC development. Before I go
> out searching the dark secrets of the linux kernel, I thought why not ask
> you guys first.
>
> There is this patch;
>
> http://lists.infradead.org/pipermail/linux-arm-kernel/2011-April/047506.html
> Which is used often. It adds the CONFIG_CMDLINE_EXTEND to the possible
> CMDLINE options. It is designed to prepend the cmdline parameters in case
> there are missing values. The passed parameters by uboot are then appended
> to the ones from CONFIG_CMDLINE.
>
> This all works fine if you indeed are missing parameters, but what if i
> want to overwrite/override an already by uboot passed parameter? (like
> root= and rootfstype=)
>
> I don't want to FORCE everything, because I then have to take over the
> complete line as passed by uboot. If I do that I will loose the parameters
> set by variables within uboot (MAC)
>
> If I set them in CMDLINE, then the ones passed from uboot are appended and
> overriding the ones from CMDLINE.
>
> I also do not want to change uboot as that is still kind of tricky on the
> Amlogic boxes.
>
> Do anyone of you guys have some tips and/or directions?
>
> thanks
>
> _______________________________________________
> arm-netbook mailing list arm-netbook at lists.phcomp.co.uk
> http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
> Send large attachments to arm-netbook at files.phcomp.co.uk
>



-- 
Thanks & Regards

Piyush Verma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.phcomp.co.uk/pipermail/arm-netbook/attachments/20130220/394975bc/attachment.html 


More information about the arm-netbook mailing list