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
  slarm64 (unofficial slackware) ROCKPro64 RK3399 (aarch64) mara 52 55,816 11-18-2022, 10:49 PM
Last Post: mara
  Is some u-boot required on the SPI for installing debian with the official installer? callegar 1 281 10-25-2022, 10:07 AM
Last Post: ratzzupaltuff
  hello i want to drive an edp screen with my rockpro64 hannescam 0 137 10-20-2022, 01:22 PM
Last Post: hannescam
  Can RockPRO64 support PCIe Endpoint? andrewg132 3 509 10-14-2022, 06:24 AM
Last Post: rwk-
  A fix for Bluetooth audio stuttering on the RockPro64 raph 1 357 10-02-2022, 05:24 AM
Last Post: raph
  RockPro64 linux console video mode callegar 0 208 09-06-2022, 02:32 PM
Last Post: callegar
  [OS] SkiffOS and Buildroot for Rockpro64 w/ 5.17 kernel paralin1 1 866 05-08-2022, 03:26 PM
Last Post: paralin1
Brick Maintained Linux booting from eMMC ootoovak 10 4,625 04-30-2022, 03:57 PM
Last Post: TRS-80
  PostmarketOS on RockPro64 publiclewdness 0 521 04-24-2022, 11:53 AM
Last Post: publiclewdness
  New OS for RockPro64 is here, TwisterOS Armbian jtremblant 91 58,452 04-03-2022, 01:44 PM
Last Post: davidlsbc

Forum Jump:


Users browsing this thread: 1 Guest(s)