Firstly let me say how much I like your kernel build system. After instalation it works first time which is very pleasing as many build systems do not. I really like the partial builds. I am not a build root fan unfortunately and so I have modified the build.sh to inlcude a an alpine rootfs wich doesnt need any on the fly editing of the configurationand is a command line option. I have also compiled the alpine rootfs following your docker example. I have Alpine for SD and Flash and EMMC. But I cant fix the problem that the rootfs is full and it cant be resized in EMMC or on the SD card. For the flash version there is some room left for minor development. But not enough and the SD card wont mount. So I am currently working with Ubuntu from your standard dowloadable image and I have moved onto the the other things I need for my project which is kernel module development support, because I need to do alot of kernel side I2C work. This is giving me a headache and I cant find anything on the forum except to see other people have problems as well.
For some reason your english example on the WIKI does not seem compatible with the kernel build. i ought to run out of the box !!! I have talored the make file and it looks the same as other examples from other people. However, I also worry that kernel headers from the build system might not be compatible with the Ubuntu image. Can you please confirm if they are? Otherwise I am wasting my time in tryim to het ths to work.
Also I would sugest adding a KO module example to the build.sh as an option. This would be a great way to ship a ko demonstration project that would be guranteed to work and the output can also be placed directly in the "apps" section which would make it independant of the different rootfs options.
If you have a simple ko module example that is guaanteed to work with the standard build envirnemnt out of the box I would love to have it. ??
Many thanks anyway for a great build system that can only get better.
Nick
Kernel modules for RV1106 pico max
-
Nick
Hello, https://wiki.luckfox.com/Luckfox-Pico/L ... e-on-linux After my testing, there were no issues.
You need to ensure that the SDK has compiled the kernel first, and then modify the KDIR and CROSS_COMPILE in the Makefile according to your SDK location.
You need to ensure that the SDK has compiled the kernel first, and then modify the KDIR and CROSS_COMPILE in the Makefile according to your SDK location.
Hello Crocodile,
many thanks for you confimration nthat it must work. It makes it easer for me to persevere if I know it will definetly work in the end.
I tried again , following the the support wiki article very carefully. Now it works so I am happy. But I made one big chnage. Previosly I had placed my test directory inside the SDK folder. This time I moved it to the parent directory of the SDK like in the WIKI example. I think was casuing the problem because eveything else is the same.
Thanks alot for your help.
I am now going to expand the functionality of this kernel module to do some IO. no doubt I will have some more problems
Nick
many thanks for you confimration nthat it must work. It makes it easer for me to persevere if I know it will definetly work in the end.
I tried again , following the the support wiki article very carefully. Now it works so I am happy. But I made one big chnage. Previosly I had placed my test directory inside the SDK folder. This time I moved it to the parent directory of the SDK like in the WIKI example. I think was casuing the problem because eveything else is the same.
Thanks alot for your help.
I am now going to expand the functionality of this kernel module to do some IO. no doubt I will have some more problems
Nick
Nick