Rock 3 A rmbian bullseye unofficial

Hello
To my surprise I found out today that armbian build repo has rock3a configs as well as debian bullseye, so instead of rockpro64 I decided to give that a try and build such image. Moment later I had working minimal cli image and desktop version ready to burn into sd.

I launched them and they take some time to first boot, then run well. I tested ethernet, hdmi and hid devices via one of USB, all worked. Few errors in dmesg to resolve but other tests are promising. With additional kernel config this may be better for my needs than the one from wiki. Of course it still uses legacy kernel and it may be even the same - on build some radxa repos are cloned, and some patches applied, I did not yet checked all that in detail yet. I booted with 5.x kernel too, but that requires more work for sure.

While I encourage everyone to build that on your own I also uploaded those to gdrive here:
https://drive.google.com/drive/folders/1AhhObP1qlz4NkgGj_ctr9gZkOrZU8GOg?usp=sharing

Use at Your own risk.
Please note that itā€™s UNOFFICIAL build and board is UNSUPPORTED by armbian devs and maintainers. Donā€™t go to armbian forum or their github and donā€™t ask for features or help with bugs. This is not welcomed, please respect their rules and consider supporting them on their hard work.

3 Likes

I am unable to get this image to boot.
Are you using this with eMMC or micro SD?
How long does it take for first boot? Are we saying 5 minutes or 30 minutes?
How did you flash the image to your boot device? Did you use Etcher or something else?

Thanks,
Nexus

I tried with SD card, some 64GB and created image with balena.
First boot is about 3-4 mins, I guess it finishing few things like resizing FS or maybe doing fs check. As far as I know its quite easy to move it then from SD to eMMC, but havenā€™t tried that yet. Iā€™ll have eMMC by the end of year and then will be able to test that.

I mentioned about first long boot because when i first tried to boot I was sure itā€™s not working at all. On console last message is ā€œstarting kernelā€, then after some time it asks about new root password. Iā€™m watching that on uart console (see other thread here for the one that works and Iā€™m using it).
Have You tested cli or desktop?

Following the exact configuration youā€™re describing, Iā€™m still unable to get any sort of sign of life out of my Rock 3A.
Instead of using a UART adapter, my attempted method of access is via SSH (which I have done before)
Using the UART adapter that I have on hand, the console boots as normal until it kernel panics just after it loads the kernel.
This behavior seems to just be due to serial adapter incompatibilities as described in this thread.

Iā€™m certain that Iā€™ve accessed Armbian on first-boot over SSH in the past, so my guess is that itā€™s not getting that far at all. Serial logs do show that itā€™s successfully getting into U-Boot, though.
I have tried both the minimal and desktop images, as well as many of my own self-compiled images.

Thanks for your help.

It may hang on boot when there is not enough power. Also I found out earlier that active hubs sometimes donā€™t work correctly and also You canā€™t simply connect board to usb-c port on your laptop (even the one with lightning icon). It may just need more power with kernel and that can cause such issues. Not every charger that is described as 3A is working.

On thread about uarts it stopped only with incompatible/not supported adapter, You could boot without it with no problems. Also You can connect it after kernel was loaded.

For ssh I can try that too, on screen it was not connected to eth, but I tested that too. Before kernel u-boot reports that no eth found but it gets ip on system without any problem.
How much RAM does your Rock3A has?

Iā€™m using a 4GB model.
Regarding power, I have tried this with many different cables and adapters, including a known-good laptop charger capable of QC3.0, which should be plenty for the Rock 3A.

Iā€™m able to boot just fine into the Radxa-provided Debian image, just not Armbian. Iā€™ve tried many different images, too.
I have a compatible UART adapter on the way to hopefully provide me with more detailed and useful boot logs.

Mine is 8GB model, but this should not be the case. Have you plugged anything to E-slot or nvme?

For power issues - try some cpu burn tests, Iā€™m doing them for each device on new/different power units and cables to be sure that everything works correctly. It happened few times that system booted and was fine until some heavy tasks was done. Armbian can just do more on startup than plain debian. Also try non-qc adapter if You can.

Later today Iā€™ll prepare new image and measure how long it takes to first boot.
UART adapter always helps, Iā€™ll try to first boot without it and try ssh via network.

I think I found Your issue, itā€™s this QC3 adapter,
I usually connect board with simple charger and long charge only cable, now I tried again usb-c and pd charger, It cause instability and eventually hangs on kernel load. I saw that it restarts several times and then died on ā€œstarting kernelā€.
Charger on test was baseus GaN 120W charger and usb-c on first port:

I was sure that I used it before so I found usb-A cable and connected it to bigger port and then it boot up with no problems.
Yet again try different power units and maybe cables, something is wrong with this.

Both M.2 slots are empty.

These boot errors are identical when using:

  • Normal ā€œdumbā€ 5V 3A power cables
  • 9V, 12V, and 20V USB-PD cables
  • QC 2.0/3.0 cables

This behavior also persists with known-good UART adapters. I am able to boot just fine into the OEM Debian images, but all Armbian builds fail to boot in different ways.

Minimal image, micro SD, flashed with BalenaEtcher (U-Boot was not accessible after kernel panic):

DDR Version V1.10 20210810
In
ddrconfig:7
LPDDR4X, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
tdqss: cs0 dqs0: 24ps, dqs1: -72ps, dqs2: -48ps, dqs3: -120ps, 
tdqss: cs1 dqs0: 24ps, dqs1: -96ps, dqs2: -48ps, dqs3: -144ps, 

change to: 324MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x62

change to: 528MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58

change to: 780MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58

change to: 1056MHz(final freq)
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:22%
dram drv:40,odt:80
vref_ca:00000071
clk skew:0x32
cs 0:
the read training result:
DQS0:0x3d, DQS1:0x3c, DQS2:0x40, DQS3:0x3a, 
min  : 0xb  0xb  0xd  0xb  0x1  0x4  0x7  0x4 , 0x8  0x6  0x1  0x1  0x9  0x7  0x8  0x5 ,
       0xf  0xf  0xb  0x9  0x3  0x1  0x3  0x6 , 0x9  0x6  0x5  0x2  0xb  0xb  0x8  0xb ,
mid  :0x29 0x2a 0x2b 0x29 0x1f 0x22 0x24 0x22 ,0x26 0x24 0x1e 0x20 0x27 0x26 0x26 0x24 ,
      0x2d 0x2d 0x28 0x27 0x22 0x20 0x21 0x23 ,0x26 0x24 0x22 0x20 0x28 0x29 0x26 0x29 ,
max  :0x48 0x49 0x4a 0x47 0x3e 0x41 0x42 0x40 ,0x44 0x42 0x3c 0x3f 0x45 0x45 0x45 0x43 ,
      0x4c 0x4c 0x45 0x46 0x41 0x40 0x3f 0x40 ,0x44 0x43 0x40 0x3f 0x46 0x47 0x44 0x48 ,
range:0x3d 0x3e 0x3d 0x3c 0x3d 0x3d 0x3b 0x3c ,0x3c 0x3c 0x3b 0x3e 0x3c 0x3e 0x3d 0x3e ,
      0x3d 0x3d 0x3a 0x3d 0x3e 0x3f 0x3c 0x3a ,0x3b 0x3d 0x3b 0x3d 0x3b 0x3c 0x3c 0x3d ,
the write training result:
DQS0:0x35, DQS1:0x29, DQS2:0x2c, DQS3:0x22, 
min  :0x5f 0x62 0x63 0x62 0x58 0x5a 0x5b 0x5d 0x5d ,0x52 0x52 0x4d 0x4d 0x55 0x51 0x53 0x54 0x50 ,
      0x53 0x52 0x51 0x4f 0x49 0x46 0x47 0x4d 0x4e ,0x48 0x48 0x48 0x46 0x4d 0x4c 0x49 0x4d 0x48 ,
mid  :0x7b 0x7d 0x7e 0x7d 0x73 0x75 0x76 0x77 0x78 ,0x6f 0x6d 0x67 0x68 0x70 0x6d 0x6f 0x6e 0x6b ,
      0x6f 0x6f 0x6b 0x6a 0x63 0x60 0x62 0x67 0x6a ,0x64 0x63 0x61 0x5f 0x69 0x68 0x64 0x69 0x61 ,
max  :0x98 0x99 0x9a 0x99 0x8e 0x91 0x91 0x92 0x93 ,0x8c 0x88 0x82 0x84 0x8c 0x89 0x8b 0x88 0x87 ,
      0x8c 0x8c 0x85 0x86 0x7e 0x7b 0x7e 0x82 0x86 ,0x80 0x7e 0x7a 0x79 0x85 0x85 0x80 0x85 0x7b ,
range:0x39 0x37 0x37 0x37 0x36 0x37 0x36 0x35 0x36 ,0x3a 0x36 0x35 0x37 0x37 0x38 0x38 0x34 0x37 ,
      0x39 0x3a 0x34 0x37 0x35 0x35 0x37 0x35 0x38 ,0x38 0x36 0x32 0x33 0x38 0x39 0x37 0x38 0x33 ,
cs 1:
the read training result:
DQS0:0x3c, DQS1:0x3b, DQS2:0x40, DQS3:0x39, 
min  : 0xb  0xb  0xc  0xa  0x2  0x5  0x7  0x5 , 0x8  0x6  0x1  0x1  0xa  0x7  0xa  0x5 ,
      0x10 0x10  0xc  0xa  0x4  0x1  0x3  0x7 , 0x9  0x6  0x5  0x1  0x9  0x9  0x8  0xa ,
mid  :0x27 0x28 0x2a 0x28 0x1f 0x22 0x23 0x22 ,0x24 0x23 0x1d 0x1e 0x26 0x25 0x26 0x23 ,
      0x2e 0x2e 0x29 0x28 0x23 0x20 0x21 0x24 ,0x27 0x25 0x22 0x20 0x27 0x28 0x26 0x29 ,
max  :0x44 0x46 0x49 0x46 0x3c 0x40 0x3f 0x3f ,0x41 0x40 0x3a 0x3c 0x43 0x43 0x43 0x42 ,
      0x4c 0x4d 0x46 0x47 0x42 0x40 0x40 0x41 ,0x45 0x44 0x40 0x3f 0x46 0x47 0x45 0x48 ,
range:0x39 0x3b 0x3d 0x3c 0x3a 0x3b 0x38 0x3a ,0x39 0x3a 0x39 0x3b 0x39 0x3c 0x39 0x3d ,
      0x3c 0x3d 0x3a 0x3d 0x3e 0x3f 0x3d 0x3a ,0x3c 0x3e 0x3b 0x3e 0x3d 0x3e 0x3d 0x3e ,
the write training result:
DQS0:0x35, DQS1:0x29, DQS2:0x2c, DQS3:0x22, 
min  :0x56 0x58 0x5a 0x58 0x50 0x54 0x54 0x55 0x54 ,0x47 0x46 0x43 0x44 0x4a 0x48 0x49 0x49 0x45 ,
      0x52 0x51 0x4f 0x4d 0x48 0x46 0x47 0x4c 0x4d ,0x48 0x47 0x46 0x45 0x4b 0x4b 0x48 0x4c 0x47 ,
mid  :0x73 0x74 0x76 0x74 0x6b 0x6f 0x6f 0x6f 0x6f ,0x63 0x60 0x5c 0x5e 0x66 0x62 0x64 0x62 0x60 ,
      0x6f 0x6e 0x69 0x69 0x63 0x60 0x62 0x67 0x68 ,0x64 0x61 0x5f 0x5f 0x67 0x67 0x62 0x67 0x61 ,
max  :0x91 0x91 0x93 0x91 0x86 0x8a 0x8b 0x8a 0x8b ,0x80 0x7a 0x76 0x78 0x83 0x7c 0x7f 0x7c 0x7b ,
      0x8c 0x8b 0x84 0x86 0x7e 0x7a 0x7d 0x82 0x84 ,0x80 0x7c 0x79 0x79 0x84 0x84 0x7d 0x82 0x7c ,
range:0x3b 0x39 0x39 0x39 0x36 0x36 0x37 0x35 0x37 ,0x39 0x34 0x33 0x34 0x39 0x34 0x36 0x33 0x36 ,
      0x3a 0x3a 0x35 0x39 0x36 0x34 0x36 0x36 0x37 ,0x38 0x35 0x33 0x34 0x39 0x39 0x35 0x36 0x35 ,
CA Training result:
cs:0 min  :0x44 0x40 0x3d 0x36 0x3e 0x35 0x3d ,0x42 0x3b 0x3a 0x33 0x3a 0x32 0x3d ,
cs:0 mid  :0x81 0x81 0x79 0x78 0x7a 0x76 0x6e ,0x7f 0x7d 0x77 0x74 0x76 0x74 0x6d ,
cs:0 max  :0xbf 0xc3 0xb6 0xba 0xb7 0xb8 0x9f ,0xbc 0xbf 0xb5 0xb6 0xb3 0xb6 0x9e ,
cs:0 range:0x7b 0x83 0x79 0x84 0x79 0x83 0x62 ,0x7a 0x84 0x7b 0x83 0x79 0x84 0x61 ,
cs:1 min  :0x40 0x43 0x39 0x39 0x3c 0x37 0x3c ,0x40 0x3f 0x38 0x38 0x38 0x36 0x3c ,
cs:1 mid  :0x80 0x81 0x79 0x78 0x7b 0x76 0x6f ,0x80 0x7e 0x78 0x76 0x78 0x75 0x6e ,
cs:1 max  :0xc0 0xbf 0xba 0xb7 0xba 0xb5 0xa2 ,0xc0 0xbd 0xb9 0xb4 0xb8 0xb4 0xa0 ,
cs:1 range:0x80 0x7c 0x81 0x7e 0x7e 0x7e 0x66 ,0x80 0x7e 0x81 0x7c 0x80 0x7e 0x64 ,
out
U-Boot SPL board init
U-Boot SPL 2017.09-armbian (Nov 19 2021 - 13:37:50)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256+ OK
## Checking uboot 0x00a00000 ... sha256+ OK
## Checking fdt 0x00b24098 ... sha256+ OK
## Checking atf-2 0x00068000 ... sha256+ OK
## Checking atf-3 0xfdcd0000 ... sha256+ OK
## Checking atf-4 0xfdcc9000 ... sha256+ OK
## Checking atf-5 0x00066000 ... sha256+ OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 220.636 ms

INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-167-g81e0b993a-dirty:xsf
NOTICE:  BL31: Built : 11:20:08, Sep  6 2021
INFO:    GICv3 without legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    pmu v1 is valid
INFO:    dfs DDR fsp_param[0].freq_mhz= 1056MHz
INFO:    dfs DDR fsp_param[1].freq_mhz= 324MHz
INFO:    dfs DDR fsp_param[2].freq_mhz= 528MHz
INFO:    dfs DDR fsp_param[3].freq_mhz= 780MHz
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
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 = 0xa00000
INFO:    SPSR = 0x3c9


U-Boot 2017.09-armbian (Nov 19 2021 - 13:37:50 +0000)

Model: Radxa ROCK 3 Model A
PreSerial: 2, raw, 0xfe660000
DRAM:  4 GiB
Sysmem: init
Relocation Offset: ed354000, fdt: eb9f8d78 
Using default environment

no mmc device at slot 1
dwmmc@fe2b0000: 1 (SD), dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 50Mhz
PartType: DOS
No misc partition
boot mode: None
FIT: No boot partition
No resource partition
Failed to load DTB
Failed to get kernel dtb, ret=-19
io-domain: OK
Model: Radxa ROCK 3 Model A
rockchip_set_serialno: could not find efuse/otp device
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  apll 816000 KHz
  dpll 528000 KHz
  gpll 1188000 KHz
  cpll 1000000 KHz
  npll 24000 KHz
  vpll 24000 KHz
  hpll 24000 KHz
  ppll 100000 KHz
  armclk 816000 KHz
  aclk_bus 150000 KHz
  pclk_bus 50000 KHz
  aclk_top_high 300000 KHz
  aclk_top_low 200000 KHz
  hclk_top 150000 KHz
  pclk_top 50000 KHz
  aclk_perimid 300000 KHz
  hclk_perimid 150000 KHz
  pclk_pmu 50000 KHz
Net:   No ethernet found.
Hit key to stop autoboot('CTRL+C'):  0 
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
3185 bytes read in 22 ms (140.6 KiB/s)
## Executing script at 00c00000
Boot script loaded from mmc 1
152 bytes read in 19 ms (7.8 KiB/s)
4795620 bytes read in 433 ms (10.6 MiB/s)
22170112 bytes read in 1881 ms (11.2 MiB/s)
146921 bytes read in 152 ms (943.4 KiB/s)
** File not found /boot/dtb/rockchip/overlay/rk35xx-fixup.scr **
Fdt Ramdisk skip relocation
## Loading init Ramdisk from Legacy Image at 0a200000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    4795556 Bytes = 4.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 0x0a100000
   Booting using the fdt blob at 0x0a100000
   reserving fdt memory region: addr=a100000 size=8a000
  'reserved-memory' ramoops@110000: addr=110000 size=f0000
   Using Device Tree in place at 000000000a100000, end 000000000a18cfff
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x1f0000000 - 0x200000000 (size: 0x10000000)
Total: 3050.296 ms

Starting kernel ...

[    0.151193] Kernel panic - not syncing: panic_on_set_idle set ...
[    0.151193] 
[    0.151906] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.19.193 #trunk
[    0.152494] Hardware name: Radxa ROCK 3 Model A (DT)
[    0.152953] Call trace:
[    0.153201]  dump_backtrace+0x0/0x184
[    0.153546]  show_stack+0x24/0x30
[    0.153859]  dump_stack+0x94/0xbc
[    0.154169]  panic+0x134/0x298
[    0.154459]  rockchip_pmu_set_idle_request+0x110/0x1b8
[    0.154931]  rockchip_pd_power+0x218/0x250
[    0.155309]  rockchip_pd_power_on+0x2c/0x40
[    0.155702]  genpd_power_on.part.10+0x158/0x1f8
[    0.156116]  __genpd_dev_pm_attach+0x194/0x1e4
[    0.156529]  genpd_dev_pm_attach+0x60/0x64
[    0.156909]  dev_pm_domain_attach+0x28/0x44
[    0.157300]  platform_drv_probe+0x40/0xa4
[    0.157669]  really_probe+0x294/0x380
[    0.158011]  driver_probe_device+0x120/0x130
[    0.158400]  device_driver_attach+0x48/0x70
[    0.158788]  __driver_attach+0x13c/0x140
[    0.159154]  bus_for_each_dev+0x84/0xc8
[    0.159509]  driver_attach+0x30/0x3c
[    0.159840]  bus_add_driver+0x1ac/0x1f0
[    0.160193]  driver_register+0xb0/0xe8
[    0.160540]  __platform_driver_register+0x58/0x64
[    0.160978]  rk_iommu_init+0x20/0x28
[    0.161312]  do_one_initcall+0xb4/0x1b0
[    0.161669]  kernel_init_freeable+0x304/0x308
[    0.162073]  kernel_init+0x18/0x104
[    0.162393]  ret_from_fork+0x10/0x18
[    0.162729] SMP: stopping secondary CPUs
[    0.163101] PMU CRU:
[    0.163327] 00000000: 00003064 00001501 00000000 00000007 00007f00 00000000 00000000 00000000
[    0.164105] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.164884] 00000040: 00002063 00001481 00000000 00000007 00007f00 00000000 00000000 00000000
[    0.165662] 00000060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.166439] 00000080: 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.167217] 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.167994] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.168771] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.169548] 00000100: 00000080 0040b71b 00000001 00000001 00000800 00040004 00000001 00000009
[    0.170325] 00000120: 0000050f 00008bbb 00000000 00000000 00000000 00000000 00000000 00000000
[    0.171102] 00000140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.171880] 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.172657] 00000180: 00000002 00000018 00000000 00000000 00000000 00000000 00000000 00000000
[    0.173434] 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.174211] 000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.174988] 000001e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.175766] 00000200: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.176543] 00000220: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.177314] 00000240: 00040020 00000000
[    0.177666] CRU:
[    0.177851] 00000000: 00002044 00001441 00000000 00000007 00007f00 00000000 00000000 00000000
[    0.178628] 00000020: 00006084 00001441 00000000 00000007 00007f00 00000000 00000000 00000000
[    0.179405] 00000040: 00002063 00001441 00000000 00000007 00007f00 00000000 00000000 00000000
[    0.180181] 00000060: 0000107d 00001443 00000000 00000007 00007f00 00000000 00000000 00000000
[    0.180957] 00000080: 00001032 00001441 00000000 00000000 00000000 00000000 00000000 00000000
[    0.181733] 000000a0: 0000307d 00001442 00000000 00000000 00000000 00000000 00000000 00000000
[    0.182510] 000000c0: 00000455 00000000 00000000 00000000 00640064 00000000 00000000 00000103
[    0.183287] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.184063] 00000100: 00000000 00000000 00000001 00000303 00000303 00000111 00004191 00000011
[    0.184841] 00000120: 00000053 00000100 00000000 00008000 00040004 00008000 00040004 00008000
[    0.185618] 00000140: 00040004 00008000 00040004 00008000 00040004 00008000 00040004 00004000
[    0.186395] 00000160: 00040004 0000000b 00000000 00000010 00001031 00001c30 00000420 00000000
[    0.187172] 00000180: 00000020 00000000 00000310 0000c001 0000c0c0 00003100 00000001 00000000
[    0.187949] 000001a0: 00000001 00000003 00000103 00002100 00000203 00000003 00000000 00000103
[    0.188727] 000001c0: 00000003 00000301 00000001 00001300 0000200b 00000000 0000200b 00000000
[    0.189503] 000001e0: 0000200b 00000000 0000200b 00000000 0000200b 00000000 0000200b 00000000
[    0.190280] 00000200: 0000200b 00000000 0000200b 00000000 0000200b 00000000 00000303 00000203
[    0.191057] 00000220: 00001500 00000000 0000001f 00000302 00000705 00000f0b 0000013b 00000303
[    0.191834] 00000240: 00000f07 00002713 00001f09 00008000 00040004 00003b2f 00000101 00000302
[    0.192611] 00000260: 00000704 0000130f 00001f27 00000000 00000000 00000000 00000000 00000000
[    0.193388] 00000280: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.194164] 000002a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.194940] 000002c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.195717] 000002e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.196493] 00000300: 00000000 00000000 00000000 00000000 00000000 00000000 00003333 0000c333
[    0.197270] 00000320: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.198047] 00000340: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.198823] 00000360: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.199600] 00000380: 00000000 00000000 00000000 00002000 00000000 00000000 00000000 00000000
[    0.200376] 000003a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.201153] 000003c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.201929] 000003e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.202707] 00000400: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.203483] 00000420: 00000000 00000000 00000002 00000002 00000002 00000000 00000000 00000000
[    0.204259] 00000440: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.205036] 00000460: 00000000 00000000 00000400 00000000 000002a0 00000000 00000000 00000000
[    0.205812] 00000480: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.206589] 000004a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.207366] 000004c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.208142] 000004e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.208919] 00000500: 00040020 00000000 00040020 00000000 00040020 00000000 00040020 00000000
[    0.209697] 00000520: 00040020 00000000 00040020 00000000 00040020 00000000 00040020 00000000
[    0.210474] 00000540: 00040020 00000000 00040020 00000000 00000000 00000000 00000000 00000000
[    0.211251] 00000560: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.212022] 00000580: 00000004 00000000
[    0.212376] CPU0 online:0
[    0.212633] 	EL2(NS) PC: <0xffffff8008094e2c> handle_IPI+0x218/0x290
[    0.213282] 
[    0.213434] CPU1 online:0
[    0.213687] 	EL2(NS) PC: <0xffffff8008094e30> handle_IPI+0x21c/0x290
[    0.214335] 
[    0.214487] CPU2 online:0
[    0.214740] 	EL2(NS) PC: <0xffffff8008094e30> handle_IPI+0x21c/0x290
[    0.215390] 
[    0.215542] CPU3 online:1
[    0.215798] 	EL2(NS) PC: <0xffffff80085bf8ac> rockchip_panic_notify+0x84/0x234
[    0.216454] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.217121] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.217787] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.218455] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.219120] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.219787] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.220452] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.221119] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.221785] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.222452] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.223117] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.223785] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.224450] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.225117] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.225783] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.226449] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.227114] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.227782] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.228448] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.229116] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.229782] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.230449] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.231114] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.231781] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.232446] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.233113] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.233779] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.234447] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.235112] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.235780] 	EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[    0.236445] 	EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[    0.237105] 
[    0.237257] PMU:
[    0.237443] 00000000: 03003566 00000e0c 00000000 00000000 00000000 00000000 00000000 00000000
[    0.238220] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.238999] 00000040: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.239776] 00000060: 00000006 00000000 00000006 00000000 0000ffff 0000000f 00000000 00000000
[    0.240554] 00000080: 00000000 00000000 00000000 00000002 00000000 00000000 00000001 00000000
[    0.241332] 000000a0: 00000001 00000000 00000003 00000000 00000000 00000000 00000000 00000000
[    0.242108] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.242886] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    0.244948] ---[ end Kernel panic - not syncing: panic_on_set_idle set ...
[    0.244948]  ]---

Minimal image, eMMC, flashed with BalenaEtcher (U-Boot was not accessible):

DDR Version V1.10 20210810
In
ddrconfig:7
LPDDR4X, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
tdqss: cs0 dqs0: 24ps, dqs1: -72ps, dqs2: -48ps, dqs3: -120ps, 
tdqss: cs1 dqs0: 24ps, dqs1: -96ps, dqs2: -48ps, dqs3: -120ps, 

change to: 324MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x61

change to: 528MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58

change to: 780MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58

change to: 1056MHz(final freq)
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:22%
dram drv:40,odt:80
vref_ca:00000071
clk skew:0x2f
cs 0:
the read training result:
DQS0:0x3d, DQS1:0x3c, DQS2:0x40, DQS3:0x3a, 
min  : 0xc  0xc  0xd  0xc  0x2  0x5  0x7  0x5 , 0x8  0x6  0x1  0x1  0xa  0x7  0x8  0x5 ,
       0xe  0xf  0xa  0x8  0x2  0x1  0x2  0x5 , 0x9  0x6  0x5  0x1  0xa  0xb  0x8  0xb ,
mid  :0x2a 0x2a 0x2b 0x29 0x20 0x23 0x24 0x22 ,0x26 0x24 0x1e 0x20 0x27 0x26 0x27 0x24 ,
      0x2d 0x2d 0x28 0x27 0x22 0x20 0x21 0x23 ,0x26 0x25 0x22 0x20 0x28 0x29 0x26 0x29 ,
max  :0x48 0x49 0x4a 0x47 0x3e 0x41 0x42 0x40 ,0x44 0x43 0x3c 0x3f 0x45 0x45 0x46 0x43 ,
      0x4c 0x4c 0x46 0x46 0x42 0x40 0x40 0x41 ,0x44 0x44 0x40 0x3f 0x46 0x48 0x45 0x48 ,
range:0x3c 0x3d 0x3d 0x3b 0x3c 0x3c 0x3b 0x3b ,0x3c 0x3d 0x3b 0x3e 0x3b 0x3e 0x3e 0x3e ,
      0x3e 0x3d 0x3c 0x3e 0x40 0x3f 0x3e 0x3c ,0x3b 0x3e 0x3b 0x3e 0x3c 0x3d 0x3d 0x3d ,
the write training result:
DQS0:0x32, DQS1:0x26, DQS2:0x29, DQS3:0x1f, 
min  :0x5c 0x5f 0x5f 0x5e 0x55 0x57 0x58 0x5a 0x5b ,0x4e 0x4f 0x4a 0x4a 0x51 0x4e 0x50 0x50 0x4d ,
      0x51 0x50 0x4d 0x4d 0x46 0x44 0x45 0x4a 0x4c ,0x47 0x47 0x47 0x44 0x4b 0x4b 0x48 0x4d 0x46 ,
mid  :0x78 0x7a 0x7b 0x79 0x70 0x72 0x73 0x74 0x75 ,0x6b 0x6a 0x64 0x65 0x6d 0x69 0x6b 0x6b 0x68 ,
      0x6d 0x6c 0x68 0x68 0x61 0x5e 0x60 0x65 0x68 ,0x62 0x61 0x60 0x5e 0x67 0x67 0x62 0x68 0x60 ,
max  :0x95 0x96 0x98 0x95 0x8b 0x8e 0x8e 0x8f 0x8f ,0x88 0x85 0x7e 0x81 0x89 0x85 0x87 0x86 0x84 ,
      0x8a 0x89 0x83 0x84 0x7c 0x78 0x7b 0x80 0x84 ,0x7e 0x7c 0x79 0x79 0x84 0x83 0x7c 0x84 0x7a ,
range:0x39 0x37 0x39 0x37 0x36 0x37 0x36 0x35 0x34 ,0x3a 0x36 0x34 0x37 0x38 0x37 0x37 0x36 0x37 ,
      0x39 0x39 0x36 0x37 0x36 0x34 0x36 0x36 0x38 ,0x37 0x35 0x32 0x35 0x39 0x38 0x34 0x37 0x34 ,
cs 1:
the read training result:
DQS0:0x3c, DQS1:0x3b, DQS2:0x40, DQS3:0x39, 
min  : 0xb  0xc  0xd  0xa  0x2  0x5  0x7  0x5 , 0x8  0x6  0x1  0x1  0xa  0x7  0xa  0x6 ,
      0x10  0xf  0xb  0xa  0x3  0x1  0x3  0x6 , 0x9  0x5  0x5  0x1  0x9  0x9  0x8  0xa ,
mid  :0x27 0x29 0x2b 0x28 0x1f 0x22 0x23 0x21 ,0x24 0x22 0x1d 0x1e 0x26 0x25 0x26 0x24 ,
      0x2e 0x2e 0x28 0x28 0x22 0x20 0x21 0x24 ,0x27 0x24 0x22 0x20 0x28 0x28 0x27 0x29 ,
max  :0x44 0x46 0x49 0x46 0x3c 0x3f 0x3f 0x3e ,0x41 0x3f 0x3a 0x3c 0x43 0x43 0x43 0x42 ,
      0x4d 0x4d 0x46 0x46 0x41 0x40 0x40 0x42 ,0x46 0x44 0x40 0x3f 0x47 0x48 0x46 0x48 ,
range:0x39 0x3a 0x3c 0x3c 0x3a 0x3a 0x38 0x39 ,0x39 0x39 0x39 0x3b 0x39 0x3c 0x39 0x3c ,
      0x3d 0x3e 0x3b 0x3c 0x3e 0x3f 0x3d 0x3c ,0x3d 0x3f 0x3b 0x3e 0x3e 0x3f 0x3e 0x3e ,
the write training result:
DQS0:0x32, DQS1:0x26, DQS2:0x29, DQS3:0x1f, 
min  :0x54 0x56 0x57 0x55 0x4d 0x50 0x51 0x51 0x51 ,0x45 0x43 0x3e 0x41 0x47 0x46 0x46 0x47 0x42 ,
      0x50 0x4f 0x4d 0x4b 0x46 0x44 0x44 0x49 0x4a ,0x48 0x47 0x46 0x45 0x4b 0x4b 0x48 0x4c 0x47 ,
mid  :0x71 0x72 0x74 0x71 0x68 0x6b 0x6c 0x6c 0x6c ,0x60 0x5d 0x58 0x5b 0x63 0x60 0x60 0x60 0x5d ,
      0x6c 0x6b 0x67 0x67 0x61 0x5e 0x5f 0x63 0x66 ,0x64 0x61 0x5f 0x5f 0x67 0x67 0x62 0x67 0x61 ,
max  :0x8e 0x8e 0x91 0x8e 0x83 0x87 0x88 0x87 0x88 ,0x7c 0x78 0x73 0x76 0x80 0x7a 0x7b 0x79 0x78 ,
      0x89 0x88 0x82 0x83 0x7c 0x78 0x7a 0x7e 0x82 ,0x80 0x7c 0x79 0x79 0x84 0x84 0x7d 0x82 0x7c ,
range:0x3a 0x38 0x3a 0x39 0x36 0x37 0x37 0x36 0x37 ,0x37 0x35 0x35 0x35 0x39 0x34 0x35 0x32 0x36 ,
      0x39 0x39 0x35 0x38 0x36 0x34 0x36 0x35 0x38 ,0x38 0x35 0x33 0x34 0x39 0x39 0x35 0x36 0x35 ,
CA Training result:
cs:0 min  :0x44 0x40 0x3d 0x36 0x3e 0x36 0x3d ,0x42 0x3b 0x3a 0x33 0x3a 0x31 0x3d ,
cs:0 mid  :0x81 0x82 0x79 0x78 0x7a 0x77 0x6e ,0x7f 0x7d 0x77 0x74 0x76 0x73 0x6d ,
cs:0 max  :0xbe 0xc4 0xb6 0xba 0xb7 0xb8 0x9f ,0xbc 0xbf 0xb4 0xb6 0xb3 0xb6 0x9e ,
cs:0 range:0x7a 0x84 0x79 0x84 0x79 0x82 0x62 ,0x7a 0x84 0x7a 0x83 0x79 0x85 0x61 ,
cs:1 min  :0x40 0x43 0x39 0x39 0x3b 0x37 0x3c ,0x40 0x3f 0x37 0x38 0x37 0x35 0x3c ,
cs:1 mid  :0x80 0x81 0x79 0x77 0x7a 0x76 0x6f ,0x7f 0x7d 0x78 0x76 0x77 0x74 0x6e ,
cs:1 max  :0xc0 0xbf 0xb9 0xb6 0xba 0xb5 0xa2 ,0xbf 0xbc 0xb9 0xb4 0xb7 0xb3 0xa0 ,
cs:1 range:0x80 0x7c 0x80 0x7d 0x7f 0x7e 0x66 ,0x7f 0x7d 0x82 0x7c 0x80 0x7e 0x64 ,
out
U-Boot SPL board init
U-Boot SPL 2017.09-armbian (Nov 19 2021 - 13:37:50)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
MMC error: The cmd index is 1, ret is -110
Card did not respond to voltage select!
mmc_init: -95, time 10
spl: mmc init failed with error: -95
Trying to boot from MMC1
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256+ OK
## Checking uboot 0x00a00000 ... sha256+ OK
## Checking fdt 0x00b24098 ... sha256+ OK
## Checking atf-2 0x00068000 ... sha256+ OK
## Checking atf-3 0xfdcd0000 ... sha256+ OK
## Checking atf-4 0xfdcc9000 ... sha256+ OK
## Checking atf-5 0x00066000 ... sha256+ OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 211.74 ms

INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-167-g81e0b993a-dirty:xsf
NOTICE:  BL31: Built : 11:20:08, Sep  6 2021
INFO:    GICv3 without legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    pmu v1 is valid
INFO:    dfs DDR fsp_param[0].freq_mhz= 1056MHz
INFO:    dfs DDR fsp_param[1].freq_mhz= 324MHz
INFO:    dfs DDR fsp_param[2].freq_mhz= 528MHz
INFO:    dfs DDR fsp_param[3].freq_mhz= 780MHz
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
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 = 0xa00000
INFO:    SPSR = 0x3c9


U-Boot 2017.09-armbian (Nov 19 2021 - 13:37:50 +0000)

Model: Radxa ROCK 3 Model A
PreSerial: 2, raw, 0xfe660000
DRAM:  4 GiB
Sysmem: init
Relocation Offset: ed354000, fdt: eb9f8d78 
Using default environment

dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: EFI
No misc partition
boot mode: None
FIT: No boot partition
No resource partition
Failed to load DTB
Failed to get kernel dtb, ret=-19
io-domain: OK
Model: Radxa ROCK 3 Model A
rockchip_set_serialno: could not find efuse/otp device
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  apll 816000 KHz
  dpll 528000 KHz
  gpll 1188000 KHz
  cpll 1000000 KHz
  npll 24000 KHz
  vpll 24000 KHz
  hpll 24000 KHz
  ppll 100000 KHz
  armclk 816000 KHz
  aclk_bus 150000 KHz
  pclk_bus 50000 KHz
  aclk_top_high 300000 KHz
  aclk_top_low 200000 KHz
  hclk_top 150000 KHz
  pclk_top 50000 KHz
  aclk_perimid 300000 KHz
  hclk_perimid 150000 KHz
  pclk_pmu 50000 KHz
Net:   No ethernet found.
Hit key to stop autoboot('CTRL+C'):  0 
MMC error: The cmd index is 1, ret is -110
Card did not respond to voltage select!
mmc_init: -95, time 10
switch to partitions #0, OK
mmc0(part 0) is current device
** Invalid partition 1 **
starting USB...
Bus dwc3@fcc00000: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus dwc3@fd000000: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus dwc3@fcc00000 for devices... 1 USB Device(s) found
scanning bus dwc3@fd000000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rockchip
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.
No ethernet found.
## Booting FIT Image FIT: No boot partition
FIT: No FIT image
Could not find misc partition
ANDROID: reboot reason: "(none)"
optee check api revision fail: -1.0
optee api revision is too low
### ERROR ### Please RESET the board ###

These two logs both indicate that something is wrong with the boot partitions. One is unable to find a needed file, ā€œ/boot/dtb/rockchip/overlay/rk35xx-fixup.scrā€ and the other is missing ā€œbootfile.ā€

If possible, can you post your bootup logs when using a micro SD card? Differences between yours and mine pre-kernel panic may be useful.

Thanks again for your help,
Nexus

I just reproduced this kernel panic (first log) with same card, board, uart and image that worked earlier. Tomorrow Iā€™ll try to find any difference with them and let You know.
On working system I have same errors, no ethernet (cable is connected), no scr file, indeed on boot overlay folder there is rather rockchip-fixup.scr and when you copy that to right name it will react for change. It takes about 25s to boot kernel and it works with nvme 2x at full speed.

Just to confirm, you were able to successfully boot by copying rockchip-fixup.scr from boot/dtb-4.19.193/rockchip/overlay/ to k35xx-fixup.scr?

For me, copying this file removes the mention of it in the bootup logs but doesnā€™t fix the kernel panic issue.

No - this not makes it to boot and yet I donā€™t know if this has any good or bad effect at all other than no warning. This have to be something else. Iā€™m quite sure that I tested those two images and they worked perfectly and now I cant recreate them on second card, give me some time and hopefully Iā€™ll find issue. Still itā€™s much easier if I see same problem.

BTW: here is Your requested log

DDR Version V1.10 20210810
In
ddrconfig:7
LPDDR4X, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=8192MB
tdqss: cs0 dqs0: 48ps, dqs1: -48ps, dqs2: -48ps, dqs3: -144ps,
tdqss: cs1 dqs0: 72ps, dqs1: -72ps, dqs2: -24ps, dqs3: -144ps,

change to: 324MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x61

change to: 528MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58

change to: 780MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58

change to: 1056MHz(final freq)
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:22%
dram drv:40,odt:80
vref_ca:00000071
clk skew:0x36
cs 0:
the read training result:
DQS0:0x39, DQS1:0x3b, DQS2:0x41, DQS3:0x34,
min  : 0x8  0xa  0xa  0xa  0x1  0x3  0x6  0x2 , 0x8  0x6  0x1  0x3  0xb  0x9  0xb  0x8 ,
      0x13 0x12  0xe  0xd  0x7  0x2  0x4  0x7 , 0x7  0x5  0x5  0x1  0x9  0x9  0x6  0x9 ,
mid  :0x24 0x27 0x28 0x26 0x1c 0x1f 0x21 0x1f ,0x25 0x24 0x1f 0x20 0x29 0x26 0x27 0x25 ,
      0x30 0x30 0x2b 0x2a 0x25 0x21 0x23 0x24 ,0x23 0x21 0x20 0x1c 0x25 0x24 0x22 0x25 ,
max  :0x41 0x44 0x46 0x43 0x37 0x3b 0x3d 0x3d ,0x43 0x43 0x3d 0x3e 0x47 0x44 0x44 0x43 ,
      0x4e 0x4f 0x48 0x48 0x43 0x40 0x43 0x42 ,0x3f 0x3d 0x3c 0x37 0x41 0x40 0x3f 0x42 ,
range:0x39 0x3a 0x3c 0x39 0x36 0x38 0x37 0x3b ,0x3b 0x3d 0x3c 0x3b 0x3c 0x3b 0x39 0x3b ,
      0x3b 0x3d 0x3a 0x3b 0x3c 0x3e 0x3f 0x3b ,0x38 0x38 0x37 0x36 0x38 0x37 0x39 0x39 ,
the write training result:
DQS0:0x3c, DQS1:0x30, DQS2:0x30, DQS3:0x23,
min  :0x61 0x63 0x64 0x63 0x5a 0x5d 0x5f 0x60 0x5f ,0x5b 0x5b 0x55 0x58 0x60 0x5d 0x5f 0x5e 0x5a ,
      0x58 0x5a 0x53 0x55 0x4f 0x4d 0x50 0x50 0x52 ,0x51 0x50 0x4e 0x4d 0x54 0x54 0x52 0x57 0x4e ,
mid  :0x7d 0x7f 0x80 0x7f 0x74 0x78 0x7a 0x7a 0x79 ,0x75 0x73 0x6d 0x6f 0x78 0x74 0x76 0x77 0x71 ,
      0x74 0x74 0x6e 0x6f 0x67 0x64 0x65 0x69 0x6c ,0x6c 0x69 0x67 0x65 0x6d 0x6e 0x6a 0x6f 0x64 ,
max  :0x99 0x9b 0x9c 0x9b 0x8f 0x93 0x96 0x95 0x93 ,0x90 0x8c 0x86 0x87 0x91 0x8c 0x8e 0x90 0x89 ,
      0x90 0x8f 0x8a 0x89 0x80 0x7b 0x7b 0x82 0x86 ,0x88 0x82 0x81 0x7d 0x86 0x88 0x83 0x88 0x7b ,
range:0x38 0x38 0x38 0x38 0x35 0x36 0x37 0x35 0x34 ,0x35 0x31 0x31 0x2f 0x31 0x2f 0x2f 0x32 0x2f ,
      0x38 0x35 0x37 0x34 0x31 0x2e 0x2b 0x32 0x34 ,0x37 0x32 0x33 0x30 0x32 0x34 0x31 0x31 0x2d ,
cs 1:
the read training result:
DQS0:0x3a, DQS1:0x39, DQS2:0x3f, DQS3:0x37,
min  : 0x9  0xa  0xb  0xa  0x1  0x6  0x6  0x2 , 0x7  0x5  0x1  0x2  0xa  0x8  0xa  0x7 ,
       0xe  0xe  0xa  0xa  0x3  0x2  0x1  0x5 , 0x9  0x6  0x6  0x2  0xb  0xb  0x8  0xa ,
mid  :0x25 0x27 0x28 0x26 0x1b 0x20 0x20 0x1f ,0x23 0x23 0x1e 0x1e 0x28 0x25 0x26 0x24 ,
      0x2b 0x2c 0x27 0x27 0x21 0x20 0x20 0x22 ,0x25 0x23 0x22 0x1e 0x28 0x27 0x26 0x27 ,
max  :0x41 0x44 0x46 0x43 0x36 0x3b 0x3b 0x3c ,0x40 0x41 0x3b 0x3b 0x46 0x42 0x43 0x41 ,
      0x49 0x4a 0x45 0x45 0x3f 0x3e 0x3f 0x3f ,0x42 0x40 0x3f 0x3b 0x45 0x44 0x44 0x44 ,
range:0x38 0x3a 0x3b 0x39 0x35 0x35 0x35 0x3a ,0x39 0x3c 0x3a 0x39 0x3c 0x3a 0x39 0x3a ,
      0x3b 0x3c 0x3b 0x3b 0x3c 0x3c 0x3e 0x3a ,0x39 0x3a 0x39 0x39 0x3a 0x39 0x3c 0x3a ,
the write training result:
DQS0:0x3c, DQS1:0x30, DQS2:0x30, DQS3:0x23,
min  :0x67 0x68 0x69 0x68 0x5e 0x61 0x64 0x66 0x63 ,0x55 0x55 0x4f 0x52 0x5a 0x57 0x5a 0x59 0x54 ,
      0x5e 0x5f 0x58 0x5a 0x54 0x50 0x53 0x57 0x58 ,0x4f 0x4f 0x4c 0x49 0x53 0x52 0x50 0x54 0x4c ,
mid  :0x83 0x84 0x85 0x83 0x78 0x7c 0x7f 0x7f 0x7e ,0x71 0x6f 0x6a 0x6b 0x73 0x70 0x73 0x71 0x6e ,
      0x79 0x79 0x72 0x73 0x6c 0x68 0x6b 0x6e 0x71 ,0x6a 0x67 0x64 0x62 0x6c 0x6b 0x66 0x6e 0x64 ,
max  :0x9f 0xa1 0xa2 0x9f 0x93 0x98 0x9a 0x99 0x99 ,0x8d 0x89 0x85 0x85 0x8d 0x8a 0x8c 0x8a 0x88 ,
      0x95 0x94 0x8d 0x8c 0x85 0x80 0x84 0x86 0x8b ,0x86 0x80 0x7c 0x7b 0x85 0x85 0x7d 0x89 0x7c ,
range:0x38 0x39 0x39 0x37 0x35 0x37 0x36 0x33 0x36 ,0x38 0x34 0x36 0x33 0x33 0x33 0x32 0x31 0x34 ,
      0x37 0x35 0x35 0x32 0x31 0x30 0x31 0x2f 0x33 ,0x37 0x31 0x30 0x32 0x32 0x33 0x2d 0x35 0x30 ,
CA Training result:
cs:0 min  :0x51 0x52 0x45 0x46 0x47 0x43 0x4d ,0x4d 0x4a 0x45 0x44 0x46 0x41 0x4a ,
cs:0 mid  :0x90 0x8f 0x84 0x83 0x85 0x81 0x7d ,0x8b 0x88 0x85 0x82 0x84 0x80 0x7a ,
cs:0 max  :0xcf 0xcd 0xc4 0xc1 0xc4 0xbf 0xad ,0xca 0xc7 0xc5 0xc0 0xc2 0xc0 0xab ,
cs:0 range:0x7e 0x7b 0x7f 0x7b 0x7d 0x7c 0x60 ,0x7d 0x7d 0x80 0x7c 0x7c 0x7f 0x61 ,
cs:1 min  :0x4d 0x53 0x42 0x4a 0x42 0x45 0x4b ,0x49 0x4c 0x41 0x47 0x40 0x45 0x48 ,
cs:1 mid  :0x8f 0x8e 0x84 0x84 0x84 0x80 0x7c ,0x8b 0x88 0x83 0x82 0x82 0x80 0x78 ,
cs:1 max  :0xd1 0xca 0xc7 0xbf 0xc6 0xbb 0xad ,0xce 0xc4 0xc6 0xbe 0xc4 0xbc 0xa9 ,
cs:1 range:0x84 0x77 0x85 0x75 0x84 0x76 0x62 ,0x85 0x78 0x85 0x77 0x84 0x77 0x61 ,
out
U-Boot SPL board init
U-Boot SPL 2017.09-armbian (Nov 19 2021 - 08:09:37)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256+ OK
## Checking uboot 0x00a00000 ... sha256+ OK
## Checking fdt 0x00b24098 ... sha256+ OK
## Checking atf-2 0x00068000 ... sha256+ OK
## Checking atf-3 0xfdcd0000 ... sha256+ OK
## Checking atf-4 0xfdcc9000 ... sha256+ OK
## Checking atf-5 0x00066000 ... sha256+ OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 232.871 ms

INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-167-g81e0b993a-dirty:xsf
NOTICE:  BL31: Built : 11:20:08, Sep  6 2021
INFO:    GICv3 without legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    pmu v1 is valid
INFO:    dfs DDR fsp_param[0].freq_mhz= 1056MHz
INFO:    dfs DDR fsp_param[1].freq_mhz= 324MHz
INFO:    dfs DDR fsp_param[2].freq_mhz= 528MHz
INFO:    dfs DDR fsp_param[3].freq_mhz= 780MHz
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
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 = 0xa00000
INFO:    SPSR = 0x3c9


U-Boot 2017.09-armbian (Nov 19 2021 - 08:09:37 +0000)

Model: Radxa ROCK 3 Model A
PreSerial: 2, raw, 0xfe660000
DRAM:  7.7 GiB
Sysmem: init
Relocation Offset: ed354000, fdt: eb9f8d78
Using default environment

no mmc device at slot 1
dwmmc@fe2b0000: 1 (SD), dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 50Mhz
PartType: DOS
No misc partition
boot mode: None
FIT: No boot partition
No resource partition
Failed to load DTB
Failed to get kernel dtb, ret=-19
io-domain: OK
Model: Radxa ROCK 3 Model A
rockchip_set_serialno: could not find efuse/otp device
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  apll 816000 KHz
  dpll 528000 KHz
  gpll 1188000 KHz
  cpll 1000000 KHz
  npll 24000 KHz
  vpll 24000 KHz
  hpll 24000 KHz
  ppll 100000 KHz
  armclk 816000 KHz
  aclk_bus 150000 KHz
  pclk_bus 50000 KHz
  aclk_top_high 300000 KHz
  aclk_top_low 200000 KHz
  hclk_top 150000 KHz
  pclk_top 50000 KHz
  aclk_perimid 300000 KHz
  hclk_perimid 150000 KHz
  pclk_pmu 50000 KHz
Net:   No ethernet found.
Hit key to stop autoboot('CTRL+C'):  0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
3185 bytes read in 20 ms (155.3 KiB/s)
## Executing script at 00c00000
Boot script loaded from mmc 1
200 bytes read in 17 ms (10.7 KiB/s)
6125256 bytes read in 541 ms (10.8 MiB/s)
22170112 bytes read in 1878 ms (11.3 MiB/s)
146874 bytes read in 93 ms (1.5 MiB/s)
** File not found /boot/dtb/rockchip/overlay/rk35xx-fixup.scr **
Fdt Ramdisk skip relocation
## Loading init Ramdisk from Legacy Image at 0a200000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    6125192 Bytes = 5.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 0x0a100000
   Booting using the fdt blob at 0x0a100000
   reserving fdt memory region: addr=a100000 size=8a000
  'reserved-memory' ramoops@110000: addr=110000 size=f0000
   Using Device Tree in place at 000000000a100000, end 000000000a18cfff
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)
Total: 3101.860 ms

Starting kernel ...


Armbian 21.11.0-trunk Bullseye ttyFIQ0

rock-3a login:

This one is from system moved to nvme, but this makes difference after kernel load.

I reuploaded images with more verbose output and modified kernel, can You please recheck?

I donā€™t know what you did or how you did it, but the board boots now.
I tried the type 83 sector move thing you suggested yesterday to no success, but this works now.
During setup, after selecting locales to generate, the board spits out:

[ 249.930345] proc: unrecognized mount option "hidepid=invisible" or missing value

However, it keeps setting up like nothing happened and seems to run just fine.
Pasting in the full boot logs made my browser unstable so theyā€™re attached to this post in bootlogs.txt
If the uploaded file isnā€™t accessible, theyā€™re also available at: https://pastebin.com/ZwiFNLrE

The board seems to be fully controllable after boot.
Once again, thank you very much with your help on this.

I deleted that comment because it was not that. I still donā€™t know why itā€™s bit different on that card and later could not get such again. I was sure that balena should recreate everything in same way on same cards.

The problem was in kernel itself, I needed to revert few changes from build and itā€™s back to live again. It seems that I was lucky to hit right version when I first cloned project. I made last rebuild right before upload to remove verbose messages and get new checksums and that caused problem. I was sure that nothing important has been changed.
This image is beta quality, as You can see there are some errors and few things donā€™t work. Itā€™s good point to start :slight_smile: Iā€™ve learned few things about it, maybe will be able to correct some bugs. I saw that there is someone new to maintain that board on armbian (You can see his fork on repo). Also changes from station P2 (same RK soc) are comming to master, even @igorp build first images for this board for tests. With few efforts this may result in better builds, I hope I can help with that, but still need to spend more time to see how it work and how to help :slight_smile:
Good luck :slight_smile:

1 Like

Please take a look on updated build for rock3A,
recently there are many changes for RK3568 SOC (mainly merging Firefly board) and itā€™s working yet again,
You can easily build armbian straight from official repo.

If anyone need I can do any distro build, just tested bullseye cli and no kernel panic :slight_smile:

1 Like

Hello!
Can you please tell me how to load generated armbian from NMVE. Debian ā€œbullseyeā€ image generated by kernel 5.16.14 with default configuration. From SD everything is loaded from NMVE no

Would like to know how you build 5.X kernel. I am working hard on this. šŸ„²šŸ˜®ā€šŸ’Ø

Found info https://github.com/radxa/armbian-build
Error with precompiled packages
Compiled with default kernel configuration settings
https://docs.armbian.com/Developer-Guide_Build-Preparation
Your fee is not supported, select in another menu <Shov CSC/WIP/EOS/TVB>