U-Boot with direct NVMe boot support for eMMC/SPI Flash
#96
(07-07-2020, 03:58 PM)mamboman777 Wrote:
(07-07-2020, 03:22 PM)pcm720 Wrote: Nah, this has nothing to do with your AUR helper (pamac).
The issue is that Makefile of rkdeveloptool forces GCC to treat all warnings as errors.
Here's the solution:
https://github.com/rockchip-linux/rkdeve.../issues/25

By the way, I updated the repository to use U-Boot v2020.07 and uploaded images for SD/eMMC and SPI.
You can find them on Releases page of the repository.
Thanks for your help.  I'm having a hard time following what to do on the git page.  If I run "make maintainer-clean" I get the message make: *** No rule to make target 'maintainer-clean'. Stop.

I do not understand where to place the code under "Apply the following patch" in the git page.

Thanks again!
-Josh

Okay, instead of trying to use PKGBUILD, do the following:
- Clone the repository
- Inside the directory,
 - Run "autoreconf -i"
 - Run "./configure"
 - Run "sed -i "s/-Werror//" Makefile" (with quotes before "s" and after the third "/")
 - Run make
You'll find rkdeveloptool binary inside the repo folder.

(07-07-2020, 07:22 PM)belfastraven Wrote: Thanks for this @pcm720 .  Although I did sucessfully build from your git using  the current u-boot (on ubuntu focal desktop),  I just grabbed your released spiflash.bin and flashed in on current (from unstable) Manjaro.    It's great--boots even faster than it did with the Feb. mainline uboot and atf.  So far I've only booted from my NVME but will test other devices, too.  

A note for other newbies:  Flash_erase is part of the mtd-utils package in arch/Manjaro and one needs to sudo the flash_erase and dd commands if not logged in as root.  

thanks again.

Awesome, thanks for trying it out! Yeah, both commands need to be run with root privileges.
I've added that to release description.
  Reply


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

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

Forum Jump:


Users browsing this thread: 1 Guest(s)