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
  Arch Linux on RockPro64 mmatyas 25 7,887 09-10-2019, 01:58 PM
Last Post: mmatyas
  PCIe ath10k on RockPro64 dasfranky 5 145 08-31-2019, 11:36 AM
Last Post: tuxd3v
  RockPro64 Official Kernel Support ASIC 23 3,360 08-29-2019, 05:39 PM
Last Post: tuxd3v
  DietPi for the RockPro64 Luke 12 3,763 08-29-2019, 04:07 AM
Last Post: hexxx
  rockpro64 and wayland - missing files Mentaluproar 1 100 08-14-2019, 07:51 PM
Last Post: hmuller
Big Grin RETRO GAMING: UPDATED RECALBOX FOR THE RK3399 ROCKPRO64 Mrfixit2001 27 3,112 08-13-2019, 12:08 PM
Last Post: pimseb
  Chromium OS for the RockPro64 is now available! Luke 6 654 08-12-2019, 12:12 PM
Last Post: stuartiannaylor
  How to configure optee_os to build for rockpro64 yakman2020 2 297 07-29-2019, 04:31 AM
Last Post: skumar
  u-boot for Arch Linux Arm prw 3 165 07-20-2019, 12:38 PM
Last Post: stuartiannaylor
Exclamation eMMC boot issue jwillmer 0 81 07-19-2019, 03:16 PM
Last Post: jwillmer

Forum Jump:


Users browsing this thread: 1 Guest(s)