I believe that I’m building a development image using the following command balena-yocto-scripts/build/barys -k -d -m rockpi-e-rk3328
due to the -d
that I’m passing.
At the point of the last post I was getting stuck there; now I get to the Starting Kernel...
message but the kernel never starts. I think that my issue is with the balena-image.inc
file. Here is the full log for reference:
DDR version 1.16 20190528
ID:0x805 N
In
DDR3
333MHz
Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
ddrconfig:1
OUT
Boot1 Release Time: May 13 2019 17:34:36, version: 2.50
ChipType = 0x11, 232
mmc2:cmd1,20
emmc reinit
mmc2:cmd1,20
emmc reinit
mmc2:cmd1,20
SdmmcInit=2 1
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=30528MB
FwPartOffset=2000 , 0
StorageInit ok = 19221
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part: 0, name: idbloader, start:0x40, size:0x1f40
GPT part: 1, name: uboot, start:0x4000, size:0x2000
GPT part: 2, name: trust, start:0x6000, size:0x2000
GPT part: 3, name: resin-boot, start:0x14000, size:0x28000
GPT part: 4, name: resin-rootA, start:0x3c000, size:0xfa000
GPT part: 5, name: resin-rootB, start:0x136000, size:0xfa000
GPT part: 6, name: resin-state, start:0x230000, size:0xa000
GPT part: 7, name: resin-data, start:0x23a000, size:0x65800
find part:uboot OK. first_lba:0x4000.
find part:trust OK. first_lba:0x6000.
LoadTrust Addr:0x6000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 4000
Load OK, addr=0x200000, size=0xa0e40
RunBL31 0x10000
NOTICE: BL31: v1.3(debug):0e4d696
NOTICE: BL31: Built : 09:22:40, Aug 27 2019
NOTICE: BL31:Rockchip release version: v1.3
INFO: ARM GICv2 driver initialized
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 1
INFO: plat_rockchip_pmu_init: pd status 0xe
INFO: BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR: Error initializing runtime service opteed_fast
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9
U-Boot 2019.10 (Apr 26 2020 - 08:20:25 +0000)
Model: Radxa ROCK Pi E
DRAM: 1022 MiB
PMIC: RK8050 (on=0x40, off=0x00)
MMC: rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial@ff130000
Out: serial@ff130000
Err: serial@ff130000
Model: Radxa ROCK Pi E
Net: eth0: ethernet@ff540000
Hit any key to stop autoboot: 0
Scanning mmc devices 0 1 2
Card did not respond to voltage select!
Card did not respond to voltage select!
24 bytes read in 3 ms (7.8 KiB/s)
Found resin image on mmc 1
Loading resinOS_uEnv.txt from mmc device 1 partition 4
Loading extra_uEnv.txt from mmc device 1 partition 4
0 bytes read in 1 ms (0 Bytes/s)
Import extra_uEnv.txt in environment
Loading bootcount.env from mmc device 1 partition 4
No bootcount.env file. Setting bootcount=0 in environment
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:5...
Found U-Boot script /boot/boot.scr
2581 bytes read in 11 ms (228.5 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 1
149 bytes read in 10 ms (13.7 KiB/s)
23044104 bytes read in 1041 ms (21.1 MiB/s)
71062 bytes read in 14 ms (4.8 MiB/s)
## Flattened Device Tree blob at 01f00000
Booting using the fdt blob at 0x1f00000
Loading Device Tree to 000000003deb2000, end 000000003df2bfff ... OK
Starting kernel ...
I’m forking the balena-radxa
repo so I can share with you guys all the files and changes that I made to run the image build. As soon as is ready I will post a link to it here.