Problems flashing u-boot on RockPRO64 eMMC
#1
Hi all,

I'm using a RockPro64 board with a eMMC.

I succesfully flashed an Armbian image to this emmc, and I can boot it without problems.

I tried to disable boot from SPI (placing a jumper on pins 25-23 on PI-2 connector) and I'm able to boot from eMMC (u-boot spl and u-boot are loaded from there).

I tried to compile a u-boot.itb from scratch using Ayufan's repo https://github.com/ayufan-rock64/linux-u-boot/ and I flashed it to eMMC using USB OTG cable and rkdeveloptool at offset 0x4000. But old bootloader stills boot, as my bootloader were flashed not in the right place.
Besides that, I can use rkdeveloptool only if I stop u-boot and then run command

rockusb 0 mmc 0

Additionally, only first of two scenarios reported here https://wiki.pine64.org/index.php/ROCKPr...e#OTG_mode is working, because if I disable SPI and eMMC with jumpers (so no bootloaders present) my board enter in MaskMode but rkdeveloptool does not work (seems unable to communicate with board).

What I'm doing wrong?

Thanks in advance, regards

mauro
  Reply
#2
I've had a similar experience when trying to use my self-built U-Boot using the DDR blob, as well as when extracting the U-Boot image from the ayufan build .debs and flashing that.
The only thing I've managed to get to booting a kernel so far is when dd'ing the first 1.5MB of the Armbian image to the eMMC and putting my system on top of that, which is less than satisfying.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Official Debian release won't boot!?! Faradn 3 222 06-22-2020, 01:35 PM
Last Post: Bullet64
  Arch Linux on RockPro64 mmatyas 30 11,689 05-30-2020, 12:08 PM
Last Post: mmatyas
  Rockpro64 panfrost installation questions user12321 2 214 05-27-2020, 10:17 AM
Last Post: xmixahlx
  RockPro64 Slow Ping on WiFi jl_678 0 80 05-14-2020, 05:08 PM
Last Post: jl_678
  RockPro64 Linux Manjaro HDMI 4K mkne 12 496 05-03-2020, 07:23 AM
Last Post: PakoSt
Question Mainline Debian Buster on RockPro64 ? chrestomanci 12 900 04-27-2020, 09:53 AM
Last Post: kuleszdl
Thumbs Up Batocera for RockPro64 Luke 8 2,935 04-24-2020, 06:40 AM
Last Post: Luke
  Mainline U-Boot with Arch Linux PKGBUILD mmatyas 0 166 04-17-2020, 03:49 AM
Last Post: mmatyas
  Call for test: Clonezilla live for Rockpro64 stevenshiau 1 321 04-17-2020, 12:38 AM
Last Post: tllim
Big Grin RETRO GAMING: UPDATED RECALBOX FOR THE RK3399 ROCKPRO64 Mrfixit2001 38 7,033 03-29-2020, 05:37 AM
Last Post: Crnppscls

Forum Jump:


Users browsing this thread: 1 Guest(s)