Quentin,

Thank you for the tip. YES, this was exactly the problem. Here is the
fix for kernel 6.9.1 .
https://github.com/ZoranStojsavljevic/meta-bbb/blob/scarthgap/recipes-kernel/linux/linux-stable_6.9.bb

>> ...so it should be ti/am335x-boneblack.dtb I believe.

KERNEL_DEVICETREE ?= " \
    ti/omap/am335x-boneblack.dtb \
    ti/omap/am335x-boneblack-wireless.dtb \
    ti/omap/am335x-boneblue.dtb \
    ti/omap/am335x-bonegreen.dtb \
    ti/omap/am335x-bonegreen-wireless.dtb \
    ti/omap/am335x-pocketbeagle.dtb \
"
The explanation is this one!
[scarthgap phase 2 transition: kernel 6.1.45 -> kernel 6.9.1]
transition from nanbield kernel 6.1.% (6.1.45) to scarthgap kernel
6.9.% (6.9.1) with adding fix for the KERNEL_DEVICETREE: requires the
vendor prefix with newer kernels (using u-boot-v2024.01 changed a bit
u-boot [PATCH] Customize config and boot command)

I miss this one for the kernel improvement... Old dog am I!
_______

There will be a phase 3. But on advanced (> 6.9.1 kernel). With very
different kernel_...bb and different hierarchy patch files... But this
is The attempted Future, or what else?

Time Will Tell!
_______

Thank you, Quentin,
Zoran
_______

On Thu, May 23, 2024 at 1:51 PM Quentin Schulz <foss+yo...@0leil.net> wrote:
>
> Hi Zoran,
>
> On May 23, 2024 10:21:27 AM GMT+02:00, Zoran <zoran.stojsavlje...@gmail.com> 
> wrote:
> >Hello Yocto Folks.
> >
> >Still interesting problems with my experimental bbb-yocto repo on
> >branch  scarthgap.
> >
> >Let me remind you all what the issues were:
> >https://lists.yoctoproject.org/g/yocto/message/63118
> >
> >Everything works after some temp fixes I made (with sticks and ropes),
> >but with the latest kernel 6.1.45 I used, as a scarthgap Stage 1.
> >
> >Now, I replaced kernel 6.1.45 with kernel 6.9.0 (Stage 2),
> >
> >I needed to rebase some patches, since they do NOT work for kernel 6.9.0 .
> >
> >And here very interesting things started to happen. Namely, kernel
> >6.9.0 failed compiling in the last phase.
> >
> >The bbb-yocto_kernel-6.9.0.log file is attached.
> >
> >Here is the issue (from bbb-yocto_kernel-6.9.0..log file):
> >
> >|   SYNC    include/config/auto.conf
> >|   GEN     Makefile
> >| make[2]: *** No rule to make target
> >'arch/arm/boot/dts/am335x-boneblack.dtb'.  Stop.
> >
> >The file am335x-boneblack.dtb for kernel 6.9.0 is rebased in
> >arch/arm/boot/dts/ti/omap/am335x-boneblack.dtb from
> >arch/arm/boot/dts/am335x-boneblack.dtb .
> >
> >And this net pointer reflects the correct position of it (rebased 
> >0002-patch):
> >https://github.com/ZoranStojsavljevic/meta-bbb/blob/scarthgap/recipes-kernel/linux/linux-stable-6.9/0002-dts-Remove-bbb-cape-i2c-definitions.patch
> >
> >And this is the kernel recipe:
> >https://github.com/ZoranStojsavljevic/meta-bbb/blob/scarthgap/recipes-kernel/linux/linux-stable_6.9.bb
> >
> >from:
> >https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6
> >
> >I recompiled the whole thing from scratch. Introducing again
> >.../poky/build and rebuilding from beginning with bitbake -k
> >core-image-minimal
> >
> >Still: | make[2]: *** No rule to make target
> >'arch/arm/boot/dts/am335x-boneblack.dtb'.  Stop.
> >
> >Where does this path come from? No idea!
> >
> >Should be: arch/arm/boot/dts/ti/omap/am335x-boneblack.dtb (as in 6.9.0) !?
> >
>
> KERNEL_DEVICETREE needs the vendor prefix with newer kernels for Aarch32 
> machines (it's always been the case for Aarch64), so it should be 
> ti/am335x-boneblack.dtb I believe.
>
> Let us know how this works,
> Cheers,
> Quentin
>
> >Thank you,
> >Zee
> >_______
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63188): https://lists.yoctoproject.org/g/yocto/message/63188
Mute This Topic: https://lists.yoctoproject.org/mt/106259481/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to