From: "Alexander Shiyan" <shc_work@mail.ru>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] ARM: dts: CCMX51: Increase kernel partition size
Date: Mon, 02 Nov 2020 10:19:29 +0300 [thread overview]
Message-ID: <1604301569.41739838@f281.i.mail.ru> (raw)
In-Reply-To: <20201030200251.g26ph4m4pisyz4t4@pengutronix.de>
>Пятница, 30 октября 2020, 23:02 +03:00 от Uwe Kleine-König <u.kleine-koenig@pengutronix.de>:
>
>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@mail.ru >
>> ---
>> 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2020-11-02 7:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-30 7:31 Alexander Shiyan
2020-10-30 20:02 ` Uwe Kleine-König
2020-11-02 7:19 ` Alexander Shiyan [this message]
2020-11-02 8:54 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1604301569.41739838@f281.i.mail.ru \
--to=shc_work@mail.ru \
--cc=barebox@lists.infradead.org \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox