Simon-renegade
Members-
Posts
13 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
-
I've tried to run Armbian on HK1RBOX V2 with the latest Jammy version (Nov 30,2022). I just replaced the dtb with the one extracted from HK1RBOX V2 firmware. Here is the result -- Jammy XFCE desktop with kernel 4.19 -- Work fine. Need to copy wifi driver from the original firmware to have wifi function. Jammy XFCE desktop with kernel 5.19 -- Blocked. The boot message is as below. Looks like there are something wrong with the dtb compatibility Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050] [ 0.000000] Linux version 5.19.17-station-p2 (root@c0ef8c0946a8) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #22.11.1 SMP PREEMPT Wed Nov 30 11:18:30 UTC 2022 [ 0.000000] Machine model: Rockchip RK3566 BOX DEMO V10 ANDROID Board [ 0.000000] earlycon: uart8250 at MMIO32 0x00000000fe660000 (options '') [ 0.000000] printk: bootconsole [uart8250] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] OF: reserved mem: invalid size property in 'rknpu' node. [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000010000000, size 8 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000efffffff] [ 0.000000] NUMA: NODE_DATA [mem 0xef805a40-0xef807fff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000200000-0x00000000efffffff] [ 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-0x00000000083fffff] [ 0.000000] node 0: [mem 0x0000000009400000-0x00000000efffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000efffffff] [ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges [ 0.000000] On node 0, zone DMA: 4096 pages in unavailable ranges [ 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: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.2 [ 0.000000] percpu: Embedded 30 pages/cpu s83048 r8192 d31640 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: patching kernel code [ 0.000000] Fallback order for Node 0: 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 963080 [ 0.000000] Policy zone: DMA [ 0.000000] Kernel command line: root=UUID=5413fab1-29d3-4294-9172-2033521dfdbd console=ttyFIQ0 console=tty0 rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 bootsplash.bootfile=bootsplash.armbian earlycon=uart8250,mmio32,0xfe660000 [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000] Memory: 3765676K/3913728K available (17024K kernel code, 2880K rwdata, 7016K rodata, 4224K init, 721K bss, 139860K reserved, 8192K 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] 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 [mem 0xfd440000-0xfd45ffff] [ 0.000000] GIC: enabling workaround for ITS: Rockchip RK3568 force no_local_cache [ 0.000000] ITS@0x00000000fd440000: allocated 8192 Devices @24d0000 (indirect, esz 8, psz 64K, shr 0) [ 0.000000] ITS@0x00000000fd440000: allocated 32768 Interrupt Collections @24e0000 (flat, esz 2, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] ITS ALLOCATE PROP WORKAROUND [ 0.000000] GICv3: using LPI property table @0x00000000024f0000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000002500000 [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] clk: couldn't get assigned clock 0 for /clock-controller@fdd00000 [ 0.000000] rockchip_clk_of_add_provider: could not register clk provider [ 0.000000] rockchip_clk_of_add_provider: could not register clk provider [ 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.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.001086] Failed to get pclk for 'rk_timer' [ 0.002034] Console: colour dummy device 80x25 [ 0.002495] printk: console [tty0] enabled [ 0.002882] printk: bootconsole [uart8250] disabled
-
Rk3566 U-Boot has no saveenv enabled
Simon-renegade replied to Simon-renegade's topic in Rockchip CPU Boxes
Thanks for the info! -
Can't install kernel-headers via armbian-config
Simon-renegade replied to gruber's topic in Amlogic CPU Boxes
Glad to here that solved you problem on compiling. I've met the same issue before and solved it with the package. I'd like to suggest you to try the latest armbain as the new version already has many wifi drivers in. 5.9.0 is too old. -
Just burned the station m2 release onto EMMC and sadly found that there is no saveenv command. I used Ctrl-c to interrupt the u-boot into command line mode. Checked the supported command by typing help and found no saveenv in the list save - save file to a filesystem setcurs - set cursor position within screen setenv - set environment variables showvar - print local hushshell variables size - determine a file's size source - run script from memory sysboot - command to get and boot from syslinux files sysmem_dump- Dump sysmem layout sysmem_search- Search a available sysmem region test - minimal test like /bin/sh tftp - download image via network using TFTP protocol tftpbootm- tftpbootm aosp/uImage/FIT image via network using TFTP protocol tftpflash- flash image via network using TFTP protocol tftpput - TFTP put command, for uploading files to a server true - do nothing, successfully ums - Use the UMS [USB Mass Storage] usb - USB sub-system usbboot - boot from USB device version - print monitor, compiler and linker version
-
Has anyone tried the latest version Jammy with legacy 4.19 kernel and edge with 5.16 kernel? I've tried the firmware on my 3566 BOX with dtb replaced with the dtb from the box. It is strange that the 5.16 kernel can't boot but the legacy kernel works very well. Here is the log of the boot. It blocks after "Failed to get pclk for 'rk_timer'" Is the same issue occurs on Station M2? Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050] [ 0.000000] Linux version 5.16.11-media (root@1e9690486ec5) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #22.02.1 SMP PREEMPT Sun Feb 27 09:04:03 UTC 2022 [ 0.000000] Machine model: Rockchip RK3566 EVB3 DDR3 V10 Board [ 0.000000] earlycon: uart8250 at MMIO32 0x00000000fe660000 (options '') [ 0.000000] printk: bootconsole [uart8250] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB [ 0.000000] Reserved memory: created CMA memory pool at 0x00000001f8000000, size 128 MiB [ 0.000000] OF: reserved mem: initialized node rknpu, compatible id shared-dma-pool [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000008000000, size 8 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000001ffffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x1f6fe9a40-0x1f6febfff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000200000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000200000-0x00000000083fffff] [ 0.000000] node 0: [mem 0x0000000009400000-0x00000000efffffff] [ 0.000000] node 0: [mem 0x0000000100000000-0x00000001ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000001ffffffff] [ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges [ 0.000000] On node 0, zone DMA: 4096 pages in unavailable ranges [ 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: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.2 [ 0.000000] percpu: Embedded 30 pages/cpu s82200 r8192 d32488 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: ARM errata 1165522, 1319367, or 1530923 [ 0.000000] alternatives: patching kernel code [ 0.000000] Fallback order for Node 0: 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1995336 [ 0.000000] Policy zone: Normal [ 0.000000] Kernel command line: root=UUID=2f79ba47-2200-477e-bf95-e6aaa8a500bc console=ttyFIQ0 console=tty0 rootflags=data=writeback rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 bootsplash.bootfile=bootsplash.armbian earlycon=uart8250,mmio32,0xfe660000 [ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000] software IO TLB: mapped [mem 0x00000000ec000000-0x00000000f0000000] (64MB) [ 0.000000] Memory: 7697224K/8108032K available (17984K kernel code, 3310K rwdata, 7844K rodata, 4864K init, 771K bss, 271544K reserved, 139264K cma-reserved) [ 0.000000] random: get_random_u64 called from cache_random_seq_create+0x84/0x180 with crng_init=0 [ 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] Rude 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: Distributor has no Range Selector support [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GICv3: 16 PPIs implemented [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000 [ 0.000000] ITS [mem 0xfd440000-0xfd45ffff] [ 0.000000] ITS@0x00000000fd440000: Devices doesn't stick: f9070001000d0600 f9070000000d0600 [ 0.000000] ITS@0x00000000fd440000: failed probing (-6) [ 0.000000] ITS: No ITS available, not enabling LPIs [ 0.000000] clk: couldn't get assigned clock 0 for /clock-controller@fdd00000 [ 0.000000] rockchip_clk_of_add_provider: could not register clk provider [ 0.000000] rockchip_clk_of_add_provider: could not register clk provider [ 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.001744] Failed to get pclk for 'rk_timer' [ 0.003301] Console: colour dummy device 80x25 [ 0.003755] printk: console [tty0] enabled [ 0.004173] printk: bootconsole [uart8250] disabled
-
Help needed - u-boot.ext on S905x3 box doesn't work
Simon-renegade replied to Simon-renegade's topic in Amlogic CPU Boxes
Thanks SteeMan, maybe the u-boot of my box is good for the booting firmware without u-boot.ext but just has issue on green screen. Anyway I found a u-boot.ext by hexdump which solved the problem. -
Can't install kernel-headers via armbian-config
Simon-renegade replied to gruber's topic in Amlogic CPU Boxes
wget https://users.armbian.com/balbes150/arm-64/deb/linux-headers-current-arm-64_20.10_arm64.deb sudo dpkg -i linux-headers-current-arm-64_20.10_arm64.deb You can give this a try. -
I just bought hk1box with S905x3 chip, 4G RAM and 64G EMMC. It's a great box running android 9.0 smoothly. It has TTL pads so it can be used to check system boot up log. I've tried to run armbian on it. The good news is that the latest version of balbes150 - Armbian_20.10_Arm-64_focal_current_5.9.0.img can boot up successfully. The bad news is that the screen is green. I've learned from forum that the issue is caused by Amlogic‘s modification of u-boot and need to have u-boot.ext to solve the problem. But no matter the version with the image file or the version from NicoD can not boot up. Both of them has the following prompt and then reboot automatically. [mmc_startup] mmc refix success [mmc_init] mmc init success Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** movi: not registered partition name, logo Can someone tell me how to break into interactive mode after loading u-boot.ext? Or it will be great can help to explain the details of u-boot.ext behavior. The u-boot with original firmware: U-Boot 2015.01 (Nov 28 2021 - 00:44:46) The u-boot.ext of NicoD: U-Boot 2015.01 (Dec 08 2019 - 22:01:28) balbes150's u-boot.exe copied from u-boot-s905x2-s922: U-Boot 2015.01-dirty (Aug 14 2020 - 19:56:34)