U-Boot on SPI flash - discussion
#21
Greetings all,

It has been some time, but I have finally had some time to experiment with this. I was going to use the Pomona clip method using a separate SBC to program the flash, but @tsys  recommended a different approach, writing to SPI flash using u-boot (on a micro SD card).

I am still a u-boot novice, but I learned enough to create an SD card image containing mainline u-boot and the files to write to SPI flash. I tested two separate processes, flashing SPI manually using the u-boot prompt (serial connection required), and flashing the SPI automatically by creating a boot.scr script containing the same instructions used manually. The latter process also includes extra noise to the console letting the user know what is being done. The power LED is also used to emit codes in case serial connection is not possible. Erasing the images written to SPI can be accomplished using the manual approach (serial connection required).

I will document this within the next couple days in the "Pinebook Pro Tutorials" thread.

Keep in mind all I have done is flash u-boot to SPI and interacted with u-boot via serial connection. Next I am going to experiment to see if I can boot to grub efi.


Possibly Related Threads…
Thread Author Replies Views Last Post
  uboot wont boot to SD card after upgrade jbradley419 7 545 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 215 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 1,943 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 540 12-13-2023, 08:17 PM
Last Post: trillobite
  Various freezes during boot & while running several Linux distros - hardware error? donuts 1 489 11-22-2023, 11:47 AM
Last Post: fxc
  Cannot boot to Kali SD card after uboot upgrade jbradley419 4 1,025 09-19-2023, 08:48 AM
Last Post: dachalife
  Does latest Tow-Boot install/work correctly for everyone? tophneal 4 1,611 08-03-2023, 03:30 PM
Last Post: tophneal
  Boot into NVME drive, no wifi, sound, buttons... PaulQ 0 737 07-13-2023, 01:50 PM
Last Post: PaulQ
  New Pinebook pro won’t boot Generaltuxenburg 4 1,783 06-14-2023, 07:20 AM
Last Post: KC9UDX
Tongue Yet another Pinebook Pro won't boot thread pinemouth 4 2,233 05-20-2023, 01:02 AM
Last Post: jackwilson

Forum Jump:


Users browsing this thread: 1 Guest(s)