From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] configs/orangepi_r1_defconfig: bump kernel to 5.10.10, u-boot to 2020.10
Date: Mon, 25 Jan 2021 14:00:26 +0100 [thread overview]
Message-ID: <87bldd6uj9.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20210124224504.GM2325@scaer> (Yann E. MORIN's message of "Sun, 24 Jan 2021 23:45:04 +0100")
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> Peter, All,
> On 2021-01-24 22:42 +0100, Peter Korsgaard spake thusly:
>> The probing order of the two mmc controllers (sdcard and sdio wifi) has
>> changed in kernel 5.10 since commit 21b2cec61c04bd1 (mmc: Set
>> PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4), so change to
>> root=PARTUUID=.. instead of hardcoding /dev/mmcblkXp2.
>>
>> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
>> ---
>> board/orangepi/orangepi-r1/boot.cmd | 2 +-
>> board/orangepi/orangepi-r1/genimage.cfg | 2 ++
>> configs/orangepi_r1_defconfig | 7 ++++---
>> 3 files changed, 7 insertions(+), 4 deletions(-)
>>
>> diff --git a/board/orangepi/orangepi-r1/boot.cmd b/board/orangepi/orangepi-r1/boot.cmd
>> index e927b01e82..2e3a4bb679 100644
>> --- a/board/orangepi/orangepi-r1/boot.cmd
>> +++ b/board/orangepi/orangepi-r1/boot.cmd
>> @@ -1,6 +1,6 @@
>> setenv fdt_high ffffffff
>>
>> -setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
>> +setenv bootargs console=ttyS0,115200 earlyprintk root=PARTUUID=deadbeef-02 rootwait
> I found deadbeef to be too depressive... I switched it to a better
> suited magic: feedc0de (after all, the rootfs will feed code to run).
Fine my me. Thinking about it a bit more, a nicer solution would be to
move to GPT partitions and use root=PARTLABEL=rootfs instead of this
somewhat obscure disk signature. I'll send a patch.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2021-01-25 13:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-24 21:42 [Buildroot] [PATCH] configs/orangepi_r1_defconfig: bump kernel to 5.10.10, u-boot to 2020.10 Peter Korsgaard
2021-01-24 22:45 ` Yann E. MORIN
2021-01-25 13:00 ` Peter Korsgaard [this message]
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=87bldd6uj9.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/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