Jump to content

Search the Community

Showing results for tags 'rock-3a'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Armbian
    • Armbian project administration
  • Community
    • Announcements
    • SBC News
    • Framework and userspace feature requests
    • Off-topic
  • Using Armbian
    • Beginners
    • Software, Applications, Userspace
    • Advanced users - Development
  • Standard support
    • Amlogic meson
    • Allwinner sunxi
    • Rockchip
    • Other families
  • Community maintained / Staging
    • TV boxes
    • Amlogic meson
    • Allwinner sunxi
    • Marvell mvebu
    • Rockchip
    • Other families
  • Support

Categories

  • Official giveaways
  • Community giveaways

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Matrix


Mastodon


IRC


Website URL


XMPP/Jabber


Skype


Github


Discord


Location


Interests

  1. My goal is to use Radxa Rock3a with a large 3.5inch HDD as a first step. Works fine if I use a M.2 E-key adapter which connects on the PCIe2.0 x1 lane and provides SATA via a JMB 5-port chip (only 2 connectors, support is in U-boot default Armbian build 2024.10). Worked also if I use an overlay included in early 6.1.84-vendor-rk35xx builds that maps RK3568 SATA onto the PCIe2.0 M.2 connector traces/signals, but now the whole 6.1.84-vendor-rk35xx ends in panic. I have not looked at exact changes (it is from the beta channel), but it was working with trunk.x and now installed variant is from trunk.y. I might not be able to find exact numbers for x and y, but the kernel crash rings a bell. Earlier booting the Rock3A was also random problematic, I thought some PSU issue or anything unknown related to power. I need to mention that with 6.6.64 and 6.12.5 the board works fine, I also did trials with NMVE + HDD connected and that works. So If I only use mainline, goal is actually achieved as a concept. NVME is 1400MByte/s, HDD 200MByte/s. But vendor kernel working would be nice as that offers NPU and video transcoding and no JMB chip needed, so that is why I try it. When I have only SD-card inserted, serial console connected and a RaspberryPi (Pi5) 27W PSU, selecting 6.1.84-vendor-rk35xx gives the log below. It seems to fail on NPU powering, something I have seen before, but was then random and did not appear anymore for kernel 6.6.64 or later. I have looked into Rock3A schematics, that makes make think that I need to solder a USB-C connector to a 12V or so supply. Radxa also mentions 9V/2A, not 5V. But I doubt that this will prevent this kernel panic, but I will try as powering the whole setup from only 12V car battery would be great. I will first see what the setup does when I connect a 5TB WD Elements when RaspberryPi (Pi5) 27W PSU is used, so the on-board DC/DC can't do anything. So the log below is what I can share and know right now, I am not sure if the 6.1.84-vendor-rk35xx is meant to be run on Rock3A RK3568, at least main focus is likely RK3588 boards. So to be continued later on. DDR 2d653b3476 typ 24/01/20-15:04:19,fwver: v1.21 In LP4/4x derate en, other dram:1x trefi SRX ddrconfig:0 LPDDR4X, 324MHz BW=32 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=2048MB tdqss: cs0 dqs0: 72ps, dqs1: -24ps, dqs2: -72ps, dqs3: -144ps, change to: 324MHz PHY drv:clk:36,ca:36,DQ:29,odt:0 vrefinner:24%, vrefout:41% dram drv:40,odt:0 clk skew:0x61 rx vref: 24.4% tx vref: 40.0% change to: 528MHz PHY drv:clk:36,ca:36,DQ:29,odt:0 vrefinner:24%, vrefout:41% dram drv:40,odt:0 clk skew:0x58 rx vref: 28.4% tx vref: 36.0% 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 rx vref: 15.6% tx vref: 38.0% change to: 1560MHz(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:0x21 rx vref: 15.6% tx vref: 21.8% cs 0: the read training result: DQS0:0x33, DQS1:0x34, DQS2:0x35, DQS3:0x2e, min :0x11 0x10 0x12 0xf 0x1 0x5 0x9 0x5 , 0xc 0x8 0x3 0x4 0xc 0xb 0xa 0x8 , 0x14 0x12 0xc 0xa 0x3 0x2 0x1 0x6 , 0xb 0x8 0x5 0x2 0xd 0xe 0xa 0xc , mid :0x2b 0x2a 0x2c 0x29 0x1c 0x1f 0x24 0x20 ,0x25 0x23 0x1e 0x1f 0x27 0x24 0x24 0x23 , 0x2d 0x2c 0x26 0x24 0x1e 0x1c 0x1b 0x20 ,0x25 0x21 0x1e 0x1b 0x27 0x27 0x24 0x26 , max :0x45 0x44 0x47 0x44 0x38 0x3a 0x3f 0x3b ,0x3f 0x3f 0x39 0x3a 0x42 0x3d 0x3e 0x3f , 0x47 0x46 0x40 0x3f 0x39 0x37 0x36 0x3b ,0x3f 0x3b 0x38 0x35 0x41 0x41 0x3f 0x40 , range:0x34 0x34 0x35 0x35 0x37 0x35 0x36 0x36 ,0x33 0x37 0x36 0x36 0x36 0x32 0x34 0x37 , 0x33 0x34 0x34 0x35 0x36 0x35 0x35 0x35 ,0x34 0x33 0x33 0x33 0x34 0x33 0x35 0x34 , the write training result: DQS0:0x2f, DQS1:0x1d, DQS2:0x13, DQS3:0x5, min :0x7a 0x7e 0x83 0x79 0x6c 0x70 0x74 0x74 0x72 ,0x68 0x63 0x5f 0x5d 0x66 0x67 0x65 0x65 0x62 , 0x69 0x69 0x62 0x60 0x58 0x57 0x58 0x5b 0x5d ,0x5a 0x55 0x54 0x4f 0x59 0x5b 0x57 0x5d 0x52 , mid :0x96 0x98 0x9c 0x95 0x87 0x8a 0x8f 0x8d 0x8b ,0x80 0x7d 0x78 0x75 0x7f 0x7e 0x7d 0x7d 0x7a , 0x84 0x84 0x7c 0x7a 0x72 0x71 0x72 0x76 0x77 ,0x74 0x70 0x6e 0x69 0x74 0x74 0x70 0x76 0x6d , max :0xb2 0xb3 0xb6 0xb1 0xa2 0xa4 0xab 0xa7 0xa4 ,0x99 0x98 0x91 0x8e 0x99 0x95 0x96 0x96 0x92 , 0xa0 0x9f 0x96 0x95 0x8c 0x8b 0x8c 0x91 0x92 ,0x8e 0x8b 0x89 0x84 0x8f 0x8e 0x89 0x8f 0x88 , range:0x38 0x35 0x33 0x38 0x36 0x34 0x37 0x33 0x32 ,0x31 0x35 0x32 0x31 0x33 0x2e 0x31 0x31 0x30 , 0x37 0x36 0x34 0x35 0x34 0x34 0x34 0x36 0x35 ,0x34 0x36 0x35 0x35 0x36 0x33 0x32 0x32 0x36 , CA Training result: cs:0 min :0x4c 0x4c 0x43 0x3e 0x45 0x3c 0x4c ,0x4f 0x49 0x44 0x3c 0x41 0x3b 0x4d , cs:0 mid :0x8a 0x8a 0x7f 0x7e 0x80 0x7b 0x79 ,0x8b 0x88 0x7f 0x7c 0x7c 0x7b 0x79 , cs:0 max :0xc9 0xc9 0xbb 0xbf 0xbb 0xba 0xa6 ,0xc7 0xc7 0xbb 0xbd 0xb8 0xbb 0xa5 , cs:0 range:0x7d 0x7d 0x78 0x81 0x76 0x7e 0x5a ,0x78 0x7e 0x77 0x81 0x77 0x80 0x58 , out U-Boot SPL 2024.10-armbian-2024.10-Sf919-P35d0-Hba75-Vea36-Bdacf-R448a (Dec 09 2024 - 13:26:39 +0000) Trying to boot from SPI ## Checking hash(es) for config config-1 ... OK ## Checking hash(es) for Image atf-1 ... sha256+ OK ## Checking hash(es) for Image u-boot ... sha256+ OK ## Checking hash(es) for Image fdt-1 ... sha256+ OK ## Checking hash(es) for Image atf-2 ... sha256+ OK ## Checking hash(es) for Image atf-3 ... sha256+ OK ## Checking hash(es) for Image atf-4 ... sha256+ OK ## Checking hash(es) for Image atf-5 ... sha256+ OK ## Checking hash(es) for Image atf-6 ... sha256+ OK INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-645-g8cea6ab0b:cl, fwver: v1.44 NOTICE: BL31: Built : 16:36:43, Sep 19 2023 INFO: GICv3 without legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: pmu v1 is valid 220114 INFO: l3 cache partition cfg-0 INFO: dfs DDR fsp_param[0].freq_mhz= 1560MHz 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 2024.10-armbian-2024.10-Sf919-P35d0-Hba75-Vea36-Bdacf-R448a (Dec 09 2024 - 13:26:39 +0000) Model: Radxa ROCK 3A DRAM: 2 GiB PMIC: RK809 (on=0x40, off=0x00) Core: 343 devices, 31 uclasses, devicetree: separate MMC: mmc@fe000000: 2, mmc@fe2b0000: 1, mmc@fe310000: 0 Loading Environment from nowhere... OK In: serial@fe660000 Out: serial@fe660000 Err: serial@fe660000 Model: Radxa ROCK 3A Net: eth0: ethernet@fe010000 Hit any key to stop autoboot: 0 Scanning for bootflows in all bootdevs Seq Method State Uclass Part Name Filename --- ----------- ------ -------- ---- ------------------------ ---------------- Scanning global bootmeth 'efi_mgr': Card did not respond to voltage select! : -110 Card did not respond to voltage select! : -110 No EFI system partition No EFI system partition Failed to persist EFI variables No EFI system partition Failed to persist EFI variables No EFI system partition Failed to persist EFI variables 0 efi_mgr ready (none) 0 <NULL> ** Booting bootflow '<NULL>' with efi_mgr Loading Boot0000 'mmc 1' failed EFI boot manager: Cannot load any image Boot failed (err=-14) Scanning bootdev 'mmc@fe2b0000.bootdev': 1 extlinux ready mmc 1 mmc@fe2b0000.bootdev.part /extlinux/extlinux.conf ** Booting bootflow 'mmc@fe2b0000.bootdev.part_1' with extlinux Select the boot mode 1: edge 2: current 3: vendor Enter choice: 3 3: vendor Retrieving file: /extlinux/6.1.84-vendor-rk35xx/Image Retrieving file: /extlinux/6.1.84-vendor-rk35xx/uInitrd append: root=/dev/mmcblk1p2 rootwait rw earlyprintk console=ttyS2,1500000 Retrieving file: /extlinux/6.1.84-vendor-rk35xx/rk3568-rock-3a.dtb ## Loading init Ramdisk from Legacy Image at 12180000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 18710148 Bytes = 17.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 12000000 Booting using the fdt blob at 0x12000000 Working FDT set to 12000000 Loading Ramdisk to 7bcc9000, end 7cea0e84 ... 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 000000007bc9a000, end 000000007bcc834d ... OK Working FDT set to 7bc9a000 Starting kernel ... [ 16.420184] Booting Linux on physical CPU 0x0000000000 [0x412fd050] [ 16.420228] Linux version 6.1.84-vendor-rk35xx (build@armbian) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP Sun Dec 15 09:25:38 UTC 2024 [ 16.427542] Machine model: Radxa ROCK3 Model A [ 16.427641] efi: UEFI not found. [ 16.427912] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@0': base 0x0000000000000000, size 0 MiB [ 16.427940] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-cubic-lut@0': base 0x0000000000000000, size 0 MiB [ 16.428081] Reserved memory: created CMA memory pool at 0x000000005bc00000, size 512 MiB [ 16.428090] OF: reserved mem: initialized node rknpu, compatible id shared-dma-pool [ 16.504567] Zone ranges: [ 16.504579] DMA [mem 0x0000000000200000-0x000000007fffffff] [ 16.504598] DMA32 empty [ 16.504605] Normal empty [ 16.504612] Movable zone start for each node [ 16.504615] Early memory node ranges [ 16.504618] node 0: [mem 0x0000000000200000-0x000000007fffffff] [ 16.504633] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff] [ 16.520717] On node 0, zone DMA: 512 pages in unavailable ranges [ 16.520753] cma: Reserved 16 MiB at 0x000000005ac00000 [ 16.520904] psci: probing for conduit method from DT. [ 16.520919] psci: PSCIv1.1 detected in firmware. [ 16.520927] psci: Using standard PSCI v0.2 function IDs [ 16.520936] psci: MIGRATE_INFO_TYPE not supported. [ 16.520955] psci: SMC Calling Convention v1.2 [ 16.521467] percpu: Embedded 30 pages/cpu s82728 r8192 d31960 u122880 [ 16.521679] Detected VIPT I-cache on CPU0 [ 16.521761] CPU features: detected: GIC system register CPU interface [ 16.521768] CPU features: detected: Virtualization Host Extensions [ 16.521788] CPU features: kernel page table isolation forced ON by KASLR [ 16.521796] CPU features: detected: Kernel page table isolation (KPTI) [ 16.521806] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009 [ 16.521811] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 16.521819] alternatives: applying boot alternatives [ 16.522419] Built 1 zonelists, mobility grouping on. Total pages: 515592 [ 16.522439] Kernel command line: root=/dev/mmcblk1p2 rootwait rw earlyprintk console=ttyS2,1500000 [ 16.522796] Unknown kernel command line parameters "earlyprintk", will be passed to user space. [ 16.523504] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 16.523851] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 16.523865] mem auto-init: stack:off, heap alloc:off, heap free:off [ 16.557699] Memory: 1455124K/2095104K available (18688K kernel code, 3956K rwdata, 7872K rodata, 8128K init, 703K bss, 99308K reserved, 540672K cma-reserved) [ 16.557948] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 16.558016] ftrace: allocating 71456 entries in 280 pages [ 16.752227] ftrace: allocated 280 pages with 3 groups [ 16.752489] trace event string verifier disabled [ 16.752842] rcu: Hierarchical RCU implementation. [ 16.752851] rcu: RCU event tracing is enabled. [ 16.752855] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 16.752865] Rude variant of Tasks RCU enabled. [ 16.752869] Tracing variant of Tasks RCU enabled. [ 16.752874] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies. [ 16.752880] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 16.782486] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 16.785586] GICv3: GIC: Using split EOI/Deactivate mode [ 16.785601] GICv3: 320 SPIs implemented [ 16.785611] GICv3: 0 Extended SPIs implemented [ 16.785669] Root IRQ handler: gic_handle_irq [ 16.785694] GICv3: GICv3 features: 16 PPIs [ 16.785739] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000 [ 16.786570] ITS [mem 0xfd440000-0xfd45ffff] [ 16.786678] ITS@0x00000000fd440000: allocated 8192 Devices @660000 (indirect, esz 8, psz 64K, shr 0) [ 16.786740] ITS@0x00000000fd440000: allocated 32768 Interrupt Collections @670000 (flat, esz 2, psz 64K, shr 0) [ 16.786762] ITS: using cache flushing for cmd queue [ 16.787392] GICv3: using LPI property table @0x0000000000680000 [ 16.787561] GIC: using cache flushing for LPI property table [ 16.787570] GICv3: CPU0: using allocated LPI pending table @0x0000000000690000 [ 16.787684] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 16.837185] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 16.837218] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 16.837235] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 16.839358] Console: colour dummy device 80x25 [ 16.839425] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000) [ 16.839444] pid_max: default: 32768 minimum: 301 [ 16.839592] LSM: Security Framework initializing [ 16.839746] AppArmor: AppArmor initialized [ 16.839978] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 16.840004] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 16.841606] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 16.843257] cblist_init_generic: Setting adjustable number of callback queues. [ 16.843268] cblist_init_generic: Setting shift to 2 and lim to 1. [ 16.843472] cblist_init_generic: Setting adjustable number of callback queues. [ 16.843483] cblist_init_generic: Setting shift to 2 and lim to 1. [ 16.843936] rcu: Hierarchical SRCU implementation. [ 16.843944] rcu: Max phase no-delay instances is 1000. [ 16.846116] Platform MSI: interrupt-controller@fd440000 domain created [ 16.846975] PCI/MSI: /interrupt-controller@fd400000/interrupt-controller@fd440000 domain created [ 16.847567] EFI services will not be available. [ 16.848266] smp: Bringing up secondary CPUs ... [ 16.849524] Detected VIPT I-cache on CPU1 [ 16.849670] cacheinfo: Unable to detect cache hierarchy for CPU 1 [ 16.849692] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000 [ 16.849723] GICv3: CPU1: using allocated LPI pending table @0x00000000006a0000 [ 16.849794] CPU1: Booted secondary processor 0x0000000100 [0x412fd050] [ 16.851272] Detected VIPT I-cache on CPU2 [ 16.851411] cacheinfo: Unable to detect cache hierarchy for CPU 2 [ 16.851433] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000 [ 16.851461] GICv3: CPU2: using allocated LPI pending table @0x00000000006b0000 [ 16.851518] CPU2: Booted secondary processor 0x0000000200 [0x412fd050] [ 16.852870] Detected VIPT I-cache on CPU3 [ 16.853005] cacheinfo: Unable to detect cache hierarchy for CPU 3 [ 16.853026] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000 [ 16.853054] GICv3: CPU3: using allocated LPI pending table @0x00000000006c0000 [ 16.853109] CPU3: Booted secondary processor 0x0000000300 [0x412fd050] [ 16.853294] smp: Brought up 1 node, 4 CPUs [ 16.853309] SMP: Total of 4 processors activated. [ 16.853318] CPU features: detected: 32-bit EL0 Support [ 16.853322] CPU features: detected: 32-bit EL1 Support [ 16.853330] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [ 16.853336] CPU features: detected: Common not Private translations [ 16.853341] CPU features: detected: CRC32 instructions [ 16.853349] CPU features: detected: RCpc load-acquire (LDAPR) [ 16.853354] CPU features: detected: Privileged Access Never [ 16.853358] CPU features: detected: RAS Extension Support [ 16.853367] CPU features: detected: Speculative Store Bypassing Safe (SSBS) [ 16.853494] CPU: All CPU(s) started at EL2 [ 16.853501] alternatives: applying system-wide alternatives [ 16.855793] devtmpfs: initialized [ 16.899955] Registered cp15_barrier emulation handler [ 16.899983] Registered setend emulation handler [ 16.900305] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns [ 16.900343] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 16.918075] pinctrl core: initialized pinctrl subsystem [ 16.919174] DMI not present or invalid. [ 16.920184] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 16.922429] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 16.922953] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 16.923233] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 16.923325] audit: initializing netlink subsys (disabled) [ 16.923677] audit: type=2000 audit(0.083:1): state=initialized audit_enabled=0 res=1 [ 16.928669] Registered FIQ tty driver [ 16.929454] thermal_sys: Registered thermal governor 'fair_share' [ 16.929465] thermal_sys: Registered thermal governor 'step_wise' [ 16.929472] thermal_sys: Registered thermal governor 'user_space' [ 16.929478] thermal_sys: Registered thermal governor 'power_allocator' [ 16.929623] cpuidle: using governor menu [ 16.930110] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 16.930389] ASID allocator initialised with 32768 entries [ 16.934821] ramoops: dmesg-0 0x20000@0x0000000000110000 [ 16.934879] ramoops: console 0x80000@0x0000000000130000 [ 16.934912] ramoops: pmsg 0x50000@0x00000000001b0000 [ 16.935641] printk: console [ramoops-1] enabled [ 16.935657] pstore: Registered ramoops as persistent store backend [ 16.935670] ramoops: using 0xf0000@0x110000, ecc: 0 [ 16.967521] platform fe040000.vop: Fixed dependency cycle(s) with /hdmi@fe0a0000 [ 16.967676] platform fe0a0000.hdmi: Fixed dependency cycle(s) with /vop@fe040000 [ 17.004543] rockchip-gpio fdd60000.gpio: probed /pinctrl/gpio@fdd60000 [ 17.005634] rockchip-gpio fe740000.gpio: probed /pinctrl/gpio@fe740000 [ 17.006614] rockchip-gpio fe750000.gpio: probed /pinctrl/gpio@fe750000 [ 17.007721] rockchip-gpio fe760000.gpio: probed /pinctrl/gpio@fe760000 [ 17.008623] rockchip-gpio fe770000.gpio: probed /pinctrl/gpio@fe770000 [ 17.008867] rockchip-pinctrl pinctrl: probed pinctrl [ 17.024375] KASLR enabled [ 17.049281] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 17.049321] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 17.049337] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 17.049349] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 17.049363] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 17.049374] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 17.049387] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 17.049397] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 17.106803] raid6: neonx8 gen() 1372 MB/s [ 17.163677] raid6: neonx4 gen() 1408 MB/s [ 17.220568] raid6: neonx2 gen() 1290 MB/s [ 17.277430] raid6: neonx1 gen() 1051 MB/s [ 17.334305] raid6: int64x8 gen() 349 MB/s [ 17.391161] raid6: int64x4 gen() 440 MB/s [ 17.448025] raid6: int64x2 gen() 910 MB/s [ 17.504857] raid6: int64x1 gen() 638 MB/s [ 17.504876] raid6: using algorithm neonx4 gen() 1408 MB/s [ 17.561712] raid6: .... xor() 1069 MB/s, rmw enabled [ 17.561731] raid6: using neon recovery algorithm [ 17.563988] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ fiq not found [ 17.564038] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ wakeup not found [ 17.564066] fiq_debugger_probe: could not install nmi irq handler [ 17.564828] printk: console [ttyFIQ0] enabled [ 17.565296] Registered fiq debugger ttyFIQ0 [ 17.573621] iommu: Default domain type: Translated [ 17.573657] iommu: DMA domain TLB invalidation policy: strict mode [ 17.574305] SCSI subsystem initialized [ 17.574732] usbcore: registered new interface driver usbfs [ 17.574830] usbcore: registered new interface driver hub [ 17.574905] usbcore: registered new device driver usb [ 17.575181] mc: Linux media interface: v0.10 [ 17.575274] videodev: Linux video capture interface: v2.00 [ 17.575535] pps_core: LinuxPPS API ver. 1 registered [ 17.575558] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 17.575602] PTP clock support registered [ 17.576623] arm-scmi firmware:scmi: Enabled polling mode TX channel - prot_id:16 [ 17.576863] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled. [ 17.576956] arm-scmi firmware:scmi: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0 [ 17.578664] Advanced Linux Sound Architecture Driver Initialized. [ 17.579800] Bluetooth: Core ver 2.22 [ 17.579898] NET: Registered PF_BLUETOOTH protocol family [ 17.579921] Bluetooth: HCI device and connection manager initialized [ 17.579947] Bluetooth: HCI socket layer initialized [ 17.579970] Bluetooth: L2CAP socket layer initialized [ 17.580017] Bluetooth: SCO socket layer initialized [ 17.580161] NetLabel: Initializing [ 17.580183] NetLabel: domain hash size = 128 [ 17.580198] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 17.580315] NetLabel: unlabeled traffic allowed by default [ 17.580985] vgaarb: loaded [ 17.586279] clocksource: Switched to clocksource arch_sys_counter [ 17.586890] VFS: Disk quotas dquot_6.6.0 [ 17.586996] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 17.587859] AppArmor: AppArmor Filesystem Enabled [ 17.605177] NET: Registered PF_INET protocol family [ 17.605504] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 17.608879] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 17.608964] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 17.609100] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 17.609265] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear) [ 17.609830] TCP: Hash tables configured (established 16384 bind 16384) [ 17.610247] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear) [ 17.610376] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 17.610448] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 17.610776] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 17.611685] RPC: Registered named UNIX socket transport module. [ 17.611714] RPC: Registered udp transport module. [ 17.611730] RPC: Registered tcp transport module. [ 17.611746] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 17.613385] PCI: CLS 0 bytes, default 64 [ 17.614339] Trying to unpack rootfs image as initramfs... [ 17.635363] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 counters available [ 17.637074] kvm [1]: IPA Size Limit: 40 bits [ 17.637150] kvm [1]: GICv3: no GICV resource entry [ 17.637171] kvm [1]: disabling GICv2 emulation [ 17.637187] kvm [1]: GIC system register CPU interface enabled [ 17.644292] kvm [1]: vgic interrupt IRQ9 [ 17.653955] kvm [1]: VHE mode initialized successfully [ 18.347733] Initialise system trusted keyrings [ 18.348246] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 18.357334] zbud: loaded [ 18.360803] NFS: Registering the id_resolver key type [ 18.360918] Key type id_resolver registered [ 18.360941] Key type id_legacy registered [ 18.361110] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 18.361138] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 18.416171] NET: Registered PF_ALG protocol family [ 18.416314] xor: measuring software checksum speed [ 18.422675] 8regs : 1565 MB/sec [ 18.427915] 32regs : 1911 MB/sec [ 18.434090] arm64_neon : 1621 MB/sec [ 18.434140] xor: using function: 32regs (1911 MB/sec) [ 18.434189] Key type asymmetric registered [ 18.434213] Asymmetric key parser 'x509' registered [ 18.434356] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 241) [ 18.434783] io scheduler mq-deadline registered [ 18.434817] io scheduler kyber registered [ 18.458305] rockchip-snps-pcie3-phy fe8c0000.phy: failed to find rockchip,pipe_grf regmap [ 18.462652] dw-pcie 3c0000000.pcie: invalid resource [ 18.462718] dw-pcie 3c0000000.pcie: Failed to initialize host [ 18.462800] dw-pcie: probe of 3c0000000.pcie failed with error -22 [ 18.463844] dw-pcie 3c0800000.pcie: invalid resource [ 18.463880] dw-pcie 3c0800000.pcie: Failed to initialize host [ 18.463947] dw-pcie: probe of 3c0800000.pcie failed with error -22 [ 18.465758] rk-pcie 3c0000000.pcie: invalid prsnt-gpios property in node [ 18.467148] rk-pcie 3c0800000.pcie: invalid prsnt-gpios property in node [ 18.467793] iep: Module initialized. [ 18.467922] rk-pcie 3c0000000.pcie: host bridge /pcie@fe260000 ranges: [ 18.468000] rk-pcie 3c0000000.pcie: IO 0x00f4100000..0x00f41fffff -> 0x00f4100000 [ 18.468055] rk-pcie 3c0000000.pcie: MEM 0x00f4200000..0x00f5ffffff -> 0x00f4200000 [ 18.468064] mpp_service mpp-srv: 90fcfbda8ad3 author: Nyanmisaka 2024-11-25 video: rockchip: mpp: rkvdec: suppress cru reset logs [ 18.468079] mpp_service mpp-srv: probe start [ 18.468099] rk-pcie 3c0000000.pcie: MEM 0x0300000000..0x033fffffff -> 0x0300000000 [ 18.468205] rk-pcie 3c0000000.pcie: iATU unroll: enabled [ 18.468228] rk-pcie 3c0000000.pcie: iATU regions: 8 ob, 8 ib, align 64K, limit 8G [ 18.477196] snps pcie3phy FW update! size 8192 [ 18.491595] rk-pcie 3c0800000.pcie: host bridge /pcie@fe280000 ranges: [ 18.491695] rk-pcie 3c0800000.pcie: IO 0x00f0100000..0x00f01fffff -> 0x00f0100000 [ 18.491741] rk-pcie 3c0800000.pcie: MEM 0x00f0200000..0x00f1ffffff -> 0x00f0200000 [ 18.491776] rk-pcie 3c0800000.pcie: MEM 0x0380000000..0x03bfffffff -> 0x0380000000 [ 18.491873] rk-pcie 3c0800000.pcie: iATU unroll: enabled [ 18.491895] rk-pcie 3c0800000.pcie: iATU regions: 8 ob, 8 ib, align 64K, limit 8G [ 18.498973] mpp_service mpp-srv: probe success [ 18.508052] dma-pl330 fe530000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 18.508123] dma-pl330 fe530000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 18.512097] dma-pl330 fe550000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 18.512164] dma-pl330 fe550000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 18.512904] rockchip-pvtm fde00000.pvtm: failed to retrieve pvtm_tz [ 18.513048] rockchip-pvtm fde00000.pvtm: pvtm@0 probed [ 18.513301] rockchip-pvtm fde80000.pvtm: failed to retrieve pvtm_tz [ 18.513411] rockchip-pvtm fde80000.pvtm: pvtm@1 probed [ 18.513607] rockchip-pvtm fde90000.pvtm: failed to retrieve pvtm_tz [ 18.513691] rockchip-pvtm fde90000.pvtm: pvtm@2 probed [ 18.515265] rockchip-system-monitor rockchip-system-monitor: system monitor probe [ 18.517094] arm-scmi firmware:scmi: Failed. SCMI protocol 22 not active. [ 18.517579] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 18.519235] fe650000.serial: ttyS1 at MMIO 0xfe650000 (irq = 38, base_baud = 1500000) is a 16550A [ 18.523678] led_vk2c21_init [ 18.523678] ============================================= [ 18.523878] random: crng init done [ 18.534941] rockchip-pm-domain fdd90000.power-management:power-controller: failed to get ack on domain 'npu', target_idle = 0, target_ack = 0, val=0x1ee [ 18.535006] Kernel panic - not syncing: panic_on_set_idle set ... [ 18.536736] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.1.84-vendor-rk35xx #1 [ 18.537384] Hardware name: Radxa ROCK3 Model A (DT) [ 18.537827] Call trace: [ 18.538061] dump_backtrace+0xe4/0x108 [ 18.538417] show_stack+0x20/0x30 [ 18.538727] dump_stack_lvl+0x7c/0xa0 [ 18.539077] dump_stack+0x18/0x34 [ 18.539386] panic+0x150/0x328 [ 18.539673] rockchip_pmu_set_idle_request+0x10c/0x1cc [ 18.540152] rockchip_pd_power+0x43c/0x494 [ 18.540532] rockchip_pd_power_on+0x24/0x38 [ 18.540923] _genpd_power_on+0x11c/0x150 [ 18.541295] genpd_power_on+0x5c/0x150 [ 18.541641] __genpd_dev_pm_attach+0x19c/0x26c [ 18.542056] genpd_dev_pm_attach+0x68/0x6c [ 18.542437] dev_pm_domain_attach+0x20/0x3c [ 18.542829] platform_probe+0x58/0xc0 [ 18.543177] really_probe+0x1cc/0x390 [ 18.543522] __driver_probe_device+0x140/0x158 [ 18.543937] driver_probe_device+0x48/0xd0 [ 18.544319] __driver_attach+0xbc/0x17c [ 18.544675] bus_for_each_dev+0x78/0xc4 [ 18.545030] driver_attach+0x2c/0x38 [ 18.545363] bus_add_driver+0xf8/0x20c [ 18.545707] driver_register+0xbc/0xf8 [ 18.546053] __platform_driver_register+0x30/0x3c [ 18.546493] rk_iommu_driver_init+0x24/0x30 [ 18.546888] do_one_initcall+0x94/0x1e4 [ 18.547246] kernel_init_freeable+0x2c0/0x2c8 [ 18.547649] kernel_init+0x30/0x138 [ 18.547975] ret_from_fork+0x10/0x20 [ 18.548313] SMP: stopping secondary CPUs [ 18.548681] CPU3: stopping [ 18.548681] CPU0: stopping [ 18.548681] CPU2: stopping [ 18.548702] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.1.84-vendor-rk35xx #1 [ 18.548716] Hardware name: Radxa ROCK3 Model A (DT) [ 18.548722] Call trace: [ 18.548726] dump_backtrace+0xe4/0x108 [ 18.548747] show_stack+0x20/0x30 [ 18.548757] dump_stack_lvl+0x7c/0xa0 [ 18.548770] dump_stack+0x18/0x34 [ 18.548782] local_cpu_stop+0x4c/0x6c [ 18.548792] ipi_handler+0x188/0x1d0 [ 18.548801] handle_percpu_devid_irq+0x70/0x128 [ 18.548816] handle_irq_desc+0x28/0x40 [ 18.548830] generic_handle_domain_irq+0x24/0x30 [ 18.548845] gic_handle_irq+0x1ac/0x228 [ 18.548854] call_on_irq_stack+0x24/0x4c [ 18.548865] do_interrupt_handler+0xa4/0xc4 [ 18.548880] el1_interrupt+0x94/0xa4 [ 18.548893] el1h_64_irq_handler+0x18/0x24 [ 18.548905] el1h_64_irq+0x74/0x78 [ 18.548914] arch_cpu_idle+0x18/0x44 [ 18.548927] default_idle_call+0x58/0x78 [ 18.548939] do_idle+0x128/0x250 [ 18.548955] cpu_startup_entry+0x3c/0x40 [ 18.548968] __cpu_disable+0x0/0xc0 [ 18.548978] __secondary_switched+0xb0/0xb4 [ 18.548996] CPU: 2 PID: 48 Comm: kworker/u8:3 Not tainted 6.1.84-vendor-rk35xx #1 [ 18.549010] Hardware name: Radxa ROCK3 Model A (DT) [ 18.549018] Workqueue: events_unbound async_run_entry_fn [ 18.549042] Call trace: [ 18.549045] dump_backtrace+0xe4/0x108 [ 18.549058] show_stack+0x20/0x30 [ 18.549068] dump_stack_lvl+0x7c/0xa0 [ 18.549080] dump_stack+0x18/0x34 [ 18.549092] local_cpu_stop+0x4c/0x6c [ 18.549101] ipi_handler+0x188/0x1d0 [ 18.549111] handle_percpu_devid_irq+0x70/0x128 [ 18.549123] handle_irq_desc+0x28/0x40 [ 18.549137] generic_handle_domain_irq+0x24/0x30 [ 18.549151] gic_handle_irq+0x1ac/0x228 [ 18.549160] call_on_irq_stack+0x24/0x4c [ 18.549171] do_interrupt_handler+0xa4/0xc4 [ 18.549185] el1_interrupt+0x94/0xa4 [ 18.549197] el1h_64_irq_handler+0x18/0x24 [ 18.549210] el1h_64_irq+0x74/0x78 [ 18.549218] inflate_fast+0xb0/0x4a8 [ 18.549235] zlib_inflate+0x7ec/0xd5c [ 18.549248] __gunzip+0x28c/0x2f4 [ 18.549260] gunzip+0x1c/0x28 [ 18.549269] unpack_to_rootfs+0x1d0/0x28c [ 18.549281] do_populate_rootfs+0x88/0x174 [ 18.549293] async_run_entry_fn+0x6c/0x138 [ 18.549307] process_one_work+0x1c0/0x274 [ 18.549320] worker_thread+0x1dc/0x274 [ 18.549331] kthread+0xd4/0xe4 [ 18.549342] ret_from_fork+0x10/0x20 [ 18.549356] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.84-vendor-rk35xx #1 [ 18.549369] Hardware name: Radxa ROCK3 Model A (DT) [ 18.549374] Call trace: [ 18.549377] dump_backtrace+0xe4/0x108 [ 18.549393] show_stack+0x20/0x30 [ 18.549403] dump_stack_lvl+0x7c/0xa0 [ 18.549416] dump_stack+0x18/0x34 [ 18.549427] local_cpu_stop+0x4c/0x6c [ 18.549436] ipi_handler+0x188/0x1d0 [ 18.549444] handle_percpu_devid_irq+0x70/0x128 [ 18.549457] handle_irq_desc+0x28/0x40 [ 18.549470] generic_handle_domain_irq+0x24/0x30 [ 18.549484] gic_handle_irq+0x1ac/0x228 [ 18.549493] call_on_irq_stack+0x24/0x4c [ 18.549505] do_interrupt_handler+0xa4/0xc4 [ 18.549518] el1_interrupt+0x94/0xa4 [ 18.549530] el1h_64_irq_handler+0x18/0x24 [ 18.549542] el1h_64_irq+0x74/0x78 [ 18.549551] arch_cpu_idle+0x18/0x44 [ 18.549563] default_idle_call+0x58/0x78 [ 18.549575] do_idle+0x128/0x250 [ 18.549590] cpu_startup_entry+0x3c/0x40 [ 18.549605] kernel_init+0x0/0x138 [ 18.549619] arch_post_acpi_subsys_init+0x0/0x28 [ 18.549631] start_kernel+0x6f4/0x734 [ 18.549641] __primary_switched+0xbc/0xc4 [ 18.549660] PMU CRU: [ 18.578640] 00000000: 00006064 00001481 00000000 00000007 00007f00 00000000 00000000 00000000 [ 18.579409] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.580179] 00000040: 00002063 00001481 00000000 00000007 00007f00 00000000 00000000 00000000 [ 18.580946] 00000060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.581713] 00000080: 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.582479] 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.583246] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.584013] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.584780] 00000100: 00000080 0040b71b 00000001 00000001 00000800 00000000 00000001 00000009 [ 18.585549] 00000120: 0000050f 00008888 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.586316] 00000140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.587083] 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.587850] 00000180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.588617] 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.589384] 000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.590150] 000001e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.590917] 00000200: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.591683] 00000220: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.592443] 00000240: 00040020 00000000 [ 18.592794] CRU: [ 18.592975] 00000000: 00002044 00001441 00000000 00000007 00007f00 00000000 00000000 00000000 [ 18.593742] 00000020: 00004082 00001441 00000000 00000007 00007f00 00000000 00000000 00000000 [ 18.594508] 00000040: 00002063 00001441 00000000 00000007 00007f00 00000000 00000000 00000000 [ 18.595274] 00000060: 0000107d 00001443 00000000 00000007 00007f00 00000000 00000000 00000000 [ 18.596041] 00000080: 00001032 00001441 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.596807] 000000a0: 0000307d 00001442 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.597575] 000000c0: 00004455 00000000 00000000 00000000 00640064 00000000 00000000 00000103 [ 18.598342] 000000e0: 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.599110] 00000100: 00000000 00000000 00000001 00000303 00000303 00000111 00004191 00000011 [ 18.599876] 00000120: 00000053 00000100 00000001 00008000 00040004 00008000 00040004 00008000 [ 18.600644] 00000140: 00040004 00008000 00040004 00008000 00040004 00008000 00040004 00004000 [ 18.601410] 00000160: 00040004 0000000b 00040004 00000010 00005000 00001c30 00000420 00000000 [ 18.602177] 00000180: 00000520 00000004 00000310 0000c001 0000c0c0 00003100 00000001 00000000 [ 18.602943] 000001a0: 00000001 00000003 00000103 00002100 00000203 00000003 00000000 00000103 [ 18.603709] 000001c0: 00000003 00000301 00000001 00001300 0000200b 00040004 0000200b 00040004 [ 18.604476] 000001e0: 0000200b 00040004 0000200b 00040004 0000200b 00040004 0000200b 00040004 [ 18.605244] 00000200: 0000200b 00040004 0000200b 00040004 0000200b 00040004 00000303 00000203 [ 18.606011] 00000220: 00001500 00000000 0000001f 00000302 00000705 00000f0b 0000013b 00000303 [ 18.606778] 00000240: 00000f07 00002713 00001f09 00008000 00040004 00003b2f 00000101 00000302 [ 18.607545] 00000260: 00000704 0000130f 00001f27 00000000 00000000 00000000 00000000 00000000 [ 18.608312] 00000280: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.609079] 000002a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.609845] 000002c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.610611] 000002e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.611378] 00000300: 00000000 00000000 00000000 00000000 00000000 00000000 00003333 0000c333 [ 18.612144] 00000320: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.612909] 00000340: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.613675] 00000360: 00000000 00000000 00000000 0000f000 00006666 00006666 00000000 00000000 [ 18.614442] 00000380: 00000000 00000000 00004000 00002000 00000000 00000000 00000000 00000000 [ 18.615208] 000003a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.615974] 000003c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.616740] 000003e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.617506] 00000400: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.618272] 00000420: 00000000 00000000 00000000 00000002 00000000 00000000 00001000 00000000 [ 18.619037] 00000440: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.619804] 00000460: 00000000 00000000 00000400 00000000 000000a0 00000000 00000000 00000000 [ 18.620570] 00000480: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.621337] 000004a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.622104] 000004c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.622870] 000004e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.623636] 00000500: 00040020 00000000 00040020 00000000 00040020 00000000 00040020 00000000 [ 18.624402] 00000520: 00040020 00000000 00040020 00000000 00040020 00000000 00040020 00000000 [ 18.625167] 00000540: 00040020 00000000 00040020 00000000 00000000 00000000 00000000 00000000 [ 18.625936] 00000560: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.626696] 00000580: 00000004 00000000 [ 18.627047] CPU0 online:0 [ 18.627295] EL2(NS) PC: <0xffffc453b2225934> local_cpu_stop+0x60/0x6c [ 18.628009] [ 18.628159] CPU1 online:1 [ 18.628406] EL2(NS) PC: <0xffffc453b297b130> readl+0x0/0x20 [ 18.629040] [ 18.629190] CPU2 online:0 [ 18.629438] EL2(NS) PC: <0xffffc453b2225934> local_cpu_stop+0x60/0x6c [ 18.630147] [ 18.630285] CPU3 online:0 [ 18.630532] EL2(NS) PC: <0xffffc453b2225934> local_cpu_stop+0x60/0x6c [ 18.631241] [ 18.631397] CPU0 CPU1 CPU2 CPU3 [ 18.631970] 9: 0 0 0 0 GICv3 25 Level vgic [ 18.632701] 11: 0 0 0 0 GICv3 30 Level kvm guest ptimer [ 18.633526] 12: 0 0 0 0 GICv3 27 Level kvm guest vtimer [ 18.634350] 13: 477 363 506 514 GICv3 26 Level arch_timer [ 18.635127] 14: 0 0 0 0 GICv3 141 Level rk_timer [ 18.635892] 15: 0 0 0 0 GICv3 65 Level (null) [ 18.636644] 16: 0 0 0 0 GICv3 66 Level (null) [ 18.637397] 17: 0 0 0 0 GICv3 67 Level (null) [ 18.638148] 18: 0 0 0 0 GICv3 68 Level (null) [ 18.638900] 19: 0 0 0 0 GICv3 69 Level (null) [ 18.639653] 20: 0 0 0 0 GICv3 284 Edge debug-signal [ 18.640440] 21: 0 0 0 0 GICv3 150 Level debug [ 18.641182] 22: 0 0 0 0 GICv3 260 Level arm-pmu [ 18.641934] 23: 0 0 0 0 GICv3 261 Level arm-pmu [ 18.642686] 24: 0 0 0 0 GICv3 262 Level arm-pmu [ 18.643439] 25: 0 0 0 0 GICv3 263 Level arm-pmu [ 18.644194] 26: 0 0 0 0 GICv3 167 Level rockchip_usb2phy [ 18.645018] 27: 0 0 0 0 GICv3 168 Level rockchip_usb2phy [ 18.645842] 30: 0 0 0 0 GICv3 107 Level pcie-sys [ 18.646605] 31: 0 0 0 0 GICv3 104 Level (null) [ 18.647358] 32: 0 0 0 0 GICv3 197 Level pcie-sys [ 18.648122] 33: 0 0 0 0 GICv3 194 Level (null) [ 18.648875] 34: 0 0 0 0 GICv3 46 Level fe530000.dma-controller [ 18.649746] 35: 0 0 0 0 GICv3 45 Level fe530000.dma-controller [ 18.650625] 36: 0 0 0 0 GICv3 48 Level fe550000.dma-controller [ 18.651496] 37: 0 0 0 0 GICv3 47 Level fe550000.dma-controller [ 19.652501] CPU0 CPU1 CPU2 CPU3 [ 19.653068] 9: 0 0 0 0 GICv3 25 Level vgic [ 19.653798] 11: 0 0 0 0 GICv3 30 Level kvm guest ptimer [ 19.654620] 12: 0 0 0 0 GICv3 27 Level kvm guest vtimer [ 19.655440] 13: 477 363 506 514 GICv3 26 Level arch_timer [ 19.656215] 14: 0 0 0 0 GICv3 141 Level rk_timer [ 19.656977] 15: 0 0 0 0 GICv3 65 Level (null) [ 19.657727] 16: 0 0 0 0 GICv3 66 Level (null) [ 19.658478] 17: 0 0 0 0 GICv3 67 Level (null) [ 19.659229] 18: 0 0 0 0 GICv3 68 Level (null) [ 19.659979] 19: 0 0 0 0 GICv3 69 Level (null) [ 19.660729] 20: 0 0 0 0 GICv3 284 Edge debug-signal [ 19.661514] 21: 0 0 0 0 GICv3 150 Level debug [ 19.662253] 22: 0 0 0 0 GICv3 260 Level arm-pmu [ 19.663004] 23: 0 0 0 0 GICv3 261 Level arm-pmu [ 19.663754] 24: 0 0 0 0 GICv3 262 Level arm-pmu [ 19.664507] 25: 0 0 0 0 GICv3 263 Level arm-pmu [ 19.665258] 26: 0 0 0 0 GICv3 167 Level rockchip_usb2phy [ 19.666079] 27: 0 0 0 0 GICv3 168 Level rockchip_usb2phy [ 19.666901] 30: 0 0 0 0 GICv3 107 Level pcie-sys [ 19.667662] 31: 0 0 0 0 GICv3 104 Level (null) [ 19.668413] 32: 0 0 0 0 GICv3 197 Level pcie-sys [ 19.669176] 33: 0 0 0 0 GICv3 194 Level (null) [ 19.669926] 34: 0 0 0 0 GICv3 46 Level fe530000.dma-controller [ 19.670805] 35: 0 0 0 0 GICv3 45 Level fe530000.dma-controller [ 19.671682] 36: 0 0 0 0 GICv3 48 Level fe550000.dma-controller [ 19.672560] 37: 0 0 0 0 GICv3 47 Level fe550000.dma-controller [ 19.673425] PMU: [ 19.673601] pwr 0x00a0: 0000007d 00000000 00000003 00000000 [ 19.674162] status 0x0098: 0000007d 00000000 0000007d 00000000 [ 19.674720] req 0x0050: 00000000 00000000 00000000 00000000 [ 19.675276] idle 0x0068: 000001ee 00000000 0000ffff 0000000f [ 19.675834] ack 0x0060: 000001ee 00000000 000001ee 00000000 [ 19.676392] Kernel Offset: 0x4453aa200000 from 0xffff800008000000 [ 19.676941] PHYS_OFFSET: 0xffffdb7f40000000 [ 19.677325] CPU features: 0x60000,001400a4,6200721b [ 19.677770] Memory Limit: none [ 19.681508] ---[ end Kernel panic - not syncing: panic_on_set_idle set ... ]---
  2. As listed in the topic, this is my desired and actual partition table setup for a lot of my computers. The U-boot 'partition 0' is typically somewhere in sector 1 till where partition 1 starts and only for SoCs/boards that do not understand any filesystem, like Allwinner and Rockchip based platforms. Also old BIOS PCs actually. It can be MBR or GPT (+hybrid) if more than 4 partitions are needed, for multi-boot, like adding Linux to a new Win11 pre-installed PC. The FAT is ESP or just type 0x0c/0x0700. Now I am struggling a bit with the case where a preinstalled ROCK 3A (RK3568, board ordered, not delivered yet) image has FAT mounted in /boot. RaspberryPi and UEFI PC have 1st FAT mounted on /boot/firmware and /boot/efi usually. For fast and easy multi-kernel management, I want to have the kernel file/image to be there as vmlinuz-<version> on Btrfs as master/base and not as file "Image" on the FAT. For my NanoPi-R6C (RK3588s) I made and extra multi-OS capable script that copies files from Btrfs to FAT as I see no way the default Armbian methods can handle this correctly. Maybe I miss some info, but I needed to fix bootup several times as something related to boot.cmd and/or armbianEnv.txt was not correct. To not risk any actions from existing tools (on any OS) I use /boot/uboot to mount the FAT partition 1. I also have /boot/tftp and /boot/vfat, for other purposes and workarounds, but that is another story. By having an own hook script for dracut and/or initramfs, I could leave the out-of-the box FriendlyElec Android/OpenWRT u-boot loader (2017.x) in the first 32k sectors as is, without knowing much about Rockchip ROM loader and offsets etc. AFAIK, the default 24.10 U-boot config is to not have Btrfs included, so I kept it like this so far. I have build own U-boot with Btrfs, removed the FAT and made Btrfs partition 1 as test for 64-bit QEMU imagefile and 32-bit AllwinnerH3 SD-card. So then the symlinks for kernel, uInitrd, DTB are used without any further changes in Armbian scripts or so. However, that same OS image (whole SD-card or as image file) does not boot in a VM then (virt-manager, EFI needed). I normally add grub-efi etc so there is a /boot/efi/EFI/... to do a default UEFI boot with the same mainline based rockchip-rk3588 kernel. That is really great option to do some initial config and so on before writing SD-card (and going outside where the real board is / will be). So the question is now: How can I keep the desired partitioning scheme and filesystem formatting, but get rid of my own initramfs hook and double/extra boot.cmd ? My current own script (pseudo-code) does not use optional moves but always copies (see /etc/initramfs/post-update.d/99-uboot for original): # $1 is kernelversion string echo "update-initramfs: U-boot: copy DTBs to boot partition" >&2 rsync -ac /usr/lib/linux-image-$1/ /boot/uboot/dtb/ echo "update-initramfs: U-boot: copy kernel to boot partition" >&2 rsync -ac /boot/vmlinuz-$1 /boot/uboot/Image echo "update-initramfs: U-boot: copy uInitrd to boot partition" >&2 cp -a /boot/uInitrd-$1 /boot/uboot/uInitrd echo "update-initramfs: U-boot: done." >&2 U-boot by default does not scan all disks AFAIK, it only wants/sees boot.scr on partition 1. An workaround is to place the FAT after the rootfs, so partition number 2-128 (or 2-4 in case MBR). That works for UEFI based, but not for RaspberryPi3 and older. For RPi4 I am not sure.
  3. I noticed today that there was no build created yet for Radxa Rock 3C. I found the Rock 3A config file at build/config/boards/rock-3a.conf : # Rockchip RK3568 quad core 1-8GB SoC GBe eMMC USB3 BOARD_NAME="Rock 3A" BOARDFAMILY="rk35xx" BOOTCONFIG="rock-3a-rk3568_defconfig" KERNEL_TARGET="legacy,current,edge" FULL_DESKTOP="yes" BOOT_LOGO="desktop" BOOT_FDT_FILE="rockchip/rk3568-rock-3a.dtb" BOOT_SCENARIO="spl-blobs" WIREGUARD="no" BOOT_SUPPORT_SPI="yes" BOOT_SPI_RKSPI_LOADER="yes" IMAGE_PARTITION_TABLE="gpt" BOOTFS_TYPE="fat" And copied it to build/boards/rock-3c.conf . Then modified it to # Rockchip RK3566 quad core 1-8GB SoC GBe eMMC USB3 BOARD_NAME="Rock 3C" BOARDFAMILY="rk35xx" BOOTCONFIG="rock-3c-rk3566_defconfig" KERNEL_TARGET="legacy,current,edge" FULL_DESKTOP="yes" BOOT_LOGO="desktop" BOOT_FDT_FILE="rockchip/rk3566-rock-3c.dtb" BOOT_SCENARIO="spl-blobs" BOOT_SUPPORT_SPI="yes" BOOT_SPI_RKSPI_LOADER="yes" IMAGE_PARTITION_TABLE="gpt" BOOTFS_TYPE="fat" And was pleasantly surprised when it was able to build an image! 🙂 However, the booting was not so successful I get this on the UART (1500000 bps 8N1): DDR Version V1.10 20210810 ln ddrconfig:0 LP4 MR14:0x4d LPDDR4, 324MHz BW=32 Col=10 Bk=8 CS0 Row=17 CS=1 Die BW=16 Size=4096MB tdqss: cs0 dqs0: 361ps, dqs1: 289ps, dqs2: 313ps, dqs3: 217ps, change to: 324MHz PHY drv:clk:38,ca:38,DQ:30,odt:0 vrefinner:41%, vrefout:41% dram drv:40,odt:0 clk skew:0x58 change to: 528MHz PHY drv:clk:38,ca:38,DQ:30,odt:60 vrefinner:16%, vrefout:41% dram drv:40,odt:0 clk skew:0x78 change to: 780MHz PHY drv:clk:38,ca:38,DQ:30,odt:60 vrefinner:16%, vrefout:41% dram drv:40,odt:0 clk skew:0x5c change to: 1056MHz(final freq) PHY drv:clk:38,ca:38,DQ:30,odt:60 vrefinner:16%, vrefout:29% dram drv:40,odt:80 vref_ca:00000068 clk skew:0x3f cs 0: the read training result: DQS0:0x3b, DQS1:0x3d, DQS2:0x3d, DQS3:0x38, min : 0x9 0xa 0xc 0x9 0x1 0x2 0x5 0x2 , 0x8 0x9 0x5 0x1 0xb 0xd 0xf 0x9 , 0xd 0xb 0xc 0x8 0x4 0x1 0x4 0x6 , 0xb 0x6 0x6 0x1 0xf 0xe 0xd 0xe , mid :0x28 0x29 0x2b 0x28 0x1f 0x21 0x23 0x21 ,0x26 0x27 0x22 0x1f 0x29 0x2b 0x2c 0x27 , 0x2b 0x2a 0x29 0x27 0x22 0x1f 0x21 0x23 ,0x28 0x23 0x23 0x1f 0x2b 0x2b 0x29 0x2b , max :0x48 0x49 0x4b 0x47 0x3e 0x40 0x42 0x41 ,0x45 0x45 0x40 0x3e 0x47 0x49 0x4a 0x46 , 0x4a 0x49 0x46 0x46 0x41 0x3e 0x3f 0x41 ,0x45 0x41 0x40 0x3d 0x48 0x48 0x46 0x49 , range:0x3f 0x3f 0x3f 0x3e 0x3d 0x3e 0x3d 0x3f ,0x3d 0x3c 0x3b 0x3d 0x3c 0x3c 0x3b 0x3d , 0x3d 0x3e 0x3a 0x3e 0x3d 0x3d 0x3b 0x3b ,0x3a 0x3b 0x3a 0x3c 0x39 0x3a 0x39 0x3b , the write training result: DQS0:0x6f, DQS1:0x66, DQS2:0x69, DQS3:0x5c, min :0x95 0x97 0x99 0x97 0x8f 0x92 0x94 0x94 0x94 ,0x88 0x88 0x86 0x83 0x8d 0x8e 0x8e 0x8d 0x89 , 0x92 0x91 0x8e 0x8e 0x89 0x87 0x8a 0x8e 0x8d ,0x86 0x85 0x83 0x7f 0x8a 0x8a 0x88 0x8c 0x85 , mid :0xb2 0xb4 0xb6 0xb3 0xab 0xad 0xaf 0xae 0xae ,0xa6 0xa5 0xa1 0x9e 0xaa 0xaa 0xa9 0xa9 0xa6 , 0xaf 0xae 0xab 0xaa 0xa5 0xa1 0xa3 0xa9 0xa9 ,0xa4 0xa1 0xa0 0x9b 0xa7 0xa7 0xa5 0xa8 0xa2 , max :0xd0 0xd1 0xd3 0xcf 0xc7 0xc9 0xcb 0xc9 0xc9 ,0xc4 0xc3 0xbd 0xba 0xc7 0xc7 0xc5 0xc5 0xc3 , 0xcd 0xcb 0xc8 0xc6 0xc2 0xbc 0xbc 0xc4 0xc6 ,0xc2 0xbd 0xbd 0xb8 0xc5 0xc5 0xc2 0xc5 0xc0 , range:0x3b 0x3a 0x3a 0x38 0x38 0x37 0x37 0x35 0x35 ,0x3c 0x3b 0x37 0x37 0x3a 0x39 0x37 0x38 0x3a , 0x3b 0x3a 0x3a 0x38 0x39 0x35 0x32 0x36 0x39 ,0x3c 0x38 0x3a 0x39 0x3b 0x3b 0x3a 0x39 0x3b , CA Training result: cs:0 min :0x3d 0x35 0x37 0x2d 0x37 0x2c 0x38 ,0x3f 0x34 0x37 0x2c 0x37 0x2a 0x3c , cs:0 mid :0x78 0x79 0x71 0x70 0x71 0x6f 0x63 ,0x79 0x77 0x71 0x6f 0x70 0x6e 0x67 , cs:0 max :0xb3 0xbd 0xab 0xb3 0xab 0xb3 0x8e ,0xb4 0xbb 0xac 0xb2 0xaa 0xb2 0x92 , cs:0 range:0x76 0x88 0x74 0x86 0x74 0x87 0x56 ,0x75 0x87 0x75 0x86 0x73 0x88 0x56 , out U-Boot SPL board init U-Boot SPL 2017.09-armbian (Jun 10 2023 - 09:59:15) unknown raw ID phN unrecognized JEDEC id bytes: 00, 00, 00 Trying to boot from MMC2 ## Verified-boot: 0 ## Checking atf-1 0x00040000 ... sha256(5938a9cdfc...) + OK ## Checking uboot 0x00a00000 ... sha256(d801f0f359...) + OK ## Checking fdt 0x00b2e6f8 ... sha256(3ccee0dc53...) + OK ## Checking atf-2 0x00068000 ... sha256(0965dc8022...) + OK ## Checking atf-3 0xfdcd0000 ... sha256(be991af043...) + OK ## Checking atf-4 0xfdcc9000 ... sha256(695349eb36...) + OK ## Checking atf-5 0x00066000 ... sha256(315a4195a9...) + OK Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000) Total: 237.208 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 (Jun 10 2023 - 09:59:15 +0200) Model: Radxa ROCK3 Model C PreSerial: 2, raw, 0xfe660000 DRAM: 4 GiB Sysmem: init Relocation Offset: ed34a000 Relocation fdt: eb9f63c0 - eb9fecc8 CR: M/C/I Using default environment failed to find reset-gpios property no mmc device at slot 1 dwmmc@fe2b0000: 1 (SD), dwmmc@fe2c0000: 2, sdhci@fe310000: 0 Bootdev(atags): mmc 1 MMC1: Legacy, 52Mhz PartType: EFI No misc partition boot mode: None FIT: No boot partition No resource partition No resource partition Failed to load DTB, ret=-19 Failed to get kernel dtb, ret=-19 I2c0 speed: 100000Hz vsel-gpios- not found! Error: -2 vdd_cpu init 900000 uV PMIC: RK8090 (on=0x40, off=0x00) vdd_logic init 900000 uV vdd_gpu init 900000 uV vdd_npu init 900000 uV io-domain: OK Model: Radxa ROCK3 Model C 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 1200000 KHz vpll 24000 KHz hpll 24000 KHz ppll 200000 KHz armclk 816000 KHz aclk_bus 150000 KHz pclk_bus 100000 KHz aclk_top_high 300000 KHz aclk_top_low 200000 KHz hclk_top 150000 KHz pclk_top 100000 KHz aclk_perimid 300000 KHz hclk_perimid 150000 KHz pclk_pmu 100000 KHz No misc partition Net: eth1: ethernet@fe010000 Hit key to stop autoboot('CTRL+C'): 0 failed to find reset-gpios property Device 0: unknown device switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found U-Boot script /boot.scr reading /boot.scr 3252 bytes read in 2 ms (1.6 MiB/s) ## Executing script at 00c00000 Boot script loaded from mmc 1 reading /armbianEnv.txt 151 bytes read in 1 ms (147.5 KiB/s) reading /uInitrd 21588378 bytes read in 1795 ms (11.5 MiB/s) reading /Image 29331968 bytes read in 2437 ms (11.5 MiB/s) ** Unable to read file /dtb/rockchip/rk3566-rock-3c.dtb ** libfdt fdt_check_header(): FDT_ERR_BADMAGIC No FDT memory address configured. Default at 0xeb9f63c0 ** Unable to read file /dtb/rockchip/overlay/rk35xx-fixup.scr ** Unknown command 'kaslrseed' - try 'help' Fdt Ramdisk skip relocation No misc partition ## Loading init Ramdisk from Legacy Image at 0a200000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 21588314 Bytes = 20.6 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ERROR: Did not find a cmdline Flattened Device Tree Could not find a valid device tree SCRIPT FAILED: continuing... MMC error: The cmd index is 0, ret is -110 mmc_init: -110, time 4 starting USB... Bus dwc3@fcc00000: CTRL-A Z for help | 1500000 8N1 | NOR | Minicom 2.8 | VT102 | Offline | ttyUSB0 And no output on the HDMI. Any hints on what direction to dig for getting it closer to booting would be appreciated? / Kenneth
  4. DDR 2d653b3476 typ 24/01/20-15:04:19,fwver: v1.21 In LP4/4x derate en, other dram:1x trefi ddrconfig:0 LPDDR4X, 324MHz BW=32 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=2048MB tdqss: cs0 dqs0: -48ps, dqs1: -96ps, dqs2: -96ps, dqs3: -192ps, change to: 324MHz PHY drv:clk:36,ca:36,DQ:29,odt:0 vrefinner:24%, vrefout:41% dram drv:40,odt:0 clk skew:0x64 rx vref: 26.4% tx vref: 36.0% change to: 528MHz PHY drv:clk:36,ca:36,DQ:29,odt:0 vrefinner:24%, vrefout:41% dram drv:40,odt:0 clk skew:0x58 rx vref: 28.4% tx vref: 36.0% 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 rx vref: 16.6% tx vref: 32.0% change to: 1560MHz(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:0x30 rx vref: 15.6% tx vref: 18.8% cs 0: the read training result: DQS0:0x34, DQS1:0x34, DQS2:0x34, DQS3:0x31, min : 0xe 0x10 0x11 0xe 0x1 0x6 0xa 0x7 , 0xb 0x9 0x3 0x2 0xe 0xe 0xe 0xc , 0x10 0x10 0xd 0xa 0x3 0x2 0x3 0x7 , 0xc 0x8 0x7 0x2 0xe 0x10 0xc 0x14 , mid :0x29 0x2a 0x2c 0x29 0x1d 0x21 0x25 0x23 ,0x26 0x24 0x1d 0x1d 0x29 0x28 0x29 0x27 , 0x2c 0x2b 0x27 0x25 0x1e 0x1d 0x1d 0x21 ,0x27 0x23 0x22 0x1d 0x29 0x2b 0x28 0x2e , max :0x45 0x45 0x47 0x44 0x39 0x3d 0x40 0x3f ,0x42 0x40 0x38 0x39 0x45 0x42 0x44 0x42 , 0x48 0x47 0x41 0x41 0x3a 0x38 0x38 0x3c ,0x42 0x3e 0x3d 0x38 0x44 0x46 0x44 0x49 , range:0x37 0x35 0x36 0x36 0x38 0x37 0x36 0x38 ,0x37 0x37 0x35 0x37 0x37 0x34 0x36 0x36 , 0x38 0x37 0x34 0x37 0x37 0x36 0x35 0x35 ,0x36 0x36 0x36 0x36 0x36 0x36 0x38 0x35 , the write training result: DQS0:0x27, DQS1:0x1d, DQS2:0x1d, DQS3:0xa, min :0x6e 0x72 0x73 0x70 0x63 0x67 0x6a 0x69 0x6a ,0x5e 0x5c 0x55 0x55 0x61 0x60 0x60 0x5f 0x5d , 0x67 0x65 0x60 0x5f 0x59 0x57 0x57 0x5d 0x5f ,0x54 0x50 0x4e 0x49 0x55 0x58 0x53 0x5a 0x50 , mid :0x88 0x8c 0x8d 0x8a 0x7c 0x80 0x83 0x82 0x83 ,0x78 0x77 0x6f 0x6f 0x7c 0x7a 0x7a 0x79 0x76 , 0x83 0x81 0x7b 0x7a 0x73 0x71 0x72 0x77 0x79 ,0x6e 0x6a 0x68 0x62 0x71 0x72 0x6f 0x74 0x6b , max :0xa2 0xa6 0xa8 0xa4 0x95 0x99 0x9d 0x9b 0x9c ,0x92 0x92 0x89 0x89 0x97 0x94 0x94 0x93 0x90 , 0x9f 0x9e 0x96 0x96 0x8e 0x8c 0x8d 0x92 0x94 ,0x89 0x84 0x82 0x7c 0x8d 0x8d 0x8b 0x8e 0x86 , range:0x34 0x34 0x35 0x34 0x32 0x32 0x33 0x32 0x32 ,0x34 0x36 0x34 0x34 0x36 0x34 0x34 0x34 0x33 , 0x38 0x39 0x36 0x37 0x35 0x35 0x36 0x35 0x35 ,0x35 0x34 0x34 0x33 0x38 0x35 0x38 0x34 0x36 , CA Training result: cs:0 min :0x49 0x45 0x3f 0x38 0x3d 0x35 0x40 ,0x49 0x42 0x3e 0x36 0x3b 0x37 0x40 , cs:0 mid :0x86 0x86 0x7a 0x78 0x79 0x75 0x6d ,0x85 0x82 0x7a 0x75 0x77 0x77 0x6d , cs:0 max :0xc3 0xc8 0xb6 0xb9 0xb6 0xb5 0x9b ,0xc2 0xc2 0xb6 0xb4 0xb4 0xb7 0x9b , cs:0 range:0x7a 0x83 0x77 0x81 0x79 0x80 0x5b ,0x79 0x80 0x78 0x7e 0x79 0x80 0x5b , out U-Boot SPL board init U-Boot SPL 2017.09-armbian-2017.09-Sbf16-P2429-H8c72-Vadec-Bda0a-R448a (Oct 22 2024 - 09:34:44) Trying to boot from MMC2 Card did not respond to voltage select! mmc_init: -95, time 9 spl: mmc init failed with error: -95 Trying to boot from MMC1 Card did not respond to voltage select! mmc_init: -95, time 13 spl: mmc init failed with error: -95 Trying to boot from MTD2 No misc partition Trying fit image at 0x4000 sector ## Verified-boot: 0 ## Checking atf-1 0x00040000 ... sha256(b5946ac63d...) + OK ## Checking uboot 0x00a00000 ... sha256(f1535ab009...) + OK ## Checking fdt 0x00b55910 ... sha256(3364e18f3b...) + OK ## Checking atf-2 0xfdcc1000 ... sha256(b8dca786b4...) + OK ## Checking atf-3 0x0006b000 ... sha256(2f91089eb7...) + OK ## Checking atf-4 0xfdcce000 ... sha256(86ef885748...) + OK ## Checking atf-5 0xfdcd0000 ... sha256(0b2b146c60...) + OK ## Checking atf-6 0x00069000 ... sha256(a9a1e63bef...) + OK Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000) Total: 549.918/721.616 ms INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-645-g8cea6ab0b:cl, fwver: v1.44 NOTICE: BL31: Built : 16:36:43, Sep 19 2023 INFO: GICv3 without legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: pmu v1 is valid 220114 INFO: l3 cache partition cfg-0 INFO: dfs DDR fsp_param[0].freq_mhz= 1560MHz 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-2017.09-Sbf16-P2429-H8c72-Vadec-Bda0a-R448a (Oct 22 2024 - 09:34:44 +0200) Model: Radxa ROCK3 Model A MPIDR: 0x81000000 PreSerial: 2, raw, 0xfe660000 DRAM: 2 GiB Sysmem: init Relocation Offset: 7d20a000 Relocation fdt: 7b9f65d8 - 7b9fecc8 CR: M/C/I Using default environment DM: v1 dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0 Card did not respond to voltage select! mmc_init: -95, time 10 Device 0: unknown device Device 1: unknown device Unknown command 'scsi' - try 'help' Card did not respond to voltage select! mmc_init: -95, time 13 Device 0: unknown device Device 1: Device 2: JEDEC id bytes: c2, 25, 38 SF: Detected sfc_nor with page size 256 Bytes, erase size 4 KiB, total 16 MiB Vendor: 0x2207 Rev: V1.00 Prod: sfc_nor Type: Hard Disk Capacity: 16.0 MB = 0.0 GB (32768 x 512) ... is now current device Bootdev(scan): mtd 2 PartType: EFI No misc partition boot mode: None FIT: No boot partition Failed to load DTB, ret=-19 No valid DTB, ret=-22 Failed to get kernel dtb, ret=-22 I2c0 speed: 100000Hz vsel-gpios- not found! Error: -2 FAN53555 Option[12] Rev[15] Detected! vdd_cpu init 900000 uV PMIC: RK8090 (on=0x40, off=0x00) vdd_logic init 900000 uV vdd_gpu init 900000 uV vdd_npu init 900000 uV io-domain: OK Failed to get scmi clk dev dmc_fsp failed, ret=-19 Model: Radxa ROCK3 Model A MPIDR: 0x81000000 ## Error: Can't overwrite "ethaddr" ## Error inserting "ethaddr" variable, errno=1 ## Error: Can't overwrite "eth1addr" ## Error inserting "eth1addr" variable, errno=1 CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A) apll 816000 KHz dpll 780000 KHz gpll 1188000 KHz cpll 1000000 KHz npll 1200000 KHz vpll 24000 KHz hpll 24000 KHz ppll 200000 KHz armclk 816000 KHz aclk_bus 150000 KHz pclk_bus 100000 KHz aclk_top_high 300000 KHz aclk_top_low 200000 KHz hclk_top 150000 KHz pclk_top 100000 KHz aclk_perimid 300000 KHz hclk_perimid 150000 KHz pclk_pmu 100000 KHz Net: eth1: ethernet@fe010000 Hit key to stop autoboot('CTRL+C'): 0 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 Card did not respond to voltage select! mmc_init: -95, time 10 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x1 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x1 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x1 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x1 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe Linking... LTSSM is 0x1 pcie@fe260000: PCIe Linking... LTSSM is 0x0 pcie@fe260000: PCIe-0 Link Fail unable to get syscon device for rockchip,pipe-grf snps pcie3phy FW update! size 8192 pcie@fe280000: PCIe Linking... LTSSM is 0x0 pcie@fe280000: PCIe Linking... LTSSM is 0x0 pcie@fe280000: PCIe Linking... LTSSM is 0x2 pcie@fe280000: PCIe Linking... LTSSM is 0x2 pcie@fe280000: PCIe Linking... LTSSM is 0x210023 pcie@fe280000: PCIe Link up, LTSSM is 0x230011 pcie@fe280000: PCIE-0: Link up (Gen3-x2, Bus0) pcie@fe280000: invalid flags type! Device 0: Vendor: 0x1c5c Rev: 20005A00 Prod: EJ74N204210504P61 Type: Hard Disk Capacity: 244198.3 MB = 238.4 GB (500118192 x 512) ... is now current device Scanning nvme 0:1... pcie@fe260000: failed to find reset-gpios property Device 1: unknown device Card did not respond to voltage select! mmc_init: -95, time 14 ## Error: "mtd_boot" not defined ## Error: "mtd_boot" not defined ## Error: "mtd_boot" not defined pcie@fe260000: failed to find reset-gpios property ethernet@fe010000 Waiting for PHY auto negotiation to complete. done BOOTP broadcast 1 BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5 DHCP client bound to address 172.17.117.202 (3822 ms) missing environment variable: pxeuuid missing environment variable: bootfile Retrieving file: pxelinux.cfg/01-f2-87-c0-75-70-d6 *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/AC1175CA *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/AC1175C *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/AC1175 *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/AC117 *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/AC11 *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/AC1 *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/AC *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/A *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm-rockchip *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm *** ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/default *** ERROR: `serverip' not set Config file not found pcie@fe260000: failed to find reset-gpios property BOOTP broadcast 1 DHCP client bound to address 172.17.117.202 (67 ms) ## Executing script at 00c00000 Wrong image format for "source" command 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 ### Boots fine from microSD but fails from NVMe/SPI. tested with current noble minimal 24.8.1
  5. I am trying to get BigTreeTech Pi TFT43 display working on a Radxa Rockpi 3A I have. I put the latest Armbian image on the rockpi, but I'm at a loss as to how I configure the device tree to make the screen work. I have verified that the screen does work on a Raspberry Pi 3B+ while using BTT's instructions here, but those instructions don't seem to translate to Armbian. All other examples I have found seem to be specific to the SBC vendor's custom branches. It looks like the vdd_mipi regulator is not enabled so I guess that should be the first step, how do I enable it? Thanks for your help!
  6. Built latest image for a Rock 3c based device and am having an issue with ethernet connectivity. Boots fine. Wifi works well and it seems functional other than Eth connectivity. My old DTB (from 4.19) will not boot , using a rock3c DTB instead to get a 90% functional device Showing the following for ethernet dmesg | grep eth [ 0.000000] psci: probing for conduit method from DT. [ 3.199039] rk_gmac-dwmac fe010000.ethernet: IRQ eth_lpi not found [ 3.199576] rk_gmac-dwmac fe010000.ethernet: clock input or output? (output). [ 3.199601] rk_gmac-dwmac fe010000.ethernet: TX delay(0x30). [ 3.199614] rk_gmac-dwmac fe010000.ethernet: RX delay(0x10). [ 3.199635] rk_gmac-dwmac fe010000.ethernet: integrated PHY? (no). [ 3.204712] rk_gmac-dwmac fe010000.ethernet: init for RGMII [ 3.208587] rk_gmac-dwmac fe010000.ethernet: User ID: 0x30, Synopsys ID: 0x51 [ 3.208629] rk_gmac-dwmac fe010000.ethernet: DWMAC4/5 [ 3.208645] rk_gmac-dwmac fe010000.ethernet: DMA HW capability register supported [ 3.208655] rk_gmac-dwmac fe010000.ethernet: RX Checksum Offload Engine supported [ 3.208665] rk_gmac-dwmac fe010000.ethernet: TX Checksum insertion supported [ 3.208673] rk_gmac-dwmac fe010000.ethernet: Wake-Up On Lan supported [ 3.208826] rk_gmac-dwmac fe010000.ethernet: TSO supported [ 3.208841] rk_gmac-dwmac fe010000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 3.208855] rk_gmac-dwmac fe010000.ethernet: Enabled RFS Flow TC (entries=10) [ 3.208870] rk_gmac-dwmac fe010000.ethernet: TSO feature enabled [ 3.208881] rk_gmac-dwmac fe010000.ethernet: Using 32/32 bits DMA host/device width [ 19.363313] rk_gmac-dwmac fe010000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 19.364568] rk_gmac-dwmac fe010000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19) [ 19.495835] rk_gmac-dwmac fe010000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 19.497405] rk_gmac-dwmac fe010000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19) [ 19.534125] rk_gmac-dwmac fe010000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 19.535151] rk_gmac-dwmac fe010000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19) [ 19.559774] rk_gmac-dwmac fe010000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 19.561300] rk_gmac-dwmac fe010000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19) [ 19.585340] rk_gmac-dwmac fe010000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 19.586439] rk_gmac-dwmac fe010000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19) ifconfig -a eth0: flags=4098<BROADCAST,MULTICAST> mtu 1500 ether 5e:f6:2b:24:65:02 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 70 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 92 bytes 8013 (8.0 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 92 bytes 8013 (8.0 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.87 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::1613:33ff:fe49:f6a9 prefixlen 64 scopeid 0x20<link> inet6 fd74:b7a7:661b:594c:1613:33ff:fe49:f6a9 prefixlen 64 scopeid 0x0<global> ether 14:13:33:49:f6:a9 txqueuelen 1000 (Ethernet) RX packets 554 bytes 43352 (43.3 KB) RX errors 0 dropped 30 overruns 0 frame 0 TX packets 153 bytes 13457 (13.4 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 4.19 kernel boots fine with Eth connectivity with latest u-boot, so this appears to be a kernel issue. Any idea where i should look in the dtb? I am basically blindly looking into it right now and could use some pointers. I've been looking around these forums for the last hour or so and really don't see anything related directly to my board/issue Attached the old (4.19) based dtb with working ethernet and current (no ethernet) rk3566-box-current.dts rk3566-box-4.19.dts
  7. Hi, I have got Rock-3C board recently. It is not Rockpi4 C. Main difference compared to Rock-3A is missing pci-e connector form back of the board, soldered wifi module and only 5V input power. There is no system available for this board. Any ideas how to get this board working?
  8. Hi, after upgrading linux-u-boot-rock-3a-current, linux-image-current-rockchip64 and linux-dtb-current-rockchip64 to the 24.2.1 versions, the system losses the network producing kernel errors in dmesg: [ 432.408850] rk_gmac-dwmac fe010000.ethernet: IRQ eth_lpi not found [ 432.410880] rk_gmac-dwmac fe010000.ethernet: clock input or output? (input). [ 432.410929] rk_gmac-dwmac fe010000.ethernet: Can not read property: tx_delay. [ 432.410954] rk_gmac-dwmac fe010000.ethernet: set tx_delay to 0x30 [ 432.410983] rk_gmac-dwmac fe010000.ethernet: Can not read property: rx_delay. [ 432.411002] rk_gmac-dwmac fe010000.ethernet: set rx_delay to 0x10 [ 432.411051] rk_gmac-dwmac fe010000.ethernet: integrated PHY? (no). [ 432.411223] rk_gmac-dwmac fe010000.ethernet: clock input from PHY [ 432.416282] rk_gmac-dwmac fe010000.ethernet: init for RGMII_ID [ 432.417113] rk_gmac-dwmac fe010000.ethernet: User ID: 0x30, Synopsys ID: 0x51 [ 432.417176] rk_gmac-dwmac fe010000.ethernet: DWMAC4/5 [ 432.417205] rk_gmac-dwmac fe010000.ethernet: DMA HW capability register supported [ 432.417227] rk_gmac-dwmac fe010000.ethernet: RX Checksum Offload Engine supported [ 432.417248] rk_gmac-dwmac fe010000.ethernet: TX Checksum insertion supported [ 432.417268] rk_gmac-dwmac fe010000.ethernet: Wake-Up On Lan supported [ 432.417287] rk_gmac-dwmac fe010000.ethernet: TSO supported [ 432.417306] rk_gmac-dwmac fe010000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 432.417336] rk_gmac-dwmac fe010000.ethernet: Enabled RFS Flow TC (entries=10) [ 432.417369] rk_gmac-dwmac fe010000.ethernet: TSO feature enabled [ 432.417391] rk_gmac-dwmac fe010000.ethernet: Using 32/32 bits DMA host/device width [ 432.506616] rk_gmac-dwmac fe010000.ethernet end0: renamed from eth0 [ 432.569725] rk_gmac-dwmac fe010000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 432.571832] rk_gmac-dwmac fe010000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19) I went back to the 23.11.1 versions of the packages and the system has the network back: -rwxr-xr-x 1 root root 319396 Mar 3 10:40 linux-dtb-current-rockchip64_23.11.1_arm64__6.1.63-S69e4-Df461-P59b3-C3542Hfe66-HK01ba-Vc222-B1743-R448a.deb -rwxr-xr-x 1 root root 41712668 Mar 3 10:40 linux-image-current-rockchip64_23.11.1_arm64__6.1.63-S69e4-Df461-P59b3-C3542Hfe66-HK01ba-Vc222-B1743-R448a.deb -rwxr-xr-x 1 root root 1036380 Mar 3 10:40 linux-u-boot-rock-3a-current_23.11.1_arm64__2017.09-Sc559-Pedff-H8c72-Vda90-B1179-R448a.deb Using these packages, this is the output from dmesg: [ 6.259295] rk_gmac-dwmac fe010000.ethernet: IRQ eth_lpi not found [ 6.259807] rk_gmac-dwmac fe010000.ethernet: supply phy not found, using dummy regulator [ 6.260113] rk_gmac-dwmac fe010000.ethernet: clock input or output? (input). [ 6.260133] rk_gmac-dwmac fe010000.ethernet: TX delay(0x4f). [ 6.260147] rk_gmac-dwmac fe010000.ethernet: RX delay(0x26). [ 6.260171] rk_gmac-dwmac fe010000.ethernet: integrated PHY? (no). [ 6.260276] rk_gmac-dwmac fe010000.ethernet: clock input from PHY [ 6.274301] rk_gmac-dwmac fe010000.ethernet: init for RGMII [ 6.285273] rk_gmac-dwmac fe010000.ethernet: User ID: 0x30, Synopsys ID: 0x51 [ 6.285315] rk_gmac-dwmac fe010000.ethernet: DWMAC4/5 [ 6.285330] rk_gmac-dwmac fe010000.ethernet: DMA HW capability register supported [ 6.285340] rk_gmac-dwmac fe010000.ethernet: RX Checksum Offload Engine supported [ 6.285349] rk_gmac-dwmac fe010000.ethernet: TX Checksum insertion supported [ 6.285357] rk_gmac-dwmac fe010000.ethernet: Wake-Up On Lan supported [ 6.285504] rk_gmac-dwmac fe010000.ethernet: TSO supported [ 6.285518] rk_gmac-dwmac fe010000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 6.285533] rk_gmac-dwmac fe010000.ethernet: Enabled RFS Flow TC (entries=10) [ 6.285547] rk_gmac-dwmac fe010000.ethernet: TSO feature enabled [ 6.285558] rk_gmac-dwmac fe010000.ethernet: Using 32/32 bits DMA host/device width [ 6.360605] spi-nor spi4.0: mx25u12835f (16384 Kbytes) [ 6.599788] rk_gmac-dwmac fe010000.ethernet end0: renamed from eth0 [ 21.045985] rk_gmac-dwmac fe010000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 21.139671] rk_gmac-dwmac fe010000.ethernet end0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL) [ 21.147558] dwmac4: Master AXI performs any burst length [ 21.147613] rk_gmac-dwmac fe010000.ethernet end0: No Safety Features support found [ 21.147647] rk_gmac-dwmac fe010000.ethernet end0: IEEE 1588-2008 Advanced Timestamp supported [ 21.148015] rk_gmac-dwmac fe010000.ethernet end0: registered PTP clock [ 21.155727] rk_gmac-dwmac fe010000.ethernet end0: configuring for phy/rgmii link mode [ 25.295999] rk_gmac-dwmac fe010000.ethernet end0: Link is Up - 1Gbps/Full - flow control rx/tx [ 25.296059] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready Thanks in advance. support.txt dmesg.txt
  9. Rockchip has released bsp kernel 5.10 for rk356x and rk3588. Since multimedia support is not fully supported by mainline kernel, a legacy kernel would be good if you want h264/hevc hardware decode. To make kodi support hardware decoding, you need: 1, ffmpeg supporting rkmpp. I've packaged it in my ppa: https://launchpad.net/~liujianfeng1994/+archive/ubuntu/rockchip-multimedia, which is based on the patch from https://github.com/JeffyCN/FFmpeg/. 2, kodi built with gles render system, which is also in my ppa 3, a gpu driver supporting gles. For rk356x you can use mainline panfrost driver. For rk3588 you can use panfork-mesa from my ppa: https://launchpad.net/~liujianfeng1994/+archive/ubuntu/panfork-mesa I've tested that kodi can support hardware decoding on both 3568 and 3588. Here is the steps for rock5b to install kodi: 1, download the image I build with panfork-mesa and malig610 firmware: https://github.com/amazingfate/armbian-rock5b-images, and install it on your rock5b. 2, add my rockchip multimedia ppa: https://launchpad.net/~liujianfeng1994/+archive/ubuntu/rockchip-multimedia: sudo add-apt-repository ppa:liujianfeng1994/rockchip-multimedia 3, create a udev rule to enable the permission ofrockchip's mpp device: KERNEL=="mpp_service", MODE="0660", GROUP="video" KERNEL=="rga", MODE="0660", GROUP="video" KERNEL=="system-dma32", MODE="0666", GROUP="video" KERNEL=="system-uncached-dma32", MODE="0666", GROUP="video" RUN+="/usr/bin/chmod a+rw /dev/dma_heap" wirte the above rules to /etc/udev/rules.d/11-rockchip-multimedia.rules 4, install kodi: sudo apt install kodi 5, move kodi from xsession to wayland-session: sudo mv /usr/share/xsessions/kodi.desktop /usr/share/wayland-sessions/kodi-wayland.desktop 6, reboot the board: sudo reboot 7, in the lightdm greeter, select kodi and login 8, After starting kodi, in Settings -> Player -> Videos, enable "Allow using DRM PRIME decoder" and "Allow hardware acceleration with DRM PRIME". And set "PRIME Render Method" to "Direct To Plane" 9, Then you can play h264/h265 8 bit/10bit videos up to 4K. ============Updated on 20230206=================== rockchip-multimedia has become a universal ppa for rockchip legacy kernel. Here is the introduction: https://forum.radxa.com/t/introduction-to-rockchip-multimedia-ppa-for-ubuntu-jammy/14537 I provide a new package rockchip-multimedia-config to do all the system configs such as udev rules, chromium v4l2 devices creation. Just install this package and reboot, you are good to go.
  10. Hello, I am planning to create a Kubernetes cluster from 5 Raspberry PI and one of the alternatives mentioned in tags, 9 hosts in total. I want to mount and customize the installation images with ssh keys, static IP address, etc, and to skip the initial script offered at login by the CLI images. Can you point me to the right piece of documentation? Thank you, Stefanita Vilcu
  11. Hi all! There's a dedicated RTC chip in Rock3A (HYM8563TS), but unfortunately it doesn't work right with the standard Armbian image. The chip is correctly identified, but the problem is with the RK809 PMIC, which also contains an RTC. During boot RK809 is labeled as rtc0, and HYM8563TS as rtc1, and by default kernel uses rtc0 for hwclock manipulations. Since RTC battery is connected to HYM8563TS, after power cycle RK809 is reset to 2017-08-05 09:00:00. | _ \ ___ ___| | __ |___ / / \ | |_) / _ \ / __| |/ / |_ \ / _ \ | _ < (_) | (__| < ___) / ___ \ |_| \_\___/ \___|_|\_\ |____/_/ \_\ Welcome to Armbian 23.11.1 Bookworm with Linux 6.1.63-current-rockchip64 System load: 12% Up time: 0 min Memory usage: 6% of 1.93G IP: CPU temp: 41°C Usage of /: 13% of 15G Last login: Thu Nov 30 01:59:45 CET 2023 on ttyS2 root@rock-3a:~# timedatectl Local time: Thu 2023-11-30 02:02:23 CET Universal time: Thu 2023-11-30 01:02:23 UTC RTC time: Sat 2017-08-05 09:00:58 Time zone: Europe/Brussels (CET, +0100) System clock synchronized: no NTP service: active RTC in local TZ: no root@rock-3a:~# hwclock -r --rtc=/dev/rtc0 2017-08-05 11:01:08.022461+02:00 root@rock-3a:~# hwclock -r --rtc=/dev/rtc1 2023-12-17 18:25:06.420734+01:00 root@rock-3a:~# ls -l /dev/rtc* lrwxrwxrwx 1 root root 4 Nov 30 02:01 /dev/rtc -> rtc0 crw------- 1 root root 252, 0 Nov 30 02:01 /dev/rtc0 crw------- 1 root root 252, 1 Nov 30 02:01 /dev/rtc1 root@rock-3a:~# dmesg | grep rtc [ 2.602457] rk808-rtc rk808-rtc: registered as rtc0 [ 2.605220] rk808-rtc rk808-rtc: setting system clock to 2017-08-05T09:00:08 UTC (1501923608) [ 2.617968] rtc-hym8563 5-0051: registered as rtc1 There is a parameter in kernel configuration file which specifies RTC to use: CONFIG_RTC_HCTOSYS=y CONFIG_RTC_HCTOSYS_DEVICE="rtc0" CONFIG_RTC_SYSTOHC=y CONFIG_RTC_SYSTOHC_DEVICE="rtc0" Straightforward solution would be to compile kernel with above parameters set to rtc1. It worked: ____ _ _____ _ | _ \ ___ ___| | __ |___ / / \ | |_) / _ \ / __| |/ / |_ \ / _ \ | _ < (_) | (__| < ___) / ___ \ |_| \_\___/ \___|_|\_\ |____/_/ \_\ Welcome to Armbian 23.11.1 Bookworm with Linux 6.1.66-current-rockchip64 System load: 28% Up time: 0 min Memory usage: 6% of 1.93G IP: CPU temp: 45°C Usage of /: 16% of 15G Last login: Thu Aug 31 19:25:12 CEST 2023 on ttyS2 root@rock-3a:~# timedatectl Local time: Sun 2023-12-17 18:27:43 CET Universal time: Sun 2023-12-17 17:27:43 UTC RTC time: Sun 2023-12-17 17:27:42 Time zone: Europe/Amsterdam (CET, +0100) System clock synchronized: no NTP service: active RTC in local TZ: no root@rock-3a:~# hwclock -r --rtc=/dev/rtc0 2017-08-05 11:01:01.778545+02:00 root@rock-3a:~# hwclock -r --rtc=/dev/rtc1 2023-12-17 18:28:07.062160+01:00 root@rock-3a:~# ls -l /dev/rtc* lrwxrwxrwx 1 root root 4 Dec 17 18:27 /dev/rtc -> rtc1 crw------- 1 root root 252, 0 Dec 17 18:27 /dev/rtc0 crw------- 1 root root 252, 1 Dec 17 18:27 /dev/rtc1 root@rock-3a:~# dmesg | grep rtc [ 2.609825] rk808-rtc rk808-rtc: registered as rtc0 [ 2.622573] rtc-hym8563 5-0051: registered as rtc1 [ 2.623661] rtc-hym8563 5-0051: setting system clock to 2023-12-17T17:27:04 UTC (1702834024) But maintaining custom kernel is not the ideal solution. Could anybody suggest how to force the system to detect HYM8563TS as rtc0?
  12. Hi, I'm testing the latest Armbian 23.08 Bookworm on a Rock3A board. I have installed the Armbian base system on both SD-CARD and eMMC. For my application I need to use an Intel WiFi M.2 board, precisely an Intel AX210 NGW with both Bluetooth and WiFi enabled at the same time. Currently I have found this situation: boot from the SD-CARD (eMMC removed from its socket) Intel AX210 M2 card plugged-in the OS boots corectly installed the firmware-iwlwifi package and bluetooth+wifi works without problems boot from the eMMC memory (SD-CARD removed from its socket) Intel AX210 M2 card plugged-in the OS enter in bootloop boot from the eMMC memory (SD-CARD removed from its socket) No WiFi card plugged in the M2 socket the OS boots corectly boot from the eMMC memory (SD-CARD removed from its socket) Using the default Radxa WiFi M2 card based on AP6212 the OS boots corectly I have highlighted the condition that causes the bootloop. I know that this WiFi board is not officially supported from the Armbian distribution, but it works correctly when the OS boots from the SD-CARD, so it seems a problem related to booting the OS from the eMMC... If anyone could point me in the direction to look for information regarding this issue, or could help me how to better debug the issue (because actually the system does not print any error, it simply reboots). BR Samuele. PS. This is the log captured from the serial port while re-booting... DDR Version V1.13 20220218 In ddrconfig:0 LPDDR4X, 324MHz BW=32 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=2048MB tdqss: cs0 dqs0: 48ps, dqs1: -72ps, dqs2: 24ps, dqs3: -96ps, change to: 324MHz PHY drv:clk:36,ca:36,DQ:29,odt:0 vrefinner:24%, vrefout:41% dram drv:40,odt:0 clk skew:0x60 change to: 528MHz PHY drv:clk:36,ca:36,DQ:29,odt:0 vrefinner:24%, vrefout:41% dram drv:40,odt:0 clk skew:0x58 change to: 780MHz PHY drv:clk:36,ca:36,DQ:29,odt:0 vrefinner:24%, vrefout:41% dram drv:40,odt:0 clk skew:0x58 change to: 1560MHz(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:0x1d cs 0: the read training result: DQS0:0x38, DQS1:0x37, DQS2:0x3b, DQS3:0x35, min : 0xe 0x10 0x14 0xf 0x2 0x5 0xa 0x5 , 0xa 0x8 0x3 0x3 0xc 0xa 0xd 0x7 , 0x15 0x14 0xe 0xd 0x3 0x1 0x3 0x5 , 0xd 0xa 0x9 0x2 0xf 0xf 0xd 0xf , mid :0x2a 0x2c 0x2e 0x2b 0x1d 0x21 0x24 0x21 ,0x26 0x24 0x1e 0x1f 0x28 0x25 0x28 0x24 , 0x2f 0x30 0x29 0x28 0x1e 0x1c 0x1d 0x20 ,0x29 0x25 0x24 0x1e 0x2b 0x2b 0x29 0x2b , max :0x46 0x48 0x49 0x47 0x38 0x3d 0x3f 0x3d ,0x42 0x40 0x39 0x3b 0x44 0x40 0x44 0x41 , 0x49 0x4c 0x44 0x44 0x3a 0x38 0x38 0x3c ,0x45 0x41 0x3f 0x3a 0x48 0x47 0x45 0x47 , range:0x38 0x38 0x35 0x38 0x36 0x38 0x35 0x38 ,0x38 0x38 0x36 0x38 0x38 0x36 0x37 0x3a , 0x34 0x38 0x36 0x37 0x37 0x37 0x35 0x37 ,0x38 0x37 0x36 0x38 0x39 0x38 0x38 0x38 , the write training result: DQS0:0x26, DQS1:0xf, DQS2:0x21, DQS3:0xa, min :0x6c 0x6f 0x73 0x70 0x62 0x66 0x66 0x68 0x68 ,0x53 0x51 0x4c 0x4b 0x57 0x55 0x54 0x55 0x4f , 0x7a 0x79 0x74 0x76 0x6b 0x69 0x69 0x6f 0x6f ,0x63 0x60 0x60 0x5c 0x68 0x68 0x63 0x6b 0x61 , mid :0x88 0x8a 0x8d 0x8a 0x7a 0x7f 0x80 0x80 0x81 ,0x6d 0x6c 0x64 0x64 0x70 0x6d 0x6d 0x6d 0x6a , 0x94 0x93 0x8c 0x8e 0x84 0x82 0x82 0x86 0x88 ,0x7c 0x7a 0x76 0x74 0x81 0x81 0x7c 0x81 0x79 , max :0xa4 0xa6 0xa8 0xa4 0x93 0x99 0x9b 0x99 0x9b ,0x87 0x87 0x7c 0x7d 0x89 0x85 0x87 0x85 0x85 , 0xaf 0xae 0xa5 0xa6 0x9d 0x9b 0x9b 0x9d 0xa2 ,0x95 0x94 0x8d 0x8c 0x9a 0x9b 0x95 0x98 0x91 , range:0x38 0x37 0x35 0x34 0x31 0x33 0x35 0x31 0x33 ,0x34 0x36 0x30 0x32 0x32 0x30 0x33 0x30 0x36 , 0x35 0x35 0x31 0x30 0x32 0x32 0x32 0x2e 0x33 ,0x32 0x34 0x2d 0x30 0x32 0x33 0x32 0x2d 0x30 , CA Training result: cs:0 min :0x45 0x45 0x3a 0x3a 0x3f 0x37 0x3f ,0x48 0x41 0x3f 0x38 0x3c 0x35 0x40 , cs:0 mid :0x84 0x83 0x78 0x77 0x7c 0x74 0x6e ,0x86 0x80 0x7b 0x75 0x79 0x73 0x6e , cs:0 max :0xc4 0xc2 0xb7 0xb5 0xba 0xb1 0x9d ,0xc5 0xc0 0xb7 0xb3 0xb7 0xb2 0x9d , cs:0 range:0x7f 0x7d 0x7d 0x7b 0x7b 0x7a 0x5e ,0x7d 0x7f 0x78 0x7b 0x7b 0x7d 0x5d , out U-Boot SPL board init U-Boot SPL 2017.09-armbian (Aug 22 2023 - 15:21:07) 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(fe4f274c06...) + OK ## Checking uboot 0x00a00000 ... sha256(11a12d7d28...) + OK ## Checking fdt 0x00b2e700 ... sha256(4bdde2de3f...) + OK ## Checking atf-2 0x00068000 ... sha256(8d44036095...) + OK ## Checking atf-3 0xfdcd0000 ... sha256(e410275b51...) + OK ## Checking atf-4 0xfdcc9000 ... sha256(990c53fc01...) + OK ## Checking atf-5 0x00066000 ... sha256(315a4195a9...) + OK Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000) Total: 224.553 ms INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-181-gc9a647cae:cl NOTICE: BL31: Built : 10:55:41, Oct 18 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= 1560MHz 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 (Aug 22 2023 - 15:21:07 +0000) Model: Radxa ROCK3 Model A PreSerial: 2, raw, 0xfe660000 DRAM: 2 GiB Sysmem: init Relocation Offset: 7d34a000 Relocation fdt: 7b9f73e0 - 7b9fece0 CR: M/C/I Using default environment PCIe-0 Link Fail 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 No resource partition Failed to load DTB, ret=-19 Failed to get kernel dtb, ret=-19 I2c0 speed: 100000Hz vsel-gpios- not found! Error: -2 vdd_cpu init 900000 uV PMIC: RK8090 (on=0x40, off=0x00) vdd_logic init 900000 uV vdd_gpu init 900000 uV vdd_npu init 900000 uV io-domain: OK Model: Radxa ROCK3 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 780000 KHz gpll 1188000 KHz cpll 1000000 KHz npll 1200000 KHz vpll 24000 KHz hpll 24000 KHz ppll 200000 KHz armclk 816000 KHz aclk_bus 150000 KHz pclk_bus 100000 KHz aclk_top_high 300000 KHz aclk_top_low 200000 KHz hclk_top 150000 KHz pclk_top 100000 KHz aclk_perimid 300000 KHz hclk_perimid 150000 KHz pclk_pmu 100000 KHz No misc partition Net: eth1: ethernet@fe010000 Hit key to stop autoboot('CTRL+C'): 0 failed to find reset-gpios property Device 0: unknown device MMC error: The cmd index is 1, ret is -110 Card did not respond to voltage select! mmc_init: -95, time 9 switch to partitions #0, OK mmc0(part 0) is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 2666 bytes read in 111 ms (23.4 KiB/s) ## Executing script at 00c00000 339 bytes read in 94 ms (2.9 KiB/s) 29792768 bytes read in 437 ms (65 MiB/s) 12140909 bytes read in 282 ms (41.1 MiB/s) 118168 bytes read in 662 ms (173.8 KiB/s) Fdt Ramdisk skip relocation No misc partition ## Loading init Ramdisk from Legacy Image at 0a200000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 12140845 Bytes = 11.6 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 0x0a100000 Booting using the fdt blob at 0x0a100000 Using Device Tree in place at 000000000a100000, end 000000000a11fd97 can't found rockchip,drm-logo, use rockchip,fb-logo WARNING: could not set reg FDT_ERR_BADOFFSET. failed to reserve fb-loader-logo memory Adding bank: 0x00200000 - 0x80000000 (size: 0x7fe00000) Total: 3404.547 ms Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050] [ 0.000000] Linux version 6.1.50-current-rockchip64 (armbian@next) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #3 SMP PREEMPT Wed Aug 30 14:11:13 UTC 2023 [ 0.000000] Machine model: Radxa ROCK3 Model A [ 0.000000] efi: UEFI not found. [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000007fffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x7fb62a80-0x7fb64fff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000200000-0x000000007fffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000200000-0x000000007fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff] [ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges [ 0.000000] cma: Reserved 128 MiB at 0x0000000075a00000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.2 [ 0.000000] percpu: Embedded 30 pages/cpu s82408 r8192 d32280 u122880 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: detected: Virtualization Host Extensions [ 0.000000] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009 [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Fallback order for Node 0: 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 515592 [ 0.000000] Policy zone: DMA [ 0.000000] Kernel command line: root=UUID=474b9cfe-db74-41d0-a8ff-9dc8a3d88769 rootfstype=ext4 rootwait console=ttyS2,1500000 console=tty1 consoleblank=0 coherent_pool=2M usb-storage.quirks= net.ifnames=0 [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000] Memory: 1881304K/2095104K available (16512K kernel code, 2278K rwdata, 6172K rodata, 3968K init, 585K bss, 82728K reserved, 131072K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] trace event string verifier disabled [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 320 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: MBI range [296:319] [ 0.000000] GICv3: Using MBI frame 0x00000000fd410000 [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GICv3: GICv3 features: 16 PPIs [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000 [ 0.000000] ITS: No ITS available, not enabling LPIs [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.001268] Console: colour dummy device 80x25 [ 0.001921] printk: console [tty1] enabled [ 0.002056] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.002098] pid_max: default: 32768 minimum: 301 [ 0.002220] LSM: Security Framework initializing [ 0.002275] Yama: becoming mindful. [ 0.002432] AppArmor: AppArmor initialized [ 0.002494] Stack Depot allocating hash table of 131072 entries with kvcalloc [ 0.002956] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.003002] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.004644] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 0.006120] cblist_init_generic: Setting adjustable number of callback queues. [ 0.006154] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.006354] cblist_init_generic: Setting adjustable number of callback queues. [ 0.006383] cblist_init_generic: Setting shift to 2 and lim to 1. [ 0.006830] rcu: Hierarchical SRCU implementation. [ 0.006855] rcu: Max phase no-delay instances is 1000. [ 0.011245] EFI services will not be available. [ 0.012032] smp: Bringing up secondary CPUs ... [ 0.013219] Detected VIPT I-cache on CPU1 [ 0.013337] cacheinfo: Unable to detect cache hierarchy for CPU 1 [ 0.013358] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000 [ 0.013423] CPU1: Booted secondary processor 0x0000000100 [0x412fd050] [ 0.014682] Detected VIPT I-cache on CPU2 [ 0.014788] cacheinfo: Unable to detect cache hierarchy for CPU 2 [ 0.014807] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000 [ 0.014858] CPU2: Booted secondary processor 0x0000000200 [0x412fd050] [ 0.016201] Detected VIPT I-cache on CPU3 [ 0.016309] cacheinfo: Unable to detect cache hierarchy for CPU 3 [ 0.016329] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000 [ 0.016379] CPU3: Booted secondary processor 0x0000000300 [0x412fd050] [ 0.016554] smp: Brought up 1 node, 4 CPUs [ 0.016722] SMP: Total of 4 processors activated. [ 0.016741] CPU features: detected: 32-bit EL0 Support [ 0.016757] CPU features: detected: 32-bit EL1 Support [ 0.016775] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [ 0.016799] CPU features: detected: Common not Private translations [ 0.016817] CPU features: detected: CRC32 instructions [ 0.016835] CPU features: detected: RCpc load-acquire (LDAPR) [ 0.016853] CPU features: detected: LSE atomic instructions [ 0.016868] CPU features: detected: Privileged Access Never [ 0.016885] CPU features: detected: RAS Extension Support [ 0.016904] CPU features: detected: Speculative Store Bypassing Safe (SSBS) [ 0.017037] CPU: All CPU(s) started at EL2 [ 0.017060] alternatives: applying system-wide alternatives [ 0.023360] devtmpfs: initialized [ 0.053269] Registered cp15_barrier emulation handler [ 0.053328] Registered setend emulation handler [ 0.053678] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.053754] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.058252] pinctrl core: initialized pinctrl subsystem [ 0.059368] DMI not present or invalid. [ 0.060345] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.063095] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations [ 0.064324] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.065558] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.065680] audit: initializing netlink subsys (disabled) [ 0.066045] audit: type=2000 audit(0.060:1): state=initialized audit_enabled=0 res=1 [ 0.068908] thermal_sys: Registered thermal governor 'fair_share' [ 0.068924] thermal_sys: Registered thermal governor 'bang_bang' [ 0.068953] thermal_sys: Registered thermal governor 'step_wise' [ 0.068972] thermal_sys: Registered thermal governor 'user_space' [ 0.069105] cpuidle: using governor menu [ 0.069527] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.069767] ASID allocator initialised with 65536 entries [ 0.071893] Serial: AMBA PL011 UART driver [ 0.093475] platform fe040000.vop: Fixed dependency cycle(s) with /hdmi@fe0a0000 [ 0.138528] rockchip-gpio fdd60000.gpio: probed /pinctrl/gpio@fdd60000 [ 0.139558] rockchip-gpio fe740000.gpio: probed /pinctrl/gpio@fe740000 [ 0.140548] rockchip-gpio fe750000.gpio: probed /pinctrl/gpio@fe750000 [ 0.141718] rockchip-gpio fe760000.gpio: probed /pinctrl/gpio@fe760000 [ 0.142678] rockchip-gpio fe770000.gpio: probed /pinctrl/gpio@fe770000 [ 0.148572] platform fe0a0000.hdmi: Fixed dependency cycle(s) with /hdmi-con [ 0.171853] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.171899] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.171922] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.171940] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.171960] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.171978] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.171997] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.172015] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.173542] cryptd: max_cpu_qlen set to 1000 [ 0.240761] raid6: neonx8 gen() 1372 MB/s [ 0.308973] raid6: neonx4 gen() 1406 MB/s [ 0.377241] raid6: neonx2 gen() 1219 MB/s [ 0.445348] raid6: neonx1 gen() 1020 MB/s [ 0.513491] raid6: int64x8 gen() 932 MB/s [ 0.581637] raid6: int64x4 gen() 1055 MB/s [ 0.649778] raid6: int64x2 gen() 936 MB/s [ 0.717932] raid6: int64x1 gen() 671 MB/s [ 0.717958] raid6: using algorithm neonx4 gen() 1406 MB/s [ 0.786064] raid6: .... xor() 1056 MB/s, rmw enabled [ 0.786088] raid6: using neon recovery algorithm [ 0.793082] iommu: Default domain type: Translated [ 0.793124] iommu: DMA domain TLB invalidation policy: strict mode [ 0.794252] SCSI subsystem initialized [ 0.795014] usbcore: registered new interface driver usbfs [ 0.795114] usbcore: registered new interface driver hub [ 0.795191] usbcore: registered new device driver usb [ 0.796353] pps_core: LinuxPPS API ver. 1 registered [ 0.796380] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.796432] PTP clock support registered [ 0.796897] EDAC MC: Ver: 3.0.0 [ 0.797703] arm-scmi firmware:scmi: Enabled polling mode TX channel - prot_id:16 [ 0.797932] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled. [ 0.798034] arm-scmi firmware:scmi: Malformed reply - real_sz:8 calc_sz:4 (loop_num_ret:3) [ 0.798069] arm-scmi firmware:scmi: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0 [ 0.800154] NetLabel: Initializing [ 0.800186] NetLabel: domain hash size = 128 [ 0.800204] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.800311] NetLabel: unlabeled traffic allowed by default [ 0.800578] vgaarb: loaded [ 0.801309] clocksource: Switched to clocksource arch_sys_counter [ 0.802035] VFS: Disk quotas dquot_6.6.0 [ 0.802142] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.803306] AppArmor: AppArmor Filesystem Enabled [ 0.819100] NET: Registered PF_INET protocol family [ 0.819478] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.822234] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.822509] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.822610] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.822952] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear) [ 0.823489] TCP: Hash tables configured (established 16384 bind 16384) [ 0.823761] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.823856] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.824255] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.824338] NET: Registered PF_XDP protocol family [ 0.824372] PCI: CLS 0 bytes, default 64 [ 0.825253] Trying to unpack rootfs image as initramfs... [ 0.838849] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 counters available [ 0.840241] kvm [1]: IPA Size Limit: 40 bits [ 0.840343] kvm [1]: GICv3: no GICV resource entry [ 0.840367] kvm [1]: disabling GICv2 emulation [ 0.840417] kvm [1]: GIC system register CPU interface enabled [ 0.840762] kvm [1]: vgic interrupt IRQ9 [ 0.841056] kvm [1]: VHE mode initialized successfully [ 0.845162] Initialise system trusted keyrings [ 0.845455] Key type blacklist registered [ 0.845934] workingset: timestamp_bits=44 max_order=19 bucket_order=0 [ 0.856377] zbud: loaded [ 0.859562] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.860985] fuse: init (API version 7.37) [ 0.865722] integrity: Platform Keyring initialized [ 0.919082] xor: measuring software checksum speed [ 0.924975] 8regs : 1721 MB/sec [ 0.931398] 32regs : 1577 MB/sec [ 0.938107] arm64_neon : 1508 MB/sec [ 0.938155] xor: using function: 8regs (1721 MB/sec) [ 0.938196] Key type asymmetric registered [ 0.938219] Asymmetric key parser 'x509' registered [ 1.777583] Freeing initrd memory: 11852K [ 1.812558] alg: self-tests for CTR-KDF (hmac(sha256)) passed [ 1.812733] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) [ 1.813005] io scheduler mq-deadline registered [ 1.813037] io scheduler kyber registered [ 1.813465] io scheduler bfq registered [ 1.840271] dma-pl330 fe530000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 1.840325] dma-pl330 fe530000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 1.843930] dma-pl330 fe550000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 1.843973] dma-pl330 fe550000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 1.848525] arm-scmi firmware:scmi: Failed. SCMI protocol 22 not active. [ 1.849667] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 1.854665] printk: console [ttyS2] disabled [ 1.854793] fe660000.serial: ttyS2 at MMIO 0xfe660000 (irq = 29, base_baud = 1500000) is a 16550A [ 1.969367] printk: console [ttyS2] enabled [ 1.971519] Serial: AMBA driver [ 1.977406] rockchip-vop2 fe040000.vop: Adding to iommu group 2 [ 1.986034] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 1.998534] loop: module loaded [ 2.007233] tun: Universal TUN/TAP device driver, 1.6 [ 2.009424] thunder_xcv, ver 1.0 [ 2.009832] thunder_bgx, ver 1.0 [ 2.010201] nicpf, ver 1.0 [ 2.011922] e1000e: Intel(R) PRO/1000 Network Driver [ 2.012383] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 2.012996] igb: Intel(R) Gigabit Ethernet Network Driver [ 2.013534] igb: Copyright (c) 2007-2014 Intel Corporation. [ 2.014123] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 2.014694] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 2.015626] sky2: driver version 1.30 [ 2.016991] VFIO - User Level meta-driver version: 0.3 [ 2.030255] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 2.030780] ehci-platform fd800000.usb: EHCI Host Controller [ 2.030804] ohci-platform fd840000.usb: Generic Platform OHCI controller [ 2.030813] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 2.030873] ehci-platform fd880000.usb: EHCI Host Controller [ 2.030909] ehci-platform fd880000.usb: new USB bus registered, assigned bus number 2 [ 2.031026] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010 [ 2.031129] xhci-hcd xhci-hcd.0.auto: irq 33, io mem 0xfcc00000 [ 2.031164] ehci-platform fd880000.usb: irq 36, io mem 0xfd880000 [ 2.031339] ehci-platform fd800000.usb: new USB bus registered, assigned bus number 3 [ 2.031430] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 2.031451] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4 [ 2.031472] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [ 2.031781] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01 [ 2.031796] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.031807] usb usb1: Product: xHCI Host Controller [ 2.031815] usb usb1: Manufacturer: Linux 6.1.50-current-rockchip64 xhci-hcd [ 2.031823] usb usb1: SerialNumber: xhci-hcd.0.auto [ 2.032156] ohci-platform fd8c0000.usb: Generic Platform OHCI controller [ 2.032771] ehci-platform fd800000.usb: irq 35, io mem 0xfd800000 [ 2.032774] hub 1-0:1.0: USB hub found [ 2.042692] hub 1-0:1.0: 1 port detected [ 2.043724] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.044696] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01 [ 2.045487] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.046148] usb usb4: Product: xHCI Host Controller [ 2.046594] usb usb4: Manufacturer: Linux 6.1.50-current-rockchip64 xhci-hcd [ 2.047230] usb usb4: SerialNumber: xhci-hcd.0.auto [ 2.048447] hub 4-0:1.0: USB hub found [ 2.048860] hub 4-0:1.0: 1 port detected [ 2.049364] ehci-platform fd880000.usb: USB 2.0 started, EHCI 1.00 [ 2.049835] ohci-platform fd840000.usb: new USB bus registered, assigned bus number 5 [ 2.049860] ohci-platform fd8c0000.usb: new USB bus registered, assigned bus number 6 [ 2.050103] ohci-platform fd8c0000.usb: irq 38, io mem 0xfd8c0000 [ 2.050136] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 2.050549] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01 [ 2.050565] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.050577] usb usb2: Product: EHCI Host Controller [ 2.050584] usb usb2: Manufacturer: Linux 6.1.50-current-rockchip64 ehci_hcd [ 2.050593] usb usb2: SerialNumber: fd880000.usb [ 2.050805] ohci-platform fd840000.usb: irq 37, io mem 0xfd840000 [ 2.051418] hub 2-0:1.0: USB hub found [ 2.056258] hub 2-0:1.0: 1 port detected [ 2.057214] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 7 [ 2.058157] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010 [ 2.059079] xhci-hcd xhci-hcd.1.auto: irq 34, io mem 0xfd000000 [ 2.059928] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 2.060447] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 8 [ 2.061156] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed [ 2.062050] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01 [ 2.062809] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.063465] usb usb7: Product: xHCI Host Controller [ 2.063911] usb usb7: Manufacturer: Linux 6.1.50-current-rockchip64 xhci-hcd [ 2.064546] usb usb7: SerialNumber: xhci-hcd.1.auto [ 2.065342] ehci-platform fd800000.usb: USB 2.0 started, EHCI 1.00 [ 2.065817] hub 7-0:1.0: USB hub found [ 2.066315] hub 7-0:1.0: 1 port detected [ 2.067333] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.068287] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01 [ 2.069046] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.069734] usb usb8: Product: xHCI Host Controller [ 2.070186] usb usb8: Manufacturer: Linux 6.1.50-current-rockchip64 xhci-hcd [ 2.070823] usb usb8: SerialNumber: xhci-hcd.1.auto [ 2.072049] hub 8-0:1.0: USB hub found [ 2.072455] hub 8-0:1.0: 1 port detected [ 2.073643] usbcore: registered new interface driver usb-storage [ 2.073685] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01 [ 2.074942] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.075600] usb usb3: Product: EHCI Host Controller [ 2.076046] usb usb3: Manufacturer: Linux 6.1.50-current-rockchip64 ehci_hcd [ 2.076681] usb usb3: SerialNumber: fd800000.usb [ 2.078018] hub 3-0:1.0: USB hub found [ 2.078092] mousedev: PS/2 mouse device common for all mice [ 2.078434] hub 3-0:1.0: 1 port detected [ 2.080623] i2c_dev: i2c /dev entries driver [ 2.083850] fan53555-regulator 0-001c: FAN53555 Option[12] Rev[15] Detected! [ 2.092357] rk808 0-0020: chip id: 0x8090 [ 2.113639] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01 [ 2.114415] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.115072] usb usb6: Product: Generic Platform OHCI controller [ 2.115609] usb usb6: Manufacturer: Linux 6.1.50-current-rockchip64 ohci_hcd [ 2.116245] usb usb6: SerialNumber: fd8c0000.usb [ 2.117542] hub 6-0:1.0: USB hub found [ 2.117969] hub 6-0:1.0: 1 port detected [ 2.119169] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01 [ 2.119931] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.120588] usb usb5: Product: Generic Platform OHCI controller [ 2.121126] usb usb5: Manufacturer: Linux 6.1.50-current-rockchip64 ohci_hcd [ 2.121971] usb usb5: SerialNumber: fd840000.usb [ 2.123138] hub 5-0:1.0: USB hub found [ 2.123543] hub 5-0:1.0: 1 port detected [ 2.137987] rk808-regulator rk808-regulator: there is no dvs0 gpio [ 2.138600] rk808-regulator rk808-regulator: there is no dvs1 gpio [ 2.139166] rk808-regulator rk808-regulator: max buck steps per change: 8 [ 2.204367] input: rk805 pwrkey as /devices/platform/fdd40000.i2c/i2c-0/0-0020/rk805-pwrkey/input/input0 [ 2.218145] rk808-rtc rk808-rtc: registered as rtc0 [ 2.221358] rk808-rtc rk808-rtc: setting system clock to 2017-08-05T09:00:06 UTC (1501923606) [ 2.230411] rtc-hym8563 5-0051: no valid clock/calendar values available [ 2.231340] rtc-hym8563 5-0051: registered as rtc1 [ 2.241781] sdhci: Secure Digital Host Controller Interface driver [ 2.242369] sdhci: Copyright(c) Pierre Ossman [ 2.242828] Synopsys Designware Multimedia Card Interface Driver [ 2.245199] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.246674] dwmmc_rockchip fe000000.mmc: IDMAC supports 32-bit address mode. [ 2.246679] dwmmc_rockchip fe2b0000.mmc: IDMAC supports 32-bit address mode. [ 2.246728] dwmmc_rockchip fe2b0000.mmc: Using internal DMA controller. [ 2.247363] dwmmc_rockchip fe000000.mmc: Using internal DMA controller. [ 2.247978] dwmmc_rockchip fe2b0000.mmc: Version ID is 270a [ 2.248079] dwmmc_rockchip fe2b0000.mmc: DW MMC controller at irq 70,32 bit host data width,256 deep fifo [ 2.248572] dwmmc_rockchip fe000000.mmc: Version ID is 270a [ 2.249536] dwmmc_rockchip fe2b0000.mmc: Got CD GPIO [ 2.249900] dwmmc_rockchip fe000000.mmc: DW MMC controller at irq 69,32 bit host data width,256 deep fifo [ 2.252577] ledtrig-cpu: registered to indicate activity on CPUs [ 2.252914] dwmmc_rockchip fe000000.mmc: allocated mmc-pwrseq [ 2.253716] mmc_host mmc2: card is non-removable. [ 2.254348] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active. [ 2.255054] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 2.256129] hid: raw HID events driver (C) Jiri Kosina [ 2.256842] usbcore: registered new interface driver usbhid [ 2.257387] usbhid: USB HID core driver [ 2.266277] mmc_host mmc0: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0) [ 2.266376] drop_monitor: Initializing network drop monitor service [ 2.268594] mmc_host mmc2: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0) [ 2.268763] NET: Registered PF_INET6 protocol family [ 2.281129] mmc1: SDHCI controller on fe310000.mmc [fe310000.mmc] using ADMA [ 2.306513] Segment Routing with IPv6 [ 2.307009] In-situ OAM (IOAM) with IPv6 [ 2.307514] NET: Registered PF_PACKET protocol family [ 2.308194] 8021q: 802.1Q VLAN Support v1.8 [ 2.308676] Key type dns_resolver registered [ 2.310738] registered taskstats version 1 [ 2.311169] Loading compiled-in X.509 certificates [ 2.316705] zswap: loaded using pool zstd/z3fold [ 2.317836] Key type .fscrypt registered [ 2.318215] Key type fscrypt-provisioning registered [ 2.322009] Btrfs loaded, crc32c=crc32c-generic, zoned=yes, fsverity=yes [ 2.323296] Key type encrypted registered [ 2.323703] AppArmor: AppArmor sha1 policy hashing enabled [ 2.324961] mmc_host mmc2: Bus speed (slot 0) = 375000Hz (slot req 375000Hz, actual 375000HZ div = 0) [ 2.333387] usb 3-1: new high-speed USB device number 2 using ehci-platform [ 2.396162] mmc1: new HS200 MMC card at address 0001 [ 2.398024] mmcblk1: mmc1:0001 D9D16G 14.5 GiB [ 2.404366] mmcblk1: p1 [ 2.405918] mmcblk1boot0: mmc1:0001 D9D16G 4.00 MiB [ 2.409483] mmcblk1boot1: mmc1:0001 D9D16G 4.00 MiB [ 2.412540] mmcblk1rpmb: mmc1:0001 D9D16G 4.00 MiB, chardev (242:0) [ 2.427606] rockchip-dw-pcie 3c0000000.pcie: host bridge /pcie@fe260000 ranges: [ 2.428350] rockchip-dw-pcie 3c0000000.pcie: IO 0x00f4100000..0x00f41fffff -> 0x00f4100000 [ 2.429174] rockchip-dw-pcie 3c0000000.pcie: MEM 0x00f4200000..0x00f5ffffff -> 0x00f4200000 [ 2.430050] rockchip-dw-pcie 3c0000000.pcie: MEM 0x0300000000..0x033fffffff -> 0x0040000000 [ 2.431109] rockchip-dw-pcie 3c0000000.pcie: iATU unroll: enabled [ 2.431672] rockchip-dw-pcie 3c0000000.pcie: iATU regions: 8 ob, 8 ib, align 64K, limit 8G [ 2.490090] usb 3-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11 [ 2.490848] usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 2.491495] usb 3-1: Product: USB 2.0 Hub [ 2.492804] hub 3-1:1.0: USB hub found [ 2.493344] hub 3-1:1.0: 4 ports detected [ 2.637401] rockchip-dw-pcie 3c0000000.pcie: PCIe Gen.2 x1 link up [ 2.638177] rockchip-dw-pcie 3c0000000.pcie: PCI host bridge to bus 0000:00 [ 2.638821] pci_bus 0000:00: root bus resource [bus 00-0f] [ 2.639330] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff] (bus address [0xf4100000-0xf41fffff]) [ 2.640192] pci_bus 0000:00: root bus resource [mem 0xf4200000-0xf5ffffff] [ 2.640818] pci_bus 0000:00: root bus resource [mem 0x300000000-0x33fffffff] (bus address [0x40000000-0x7fffffff]) [ 2.641838] pci 0000:00:00.0: [1d87:3566] type 01 class 0x060400 [ 2.642431] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref] [ 2.643161] pci 0000:00:00.0: supports D1 D2 [ 2.643560] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 2.652676] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f]) [ 2.653882] pci 0000:01:00.0: [8086:2725] type 00 class 0x028000 [ 2.654553] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit] [ 2.655752] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 2.665563] pci 0000:00:00.0: BAR 14: assigned [mem 0xf4200000-0xf42fffff] [ 2.666204] pci 0000:00:00.0: BAR 6: assigned [mem 0xf4300000-0xf430ffff pref] [ 2.666873] pci 0000:01:00.0: BAR 0: assigned [mem 0xf4200000-0xf4203fff 64bit] [ 2.667591] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 2.668078] pci 0000:00:00.0: bridge window [mem 0xf4200000-0xf42fffff] [ 2.671385] pcieport 0000:00:00.0: PME: Signaling with IRQ 75 [ 2.672475] pcieport 0000:00:00.0: AER: enabled with IRQ 75 [ 2.675007] phy phy-fe8c0000.phy.7: lane number 0, val 1 [ 2.675697] rockchip-dw-pcie 3c0800000.pcie: host bridge /pcie@fe280000 ranges: [ 2.676420] rockchip-dw-pcie 3c0800000.pcie: IO 0x00f0100000..0x00f01fffff -> 0x00f0100000 [ 2.677245] rockchip-dw-pcie 3c0800000.pcie: MEM 0x00f0200000..0x00f1ffffff -> 0x00f0200000 [ 2.678117] rockchip-dw-pcie 3c0800000.pcie: MEM 0x0380000000..0x03bfffffff -> 0x0040000000 [ 2.687503] rockchip-dw-pcie 3c0800000.pcie: iATU unroll: enabled [ 2.688066] rockchip-dw-pcie 3c0800000.pcie: iATU regions: 8 ob, 8 ib, align 64K, limit 8G [ 2.901386] usb 3-1.2: new full-speed USB device number 3 using ehci-platform [ 3.131740] usb 3-1.2: New USB device found, idVendor=8087, idProduct=0032, bcdDevice= 0.00 [ 3.132507] usb 3-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 3.793702] rockchip-dw-pcie 3c0800000.pcie: Phy link never came up [ 3.794480] rockchip-dw-pcie 3c0800000.pcie: PCI host bridge to bus 0002:00 [ 3.795122] pci_bus 0002:00: root bus resource [bus 00-0f] [ 3.795633] pci_bus 0002:00: root bus resource [io 0x100000-0x1fffff] (bus address [0xf0100000-0xf01fffff]) [ 3.796517] pci_bus 0002:00: root bus resource [mem 0xf0200000-0xf1ffffff] [ 3.797144] pci_bus 0002:00: root bus resource [mem 0x380000000-0x3bfffffff] (bus address [0x40000000-0x7fffffff]) [ 3.798177] pci 0002:00:00.0: [1d87:3566] type 01 class 0x060400 [ 3.798755] pci 0002:00:00.0: reg 0x10: [mem 0x00000000-0x3fffffff] [ 3.799338] pci 0002:00:00.0: reg 0x14: [mem 0x00000000-0x3fffffff] [ 3.799919] pci 0002:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref] [ 3.800661] pci 0002:00:00.0: supports D1 D2 [ 3.801058] pci 0002:00:00.0: PME# supported from D0 D1 D3hot [ 3.810163] pci_bus 0002:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f]) [ 3.811504] pci 0002:00:00.0: BAR 0: assigned [mem 0x380000000-0x3bfffffff] [ 3.812164] pci 0002:00:00.0: BAR 1: no space for [mem size 0x40000000] [ 3.812769] pci 0002:00:00.0: BAR 1: failed to assign [mem size 0x40000000] [ 3.813466] pci 0002:00:00.0: BAR 6: assigned [mem 0xf0200000-0xf020ffff pref] [ 3.814137] pci 0002:00:00.0: PCI bridge to [bus 01-ff] [ 3.817490] pcieport 0002:00:00.0: PME: Signaling with IRQ 77 [ 3.818585] pcieport 0002:00:00.0: AER: enabled with IRQ 77 [ 3.830565] rockchip-drm display-subsystem: bound fe040000.vop (ops vop2_component_ops) [ 3.833237] dwhdmi-rockchip fe0a0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY) [ 3.835259] dwhdmi-rockchip fe0a0000.hdmi: registered DesignWare HDMI I2C bus driver [ 3.836653] rockchip-drm display-subsystem: bound fe0a0000.hdmi (ops dw_hdmi_rockchip_ops) [ 3.838407] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0 [ 3.839274] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes [ 3.840083] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes [ 3.840805] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes [ 3.842647] WCN: marlin_init entry! [ 3.843918] of_cfs_init [ 3.844210] of_cfs_init: OK [ 3.849611] Freeing unused kernel memory: 3968K [ 3.861440] Run /init as init process [ 5.153184] rk_gmac-dwmac fe010000.ethernet: IRQ eth_lpi not found [ 5.154347] rk_gmac-dwmac fe010000.ethernet: supply phy not found, using dummy regulator [ 5.155382] rk_gmac-dwmac fe010000.ethernet: clock input or output? (input). [ 5.156043] rk_gmac-dwmac fe010000.ethernet: TX delay(0x4f). [ 5.156564] rk_gmac-dwmac fe010000.ethernet: RX delay(0x26). [ 5.157098] rk_gmac-dwmac fe010000.ethernet: integrated PHY? (no). [ 5.161401] rk_gmac-dwmac fe010000.ethernet: clock input from PHY [ 5.167013] rk_gmac-dwmac fe010000.ethernet: init for RGMII [ 5.168095] rk_gmac-dwmac fe010000.ethernet: User ID: 0x30, Synopsys ID: 0x51 [ 5.168786] rk_gmac-dwmac fe010000.ethernet: DWMAC4/5 [ 5.169264] rk_gmac-dwmac fe010000.ethernet: DMA HW capability register supported [ 5.170037] rk_gmac-dwmac fe010000.ethernet: RX Checksum Offload Engine supported [ 5.170731] rk_gmac-dwmac fe010000.ethernet: TX Checksum insertion supported [ 5.171368] rk_gmac-dwmac fe010000.ethernet: Wake-Up On Lan supported [ 5.172106] rk_gmac-dwmac fe010000.ethernet: TSO supported [ 5.172628] rk_gmac-dwmac fe010000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 5.176647] rk_gmac-dwmac fe010000.ethernet: Enabled RFS Flow TC (entries=10) [ 5.178920] rk_gmac-dwmac fe010000.ethernet: TSO feature enabled [ 5.180076] rk_gmac-dwmac fe010000.ethernet: Using 32/32 bits DMA host/device width [ 5.196308] spi-nor spi4.0: mx25u12835f (16384 Kbytes) [ 5.576937] EXT4-fs (mmcblk1p1): INFO: recovery required on readonly filesystem [ 5.577664] EXT4-fs (mmcblk1p1): write access will be enabled during recovery [ 5.591271] EXT4-fs (mmcblk1p1): recovery complete [ 5.592245] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Quota mode: none. [ 6.024912] systemd[1]: System time before build time, advancing clock. [ 6.058950] systemd[1]: Inserted module 'autofs4' [ 6.111559] systemd[1]: systemd 252.17-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) [ 6.114555] systemd[1]: Detected architecture arm64. [ 6.120431] systemd[1]: Hostname set to <Rock3A>. [ 6.280182] dw-apb-uart fe660000.serial: forbid DMA for kernel console [ 6.824999] systemd[1]: Queued start job for default target graphical.target. [ 6.849424] systemd[1]: Created slice system-getty.slice - Slice /system/getty. [ 6.854213] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe. [ 6.859027] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty. [ 6.860949] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch. [ 6.862869] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch. [ 6.865528] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point. [ 6.867368] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes. [ 6.868549] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes. [ 6.870018] systemd[1]: Reached target paths.target - Path Units. [ 6.871020] systemd[1]: Reached target remote-fs.target - Remote File Systems. [ 6.872064] systemd[1]: Reached target slices.target - Slice Units. [ 6.873106] systemd[1]: Reached target swap.target - Swaps. [ 6.874155] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes. [ 6.876398] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket. [ 6.878262] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe. [ 6.881257] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket. [ 6.883747] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log). [ 6.886263] systemd[1]: Listening on systemd-journald.socket - Journal Socket. [ 6.889441] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket. [ 6.891742] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket. [ 6.933969] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System... [ 6.942942] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System... [ 6.952345] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System... [ 6.962054] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System... [ 6.972999] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock... [ 6.983908] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout... [ 6.994357] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes... [ 7.005484] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs... [ 7.018275] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod... [ 7.030458] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore... [ 7.041202] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse... [ 7.052606] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop... [ 7.063581] systemd[1]: Starting systemd-fsck-root.service - File System Check on Root Device... [ 7.065739] device-mapper: uevent: version 1.0.3 [ 7.066859] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com [ 7.083184] systemd[1]: Starting systemd-journald.service - Journal Service... [ 7.100632] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules... [ 7.111112] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices... [ 7.128288] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System. [ 7.130615] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System. [ 7.132911] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System. [ 7.135265] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System. [ 7.138914] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock. [ 7.143586] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes. [ 7.148076] systemd[1]: modprobe@configfs.service: Deactivated successfully. [ 7.150757] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs. [ 7.155063] systemd[1]: modprobe@dm_mod.service: Deactivated successfully. [ 7.158691] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod. [ 7.163254] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully. [ 7.165982] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore. [ 7.170732] systemd[1]: modprobe@fuse.service: Deactivated successfully. [ 7.174685] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse. [ 7.179162] systemd[1]: modprobe@loop.service: Deactivated successfully. [ 7.181772] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop. [ 7.230157] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System... [ 7.249088] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System... [ 7.259099] systemd[1]: Started systemd-fsckd.service - File System Check Daemon to report status. [ 7.261733] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met. [ 7.270939] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules. [ 7.273514] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System. [ 7.283758] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables... [ 7.325085] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System. [ 7.338053] systemd[1]: Finished systemd-fsck-root.service - File System Check on Root Device. DDR Version V1.13 20220218 ...
  13. I have updated the armbian-firmware to full package: root@rock-3a:/lib/firmware/mediatek# ls -la /lib/firmware/mediatek/ | grep mt7915 -rw-rw-r-- 1 root root 3584 Feb 17 22:23 mt7915_eeprom.bin -rw-rw-r-- 1 root root 3584 Feb 17 22:23 mt7915_eeprom_dbdc.bin -rw-rw-r-- 1 root root 144544 Feb 17 22:23 mt7915_rom_patch.bin -rw-rw-r-- 1 root root 116160 Feb 17 22:23 mt7915_wa.bin -rw-rw-r-- 1 root root 1260960 Feb 17 22:23 mt7915_wm.bin but my Mediatek 7915e seems to still be unsupported: root@rock-3a:/lib/firmware/mediatek# lspci 0000:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01) 0000:01:00.0 Unclassified device [0002]: MEDIATEK Corp. MT7915E 802.11ax PCI Express Wireless Network Adapter 0002:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01) Will I need to bake my own custom kernel using the compile script: https://docs.armbian.com/Developer-Guide_Build-Preparation/ I am running the following build and kernel: root@rock-3a:/lib/firmware/mediatek# uname -a Linux rock-3a 6.1.11-rk35xx #23.02.2 SMP PREEMPT Sat Feb 18 00:05:58 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux root@rock-3a:/lib/firmware/mediatek# cat /etc/os-release PRETTY_NAME="Armbian 23.02.2 Jammy" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04 (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.armbian.com" SUPPORT_URL="https://forum.armbian.com" BUG_REPORT_URL="https://www.armbian.com/bugs" PRIVACY_POLICY_URL="https://www.armbian.com" UBUNTU_CODENAME=jammy ARMBIAN_PRETTY_NAME="Armbian 23.08.0-trunk jammy" Support seems have been available since 5.10 kernel: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/wireless/mediatek/mt76/mt7915/?h=v5.10.186 Any help would be appreciated
  14. Hello everyone, I am trying to build a custom image of Armbian for the Radxa CM3, but I'm a little confused with how to proceed. I thought if I cloned the repo I could modify a similar board configuration file (such as rock-3a.conf) by renaming a copy as radxa-cm3.conf and changing BOOT_FDT_FILE to use my own device tree, but this is where I got lost. I'm not sure where to put the device tree in the cloned repo so that it gets used during the build process. I'm also not sure if I would need to change BOOTCONFIG as well, and if so where to find the file to modify. Any and all advice to point me in the right direction is appreciated! Thanks! Luke
  15. Could someone point me to a guide / how to / existing build script to create a bootloader image for the Radxa Rock-3a? Context... I'm trying to get a Radxa Rock3c to boot with a modern (6x) Linux kernel. This has the Rockchip rx3566 unlike the Radxa Rock3a which has the rx3568 (supported by Armbian). This is my first time working with u-boot, so I'm trying to follow Rockchip's own guide (here). Sadly that guide seems to be a rather cryptic, poorly translated, and file names don't appear to mach anything I can find. Radxa's own binaries (here) don't seem to know about the rk3566 or rk3568: I get errors when I use mkimage. But other distributions (Armbian and Alpine) have ready built mkimage that does know about rk3568 not rk3566. (Okay!). So my plan is to see if I can use mkimage from Armbian along with rk3566 binaries from Radxa's own repo. Even if I swing across to using the Rock3a I'll still want to be able to re-build the boot loader... so any information here is useful. I'm currently stuck on how to configure / build "spl/u-boot-spl.bin" provided by u-boot source code. I don't see good instructions on that. Long story short... Armbian developers managed to make u-boot boot a Radxa Rock3a with a 6.x kernel. How did they do it. [i don't mind reading source code, I just need to understand which bits were the Armbian customisations / configurations]
  16. Is there any support for Rock 3 C (RK3566)? I've tried booting from the Rock 3 A image, but no joy. It looks like the Rock 3A was RK3568 so I wonder if using another device tree overlay for RK3566 might otherwise work?
  17. Hello Armbian community I just acquired a Raxda Rock 3A with a Raxda Wireless module A8 (RTL8852BE) card. The Ubuntu distribution from Raxda seems to work pretty well, but it's not very recent, which is why I wanted to try Armbian! The current version (Armbian 23.02 Jammy Kernel 6.1.y, Size: 579Mb, Release date: Feb 27, 2023) seems to work, but I have two questions: 1) No wifi, the card is not detected (probably a driver issue, it works with the official OS), if there are members who have solved this? 2) I haven't seen much information on setting up a boot from an nvme storage, have you tried this? Have a great day!
  18. Hello, I'm looking to replace my x86 micro tower with a SBC, to mainly use it as a NAS and media player. On the hardware side, I would like to have a native SATA port (for the NAS hard disk), HDMI output and H.265 decoding (media player), at least 4GB of RAM (to be somewhat future-proof). Bluetooth is a plus to play some retro games Not sure about the OS storage: SD card, eMMC, an hard disk on another SATA port? At the moment I found two boards: the Radxa Rock 3A (with its DIY SATA over USB cable) and Odroid HC4. Both are supported by Armbian, but maybe there is a more recent board that I didn't find? Thanks.
  19. [22787.457010] Internal error: Oops: 0000000086000004 [#1] PREEMPT SMP [22787.457594] Modules linked in: xt_nat xt_tcpudp veth xt_conntrack nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlinks [22787.465404] CPU: 1 PID: 609416 Comm: kworker/u8:5 Not tainted 6.1.11-rk35xx #23.02.2 [22787.466103] Hardware name: Radxa ROCK3 Model A (DT) [22787.466552] Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work [22787.467107] pstate: 804000c9 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [22787.467732] pc : 0x0 [22787.467945] lr : __hrtimer_run_queues+0x104/0x318 [22787.468378] sp : ffff80000800bea0 [22787.468681] x29: ffff80000800bea0 x28: 000014b9b057287e x27: ffff800031f53cd0 [22787.469325] x26: 00000000000000c0 x25: 0000000000000004 x24: ffff8000096b8008 [22787.469968] x23: 0000000000000000 x22: ffff800009999a48 x21: ffff0001fef71500 [22787.470612] x20: ffff0001fef71540 x19: ffff0001fef71580 x18: 0000000000000000 [22787.471254] x17: ffff8001f58b4000 x16: ffff80000800c000 x15: 00002e53bb97ad60 [22787.471894] x14: 000000000000011c x13: 0000000000000016 x12: 0000000000000001 [22787.472534] x11: 0000000000000003 x10: 000000000000001c x9 : ffff00013bcb8f40 [22787.473177] x8 : 0000000000000000 x7 : 7fffffffffffffff x6 : 0000000000000001 [22787.473820] x5 : 000014b9b0941500 x4 : 0000000000000000 x3 : 0000000000010002 [22787.474462] x2 : 0000000000010001 x1 : ffff00013bcb8ec0 x0 : ffff800031f53cd0 [22787.475102] Call trace: [22787.475331] 0x0 [22787.475507] hrtimer_interrupt+0xf4/0x250 [22787.475875] arch_timer_handler_phys+0x30/0x40 [22787.476280] handle_percpu_devid_irq+0xa0/0x238 [22787.476694] generic_handle_domain_irq+0x2c/0x48 [22787.476933] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 [22787.477111] gic_handle_irq+0x50/0x130 [22787.477128] Mem abort info: [22787.477133] call_on_irq_stack+0x2c/0x54 [22787.477903] ESR = 0x0000000086000004 [22787.477911] do_interrupt_handler+0xd8/0xf0 [22787.478247] EC = 0x21: IABT (current EL), IL = 32 bits [22787.478253] SET = 0, FnV = 0 [22787.478498] el1_interrupt+0x38/0x70 [22787.478507] el1h_64_irq_handler+0x18/0x28 [22787.478848] EA = 0, S1PTW = 0 [22787.478855] el1h_64_irq+0x64/0x68 [22787.478861] _raw_spin_unlock_irqrestore+0x18/0x40 [22787.479189] FSC = 0x04: level 0 translation fault [22787.479194] ext4_finish_bio+0x17c/0x2e0 [22787.479565] user pgtable: 4k pages, 48-bit VAs, pgdp=00000001a86f2000 [22787.479571] ext4_release_io_end+0x4c/0x128 [22787.479579] ext4_end_io_rsv_work+0x108/0x1d8 [22787.480041] [0000000000000000] pgd=0000000000000000 [22787.480047] process_one_work+0x21c/0x4a0 [22787.480321] , p4d=0000000000000000 [22787.480328] worker_thread+0x48/0x420 [22787.480646] [22787.480652] kthread+0xf0/0x108 [22787.480659] ret_from_fork+0x10/0x20 [22787.486226] Code: bad PC value [22787.486513] ---[ end trace 0000000000000000 ]--- [22787.486928] Kernel panic - not syncing: Oops: Fatal exception in interrupt [22787.487537] SMP: stopping secondary CPUs [22788.654556] SMP: failed to stop secondary CPUs 1-2 [22788.654987] Kernel Offset: disabled [22788.655300] CPU features: 0x30000,000400a4,6600721b [22788.655736] Memory Limit: none [22788.656017] Rebooting in 90 seconds.. this happens and doesnt reboot, its just hung up, need to force reboot it, any suggestions on it please? this is the setup, using the official sata hat, 4 drives in raid 5 that is on /dev/md0 this crash happened when i am trying to bulk upload the local images from my pc to immich server and rock crashed with the above error after force restarting the rock 3a, it didnt recognize the raid array,one of the hdd was missing, had to restart the rock along with the power supply to pi hat, then it started working fine.. thanks
  20. I don't know where else to share this so I'm putting this here. The board recognizes and tries to the load the driver for an AR9462 QCNA222 M.2 WiFi card, but fails. I tried a custom build found on Radxa forum/github, built Armbian myself, and tried an official build. All resulted in the same error. Card was tested and working correctly on 2 different Debian x86 machines. lspci 0000:00:00.0 PCI bridge: Fuzhou Rockchip Electronics Co., Ltd Device 3566 (rev 01) 0000:01:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01) 0002:20:00.0 PCI bridge: Fuzhou Rockchip Electronics Co., Ltd Device 3566 (rev 01) dmesg ath9k 0000:01:00.0: enabling device (0000 -> 0002) ath9k 0000:01:00.0: request_irq failed ath9k: probe of 0000:01:00.0 failed with error -22
  21. i am using arduino ide, my plan is to keep the eps32 connected to rock3a, and access the debug logs from the browser, this is the code i have used to see if the esp32 is able to read data form rock 3a, #define RXD2 16 #define TXD2 17 void setup() { // Note the format for setting a serial port is as follows: Serial2.begin(baud-rate, protocol, RX pin, TX pin); Serial.begin(115200); //Serial1.begin(9600, SERIAL_8N1, RXD2, TXD2); Serial2.begin(15000000, SERIAL_8N1, RXD2, TXD2); Serial.println("Serial Txd is on pin: "+String(TX)); Serial.println("Serial Rxd is on pin: "+String(RX)); } void loop() { //Choose Serial1 or Serial2 as required while (Serial2.available()) { Serial.print(char(Serial2.read())); } } on serial monitor i am getting the data but only able to see boxes you can see the same in the image attached can esp32 read the serial debug uart messages? what am i doing wrong? my rock 3b keeps hanging after a while and i am unable to pinpoint the exact reason it hangs, so only trying to this
  22. Hey everyone, i bought a Rock 3A to get an alternative to Raspberri pi. The armbian was the system which is closest to the raspberrian and i'm glad that it works so well. But Videos 720p, 1080p mp4 play horrible bad. When i use the included videoplayer or install vlc and start a video it is laggy and slow and not useable. Is there any additional driver i have to install? Do i have to choose a different encoder? Or is the Rock 3A not capeable of playing Videos? Thank you and best regards.
  23. I just saw the post how to get kodi working with a legacy kernel. I want to get ffmpeg working in a docker (specifically for frigate). Do i also need to install the legacy kernel on my machine and do the same steps and only then get the ffmpeg installed in the docker or can anyone help me how to start with this.
  24. Hello, I recently bought a Rock 3A and trying to use Armbian, I am very newbie in this area. I tried few options available (22.08.2 Jammy & Sid) for Rock 3A from here but in all of them the boot fails and falls into endless initramfs Can you give me a hint what could be cause of this?
  25. 6 days ago I did a usual "apt-get update && apt-get upgrade" which brought up the following output: rock@rock-3a:~$ sudo apt-get update && sudo apt-get upgrade && sudo apt-get -y autoremove && sudo apt-get -y autoclean OK:1 http://deb.debian.org/debian bullseye InRelease OK:2 http://deb.debian.org/debian bullseye-updates InRelease OK:3 http://security.debian.org bullseye-security InRelease OK:5 http://deb.debian.org/debian bullseye-backports InRelease OK:4 https://box64.debian.ryanfortner.dev/debian ./ InRelease OK:6 https://mirror-eu-de1.armbian.airframes.io/apt bullseye InRelease Paketlisten werden gelesen… Fertig Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Paketaktualisierung (Upgrade) wird berechnet… Fertig Die folgenden Pakete werden aktualisiert (Upgrade): armbian-bsp-cli-rock-3a armbian-config armbian-firmware armbian-zsh linux-dtb-edge-rk35xx linux-image-edge-rk35xx linux-libc-dev linux-u-boot-rock-3a-edge tzdata 9 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen noch 68,7 MB von 68,9 MB an Archiven heruntergeladen werden. Nach dieser Operation werden 304 kB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] Holen:1 https://mirror-eu-de1.armbian.airframes.io/apt bullseye/main arm64 armbian-bsp-cli-rock-3a arm64 22.08.4 [423 kB] Holen:2 https://mirror-eu-de1.armbian.airframes.io/apt bullseye/main arm64 armbian-config all 22.08.4 [128 kB] Holen:3 https://mirror-eu-de1.armbian.airframes.io/apt bullseye/main arm64 armbian-firmware all 22.08.4 [9.408 kB] Holen:4 https://mirror-eu-de1.armbian.airframes.io/apt bullseye/main arm64 armbian-zsh all 22.08.4 [2.302 kB] Holen:5 https://mirror-eu-de1.armbian.airframes.io/apt bullseye/main arm64 linux-dtb-edge-rk35xx arm64 22.08.4 [450 kB] Holen:6 https://mirror-eu-de1.armbian.airframes.io/apt bullseye/main arm64 linux-image-edge-rk35xx arm64 22.08.4 [53,7 MB] Holen:7 https://mirror-eu-de1.armbian.airframes.io/apt bullseye/main arm64 linux-libc-dev arm64 22.08.4 [1.233 kB] Holen:8 https://mirror-eu-de1.armbian.airframes.io/apt bullseye/main arm64 linux-u-boot-rock-3a-edge arm64 22.08.4 [1.033 kB] Es wurden 68,7 MB in 11 s geholt (6.301 kB/s). Preconfiguring packages ... (Lese Datenbank ... 47489 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../0-tzdata_2021a-1+deb11u7_all.deb ... Entpacken von tzdata (2021a-1+deb11u7) über (2021a-1+deb11u6) ... Vorbereitung zum Entpacken von .../1-armbian-bsp-cli-rock-3a_22.08.4_arm64.deb ... Entpacken von armbian-bsp-cli-rock-3a (22.08.4) über (22.08.2) ... Vorbereitung zum Entpacken von .../2-armbian-config_22.08.4_all.deb ... Entpacken von armbian-config (22.08.4) über (22.08.2) ... Vorbereitung zum Entpacken von .../3-armbian-firmware_22.08.4_all.deb ... Entpacken von armbian-firmware (22.08.4) über (22.08.2) ... Vorbereitung zum Entpacken von .../4-armbian-zsh_22.08.4_all.deb ... Entpacken von armbian-zsh (22.08.4) über (22.08.2) ... Vorbereitung zum Entpacken von .../5-linux-dtb-edge-rk35xx_22.08.4_arm64.deb ... Entpacken von linux-dtb-edge-rk35xx (22.08.4) über (22.08.2) ... Vorbereitung zum Entpacken von .../6-linux-image-edge-rk35xx_22.08.4_arm64.deb ... Entpacken von linux-image-edge-rk35xx (22.08.4) über (22.08.2) ... Vorbereitung zum Entpacken von .../7-linux-libc-dev_22.08.4_arm64.deb ... Entpacken von linux-libc-dev:arm64 (22.08.4) über (22.08.2) ... Vorbereitung zum Entpacken von .../8-linux-u-boot-rock-3a-edge_22.08.4_arm64.deb ... Entpacken von linux-u-boot-rock-3a-edge (22.08.4) über (22.08.2) ... linux-libc-dev:arm64 (22.08.4) wird eingerichtet ... linux-dtb-edge-rk35xx (22.08.4) wird eingerichtet ... armbian-zsh (22.08.4) wird eingerichtet ... tzdata (2021a-1+deb11u7) wird eingerichtet ... Current default time zone: 'Europe/Berlin' Local time is now: Sun Oct 16 21:23:09 CEST 2022. Universal Time is now: Sun Oct 16 19:23:09 UTC 2022. Run 'dpkg-reconfigure tzdata' if you wish to change it. armbian-config (22.08.4) wird eingerichtet ... armbian-bsp-cli-rock-3a (22.08.4) wird eingerichtet ... armbian-firmware (22.08.4) wird eingerichtet ... linux-image-edge-rk35xx (22.08.4) wird eingerichtet ... dkms: running auto installation service for kernel 5.19.14-rk35xx:. update-initramfs: Generating /boot/initrd.img-5.19.14-rk35xx update-initramfs: Converting to u-boot format Remove unused generated file: /boot/uInitrd-5.19.10-rk35xx Remove unused generated file: /boot/initrd.img-5.19.10-rk35xx linux-u-boot-rock-3a-edge (22.08.4) wird eingerichtet ... Trigger für initramfs-tools (0.140) werden verarbeitet ... update-initramfs: Generating /boot/initrd.img-5.19.14-rk35xx update-initramfs: Converting to u-boot format Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Del tzdata 2021a-1+deb11u6 [284 kB] rock@rock-3a:~$ After a reboot the USB port bus 007:device 002 on with an Arduino Nano connected rock@rock-3a:~$ lsusb >>> Bus 007 Device 002: ID 2341:0043 Arduino SA Uno R3 (CDC ACM) <<< Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub does not show up anymore as '/dev/ttyACM0' ! Although the device does exist: rock@rock-3a:~$ ll /dev/bus/usb/007/002 0 crw-rw-r-- 1 root root 189, 769 22. Okt 12:40 /dev/bus/usb/007/002 And therefore is no more accessible. Multiple reboots did not resolve the problem. What to do now? I do appreciate any idea 🙂 Thx for helping!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines