I suspect that this has not actually been tried out/tested .... anyone from Avnet have any thoughts/comments?
My guess no one has gotten to test this. Was this built by you or just an image somewhere?
3 of 3 people found this helpful
Built from source as per directions on both RPi and on Ubuntu Linux - neither work
Then built from latest RPi version and that doesnt work either.
Suspect there are some differences in the Avnet HW that need changes to this code
I am going to suggest for debugging, to consider te cross compiler on a more powerful machine. https://github.com/Avnet/smartedge-iiot-gateway/blob/master/README
Once done, install QEMU for processing the ARM instructions to investigate further. Seems like the documentation indicates that is how the code was built initially.
2 of 2 people found this helpful
Sorry to hear you are facing issues with the SmartEdhe Gateway image, recently we have updated the page with the tested final image, plz give it a try. Thanks
Here is the direct image link:
1 of 1 people found this helpful
The instructions for making the rpiboot utility at the SmartEdge github site (https://github.com/Avnet/smartedge-iiot-gateway-custom/tree/master/rpiboot) have been corrected to use our special boot files.
Please try the updated instructions, repeated below, to properly mount the Gateway as mass storage.
git clone https://github.com/Avnet/smartedge-iiot-gateway-custom.git
sudo apt-get install libusb-1.0-0-dev
sudo ./rpiboot -s -d avnet/
Has anyone had success following the User Guide instructions for downloading a new image onto the device.
Specifically, I followed the directions here:
rpiboot builds fine
Then, as per the User Guide I connect a microUSB-USB cable to the microUSB on the top of the gateway PCB and to the Linux PC, and then run rpiboot.
The terminal reports:
Waiting for BCM2835/6/7
Successful read 4 bytes
Waiting for BCM2835/6/7
Second stage boot server
File read: start.elf
Second stage boot server done
All looks good - the second boot should have loaded the default msd directory (adding -d msd makes no difference) but the mass storage device never appears.
The gateway should now show the emmc /boot and /rootfs as USB storage devices but it does not.
Has anyone got this to work?
An alternative would be if the second stage bootloader could then use the USB ports as boot file systems (ie install an image onto a USB stick and boot from it) but I do believe this functionality is supported.