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
Big Grin RETRO GAMING: UPDATED RECALBOX FOR THE RK3399 ROCKPRO64 Mrfixit2001 31 4,063 Yesterday, 09:00 AM
Last Post: Maxpako
  Rockpro64 and stock arch linux TaborFife 6 549 01-15-2020, 05:17 PM
Last Post: dragop
  slarm64 (unofficial slackware) ROCKPro64 RK3399 (aarch64) mara 27 4,694 01-12-2020, 12:29 PM
Last Post: mara
  Ayufan 5.4.0 rc1 release - cannot boot Mentaluproar 2 204 01-05-2020, 02:39 PM
Last Post: mmiigg
  Rockpro64 not stable... crashes now and then. Pineapple 12 541 01-05-2020, 06:34 AM
Last Post: abdel
  Upgrade Debian kernel on a SD/SATA drive boot combo. linuxha 6 155 12-12-2019, 04:43 AM
Last Post: dukla2000
  RockPro64 getting started - non-booting images [solved] new-rockpro-user 1 121 11-21-2019, 01:09 AM
Last Post: new-rockpro-user
  new rockpro64: images won't boot [solved] new-rockpro-user 0 74 11-20-2019, 12:42 PM
Last Post: new-rockpro-user
  Could someone explain the boot partition to me? Mentaluproar 2 148 11-15-2019, 08:33 PM
Last Post: Mentaluproar
Thumbs Up Batocera for RockPro64 Luke 3 2,001 11-06-2019, 02:12 PM
Last Post: Wizzard

Forum Jump:


Users browsing this thread: 1 Guest(s)