On Fri, Jun 21, 2019 at 10:24:48PM +0200, Mark Kettenis wrote:
> I've finally managed to build a properly working (and fully open
> source) firmware for the ROCKPro64.  The firmware consists of two
> files, which can be downloaded from:
> 
>   https://sibelius.home.xs4all.nl/firmware/rk3399-rockpro64/idbloader.img
>   https://sibelius.home.xs4all.nl/firmware/rk3399-rockpro64/u-boot.itb
> 
> In order to use this firmware you'll have to write it to a uSD card or
> an eMMC module with the following commands:
> 
>   # dd if=idbloader.img of=/dev/sdXc seek=64
>   # dd if=u-boot.itb of=/dev/sdXc seek=16384
> 
> Note that if you flashed a firmware to the onboard SPI flash, you'll
> have to erase it first or disable the SPI flash with a jumper wire
> connecting pins 23 and 25.
> 
> Also note that the firmware overlaps with the msdos partition in the
> default OpenBSD/arm64 disk layout.  Therefore you can't have the
> firmware and the OpenBSD boot/root filesystems on the same device
> without running through additional hoops.  Ultimately the goal is to
> make it possible to put this firmware in SPI flash, but I haven't
> looked into that yet.
> 
> This firmware uses a more standard serial speed of 115200, which means
> you can use almost any USB TTL serial cable.  DVFS is supported so you
> can use sysctl hw.setperf to control to clock speed of the CPUs.  But
> be aware that without a fan the board will probably overheat if you
> run it at the highest supported clock speed.
> 
> At some point this should land in the official u-boot-aarch64
> packages.  But since this build relies on a fairly large patch set
> that hasn't landed upstream yet, this may take some time.

I have committed a U-Boot 2019.07 update which builds the
rockpro64-rk3399 target and patches the default baud to 115200.

As on firefly it has file named idbspl.img instead of idbloader.img.
Don't have hardware so not sure if further patches are required.

Reply via email to