This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BEAGLEBOARD-X15: Beaglebone board with Yocto 5.0 rootfs

Part Number: BEAGLEBOARD-X15

Tool/software:

I am trying to upgrade my rootfs for my board beaglebone. I am trying to use Yocto 5.0. It is compiled properly. When I am loading the image on Target. I am getting following error.

[    1.813042] Freeing unused kernel memory: 1024K
/sbin/init: error while loading shared libraries: libc.so.6: cannot stat shared object: Error 38
[    1.858451] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[    1.858451]
 

I have checked the rootfs. /lib/libc.so.6 is there. Not sure why this is giving issue here. I am using linux kernel 4.9.293. Is there anything which I am missing here. 4.1.1 Yocto rootfs was working fine with the beaglebone board. Any idea about this.

  • Hi Mahendra,

    According to the Yocto project's documentation, kernel 4.9.293 is not supported.

    "The OLDEST_KERNEL setting is still “5.15” in this release, meaning that out the box, older kernels are not supported. See 4.3 migration notes for details."

    I'm not sure why this specific error is occurring, but I wouldn't recommend trying to use kernel 4.9.x with Scarthgap. Issue could be due to differences in the cross-compiler tool.

    Best,
    Jared

  • Thanks Jared,

    By ugprading the kernel to 5.4, I am not facing this issue but Kernel is not coming up. It is not able to get the clock. I am getting the following error

    [ 0.162304] gpmc_read_settings_dt: page/burst-length set but not used!
    [ 0.162689] gpmc_read_settings_dt: page/burst-length set but not used!
    [ 0.164422] gpmc_read_settings_dt: page/burst-length set but not used!
    [ 0.167700] syslink_hwres 480ca000.spinbox: pm enabled
    [ 0.172492] syslink_hwres 48042000.timer: failed to set parent
    [ 0.172506] syslink_hwres 48042000.timer: pm enabled
    [ 0.173323] syslink_hwres 48044000.timer: pm enabled
    [ 0.181647] No ATAGs?

    I have created a patch from 4.9.93 and applied to 5.4.181. Removed multiple compilations error and tested it on the ARM target. I am getting the command prompt but SATA drive is not mounting. Above is the first print which I am getting and suspecting the clock issue here.

    Any clue to this.

    Regards,

    Mahendra 

  • Hi Mahendra,

    Can you send me your recipes, layers, etc? I'm not sure what source code you are trying to build from, so I am unable to narrow down what the issue could be.

    Best,
    Jared

  • I have TI DM8164 SOC and running 4.9.93 kernel along with yocto rootfs 4.1. I want to move from 4.1 to 5.0 rootfs. This is the original task.

    Linux kernel 4.9.93 is with RT linux patch and modified to support the SOC component. I have taken the new kernel 5.4 kernel and patched it with the original patch for SOC. This error is coming when 5.4 kernel is coming up. 

    Yocto layers are TI, security, openembedded-oe. Rest it is a standard 5.0 poky. I am using only rootfs and tool chain for compiling kernel and application code.

    Regards,

    Mahendra

  • Hi Mahendra,

    Thank you for the information. Which Beagle Board is this? The BEAGLEBOARD-X15 has an AM57 processor on it.

    In addition to that, is the image pulling in the correct device tree?

    Best,
    Jared