FreeBSD/RockPro64 experience

Henri Hennebert hlh at restart.be
Sat Nov 7 11:44:41 UTC 2020


On 11/7/20 11:57 AM, Milan Obuch wrote:
> Hi,
> 
> today I had an opportunity to check $subject configuration for a while.
> I downloaded from ftp.freebsd.org file I put on uSD card -
> FreeBSD-13.0-CURRENT-arm64-aarch64-ROCKPRO64-20201029-b9403d7aae8.img
> 
> Using serial console, I was able to see the whole boot process, just
> one small observation - at the beginning, there is short notice from
> BL31:
> 
> NOTICE:  BL31: v2.3():
> NOTICE:  BL31: Built : 06:52:32, Oct 29 2020
> 
> which is sent over wire at 115200 bps (or 115.2 kpbs if you prefer),
> then speed is switched to 1500000 bps (or 1.5 Mbps, put the other way).

To solve this I add this file in /usr/ports/sysutils/u-boot-master/files

cat patch-configs_rockpro64-rk3399_defconfig
--- configs/rockpro64-rk3399_defconfig	2020-04-13 17:02:18.000000000 +0200
+++ configs/rockpro64-rk3399_defconfig.orig	2020-04-27 15:39:12.866611000 +0200
@@ -52,7 +52,7 @@
  CONFIG_PWM_ROCKCHIP=y
  CONFIG_RAM_RK3399_LPDDR4=y
  CONFIG_DM_RESET=y
-CONFIG_BAUDRATE=1500000
+CONFIG_BAUDRATE=115200
  CONFIG_DEBUG_UART_SHIFT=2
  CONFIG_ROCKCHIP_SPI=y
  CONFIG_SYSRESET=y

And rebuild /usr/ports/sysutils/u-boot-rockpro64

Henri

> 
> First lines:
> 
> U-Boot TPL 2020.07 (Oct 29 2020 - 06:56:20)
> Channel 0: LPDDR4, 50MHz
> BW=32 Col=10 Bk=8 CS0 Row=16/15 CS=1 Die BW=16 Size=2048MB
> Channel 1: LPDDR4, 50MHz
> BW=32 Col=10 Bk=8 CS0 Row=16/15 CS=1 Die BW=16 Size=2048MB
> 256B stride
> 256B stride
> lpddr4_set_rate: change freq to 400000000 mhz 0, 1
> lpddr4_set_rate: change freq to 800000000 mhz 1, 0
> Trying to boot from BOOTROM
> Returning to boot ROM...
> 
> It looks to me this BL31 notice is put there only on power up, but I
> still think it would be better if speed is not switched. Other than
> that, this board looks working quite well out of the box, just suitable
> uSD card needs to be put in.
> 
> Regards,
> Milan
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> 


More information about the freebsd-arm mailing list