Closed Knaldgas closed 5 years ago
There are a couple of things to try, and I'll be updating the guide accordingly tonight or tomorrow. Here's a preview:
1) In /boot/uEnv.txt:
Ensure that the line uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo
is commented out thus: #uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo
Next, uncomment the line #uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
so that it reads uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
.
Reboot. Then, type lsmod | grep pru
Hopefully, you'll see:
uio_pruss 16384 0
uio 20480 2 uio_pruss,uio_pdrv_genirq
2) There seems to be an issue with the onboard eMMC, perhaps because people are trying to burn too large an image onto it (although the image you create by STRICTLY following the guide should fit). Nevertheless, for now, you can force the BBBlue always to boot from the SD card, but we're going to do this by intentionally corrupting the boot sector of the eMMC.
BACK UP ANY IMPORTANT DATA ON THE eMMC BEFORE DOING THIS
sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=10
Hope these steps solve your problem.
-- Imf
Thanks! - Step 1 was exactly the issue - ardurover now starts. It still writes:
scan:688: scan past end of eeprom
scan:688: scan past end of eeprom
but it starts :)
Can we safely ignore those two complaints? We're running without SDCard - Is that ok?
~Per
Yes, that's all normal. You can run with or without the SD Card. The important thing NOT to do is:
/opt/scripts/tools/grow_partition.sh
).cmdline=init=/g'
in /boot/uEnv.txt.If there's too much data, this appears to cause a problem. I don't have the time or inclination right now to find out exactly why...
:)
Until now I have always flashed the eMMC directly from the downloaded image, and then started updating directly on the eMMC, so we are fine - Thanks! :-)
for me it has been 1) and 2), had to add entry in /etc/modules to load uio_pruss and erase flash.
Hi @imfatant Thanks for providing this guide, it's exactly what we need. I have BeagleBone Blue, flashed it with the image linked on the guide. I have updated the kernel:
Besides some complaining about locale and falling back to "C", all seems good.
I have compiled and installed ardupilot as described (build on the board, took a few hours :)). Running every command in /usr/bin/ardupilot/aphw works fine. Running ardurover (as root) fails with:
Running any other, e.g. arduplane (as root) fails with:
dmesg returns the following after each attempt:
Right now the service is disabled, and I'm running the commands manually. I've not yet started on Part 3 (peripherals), as the service didn't want to start.
I've read through the other issues, and searched google, but haven't found a solution yet.
I've been through the guide a couple of times, and I can't see what I've missed. Any hints?
~Per