On Tue, Apr 16, 2024 at 9:50 AM Bruce Ashfield via
lists.yoctoproject.org
<[email protected]> wrote:
>
> Your issue is something different.
>
> The linux-yocto branches are generated from the kernel-cache, so you'll 
> always see a patch in the kernel-cache and in the linux-yocto kernel branches.

Ah ok.  I had a sneaking suspicion that perhaps this was the case but
it wasn't obvious to me even after five read-throughs of the
documentation :)

>
> What you are seeing likely stems from your BSP definition. How have to 
> defined it for your board ?

This is where my confusion lies.  I defined my BSP as follows, trying
to follow the 'beaglebone' examples from the documentation.
I don't want to include ktypes/preempt-rt because it enables a bunch
of *_DEBUG kernel configuration options as well as other stuff that I
find bloat-y.

---
define KMACHINE rk3588-firefly-itx
define KTYPE preempt-rt
define KARCH arm64

include ktypes/tiny
branch firefly-preempt-rt

kconf non-hardware firefly-preempt-rt.cfg

include remove-non-rockchip-arch-arm64.ssc
---

Then in my machine .conf I add this line (without this I'm not sure
how to tell yocto to use the bsp definition I created):
KERNEL_FEATURES += " bsp/rockchip/firefly-preempt-rt.scc"

>
> The tools know that with a proper BSP definition that they don't need to 
> re-apply patches, since they are already in the trees and only the kernel 
> type configuration will be used.
>
> In this case, everything in the standard kernel and preempt-rt kernel are 
> already on the v6.6/standard/preempt-rt/base branch, so they'll be skipped. 
> Only your BSP patches and configuration will be added.
>
> But that functionality needs a proper BSP definition to work.
>
> If you find the section "recipe space BSPs" in the project documentation, it 
> has more details.
>
> Bruce
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13827): 
https://lists.yoctoproject.org/g/linux-yocto/message/13827
Mute This Topic: https://lists.yoctoproject.org/mt/105548012/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to