U-Boot with direct NVMe boot support for eMMC/SPI Flash
#73
(07-07-2020, 08:57 AM)pcm720 Wrote:
(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.
It's going to be a while, based off of the speed it looks like dejadup is running.  I've also got to make sure I have a working SD manjaro image before I get started.  That being said, I was planning on building and running this on my aarch64 PBP then flashing directly from there.  pcm720, are you saying that I should do something else?
  Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  uboot wont boot to SD card after upgrade jbradley419 7 754 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 273 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 2,165 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 653 12-13-2023, 08:17 PM
Last Post: trillobite
  Various freezes during boot & while running several Linux distros - hardware error? donuts 1 563 11-22-2023, 11:47 AM
Last Post: fxc
  Happy eMMC and SDcard OS usage for Pinebook Pro Newbies... Paulie420 42 59,822 11-20-2023, 06:22 PM
Last Post: wdt
  Selling my Pinebook Pro with a bootable NVMe WD SSD drive pinemouth 0 740 09-27-2023, 08:53 PM
Last Post: pinemouth
  Cannot boot to Kali SD card after uboot upgrade jbradley419 4 1,142 09-19-2023, 08:48 AM
Last Post: dachalife
  Does latest Tow-Boot install/work correctly for everyone? tophneal 4 1,812 08-03-2023, 03:30 PM
Last Post: tophneal
  Boot into NVME drive, no wifi, sound, buttons... PaulQ 0 787 07-13-2023, 01:50 PM
Last Post: PaulQ

Forum Jump:


Users browsing this thread: 1 Guest(s)