bananapi-zero-ubuntu-base-minimal icon indicating copy to clipboard operation
bananapi-zero-ubuntu-base-minimal copied to clipboard

Sources for Kernel 5.7.6

Open BilyakA opened this issue 3 years ago • 2 comments

I am trying to add lima to release v3.7 (Kernel 5.7.6) to make both OV5640 and lima work.

Just wondering: what kernel sources have you used to build that image? I can see only 5.6.y in your repositories that is currently at version 5.6.0-rc7.

Was that vanilla kernel with this config?

BilyakA avatar Aug 31 '20 14:08 BilyakA

Use this setting and the DTB. If I remember correctly, I had to change the kernel configuration (that configuration) to make the CPU Temp work in 5.7. in the OV5640, the problem was the PD14, which should be enabled first, maybe it could be done on u-boot . I have no experience with lima, but if you follow the route to build the kernel, I suggest you go with 5.9-rc3, most of the patches are already there, you only have to deal with the config and transplant the OV5640 node. i've lost some of the work with a "rm -rf *" , so i will move on to 5.9 when time permits. 5.9 seems to become LTS.

avafinger avatar Aug 31 '20 15:08 avafinger

@avafinger well sorry to hear about rm -rf *

Ok thanks for the pointers.

I've seen you have modified some dts (this and this) to make the main one. Seems that major differences are only about CPU temp and frequencies. And CSI of course.

Right now I am trying to compile vanilla 5.9-rc3 with your dts (that seems to be more complete) and your settings.

BilyakA avatar Aug 31 '20 15:08 BilyakA