PINE64
[Solved] SD Card strange boot behaviour - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: [Solved] SD Card strange boot behaviour (/showthread.php?tid=10485)



[Solved] SD Card strange boot behaviour - benderni - 06-29-2020

I have a pinebook pro running the Manjaro KDE default install everything is working fine. I'm very pleased with the device. I had ordered an additional eMMC of 128GB to replace the 64GB eMMC with. So I installed an other OS, Manjaro I3 SD card image, on a micro SD card I owned (samsung micro sd hc card of 32 GB read and write speeds not known..) and I am experiencing some weird boot issues.

Here are the scenario's:
- If I shutdown the pinebook pro insert the SD Card and power it on, I get the orange light, turning green, but the device won't boot from the SD-card.
- If I boot from the eMMC, insert the SD Card, mount the boot partition of the SD-card and restart the device, it boots without any issues from the SD-card.

Now if I want to replace the eMMC with the 128GB one I am not able to boot from the SD-card as it won't boot from a 'cold' start.

Might this be an issue with the SD-card being to slow? or is this some other problem? I've done the above two scenario's many times over and over again and it always succeeds when first booting up from eMMC, inserting the SD Card, mounting the boot partition of the SD-card and reboot.


RE: SD Card strange boot behaviour - carlosqueso - 06-29-2020

(06-29-2020, 02:55 AM)benderni Wrote: I have a pinebook pro running the Manjaro KDE default install everything is working fine. I'm very pleased with the device. I had ordered an additional eMMC of 128GB to replace the 64GB eMMC with. So I installed an other OS, Manjaro I3 SD card image, on a micro SD card I owned (samsung micro sd hc card of 32 GB read and write speeds not known..) and I am experiencing some weird boot issues.

Here are the scenario's:
- If I shutdown the pinebook pro insert the SD Card and power it on, I get the orange light, turning green, but the device won't boot from the SD-card.
- If I boot from the eMMC, insert the SD Card, mount the boot partition of the SD-card and restart the device, it boots without any issues from the SD-card.

Now if I want to replace the eMMC with the 128GB one I am not able to boot from the SD-card as it won't boot from a 'cold' start.

Might this be an issue with the SD-card being to slow? or is this some other problem? I've done the above two scenario's many times over and over again and it always succeeds when first booting up from eMMC, inserting the SD Card, mounting the boot partition of the SD-card and reboot.
Try mounting your SD card boot partition, and editing the extlinux/extlinux.conf file for the SD card to add two dots before each slash as in this post: https://forum.manjaro.org/t/arm-stable-update-2020-04-02-kde-plasma-5-18-4-xorg-server-1-20-8-plasma-mobile-uboots-and-kernels/133266/2 

I
 know it's not supposed to be required on a fresh image, but it solved it for me when I was in your exact scenario.


RE: SD Card strange boot behaviour - benderni - 06-29-2020

(06-29-2020, 09:21 AM)carlosqueso Wrote:
(06-29-2020, 02:55 AM)benderni Wrote: I have a pinebook pro running the Manjaro KDE default install everything is working fine. I'm very pleased with the device. I had ordered an additional eMMC of 128GB to replace the 64GB eMMC with. So I installed an other OS, Manjaro I3 SD card image, on a micro SD card I owned (samsung micro sd hc card of 32 GB read and write speeds not known..) and I am experiencing some weird boot issues.

Here are the scenario's:
- If I shutdown the pinebook pro insert the SD Card and power it on, I get the orange light, turning green, but the device won't boot from the SD-card.
- If I boot from the eMMC, insert the SD Card, mount the boot partition of the SD-card and restart the device, it boots without any issues from the SD-card.

Now if I want to replace the eMMC with the 128GB one I am not able to boot from the SD-card as it won't boot from a 'cold' start.

Might this be an issue with the SD-card being to slow? or is this some other problem? I've done the above two scenario's many times over and over again and it always succeeds when first booting up from eMMC, inserting the SD Card, mounting the boot partition of the SD-card and reboot.
Try mounting your SD card boot partition, and editing the extlinux/extlinux.conf file for the SD card to add two dots before each slash as in this post: https://forum.manjaro.org/t/arm-stable-update-2020-04-02-kde-plasma-5-18-4-xorg-server-1-20-8-plasma-mobile-uboots-and-kernels/133266/2 

I
 know it's not supposed to be required on a fresh image, but it solved it for me when I was in your exact scenario.

Thanks for the info, the extlinux/extlinux.conf file already contained the two dots before each slash. I tried /boot/ also instead of the two dots. But that didn't work either. So I'm still stuck on the cold boot issue from my SD card. I also updated the /boot/extlinux/extlinux.conf to contain the two dots. But that didn't help to boot from the SD card either.

Any other suggestions?


RE: SD Card strange boot behaviour - carlosqueso - 06-29-2020

I got nothin'. That worked for me, so hopefully someone smarter than I will have a solution for you.


RE: SD Card strange boot behaviour - benderni - 06-30-2020

(06-29-2020, 05:31 PM)carlosqueso Wrote: I got nothin'.  That worked for me, so hopefully someone smarter than I will have a solution for you.

The solution you mentioned did work, upgraded to 128GB eMMC and was able to install via emmc installer image on the sdcard

A big thank you for pointing me in the right direction!