Passing kernel arguments - SAMA5D4EK

Sascha Hauer s.hauer at pengutronix.de
Tue Feb 3 11:33:59 PST 2015


On Tue, Feb 03, 2015 at 10:21:45AM -0700, Doug Brainard wrote:
> > Couldn't you add "ubi.mtd=8 ubi.mtd=9" and rootfs_mtdblock_nand=10
> > instead?
> 
> I had thought that barebox had a need to know where the rootfs was
> located, which is why I hadn't tried that.  Turns out that it worked
> perfectly for the ubi.mtd settings.  Thank you!  Any idea how
> "noinitrd" is getting added to the bootargs?  I need to replace that
> with a "rw".

It comes from /env/bin/boot. You can checkout the sourcecode and grep
for it since we do not have any search function in barebox.

> 
> > Note that we started with trying to build a generic default environment
> > which at some point grew into a monster. We now have the 2nd version of
> > the generic default environment which is much better. Unfortunately
> > usage of this new default environment is board specific and your board
> > isn't converted yet. If you are interested I can show you the steps to
> > convert it.
> 
> I would be interested in helping with this conversion.

Thanks. I'll prepare a mail tomorrow.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list