So I got a new RK3399. I have done everything I expected but it won't
boot the openbsd SD card yet.
Upon receiving the card I plugged in and attempted :
(using linux_upgrade_tool the proprietary equivalent of rkdeveloptool)
Rockusb>EF
No found loader item from config!
Rockusb>ef
/run/media/sylvain/saboua/hax/ffly/obsd_u-boot_firefly-rk3399/u-boot-rockchip.bin
Loading loader...
Loading loader failed,err=-6!
Rockusb>ef
/run/media/sylvain/saboua/hax/ffly/obsd_u-boot_firefly-rk3399/idbloqder.img
Loading loader...
Loading loader failed,err=-1!
Rockusb>/run/media/sylvain/saboua/hax/ffly/obsd_u-boot_firefly-rk3399/u-boot.itb
Rockusb>
Should I understand that the last attempt worked ? ...
Here's what I get on the UART interface upon rebooting the card :
DDR Version 1.12 20180518
In
Channel 0: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
Channel 1: DDR3, 800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x2020
ch 1 ddrconfig = 0x101, ddrsize = 0x2020
pmugrf_os_reg[2] = 0x3AA17AA1, stride = 0xD
OUT
Boot1: 2018-04-08, version: 1.12
CPUId = 0x0
ChipType = 0x10, 215
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=14910MB
FwPartOffset=2000 , 100000
mmc0:cmd5,32
SdmmcInit=0 0
BootCapSize=0
UserCapSize=30436MB
FwPartOffset=2000 , 0
StorageInit ok = 196700
LoadTrustBL
Addr:0x4000 No find trust.img!
LoadTrustBL error:-3
LoadTrustBL
No find bl30.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xa912c
RunBL31 0x10000
NOTICE: BL31: v1.3(debug):65aa5ce
NOTICE: BL31: Built : 10:47:37, Jun 19 2018
NOTICE: BL31: Rockchip release version: v1.1
INFO: GICv3 with legacy support detected. ARM GICV3 driver
initialized in EL3
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 0
INFO: plat_rockchip_pmu_init(1151): pd status 3e
INFO: BL31: Initializing runtime services
INFO: BL31: Initializing BL32
INF [0x0] TEE-CORE:init_primary_helper:337: Initializing
(1.1.0-170-gc4654a6 #16 Wed May 30 08:54:30 UTC 2018 aarch64)
INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2
INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9
U-Boot 2014.10-RK3399-06 (Jan 25 2019 - 17:16:32)
CPU: rk3399
cpu version = 0
CPU's clock information:
aplll = 816000000HZ
apllb = 24000000HZ
gpll = 800000000HZ
aclk_periph_h = 133333333HZ, hclk_periph_h = 66666666HZ,
pclk_periph_h = 33333333HZ
aclk_periph_l0 = 100000000HZ, hclk_periph_l0 =
100000000HZ, pclk_periph_l0 = 50000000HZ
hclk_periph_l1 = 100000000HZ, pclk_periph_l1 = 50000000HZ
cpll = 800000000HZ
dpll = 800000000HZ
vpll = 24000000HZ
npll = 24000000HZ
ppll = 676000000HZ
Board: Rockchip platform Board
Uboot as second level loader
DRAM: Found dram banks: 1
Adding bank:0000000000200000(00000000ffe00000)
Reserve memory for trust os.
dram reserve bank: base = 0x08400000, size = 0x01e00000
128 MiB
SdmmcInit = 0 0
SDCard Update.
storage init OK!
Using default environment
GetParam
W: Invalid Parameter's tag (0xFFFFFFFF)!
Invalid parameter
No pmic detect.
CPU's clock information:
aplll = 816000000HZ
apllb = 24000000HZ
gpll = 800000000HZ
aclk_periph_h = 133333333HZ, hclk_periph_h = 66666666HZ,
pclk_periph_h = 33333333HZ
aclk_periph_l0 = 100000000HZ, hclk_periph_l0 =
100000000HZ, pclk_periph_l0 = 50000000HZ
hclk_periph_l1 = 100000000HZ, pclk_periph_l1 = 50000000HZ
cpll = 800000000HZ
dpll = 800000000HZ
vpll = 24000000HZ
npll = 24000000HZ
ppll = 676000000HZ
misc partition not found!
SecureBootEn = 0, SecureBootLock = 0
#Boot ver: 0000-00-00#0.00
empty serial no.
normal boot.
no fuel gauge found
no fuel gauge found
read logo on state from dts [0]
no fuel gauge found
'recovery' does not seem to be a partition nor an address
Unable to boot:recovery
try to start backup
'backup' does not seem to be a partition nor an address
Unable to boot:backup
try to start rockusb
--
Sylvain Saboua
looking for a PDP-11