sudo lc_distro_transfer libre-computer/aml-s805x-ac /dev/mmcblk0 lc-ubuntu-18.04-xfc
I thought I was on the right path, because if I run the command sudo lc_distro_transfer libre-computer/aml-s805x-ac /dev/mmcblk0 it displays "Transferable Distro List", and I chose "lc-ubuntu-18.04-xfce". The process completes with a statement "DEVICE /dev/mmcblk0 READY!", but when I reboot without the USB stick the device just reboots to the point of scanning for USB devices, and then reboots again and again.
So I tried to figure out what could be wrong? At first I thought there was a jumper or something that needed to be shorted to switch boot mode from USB to eMMC. I found that my problem was by USB keyboard dongle. As long as that is plugged into the USB port CLOSEST TO THE GPIO PINS, the device is actively looking for a BOOTABLE USB drive in the other USB port. As soon as I moved the keyboard dongle to the USB PORT FARTHEST FROM THE GPIO PINS (with nothing in the nearest USB port), everything booted from eMMC normally.
I'm very happy that I figured this out, but it's odd how the USB ports work. It's also odd that I can't find any documentation on this SBC that explains how to do this. I hope this helps others.
Should we erase the content of the eMMC first?
If you hold in `ESC` while booting, it loads into `u-boot`. I was digging around in there and couldn't quite figure out how to boot directly to usb from there. Tried a few different things like `usbboot usb 0:1` loading from device USB0, part 1 but that didn't work. I ended up kind of cheating the system by opening up the grub cli and doing `set root=hd0,gpt2` like it says in the correct grub command to load the newer image and then exiting out of the CLI. I knew that worked because I went into the `advanced boot...` portion of the grub menu after that and it had the newer 4.57+ at the top portion. That successfully booted from the USB.
I just flashed a USB with the newer version of the Debian headless w/mali and it seems to boot from it at first but then goes straight to the emmc. I originally flashed the emmc with the beta version a few days ago. I know it's loading from the emmc because it's using the password that I changed it to on the emmc. I just reflashed the USB again and it's doing the same thing. I tried to boot without the emmc in and the USB boots fine. Is there a way to reformat the emmc? (erase the emmc completely like I got it new)
Can someone please explain to me why one USB stick will try to show up and another won't? I can't get either of the USB sticks I have to work. I've burned the Ubuntu Mali headless .img to both, using two different downloaded images, one to a Ubuntu 14.04 box (dd) and the other a Windows 10 pc (Win32 Disk Imager). One USB stick just doesn't show up at all, and the other causes the Frite to go into grub rescue mode. Super frustrated!! Any help would be appreciated, so at least I might know which USB stick I can buy and will work. Thanks!!