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.


Messages In This Thread
U-Boot on SPI flash - discussion - by Arwen - 11-29-2019, 04:18 PM
RE: U-Boot on SPI flash - discussion - by Arwen - 11-29-2019, 07:45 PM
RE: U-Boot on SPI flash - discussion - by zaius - 11-30-2019, 04:07 PM
RE: U-Boot on SPI flash - discussion - by Arwen - 11-30-2019, 04:25 PM
RE: U-Boot on SPI flash - discussion - by zaius - 12-01-2019, 11:21 AM
RE: U-Boot on SPI flash - discussion - by Arwen - 12-01-2019, 11:51 AM
RE: U-Boot on SPI flash - discussion - by zaius - 12-02-2019, 06:26 AM
RE: U-Boot on SPI flash - discussion - by Arwen - 12-02-2019, 10:34 AM
RE: U-Boot on SPI flash - discussion - by xalius - 12-02-2019, 11:09 AM
RE: U-Boot on SPI flash - discussion - by zaius - 12-02-2019, 02:01 PM
RE: U-Boot on SPI flash - discussion - by xalius - 12-02-2019, 02:17 PM
RE: U-Boot on SPI flash - discussion - by pcm720 - 12-02-2019, 10:12 PM
RE: U-Boot on SPI flash - discussion - by Wizzard - 12-03-2019, 12:48 AM
RE: U-Boot on SPI flash - discussion - by Arwen - 12-03-2019, 06:11 AM
RE: U-Boot on SPI flash - discussion - by pcm720 - 12-03-2019, 06:18 AM
RE: U-Boot on SPI flash - discussion - by Wizzard - 12-03-2019, 06:25 AM
RE: U-Boot on SPI flash - discussion - by hmuller - 01-06-2020, 08:53 PM
RE: U-Boot on SPI flash - discussion - by hmuller - 09-16-2020, 08:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cant boot into an OS trashtendenz 3 672 10-23-2024, 03:49 AM
Last Post: chaylengordon
  3 days in, slow/stuck or no boot. lgmpbp2 30 3,728 09-05-2024, 08:49 AM
Last Post: lgmpbp2
  Unable to boot? YossiS 4 389 09-04-2024, 10:35 AM
Last Post: wdt
  upgrading u-boot--what version? where to get it? bsammon 11 2,614 05-22-2024, 09:33 AM
Last Post: wdt
  uboot wont boot to SD card after upgrade jbradley419 7 2,283 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 630 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 3,724 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 1,470 12-13-2023, 08:17 PM
Last Post: trillobite
  Various freezes during boot & while running several Linux distros - hardware error? donuts 1 1,046 11-22-2023, 11:47 AM
Last Post: fxc
  Cannot boot to Kali SD card after uboot upgrade jbradley419 4 1,939 09-19-2023, 08:48 AM
Last Post: dachalife

Forum Jump:


Users browsing this thread: 2 Guest(s)