Project

General

Profile

linux-v4.19 kernel

Added by Thomas Catalino 7 months ago

(posted on behalf of a customer)

I currently have a project with to revisit a system based on the MityDSP-L138 platform, mainly to update the system's self-test and calibration procedures.

I've started blowing the dust off our build environment, but are coming up against quite a few issues due to the age of it. For example, the version of buildroot we are using points to stale versions of most of the libraries it needs.

I've seen that there are still commits going into your linux-davinci repository and even an updated linux-v4.19 kernel. I've given this a very quick try with a modern buildroot, but not getting very far (no kernel output).

Could I ask what environment (e.g. gcc, u-boot, kernel and buildroot) you'd currently recommend I start from?


Replies (7)

RE: linux-v4.19 kernel - Added by Jonathan Cormier 7 months ago

Thomas Catalino wrote:

(posted on behalf of a customer)

I currently have a project with to revisit a system based on the MityDSP-L138 platform, mainly to update the system's self-test and calibration procedures.

I've started blowing the dust off our build environment, but are coming up against quite a few issues due to the age of it. For example, the version of buildroot we are using points to stale versions of most of the libraries it needs.

I've seen that there are still commits going into your linux-davinci repository and even an updated linux-v4.19 kernel. I've given this a very quick try with a modern buildroot, but not getting very far (no kernel output).

What kernel are you moving from? Do you use dsplink/dspbios? The 3.2 kernel is the latest kernel which supports the older dsplink which is why I ask.
Any of the kernels should boot however.

Could I ask what environment (e.g. gcc, u-boot, kernel and buildroot) you'd currently recommend I start from?

For 3.2 and DSPlink, the 2012 toolchain should be used.

The build VM we provide should have the older toolchains needed to build the 3.2 kernel. https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Linux_Build_VM
or they can be downloaded from https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/GCC_Toolchain

For the newer kernels, I believe you want to use the gcc included in the 2017 MDK.

https://support.criticallink.com/redmine/projects/arm9-platforms/wiki/Linux_Kernel#For-MDK-from-or-newer-than-August-2017-Yocto-based

Similarly for u-boot checkout the U-boot wiki page

I do not have a lot of experience with buildroot. We mostly use Yocto.

RE: linux-v4.19 kernel - Added by Jonathan Cormier 7 months ago

I've seen that there are still commits going into your linux-davinci repository and even an updated linux-v4.19 kernel. I've given this a very quick try with a modern buildroot, but not getting very far (no kernel output).

I'd recommend building u-boot and the kernel separate from buildroot. Ensure they are working then go back to trying to build them within buildroot.

RE: linux-v4.19 kernel - Added by Richard Miller-Smith 7 months ago

Thanks Jonathan,

We were indeed using a v3.2 kernel built with the 2012 tools. However, I'll try using the newer MDK and research Yocto a bit more (it's rather passed me by so far).

I'll let you know how I get on.

RE: linux-v4.19 kernel - Added by Jonathan Cormier 7 months ago

Richard Miller-Smith wrote in RE: linux-v4.19 kernel:

Thanks Jonathan,

We were indeed using a v3.2 kernel built with the 2012 tools. However, I'll try using the newer MDK and research Yocto a bit more (it's rather passed me by so far).

I'll let you know how I get on.

I assume your not using the DSP/dspbios then?

RE: linux-v4.19 kernel - Added by Richard Miller-Smith 7 months ago

Indeed, I should have said, I don't need it for this project.

RE: linux-v4.19 kernel - Added by Jonathan Cormier 7 months ago

Okay looks like we didn't document our yocto build for the L138. I'll see if I can capture the steps if your interested.

The files section contains a sdcard image and filesystem for the 2018.04 release.
https://support.criticallink.com/redmine/projects/arm9-platforms/files

RE: linux-v4.19 kernel - Added by Richard Miller-Smith 7 months ago

Thanks, any hints would be much appreciated.

    (1-7/7)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)