U-Boot with direct NVMe boot support for eMMC/SPI Flash
#72
(07-07-2020, 08:47 AM)mamboman777 Wrote:
(07-07-2020, 08:42 AM)tophneal Wrote:
(07-07-2020, 08:35 AM)mamboman777 Wrote: Thanks for the encouragement.  Making a backup now.  

Just to be clear, you are saying I should follow instructions from this, right?  https://github.com/pcm720/u-boot-build-scripts

No, his earlier, rockchip-based uboot has this command for writing to SPI:
Code:
sudo dd if=spiflash.bin of=/dev/mtd0
Looking at the build script of the most recent (your link,) that spiflash.bin will be in your build folder.
Ok.  Still seeking clarification as I'd really like this to work the first time.  1. Download and extract from https://github.com/pcm720/u-boot-build-scripts
2. Run build.sh
3. then run "sudo dd if=spiflash.bin of=/dev/mtd0

If this is already documented someplace, I apologize, but could you please point me in the right direction.  

Thanks!

First of all, to build the U-Boot on x32/x64 PC, you'll need to install aarch64-linux-gnu-gcc cross-compiler.
Then, clone the repository with "git clone --recursive", this will also clone ATF and U-Boot repositories as submodules.
After that, just build the U-Boot with build.sh and write spiflash.bin to /dev/mtd0 via dd.
  Reply


Messages In This Thread
RE: U-Boot with direct NVMe boot support for eMMC/SPI Flash - by pcm720 - 07-07-2020, 08:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Tongue Yet another Pinebook Pro won't boot thread pinemouth 5 3,812 12-27-2024, 11:38 AM
Last Post: akash3995
  broken tow-boot hashkeeper 1 303 12-25-2024, 10:12 PM
Last Post: jessipinkman
  Cant boot into an OS trashtendenz 3 911 10-23-2024, 03:49 AM
Last Post: chaylengordon
  3 days in, slow/stuck or no boot. lgmpbp2 30 5,733 09-05-2024, 08:49 AM
Last Post: lgmpbp2
  Unable to boot? YossiS 4 666 09-04-2024, 10:35 AM
Last Post: wdt
  upgrading u-boot--what version? where to get it? bsammon 11 3,769 05-22-2024, 09:33 AM
Last Post: wdt
  uboot wont boot to SD card after upgrade jbradley419 7 2,830 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 733 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 4,348 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 1,742 12-13-2023, 08:17 PM
Last Post: trillobite

Forum Jump:


Users browsing this thread: 3 Guest(s)