hi Protx:
Hello, I have just started learning the compilation of Armbian. I am also using the OrangePI3b with the RK3566. I need to study the startup of rknpu in version 6.1.43. I downloaded the latest repository from https://github.com/armbian/build, specifically the main branch. I compiled it according to your compilation configuration. There was an error message upon booting.
** Booting bootflow 'mmc@fe2b0000.bootdev.part_1' with script
Boot script loaded from mmc 1:1
155 bytes read in 3 ms (49.8 KiB/s)
8598033 bytes read in 724 ms (11.3 MiB/s)
37388800 bytes read in 3133 ms (11.4 MiB/s)
167999 bytes read in 47 ms (3.4 MiB/s)
Working FDT set to a100000
Trying kaslrseed command... Info: Unknown command can be safely ignored since kaslrseed does not apply to all boards.
Unknown command 'kaslrseed' - try 'help'
Moving Image from 0x2080000 to 0x2200000, end=4660000
## Loading init Ramdisk from Legacy Image at 0a200000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 8597969 Bytes = 8.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 0a100000
Booting using the fdt blob at 0xa100000
Working FDT set to a100000
Loading Ramdisk to ec68e000, end ecec11d1 ... OK
ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0)
ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0)
Loading Device Tree to 00000000ec5fc000, end 00000000ec68dfff ... OK
Working FDT set to ec5fc000
Starting kernel ...
[ 14.607208] Internal error: Oops: 0000000096000044 [#1] SMP
[ 14.607281] pwm-backlight backlight: Looking up power-supply from device tree
[ 14.607780] Modules linked in:
[ 14.607848] pwm-backlight backlight: Looking up power-supply property in node /backlight failed
[ 14.608469] sprdbt_tty(+)
[ 14.608536] pwm-backlight backlight: supply power not found, using dummy regulator
[ 14.608569] fuse dm_mod ip_tables ipv6 panel_simple pwm_bl
[ 14.611186] CPU: 1 PID: 312 Comm: systemd-modules Tainted: G W 6.1.43-vendor-rk35xx #1
[ 14.612092] Hardware name: Rockchip RK3566 OPi 3B (DT)
[ 14.612601] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 14.613282] pc : tty_unregister_driver+0x44/0x78
[ 14.613752] lr : tty_unregister_driver+0x40/0x78
[ 14.614212] sp : ffff80000d02b7c0
[ 14.614544] x29: ffff80000d02b7c0 x28: ffff80000a10f0c8 x27: 0000000000000000
[ 14.615242] x26: 0000000000000000 x25: ffff80000a23f000 x24: ffff0000092f8400
[ 14.615937] x23: ffff80000122d000 x22: ffff80000122e178 x21: 00000000ffffffef
[ 14.616632] x20: ffff80000a2272e0 x19: ffff000008c7fb00 x18: 0000000000000000
[ 14.617328] x17: 7420797274207427 x16: 6e6f64202c545349 x15: 5845452d20687469
[ 14.618028] x14: 7720305442797474 x13: 2e79726f74636572 x12: 696420656d617320
[ 14.618724] x11: 656874206e692065 x10: 6d616e20656d6173 x9 : ffff80000915ee50
[ 14.619420] x8 : 696166206c616e72 x7 : 65746e695f646461 x6 : 0000000000000000
[ 14.620115] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
[ 14.624209] x2 : ffff000001731c80 x1 : dead000000000100 x0 : dead000000000122
[ 14.628287] Call trace:
[ 14.631921] tty_unregister_driver+0x44/0x78
[ 14.635732] mtty_probe+0x1e8/0x2b0 [sprdbt_tty]
[ 14.639572] platform_probe+0x70/0xc0
[ 14.643282] really_probe+0x1cc/0x390
[ 14.646981] __driver_probe_device+0x140/0x158
[ 14.650736] driver_probe_device+0x48/0xd0
[ 14.654452] __device_attach_driver+0xd8/0x128
[ 14.658174] bus_for_each_drv+0xa0/0xc8
[ 14.661870] __device_attach+0xf8/0x180
[ 14.665557] device_initial_probe+0x1c/0x28
[ 14.669266] bus_probe_device+0x38/0x9c
[ 14.672951] device_add+0x550/0x688
[ 14.676590] platform_device_add+0xec/0x224
[ 14.680286] mtty_pdev_init+0x50/0x1000 [sprdbt_tty]
[ 14.684061] do_one_initcall+0x94/0x1e4
[ 14.687709] do_init_module+0x58/0x1e0
[ 14.691329] load_module+0x1818/0x18e0
[ 14.694906] __do_sys_finit_module+0xf8/0x118
[ 14.698524] __arm64_sys_finit_module+0x24/0x30
[ 14.702132] invoke_syscall+0x8c/0x128
[ 14.705606] el0_svc_common.constprop.0+0xd8/0x128
[ 14.709161] do_el0_svc+0xac/0xbc
[ 14.712551] el0_svc+0x2c/0x54
[ 14.715888] el0t_64_sync_handler+0xac/0x13c
[ 14.719319] el0t_64_sync+0x19c/0x1a0
[ 14.722684]
[ 14.722684] PC: 0xffff80000875f79c:
[ 14.723515] rk_pcie_establish_link: 132 callbacks suppressed
I found that the latest repository does not match your operating instructions. For example, the commit 63073b4af636146d26a7f0f258610eed060c8f34 in the Kwiboog's uboot repository branch rk3568-2023.10 is no longer found. However, the compilation does not report any errors. Could you please share your compilation repository and configuration?
Thank you.
@Protx
kernel.log