[PATCH] arc: Removed local initramfs source file from axs101 configuration.

Alexey Brodkin Alexey.Brodkin at synopsys.com
Sun Jan 10 23:59:47 PST 2016


Hi Vineet,

On Mon, 2016-01-11 at 07:47 +0000, Vineet Gupta wrote:
> On Saturday 09 January 2016 05:55 AM, Carlos Palminha wrote:
> > Hi Alexey,
> > 
> > Probably my e-mail comments before the patch mislead you...
> > If you download the kernel source and try to compile it, it won't work because of the INITRAMFS pointing to a non
> > -existing directory. (check log below)
> > 
> > That's why that option should be removed from the standard kernel.
> 
> Since the axs101 DT cmdline lacks any reference to root device - how does this
> unmodified kernel boot anyways w/o changing DT. Does uboot provide the cmdline for
> rootfs ?

Indeed if initramfs is not built-in vmlinux/uImage then kernel command-line
must be adjusted to point to real root device.

This could be done in 2 ways:

 [1] Manually modify "bootargs" value in arch/arc/boot/dts/axs10{1|3}.dts
 [2] In case of U-Boot it's possible to load device tree blob together with uImage
     and in that case U-Boot's "bootargs" env variable will override the one in .dtb

-Alexey


More information about the linux-snps-arc mailing list