BBB - kernel 5.13

Hi, we have custom kernel image 5.10 and work fine.

When I use 5.13, it built just fine no errors, but the dtb file is larger few kb, and kernel panic. Anyone has similar issue below:

image

Hi @caccac268 can you please share you full serial boot log, hopefuly ‘quiet’ is disabled so we can see what’s going on…

Edit, 5.13.19-bone25 boots fine here…

5.13.19-bone25.txt (30.2 KB)

Running uname_boot ...
loading /boot/vmlinuz-5.13.19-bone25 ...
9490944 bytes read in 601 ms (15.1 MiB/s)
debug: [enable_uboot_overlays=1] ...
debug: [enable_uboot_cape_universal=1] ...
debug: [uboot_base_dtb_univ=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot-univ.dtb ...
loading /boot/dtbs/5.13.19-bone25/am335x-boneblack-uboot-univ.dtb ...
200524 bytes read in 19 ms (10.1 MiB/s)
Found 0 extension board(s).
uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /boot/dtbs/5.13.19-bone25/overlays/BB-ADC-00A0.dtbo ...
645 bytes read in 8 ms (78.1 KiB/s)
uboot_overlays: loading /boot/dtbs/5.13.19-bone25/overlays/BB-BONE-eMMC1-01-00A0.dtbo ...
1519 bytes read in 8 ms (184.6 KiB/s)
uboot_overlays: loading /boot/dtbs/5.13.19-bone25/overlays/BB-HDMI-TDA998x-00A0.dtbo ...
4671 bytes read in 8 ms (569.3 KiB/s)
loading /boot/initrd.img-5.13.19-bone25 ...
8148440 bytes read in 523 ms (14.9 MiB/s)
debug: [console=ttyS0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100] ...
debug: [bootz 0x82000000 0x88080000:7c55d8 88000000] ...
Kernel image @ 0x82000000 [ 0x000000 - 0x90d200 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8f83a000, end 8ffff5d8 ... OK
   Loading Device Tree to 8f7a5000, end 8f839fff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0

Regards,

Hi Robert,
Sorry for delay.

Yes, we were able to get BBB working fine on 5.13.

The reason was, in 5.10 we used “extlinux.conf” but 5.13 changed to uEnv.txt as default.

We updated them and work fine.

Thank you so much