From: Trevor Woerner <twoerner@gmail.com>
To: 刘陶然 <ltrsunny@gmail.com>
Cc: yocto-patches@lists.yoctoproject.org
Subject: Re: Kernel and u-boot version selection in meta-rockchip
Date: Mon, 10 Mar 2025 11:47:25 -0400 [thread overview]
Message-ID: <20250310154725.GA34977@localhost> (raw)
In-Reply-To: <CAGNQujsSc1TpF3ZpmoQKpa0cBeqTdnY3tpKFZh9udwaA0ZQomw@mail.gmail.com>
Hi Taoran,
On Mon 2025-03-10 @ 11:10:31 AM, 刘陶然 wrote:
> Hi Trevor,
> I'm trying to build the scarthgap branch for meta-rockchip and got errors
> in kernel and u-boot.
> I noticed it is because of the receipts in the branch. Just like
> https://git.yoctoproject.org/meta-rockchip/tree/recipes-kernel/linux/linux-torvalds-next_git.bb?h=scarthgap
>
> it's using next-20240904 from linux-torvalds-next
> <https://git.yoctoproject.org/meta-rockchip/tree/recipes-kernel/linux/linux-torvalds-next_git.bb?h=scarthgap>,
> but the branches in this repository are expired very frequently.
>
> For the LTS version like scarthgap, when the version is frozen, it should
> be set to stable(better to be LTS) versions of kernel and u-boot, isn't it?
Yes it should, and it does... when it can.
Yocto scarthgap is based on linux-6.6.y. All of the machines in
meta-rockchip's scarthgap branch use oe-core's linux-yocto_6.6, except the
radxa zero 3 machines and the orangepi-5-plus. The reason for this is because
linux-6.6.y does not support these devices.
oe-core scarthgap also provides a linux-yocto-dev kernel based on linux-6.9.y.
This supports the orangepi-5-plus machine (so this machine uses that kernel in
scarthgap) but linux-6.9.y still does not have support for the radxa zero 3
devices.
Yocto master currently supports linux-6.12.y with linux-yocto and linux-6.14.y
with linux-yocto-dev. linux-6.12.y supports both the radxa zero 3 devices and
the orangepi-5-plus (which reminds me, I should update those machines since
they're still using linux-yocto-dev).
So I assume you're probably using scarthgap to build for a radxa zero 3
device since your comments are only true for that device. During the
time-frame of scarthgap I was eager to be able to build for the radxa zero 3
since I had one and wanted to use it for a project. So I had to pull in what
was (at that time) very experimental code to get it to work.
I could back-port oe-core master's linux-yocto to scarthgap in order to
support the radxa zero 3 in a more stable way. But perhaps a better solution
would be to remove radxa zero 3 support from scarthgap and simply ask that
master be used for this device.
Thoughts?
Best regards,
Trevor
next parent reply other threads:[~2025-03-10 15:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAGNQujsSc1TpF3ZpmoQKpa0cBeqTdnY3tpKFZh9udwaA0ZQomw@mail.gmail.com>
2025-03-10 15:47 ` Trevor Woerner [this message]
2025-03-10 22:07 ` [yocto-patches] Kernel and u-boot version selection in meta-rockchip Khem Raj
2025-03-13 9:33 ` Quentin Schulz
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=20250310154725.GA34977@localhost \
--to=twoerner@gmail.com \
--cc=ltrsunny@gmail.com \
--cc=yocto-patches@lists.yoctoproject.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.