openbsd-Kurt created a perfect u-boot-Version for the Rock960-board for me , 
many thanks again !

So here’re the installation-instructions Part 1 :

It’s very important to get rid of all vendor-preinstalled-uboot, so we begin 
with 'brutally' erasing 
the one which is preinstalled on the builtin(non removable) emmc:

We need an USB-CToUSB-cable connected to USB-C on the Rock960-side and USB on 
the machine 
Where you execute rkdeveloptool.. instructions for rkdeveloptool:
https://www.96boards.org/documentation/consumer/rock/installation/linux-mac-rkdeveloptool.md.html

http://opensource.rock-chips.com/wiki_Rkdeveloptool

https://github.com/u-boot/u-boot/blob/master/doc/README.rockchip

hint: if you see the rkdeveloptool NOT responding , press CTRL-T in the shell 
and you’ll see something like : 
'load: 1.27  cmd: rkdeveloptool 33605 waiting 0.00u 0.00s‘ , this tells us that 
the connection is aborted.
So please RECONNECT to MASKROM-mode
(https://www.96boards.org/documentation/consumer/rock/installation/linux-mac-rkdeveloptool.md.html)
  
and try as long ss you finally got output :
!! `Erasing flash complete.`  &  'Write LBA from file (100%)‘ !!

I did it on a Mac :

kls@Klauss-MBP ~ % rkdeveloptool db 
/Users/kls/Documents/GitHub/rkbin/bin/rk33/rk3399_loader_v1.12.112.bin
Downloading bootloader succeeded.
-
kls@Klauss-MBP ~ % rkdeveloptool EF
Erasing flash complete.

-it`s very important that we now write miniroot66.fs as first!!----
kls@Klauss-MBP ~ % rkdeveloptool wl 0 /Users/kls/Downloads/miniroot66.fs
Write LBA from file (100%)

- now Kurt`s u-boot-hack which you’ll find (I guess) in sysutils:---
kls@Klauss-MBP ~ % rkdeveloptool wl 0x40 
/Users/kls/Downloads/rock960-u-boot-v2/v2020.01/idbloader.img
Write LBA from file (100%)
-
kls@Klauss-MBP ~ % rkdeveloptool wl 0x4000 
/Users/kls/Downloads/rock960-u-boot-v2/v2020.01/u-boot.itb
Write LBA from file (100%)
-
You should now be able to boot openbsd-u-boot-version directly from the emmc 
-just try out, e.g.  :
root@generic:~ # picocom -b 115200 -r -l /dev/ttyU0
Kurt set the baud rate from 1500000 to 115200, this was necessary because we 
would hang on last boot stage with 1500000 ….
… more installation steps  in part2 …...




Reply via email to