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
  New OS for RockPro64 is here, TwisterOS Armbian jtremblant 38 3,525 01-22-2021, 09:22 PM
Last Post: jtremblant
Question Mainline Debian Buster on RockPro64 ? chrestomanci 33 7,644 01-22-2021, 08:02 PM
Last Post: kuleszdl
  OpenSuse for ROCKPro64: testimage hemertje 0 54 01-18-2021, 01:35 PM
Last Post: hemertje
  Chromium OS for the RockPro64 is now available! Luke 9 4,025 01-09-2021, 12:13 PM
Last Post: Ruben
  slarm64 (unofficial slackware) ROCKPro64 RK3399 (aarch64) mara 39 15,906 01-08-2021, 01:45 PM
Last Post: mara
  slave mode on Rockpro64 Radhika.gabani 0 208 01-07-2021, 03:31 AM
Last Post: Radhika.gabani
  DietPi OS for ROCKPro64 MichaIng 6 569 12-25-2020, 03:24 PM
Last Post: MichaIng
Question Help getting a GPU running on my RockPro64 Ceazer 0 273 11-23-2020, 04:05 PM
Last Post: Ceazer
  RockPro64 eMMC mrfixit to 5.9 rthorntn 1 501 10-27-2020, 07:09 PM
Last Post: rthorntn
Question Ayufan RockPro64 updates? hemertje 3 966 10-22-2020, 01:16 PM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)