Hello Stelian
i tried your image and it seems to work as shipped.
Because i have a strange jlx12864 display, i need to change the commands in the ugfx.cpp file and build again with pypilot.build.
When i do this, the web controll interface doesn't work. I looked at ~/pypilot/web folder and the file web.py seems corrupted to me.
Hi kagouraki,
I don't see any web.py corruption here...
I too have some strange issues when building using pypilot.build:
First of all you need to wait a few minutes after the boot so all the needed development packages (gcc etc) get installed.
Then, from the pypilot directory, run "sudo python3 dependencies.py", some extra python packages will be installed through pip, I think some of them may be required for the build.
Then run "sudo sh pypilot.build", which will build and install the tcz package.
However, for some strange reason I haven't investigated yet, it seems that you need to build TWO times: the first package which is built is not ok (if you look closely, at the end of the build, where the size of the package is shown, you will notice the new build is a few kilobytes smaller than the previous). This is the sign that the build is incorrect. Issuing the pypilot.build a second time will build a correct package.
I really need to look closer into this !
Yes. i looked it again. The web.py file is corrupted look at the picture. They have different sizes.
Also as long as i checked, the filesize of the package is the same when i run the pypilot.build for a second or a third time. It doesnt change when i build again.
Hi Stelian,
I went back to my ship after a huge storm (gusts with 11 Bft) yesterday evening, so I finally got my dmesg log. Sorry for the delay!!!
Kind regards,
Hans
[
attachment=1720]
Hi hans-martijn,
Thanks for the dmesg log. Is this with the faulty USB cable attached ?
Because I see some USB related errors in the logs:
Code:
[ 4.375481] usb 1-1: device descriptor read/64, error -71
[ 4.495543] Indeed it is in host mode hprt0 = 00021501
[ 4.705452] usb 1-1: new full-speed USB device number 3 using dwc_otg
[ 4.705847] Indeed it is in host mode hprt0 = 00021501
[ 4.935450] usb 1-1: device descriptor read/64, error -71
It also seems a kernel module crashed?
Yes, it is caused by a missing kernel module in initrd (sha256_generic.ko). I tried reporting this to tinycore but their forum is down again
Anyway, the crash doesn't effect the wifi functionalty, and it can be worked around by extracting the missing module from
http://tinycorelinux.net/13.x/armv7/rele...les.tar.xz and insmod'ing it before loading wireless.tcz
(2022-01-09, 02:29 AM)kagouraki Wrote: [ -> ]Hello Stelian
i tried your image and it seems to work as shipped.
Because i have a strange jlx12864 display, i need to change the commands in the ugfx.cpp file and build again with pypilot.build.
When i do this, the web controll interface doesn't work. I looked at ~/pypilot/web folder and the file web.py seems corrupted to me.
Out of curiosity, how is your jlx12864 strange that it requires a rebuild? I could incorporate your changes somehow, at least to make it easier for you in the future maybe?
Sean,
My raspberry pi zero 2 that I thought was burned is not.
I managed to install the beta image and everything works GPS, jlx12864 screen, windsensor Yachta by lan, but not able to detect imu. I have tried 2 imu9250, and 2 ICM 20948, none of them are detected.
Which imu are you using?