I have a Navio2 and RPi 3B+. I have assembled the pi and hat combination as per the documentation, and have proceeded with updating with sudo apt-get update && sudo apt-get dist-upgrade. This has all worked fine.
I have now proceeded to use emlidtool. The tests provided in this piece of software are failing, and I am not sure why (I’m new to RPi/Navio hardware/software). The attached images shows the test results and my hardware setup.
Hi @george.staroselskiy, I am also having the same issues as @James_Duffy, so I thought that I’d just make a reply to this already created conversation rather than making a new one. I have literally the exact same setup that James has shown in the images above. I’m also using a Raspberry Pi 3 Model B+. And I get the same results that James has shown in the last image above when I run those three commands that you told James to run.
One thing I noticed after trying some things is that emlidtool seems to be expecting a directory in /sys/kernel named rcio. However, I checked /sys/kernel and it seems that the rcio directory does not exist. Because of this, when I do sudo emlidtool rcio update or sudo emlidtool rcio restart, I get errors.
In addition, I notice that when I cd into /lib/modules, I see 3 different directories:
4.14.39+
4.14.39-v7+
4.9.45-94f47ec-emlid-v7+
I’m assuming that 4.14.39-v7+ is the directory containing the modules that the system is actually using, since when I do uname -a I see Linux navio 4.14.39-v7+ #1112 SMP Sat May 5 12:01:33 BST 2018 armv71 GNU/Linux. Anyway, I notice that there do not seem to be any mention of rcio anything in the 4.14.39-v7+ directory. However, I notice that in the 4.9.45-94f47ec-emlid-v7+ directory there is a directory named updates, and in this updates directory are rcio_core.ko and rcio_spi.ko.
Furthermore, I notice that in /usr/share are directories named rcio-dkms and rcio-firmware. In rcio-dkms there is a file named postinst and in rcio-firmware there is a file named burn.gdb.
Does any of the above information give a hint about the problem, @george.staroselskiy?
Hey, I’m not sure if you’re still having problems with your emlidtool tests failing, but I think I figured out how to fix the issue.
So one thing I noticed was that the kernel seemed to be version 4.14.39-v7+, which appeared to have been released on May 5 of this year (as mentioned in my post above). Because of this, I guessed that the emlid guys must have accidentally updated the Raspbian image with half-finished work, so I looked for a way to “downgrade” the kernel to what seemed to be a working version.
So try this:
Type in sudo apt-get install --reinstall linux-image-4.9.45-94f47ec-emlid-v7+
Wait a bit… you’ll get a message asking if you want to stop the install. Select NO when you get this message.
Do a sudo reboot
When the system starts up again, run the emlid tests again. Hopefully, you should have all tests passing.
By the way, do NOT update rcio because it seems that updating rcio makes the pwm test in emlidtool fail.
Edit: Oh wait, I just noticed that Internet no longer works after doing all the steps I mentioned above… I think I’m missing something, because I at one point got everything to work including Internet, but now that isn’t the case.
Well, here’s the thing… both James and I are working with the new Raspberry Pi 3 Model B+. The most recent flash of the Emlid Raspbian only seems to work for the regular Raspberry Pi 3. That is why we both had to do the upgrade to the most recent Raspbian through rpi-upgrade, which, as I mentioned in one of my previous posts above, put my Raspbian at Linux navio 4.14.39-v7+ #1112 SMP Sat May 5 12:01:33 BST 2018 armv71 GNU/Linux when I check uname -a. That is the reason why I did the reinstall of the kernel to the 4.9 emlid version that was available through apt-get.
However, as was mentioned above, this kills our Internet. And when I say Internet, I mean both wifi and ethernet.
And reflashing the image from scratch would just put us both back in the situation where we are unable to use it on the Raspberry Pi 3 Model B+.
Unfortunately, at this point, I have not yet fixed the lack of Internet issue.
I tried reverted back to before I did the reinstall downgrade to the 4.9 Emlid kernel, which was the point in which I had Internet. Then I tried to figure out an alternative to reinstalling the 4.9 kernel. I tried to find a way to compile the rcio-dkms stuff from Emlid GitHub repo at GitHub - emlid/rcio-dkms, but I could not find a way to compile the rcio-dkms stuff, as I kept getting errors about “No rule to make modules” or something like that.
Sorry for the delay, guys. We’re going to release the image with Model B+ support later this week. It’ll have ethernet support as well as internal Wi-Fi.