Page 1 of 1

ubuntu 22.04 flash-kernel errors , unsupported platform: LuckyFox Pico Plus

Posted: 2024-09-09 8:10
by benix
Hi all,

Just bought a Pico Plus and burnt ubuntu image with a MicroSD. It's working OK. However, I couldn't figure out how to install kernel modules (e.g. tun.ko). When I performed "apt install linux-modules-5.15.0-100-generic" and it resulted in "flash-kernel errors, unsupported platform:
LuckyFox Pico Plus"

Could someone please help.

Thanks & regards,

Ben

Re: ubuntu 22.04 flash-kernel errors , unsupported platform: LuckyFox Pico Plus

Posted: 2024-09-11 2:37
by Crocodile
Hello, you need to install the kernel module directly and use the insmod command, not all platforms support the apt package of linux-modules
The kernel module needs to be compiled, you can run ./build.sh kernelconfig in the root path of the Luckfox Pico SDK, select the module to save and exit, and then execute

Code: Select all

./build.sh kernel
./build.sh driver
./build.sh firmware
After re-burning the image, the corresponding KO file will be placed in “/oem/usr/ko”

Re: ubuntu 22.04 flash-kernel errors , unsupported platform: LuckyFox Pico Plus

Posted: 2024-09-15 3:05
by benix
Crocodile wrote: 2024-09-11 2:37 Hello, you need to install the kernel module directly and use the insmod command, not all platforms support the apt package of linux-modules
The kernel module needs to be compiled, you can run ./build.sh kernelconfig in the root path of the Luckfox Pico SDK, select the module to save and exit, and then execute

Code: Select all

./build.sh kernel
./build.sh driver
./build.sh firmware
After re-burning the image, the corresponding KO file will be placed in “/oem/usr/ko”
It works! Thank you so much!