PINE64
Unable to boot from SD or USB - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Unable to boot from SD or USB (/showthread.php?tid=10191)



Unable to boot from SD or USB - aviks - 06-11-2020

I've been trying to change the default debian (mrfixit) installed on the eMMC to a new Manjaro. As part of that process, I've been trying to boot from an SD card, and failing to do so. 

* MrFixit's updater says "There are no updates"
* I've tried writing the image to the SD using dd on linux, and Etcher on windows
* I've tried booting from a USB drive

I've been using the manjaro eMMC installer images from osdn

Whaterver I do, the pinebook pro only boots into the debian on the eMMC.

What can I do to troubleshoot this?

Thanks!


RE: Unable to boot from SD or USB - jiyong - 06-11-2020

Just to be sure, when you are booted into Debian and insert the SD card, can you see the directories on the SD card?


RE: Unable to boot from SD or USB - aviks - 06-11-2020

(06-11-2020, 04:05 AM)jiyong Wrote: Just to be sure, when you are booted into Debian and insert the SD card, can you see the directories on the SD card?

Yes, indeed. I can see the ROOT_MNJRO and BOOT_MNJRO partitions, on both the sdcard and the usb drive. The directories are navigable and files readable in there.


RE: Unable to boot from SD or USB - aviks - 12-26-2020

I've been unable to make any headway on this, so still stuck on the stock debian. Would be nice to figure out why I can't boot from an SD card or USB. Any troubleshooting ideas would be most welcome.


RE: Unable to boot from SD or USB - Arwen - 12-26-2020

@aviks There is no ability to boot a USB flash drive on the Rockchip RK3399 SoC. (Well their is, but it's not usable in the normal sense...)

That said, the boot loader U-Boot CAN have a module that allows booting off a USB flash drive. But, the OS on the flash drive needs to know about the USB drives... So, not just one step. Since their are literally dozens of U-Boot images out their in the wild, it's no certainty which you have loaded. And if it has USB support.


As for the SD Card boot, it's possible you have a bug in the U-Boot loaded. Or, if I remember correctly, the original Debian U-Boot did not give preference to SD Cards over the eMMC. Later updates "fix" this boot device priority. You could try to update the Debian and make sure it updates the U-Boot too.

Another way to deal with this, is to make a bootable SD Card and disable the eMMC via the internal switch.

There are other ways, but it gets complicated pretty fast.


Ideally a newer U-Boot could be installed. One version supports a boot device menu, and then a second menu to select which kernel to boot. I've played with it, and it's quite nice but has it's quirks. So it's "not ready for prime time".


In essence, the Pinebook Pro is still under software development, (by us community members...).


RE: Unable to boot from SD or USB - wdt - 12-26-2020

Maybe you already did this....
For the mrfixit distro, if you login as rock, there is an update icon, lower right, near time
Any other login does not have this
This update (mrfixit_update.sh,, in /usr/bin,, IIRR) update kernel and uboot, actually installs uboot (uniquely)
Later uboots have some capability to usb boot, doesn't always work, try both sockets
Do be aware that a LOT, majority of uSD are crap, at least as a hd for OS, OK for cameras etc


RE: Unable to boot from SD or USB - jiyong - 12-27-2020

Did you try to boot into Debian, insert the SD card and restart?
Sometimes the SD card won't boot from a cold boot.


RE: Unable to boot from SD or USB - KC9UDX - 12-27-2020

^ This.

Sometimes with that Uboot, I have had to reboot a dozen times to get it to boot from SD. I don't know why, and it doesn't make much sense. Sometimes it just wouldn't do it at all, sometimes powering down and rebooting a couple of times would just make it work.


RE: Unable to boot from SD or USB - aviks - 12-31-2020

Thanks for all you responses, folks. That helped me to troublehsoot this, and I can now confirm that I have Manjaro installed on my pinebook.

So it turns out there was something wrong with the SDCard I was using (it was a kingston 8GB SDHC). I got a new Sandisk 128GB SDXC card, and that worked first time. Of course, a bad SD card was not surprising, and I'd thought of that before, but in this case, I could mount and read the card, but it would not boot for some reason. Also to rule out a bad SD card, I was trying to use an USB drive, and I hadn't realised that USB is not in the boot path in the default uboot.