Page 1 of 1

Building Ubuntu for Pico_Ultra problem

Posted: 2024-09-05 19:44
by njk_manse
I am trying to compile an Ubuntu image for my Pico_Ultra (NO WIFI).
I have had some luck with the buildroot, but Ubuntu keeps failing.

> sudo ./build.sh lunch
[5] RV1106_Luckfox_Pico_Ultra
[0] EMMC
[1] Ubuntu(Support for the apt package management tool)

> sudo ./build.sh
[snip]
make: Leaving directory '/<MYDIR>/luckfox-pico/sysdrv'
[build.sh:info] Running build_tool succeeded.
[build.sh:info] Running build_env succeeded.
[build.sh:info] ============Start building meta============
[build.sh:info] Running build_meta succeeded.
Not found /<MYDIR>/luckfox-pico/.repo/manifest.xml [ignore] !!!
cp: cannot stat '/<MYDIR>/luckfox-pico/project/app/wifi_app/wpa_supplicant.conf': No such file or directory
[build.sh:error] Running __PACKAGE_ROOTFS failed!
[build.sh:error] exit code 1 from line 1245:
[build.sh:info] cp $WIFI_CONF $RK_PROJECT_PACKAGE_ROOTFS_DIR/etc

Not sure why its trying to get WPA stuff. I have done a sudo build.sh clean but it keeps failing the same way.
Any thoughts?

I am running on Ubuntu 22.04.4

Re: Building Ubuntu for Pico_Ultra problem

Posted: 2024-09-06 1:18
by Crocodile
Hello, you can try creating an empty file at <luckfox-pico>/project/app/wifi_app/wpa_supplicant.conf to bypass the error. The wpa_supplicant.conf is a configuration file for Wi-Fi, but it has no impact on the Luckfox Pico Ultra.

Re: Building Ubuntu for Pico_Ultra problem

Posted: 2024-09-07 12:22
by njk_manse
That seemed to do the trick.
Thank you!