Re: [PATCH] ARM: dts: CCMX51: Increase kernel partition size

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

 



>Пятница, 30 октября 2020, 23:02 +03:00 от Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>:
>
>On Fri, Oct 30, 2020 at 10:31:57AM +0300, Alexander Shiyan wrote:
>A few words about the motivation here would be great. Is 0x340000 to
>small for a current kernel? Is this following some upstream change? Why
>not install the kernel in the rootfs and get rid of the kernel
>partition?

Hello.

The current size of the kernel partition is sufficient to place i.MX51-dependent code only,
but if the kernel was compiled with support for other boards / drivers, the space is too small.
Installing the kernel in rootfs might be a good idea, but that means that rootfs is a UBIFS,
and resulting ubifs image will be NAND type dependent. In order to use the same rootfs on
different systems, I prefer to use the squashfs root filesystem on top of the UBI volume.

Let's just drop this patch.

>> Signed-off-by: Alexander Shiyan < shc_work@xxxxxxx >
>> ---
>> arch/arm/dts/imx51-ccxmx51.dts | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/arch/arm/dts/imx51-ccxmx51.dts b/arch/arm/dts/imx51-ccxmx51.dts
>> index efe5dbf63..4aa32e4c8 100644
>> --- a/arch/arm/dts/imx51-ccxmx51.dts
>> +++ b/arch/arm/dts/imx51-ccxmx51.dts
>> @@ -31,11 +31,11 @@
>>
>> partition@c0000 {
>> label = "kernel";
>> -reg = <0xc0000 0x340000>;
>> +reg = <0xc0000 0x400000>;
>> };
>>
>> -partition@400000 {
>> +partition@4c0000 {
>> label = "root";
>> -reg = <0x400000 0>;
>> +reg = <0x4c0000 0>;
>> };
>> };
>> --
>> 2.26.2

---
_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux