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
#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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 7 1,862 Yesterday, 03:53 PM
Last Post: mara
  New OS for RockPro64 is here, TwisterOS Armbian jtremblant 92 105,478 08-17-2024, 02:32 PM
Last Post: taltamir
  OpenEuler OS on RockPro64 Yuriy Gavrilov 0 288 06-15-2024, 09:38 AM
Last Post: Yuriy Gavrilov
  yocto for RockPro64 Fide 1 1,108 01-16-2024, 10:01 AM
Last Post: Fide
  Boot/Shutdown on timer captainmorgan 8 7,544 11-01-2023, 12:08 PM
Last Post: Nikolay_Po
  Installing Ubuntu Server on RockPro64 deutschlmao 2 3,457 10-29-2023, 04:43 PM
Last Post: brotherj4mes
  Vanilla mainline Debian 11 (Bullseye) on the RockPro64 Pete Tandy 22 21,252 08-16-2023, 01:34 AM
Last Post: varac
  slarm64 (unofficial slackware) ROCKPro64 RK3399 (aarch64) mara 54 92,785 08-11-2023, 11:13 AM
Last Post: mara
Question How do I compile an arbitrary kernel for U-Boot? Valenoern 3 1,831 06-16-2023, 10:54 AM
Last Post: CounterPillow
  How to enable CoreSight ETM trace on RockPro64 shpark 0 863 05-21-2023, 11:34 PM
Last Post: shpark

Forum Jump:


Users browsing this thread: 1 Guest(s)