check clloader service is running with systemctl. I don't have a board to hand but that's what will run your sketch at startup. Check dmesg as well.
Yeah, clloader is running:
clloader.service loaded active running Daemon to handle arduino sketches
HOWEVER, when I checked dmesg (is that the startup scripts?) I found this:
[ 8.469112] clloader: segfault at 1 ip 4e5b29a6 sp bfeec180 error 4 in libc-2.20.so[4e56e000+160000]
Oy! What do I do with this one?
That's bad doc - my guess is your sketch causes a segfault. Check you've selected edison and not galileo for your platform and maybe try another sample?
Try running your sketch manually with ./sketch /dev/ttyMFD2 /dev/ttyMFD2 ?
As arfoll pointed out(thanks!), that worked for me.
I suppose clloader waits for some kind of input from the usb host mode.
If OTG device is plugged in works, however this is dodgy as well.
So just unplug the USB (arduino connector) and reboot again.
I used blinky as well.
Try again with the USB on the Arduino connector unplugged before the reboot.
What this issue resolved? I am also having exactly same issue with WW25.5 Edison Image
- Hardware : Intel Edison Arduino Board
- Software : WW25.5 Image
- coloader segfault ... error in libc-2.20.so
- I have to download sketch every time to make it run , it runs only if USB OTG is connected
I am also having the same exact problem... anyone know how to fix?