Re: [PATCH 1/2] ubi: mount partitions specified in device tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 19.06.2016 um 00:54 schrieb Hauke Mehrtens:
> On 06/18/2016 09:46 PM, Richard Weinberger wrote:
>> Am 18.06.2016 um 21:35 schrieb Hauke Mehrtens:
>>> There are some devices on the market that are storing the root file
>>> system in an ubi layer.
>>> To make this work there are currently two options.
>>> 1. patch the kernel to specify which partitions to open in the code.
>>> 2. provide some kernel command line parameter which specifies what to open.
>>>
>>> I would like to specify this in device tree.
>>
>> What is wrong with command line parameters? If there is some parameter
>> the UBI module misses I'll happily add it.
>> You can also put your kernel command line into device tree.
> 
> I would like to configure this in device tree. When I install a third
> party firmware on a router normally the kernel command line is taken
> from the boot loader and the device tree is appended to the kernel.

Let me get this straight, your use case is booting Linux in an environment
where you can't control the bootloader?
You can still set the command line by building it into the kernel.
And, as noted before, via device tree.

Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux