Broken boot loader
#2
(07-27-2022, 11:20 AM)Tango Drango Wrote: I was trying to distro-hop without an eMMC adapter (there's one in the mail but I got impatient) but my SD card wasn't being recognized. Being the clown that I am I thought it was an issue with uboot booting from eMMC before the SD card even though I know this not to be the default boot order. Being an even bigger fool (and in my defense after about an hour of troubleshooting and a long day of work) I decided to break rule 1 of computing and blindly copied a command I found online thinking it would solve my issue.

I then ran the following command in u-boot:  
Code:
setenv bootcmd 'run sdboot' ; saveenv ; reboot

The issue I'm now running into is that the bootloader on my SPI is borked and I don't know what the default bootcmd environment variable is. I know literally nothing about bootloader syntax and can't even read the output of 'help' as it scrolls by too quickly (is there not a 'less' equivalent for the boot loader cli?). 
You could say I'm a bit out of my element!

Is there a way to reset my u-boot and/or does anyone know what the default bootcmd environment variable is?
Alternately, how do I boot using the u-boot cli? My eMMC is still visible using the the mmc command, but I don't know how to access it or boot from it.
Thanks in advance.

Don't have much time to make this pretty but I'm posting my solution here for others who follow need similar help.

I decided I would just start fresh and re-flash my SPI. The references I used were as follows:
https://wiki.pine64.org/index.php/NOOB#E...riting_SPI - also contains link to the requisite img file for SPI flashing
https://wiki.pine64.org/images/4/45/PBPL_S.jpg - I used this and the following link to completely wipe my SPI
https://wiki.pine64.org/wiki/Pinebook_Pr...le_method) - read this one carefully, actually read all of them carefully.

In the end it re-flashed successfully and I can now boot fine.
  Reply


Messages In This Thread
Broken boot loader - by Tango Drango - 07-27-2022, 11:20 AM
RE: Broken boot loader - by Tango Drango - 07-27-2022, 12:22 PM
RE: Broken boot loader - by vatin - 08-12-2022, 07:31 AM
RE: Broken boot loader - by jpalus - 08-12-2022, 02:47 PM
RE: Broken boot loader - by Tango Drango - 08-15-2022, 11:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad What to can't boot from TF card, EMMC system broken - any advice?do guys? qingss0 1 172 12-18-2025, 01:05 AM
Last Post: qingss0
  Bonk to boot biketool 2 784 10-21-2025, 09:08 AM
Last Post: biketool
  3 days in, slow/stuck or no boot. lgmpbp2 34 21,475 06-11-2025, 08:53 AM
Last Post: lgmpbp2
  upgrading u-boot--what version? where to get it? bsammon 14 13,728 04-03-2025, 07:47 AM
Last Post: Tazdevl
Tongue Yet another Pinebook Pro won't boot thread pinemouth 5 10,222 12-27-2024, 11:38 AM
Last Post: akash3995
  broken tow-boot hashkeeper 1 3,355 12-25-2024, 10:12 PM
Last Post: jessipinkman
  Cant boot into an OS trashtendenz 3 4,457 10-23-2024, 03:49 AM
Last Post: chaylengordon
  Unable to boot? YossiS 4 2,939 09-04-2024, 10:35 AM
Last Post: wdt
  uboot wont boot to SD card after upgrade jbradley419 7 6,780 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 2,159 01-16-2024, 09:17 AM
Last Post: jbradley419

Forum Jump:


Users browsing this thread: 1 Guest(s)