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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PBP won't boot (no amber or green LED) ian-s-mcb 46 7,402 04-15-2021, 09:58 AM
Last Post: SnowyMountainWeb
Question erase spi flash aiminick 1 82 04-07-2021, 06:50 AM
Last Post: tophneal
  PIneBook Pro - Boot from SD mcdomx 12 8,844 03-29-2021, 01:13 AM
Last Post: 5825bc9762
  Novice question: Pinebook Pro does boot (does it?) but black screen Gert V. 21 2,993 01-27-2021, 10:48 PM
Last Post: rimaille
  [split] U-Boot with NVMe support, keyboard & display working as400 83 29,366 01-27-2021, 12:48 AM
Last Post: as400
  Sudden Pinebook Pro boot problems ndp 3 713 01-21-2021, 09:51 AM
Last Post: ndp
  How to determine which U-boot I am using edandjeanmcknight@gmail.com 0 310 01-15-2021, 08:25 AM
Last Post: edandjeanmcknight@gmail.com
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 115 81,202 01-04-2021, 09:57 AM
Last Post: wdt
  Booting to sdcard stopped working after emmc flash techiedog 3 882 12-31-2020, 06:30 PM
Last Post: Anarethos
  Flash non-bootable eMMC? midnightcheese 2 481 12-24-2020, 08:01 AM
Last Post: midnightcheese

Forum Jump:


Users browsing this thread: 1 Guest(s)