Burned Ubuntu sd card OS image snapshot to my usb ssd nvm2 e ev0 970 250 gb external drive.
Burned VIM3.u-boot.sd.bin to sd card (sudo dd if=VIM3.u-boot.sd.bin of=/dev/sde conv=fsync,notrunc bs=442 count=1).
Inserted sd card to Vim3
Attached ssd usb external drive to Vim3.
Restarted Vim3 and it simply reboots to the Android desktop, I was expecting it to boot into Ubuntu OS off of the usb ssd.
Still having issues, to be honest, something as simple as trying to boot off an external usb ssd device for Vim3 is like trying to have a dream with Freddy Krueger in it. It’s a complete nightmare. Not happy at all having to revisit this issue over and over again. Other SBC’s seem to have a knack for making adding external storage as boot devices much more simple and clear in the documentation and actual steps, and . . . it just works.
Very disappointed in the quality of Khadas software, very disappointed. From March to July 26 and Khadas still can’t support simple boot off of external usb devices?
Have you tested this yourself or did you assume that it works?
If you’re talking about mainline uboot, then hyphop did inform that to boot from mainline uboot you will have to get rid of other uboot in emmc which in your case is android uboot.
Erase emmc and then try to boot from sd card with. Mainline uboot.
I hope this will help you with your query.
Good luck.
Trying to erase emmc, it looks like emmc Android has more lives than a cat.
I’ve followed the instructions:
Since I don’t have a serial tool, I have to use these instructions:
Keys Mode(U-Boot is functional)
All ROMs we have released support eMMC erasure. Please follow the steps below to erase the data on the eMMC:
*All peripherals disconnected. Except usb wireless keyboard, mouse and hdmi cable.
Power on VIM.
Long press Power and Function buttons simultaneously, without releasing them. (I never release)
Short press the ‘Reset’ key and release. (my fingers still on power and function buttons)
After the operations above, the system will begin to erase automatically; it will take about 10 seconds to finish. (my fingers still on power and function buttons)
Your connected display/monitor will display a black screen when the erasure process is complete. (This part not true or accurate in my case. After following the above instructions, instead I see the following below:
Something is not adding up here, either I’m missing a step or the documentation is missing an additional step, because it is not corresponding with anything that I’m seeing at the moment for erasing (I’m assuming permanently removing Android from emmc, by definition of the word “erase”) emmc.
write mainline uboot to emmc (start krescue and write only mainline uboot images)
reboot and enjoy
PS: ssd must works as USB (uboot still not support nvme for amlogic ) + choose right usb socket - usb3 not usb 2
PSS: be sure u have enough power from power supply
@biohumans there is nothing complicated here, unlike RPi which has unofficial USB boot, here it is more than just supported, it has a optimized working USB boot capability…
we just need the bootloader on the eMMC so that it can be recognized as the storage medium to be booted from
(consider this as a BIOS of sorts…)
@Hyphop has given you these simple instructions to follow,
If I am correct, You can also add the mainline uboot to the SPI flash…
but I think the eMMC method is easier,
Also as hyphop also said, ensure that you provide proper power to the SSD, the max of 5w that the USB3.0 provides may not be enough, you can use a USB power injector to give the peripheral the required power…