PINE64
Bionic image boot from SD - 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: Bionic image boot from SD (/showthread.php?tid=8800)



Bionic image boot from SD - mamboman777 - 01-16-2020

I flashed Bionic onto the eMMC and now SD boot is no longer working.  I think the uboot is the issue, but I do not know how to go about fixing it.  Ideas?


RE: Bionic image boot from SD - pete - 01-16-2020

(01-16-2020, 02:45 AM)mamboman777 Wrote: I flashed Bionic onto the eMMC and now SD boot is no longer working.  I think the uboot is the issue, but I do not know how to go about fixing it.  Ideas?

Hey assuming you're folowing this guide: https://forum.pine64.org/showthread.php?tid=8119

Sounds like you needed step 6..



6. Now you have Ubuntu installed on eMMC and you can also boot from SD card, but only the same operating system. If we need also to boot other operating systems, we need to apply uboot fix. So download all the files from here https://github.com/mrfixit2001/updates_r...filesystem and run the mrfixit_update.sh script while running from eMMC. From now on you should be able to boot also other OS from SD like before.

----

Download those files and run the script and then it starts working.e


RE: Bionic image boot from SD - mamboman777 - 01-16-2020

(01-16-2020, 06:34 AM)pete Wrote:
(01-16-2020, 02:45 AM)mamboman777 Wrote: I flashed Bionic onto the eMMC and now SD boot is no longer working.  I think the uboot is the issue, but I do not know how to go about fixing it.  Ideas?

Hey assuming you're folowing this guide: https://forum.pine64.org/showthread.php?tid=8119

Sounds like you needed step 6..



6. Now you have Ubuntu installed on eMMC and you can also boot from SD card, but only the same operating system. If we need also to boot other operating systems, we need to apply uboot fix. So download all the files from here https://github.com/mrfixit2001/updates_r...filesystem and run the mrfixit_update.sh script while running from eMMC. From now on you should be able to boot also other OS from SD like before.

----

Download those files and run the script and then it starts working.e

I did try that, but not from the director /usr/bin  I remember reading somewhere that I need to run it from /usr/bin, so I'll give that a shot and let you know.

Ok....I must be doing something wrong with the mr fixit update. I had the same result. any other ideas to try?


RE: Bionic image boot from SD - tophneal - 01-16-2020

You shouldn't have to run that script from any particular location. You only need to download it to your drive, along with the 3 u-boot .img files in that repo folder, to the same folder. Then, go to that folder in terminal/tty, and run the script.


RE: Bionic image boot from SD - mamboman777 - 01-16-2020

It looks like the script is running. I'm getting:
Identified /dev/mmcblk1 as device to flash uboot to...
upgrading idbloader.img...
upgrading uboot.img...
upgrading trust.img...

That being said for some reason it looks like I have 5 partitions before the boot partition on my eMMC. Maybe I should try deleting those partitions?

I'm afraid to brick it since I can't boot from the SD. I've got an eMMC -> USB adapter in the mail. If I completely remove the eMMC would the SD boot function again?


RE: Bionic image boot from SD - tophneal - 01-16-2020

Does it go back to normal prompt after "upgrading trust.img..."? If so, you should now be able to reboot into an SD. I had similar issues/confusion when I first used a modified version of that script to run on Chromium. It wouldn't indicate it finished with success, but it did.


RE: Bionic image boot from SD - mamboman777 - 01-16-2020

I do not know what I did differently this time, but it seems to have worked! Thanks for your help! :-)


RE: Bionic image boot from SD - tophneal - 01-16-2020

Awesome! Now go boot those SDs! ;P


RE: Bionic image boot from SD - mamboman777 - 01-16-2020

(01-16-2020, 08:25 AM)tophneal Wrote: Awesome! Now go boot those SDs! ;P

Now I'm waiting on my Intel 660p NVMe to arrive.  When it comes in I'll be trying to put /root/ on the NVME, but it's good to know that I now have a back up plan if things do not go as planned.  :-)


RE: Bionic image boot from SD - pete - 01-17-2020

Nice Wink Glad it's working again!