Closed buldo closed 1 year ago
I don't understand what's the point of this post.
As I understand machine configuration files will require dfferent KERNEL_DEVICETREE
for kernels >=6.5.5.
I wrote this issue to highlight potential future problem and discuss it
@nandra yes.
What to do with this changes? For example, if someone wants to add new kernel to meta-sunxi, how to made machine configs that will works with old and new kernels?
Well it's about sanitizing paths for 32 bit CPU's. 64bit CPU already use that scheme for dtb so we can copy some bits from 64 bit for new kernels. I'll look into it and post PR. Thanks.
@buldo Check out this fix that I implemented for 64bit that could be useful for 32bit.
A conditional based on Kernel version & target arch to prepend "allwinner/" to KERNEL_DEVICE_TREE
in linux-mainline.inc can patch. This will avoid to modify the machine files and make them work with new and old mainline kernel.
@ludiazv @buldo I've prepared PR for 6.5 kernel handling. Compile tested only. Please comment: https://github.com/linux-sunxi/meta-sunxi/pull/395
@nandra I tested it on Pi Lite 1G. core-image-full-cmdline successfuly loads
Merged changes to master + set nanbield release compatible.
Hello.
This is not real issue right now but I want to highlight it.
I tried to add recipe for 6.5.5 kernel. But in this kernel version( as I understand) dts patches was changed. I got error like "***.dtb target not found".