Search the Community
Showing results for 'gpio'.
-
@iav Thank you . I've just tried your trixie build with the overlay applied in armbianEnv but unfortunately the kernel panics with another issue now DDR Version 1.25 20210517 In channel 0 CS = 0 MR0=0x18 MR4=0x1 MR5=0x1 MR8=0x10 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 1 CS = 0 MR0=0x18 MR4=0x1 MR5=0x1 MR8=0x10 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 0 training pass! channel 1 training pass! change freq to 416MHz 0,1 Channel 0: LPDDR4,416MHz Bus Width=32 Col=10 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB Channel 1: LPDDR4,416MHz Bus Width=32 Col=10 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB 256B stride channel 0 CS = 0 MR0=0x18 MR4=0x1 MR5=0x1 MR8=0x10 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 1 CS = 0 MR0=0x18 MR4=0x1 MR5=0x1 MR8=0x10 MR12=0x72 MR14=0x72 MR18=0x0 MR19=0x0 MR24=0x8 MR25=0x0 channel 0 training pass! channel 1 training pass! channel 0, cs 0, advanced training done channel 1, cs 0, advanced training done change freq to 856MHz 1,0 ch 0 ddrconfig = 0x101, ddrsize = 0x40 ch 1 ddrconfig = 0x101, ddrsize = 0x40 pmugrf_os_reg[2] = 0x32C1F2C1, stride = 0xD ddr_set_rate to 328MHZ ddr_set_rate to 666MHZ ddr_set_rate to 928MHZ channel 0, cs 0, advanced training done channel 1, cs 0, advanced training done ddr_set_rate to 416MHZ, ctl_index 0 ddr_set_rate to 856MHZ, ctl_index 1 support 416 856 328 666 928 MHz, current 856MHz OUT U-Boot SPL 2026.04_armbian-2026.04-S88dc-Pc925-H6cef-Vfcb0-Bd0d2-R448a (May 08 2026 - 19:13:18 +0000) Trying to boot from MMC2 ## 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 load_simple_fit: Skip load 'atf-5': image size is 0! NOTICE: BL31: v2.13.0(release):armbian NOTICE: BL31: Built : 04:24:31, Mar 29 2026 INFO: GICv3 with legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: Maximum SPI INTID supported: 287 INFO: plat_rockchip_pmu_init(1624): pd status 3e INFO: BL31: Initializing runtime services INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x800000 INFO: SPSR = 0x3c9 ns16550_serial serial@ff1a0000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19 U-Boot 2026.04_armbian-2026.04-S88dc-Pc925-H6cef-Vfcb0-Bd0d2-R448a (May 08 2026 - 19:13:18 +0000) SoC: Rockchip rk3399 Reset cause: POR DRAM: 4 GiB (total 3.9 GiB) PMIC: RK808 Core: 359 devices, 33 uclasses, devicetree: separate SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB MMC: mmc@fe320000: 1, mmc@fe330000: 0 Loading Environment from MMC... Reading from MMC(1)... *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Model: Kobol Helios64 Revision: 1.2 - 4GB non ECC Net: eth0: ethernet@fe300000 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': Cannot persist EFI variables without system partition 0 efi_mgr ready (none) 0 <NULL> ** Booting bootflow '<NULL>' with efi_mgr Loading Boot0000 'mmc 1' failed Loading Boot0001 'mmc 0' failed EFI boot manager: Cannot load any image Boot failed (err=-14) Scanning bootdev 'mmc@fe320000.bootdev': 1 script ready mmc 1 mmc@fe320000.bootdev.part /boot/boot.scr ** Booting bootflow 'mmc@fe320000.bootdev.part_1' with script Boot script loaded from mmc 1:1 227 bytes read in 2 ms (110.4 KiB/s) 24389419 bytes read in 1032 ms (22.5 MiB/s) 40503808 bytes read in 1717 ms (22.5 MiB/s) 90994 bytes read in 12 ms (7.2 MiB/s) Working FDT set to 12000000 485 bytes read in 10 ms (46.9 KiB/s) Applying kernel provided DT overlay rockchip-rk3399-helios64-cpu-stability.dtbo 2825 bytes read in 9 ms (305.7 KiB/s) Applying kernel provided DT fixup script (rockchip-fixup.scr) ## Executing script at 09000000 Trying kaslrseed command... Info: Unknown command can be safely ignored since kaslrseed does not apply to all boards. Unknown command 'kaslrseed' - try 'help' ## Loading init Ramdisk from Legacy Image at 12180000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 24389355 Bytes = 23.3 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 f34bd000, end f4bff6eb ... OK Loading Device Tree to 00000000f4e12000, end 00000000f4e90fff ... OK Working FDT set to f4e12000 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.18.30-current-rockchip64 (build@armbian) (aarch64-linux-gnu-gcc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #2 SMP PREEMPT Thu May 14 13:30:26 UTC 2026 [ 0.000000] KASLR enabled [ 0.000000] Machine model: Kobol Helios64 [ 0.000000] printk: debug: ignoring loglevel setting. [ 0.000000] efi: UEFI not found. [ 0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT [ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff] [ 0.000000] NODE_DATA(0) allocated [mem 0xf77c6740-0xf77c8eff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000200000-0x00000000f7ffffff] [ 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-0x00000000f7ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff] [ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges [ 0.000000] cma: Reserved 128 MiB at 0x00000000e7600000 [ 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.5 [ 0.000000] percpu: Embedded 34 pages/cpu s100440 r8192 d30632 u139264 [ 0.000000] pcpu-alloc: s100440 r8192 d30632 u139264 alloc=34*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GICv3 CPU interface [ 0.000000] CPU features: kernel page table isolation forced ON by KASLR [ 0.000000] CPU features: detected: Kernel page table isolation (KPTI) [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Kernel command line: root=UUID=f8e076a9-7ca2-44b1-94b7-44aed908a068 rootwait rootfstype=ext4 splash=verbose console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=7 ubootpart=dc861576-01 usb-storage.quirks= earlyprintk ignore_loglevel cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory [ 0.000000] Unknown kernel command line parameters "earlyprintk splash=verbose ubootpart=dc861576-01 cgroup_enable=memory cgroup_memory=1", will be passed to user space. [ 0.000000] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes [ 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] software IO TLB: SWIOTLB bounce buffer size adjusted to 3MB [ 0.000000] software IO TLB: area num 8. [ 0.000000] software IO TLB: mapped [mem 0x00000000f6ce3000-0x00000000f70e3000] (4MB) [ 0.000000] Fallback order for Node 0: 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1015296 [ 0.000000] Policy zone: DMA [ 0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1 [ 0.000000] ftrace: allocating 56318 entries in 220 pages [ 0.000000] ftrace: allocated 220 pages with 5 groups [ 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=6. [ 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=6 [ 0.000000] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=6. [ 0.000000] RCU Tasks Rude: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=6. [ 0.000000] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=6. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GIC: enabling workaround for GICv3: Insecure RK3399 integration [ 0.000000] GICv3: 256 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: Broken GIC integration, security disabled [ 0.000000] GICv3: GICD_CTLR.DS=1, SCR_EL3.FIQ=0 [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000 [ 0.000000] ITS [mem 0xfee20000-0xfee3ffff] [ 0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @680000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000000610000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000000620000 [ 0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] } [ 0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] } [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer 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.001599] Console: colour dummy device 80x25 [ 0.001625] printk: legacy console [tty1] enabled [ 0.003164] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.003217] pid_max: default: 32768 minimum: 301 [ 0.003424] LSM: initializing lsm=capability,yama,apparmor [ 0.003547] Yama: becoming mindful. [ 0.004052] AppArmor: AppArmor initialized [ 0.004239] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.004300] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.009172] rcu: Hierarchical SRCU implementation. [ 0.009222] rcu: Max phase no-delay instances is 1000. [ 0.009732] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level [ 0.011469] EFI services will not be available. [ 0.012154] smp: Bringing up secondary CPUs ... [ 0.013256] Detected VIPT I-cache on CPU1 [ 0.013534] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000 [ 0.013561] GICv3: CPU1: using allocated LPI pending table @0x0000000000630000 [ 0.013635] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.014866] Detected VIPT I-cache on CPU2 [ 0.015115] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000 [ 0.015138] GICv3: CPU2: using allocated LPI pending table @0x0000000000640000 [ 0.015191] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.016437] Detected VIPT I-cache on CPU3 [ 0.016682] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000 [ 0.016705] GICv3: CPU3: using allocated LPI pending table @0x0000000000650000 [ 0.016757] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.017939] CPU features: detected: Spectre-v2 [ 0.017955] CPU features: detected: Spectre-v3a [ 0.017966] CPU features: detected: Spectre-BHB [ 0.017976] CPU features: detected: ARM erratum 1742098 [ 0.017986] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 0.017995] Detected PIPT I-cache on CPU4 [ 0.018219] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000 [ 0.018239] GICv3: CPU4: using allocated LPI pending table @0x0000000000660000 [ 0.018286] CPU4: Booted secondary processor 0x0000000100 [0x410fd082] [ 0.019422] Detected PIPT I-cache on CPU5 [ 0.019627] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000 [ 0.019646] GICv3: CPU5: using allocated LPI pending ta185584] loop: module loaded [ 2.187859] Key type psk registered [ 2.191588] rockchip-spi ff1d0000.spi: error -ENODEV: Failed to request optional TX DMA channel [ 2.192404] rockchip-spi ff1d0000.spi: error -ENODEV: Failed to request optional RX DMA channel [ 2.193884] spi-nor spi1.0: supply vcc not found, using dummy regulator [ 2.217691] rockchip-spi ff1e0000.spi: error -ENODEV: Failed to request optional TX DMA channel [ 2.218507] rockchip-spi ff1e0000.spi: error -ENODEV: Failed to request optional RX DMA channel [ 2.223730] thunder_xcv, ver 1.0 [ 2.224098] thunder_bgx, ver 1.0 [ 2.224453] nicpf, ver 1.0 [ 2.238678] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 2.239218] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 2.240061] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010 [ 2.240990] xhci-hcd xhci-hcd.0.auto: irq 47, io mem 0xfe900000 [ 2.241751] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 2.242261] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 2.242960] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [ 2.243789] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.18 [ 2.244541] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.245225] usb usb1: Product: xHCI Host Controller [ 2.245675] usb usb1: Manufacturer: Linux 6.18.30-current-rockchip64 xhci-hcd [ 2.246318] usb usb1: SerialNumber: xhci-hcd.0.auto [ 2.247452] hub 1-0:1.0: USB hub found [ 2.247844] hub 1-0:1.0: 1 port detected [ 2.248795] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.249697] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.18 [ 2.250449] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.251103] usb usb2: Product: xHCI Host Controller [ 2.251549] usb usb2: Manufacturer: Linux 6.18.30-current-rockchip64 xhci-hcd [ 2.252192] usb usb2: SerialNumber: xhci-hcd.0.auto [ 2.253303] hub 2-0:1.0: USB hub found [ 2.253692] hub 2-0:1.0: 1 port detected [ 2.254608] usbcore: registered new interface driver usb-storage [ 2.255507] usbcore: registered new device driver onboard-usb-dev [ 2.259338] mousedev: PS/2 mouse device common for all mice [ 2.260464] i2c_dev: i2c /dev entries driver [ 2.264336] /i2c@ff3c0000/pmic@1b: Fixed dependency cycle(s) with /i2c@ff3c0000/pmic@1b/regulators/LDO_REG8 [ 2.267805] /i2c@ff3d0000/typec-portc@22/connector: Fixed dependency cycle(s) with /phy@ff7c0000/dp-port [ 2.268724] /i2c@ff3d0000/typec-portc@22/connector: Fixed dependency cycle(s) with /phy@ff7c0000/usb3-port [ 2.269615] /i2c@ff3d0000/typec-portc@22/connector: Fixed dependency cycle(s) with /syscon@ff770000/usb2phy@e450 [ 2.276687] dw_wdt ff848000.watchdog: No valid TOPs array specified [ 2.279984] sdhci: Secure Digital Host Controller Interface driver [ 2.280554] sdhci: Copyright(c) Pierre Ossman [ 2.281075] Synopsys Designware Multimedia Card Interface Driver [ 2.282845] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.286081] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 2.287223] hid: raw HID events driver (C) Jiri Kosina [ 2.287839] usbcore: registered new interface driver usbhid [ 2.288347] usbhid: USB HID core driver [ 2.290686] rockchip-dfi ff630000.dfi: dfi initialized, dram type: 0x7, channels: 2 [ 2.295856] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 (0,8000003f) counters available [ 2.299051] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 (0,8000003f) counters available [ 2.302149] NET: Registered PF_INET6 protocol family [ 2.305586] Segment Routing with IPv6 [ 2.306002] In-situ OAM (IOAM) with IPv6 [ 2.306445] NET: Registered PF_PACKET protocol family [ 2.306958] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 2.309046] Key type dns_resolver registered [ 2.323436] registered taskstats version 1 [ 2.324422] Loading compiled-in X.509 certificates [ 2.342373] zswap: loaded using pool zstd [ 2.343544] Demotion targets for Node 0: null [ 2.346646] Key type .fscrypt registered [ 2.347032] Key type fscrypt-provisioning registered [ 2.347858] Key type encrypted registered [ 2.348232] AppArmor: AppArmor sha256 policy hashing enabled [ 2.400143] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected! [ 2.400699] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected! [ 2.404882] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found [ 2.405505] rk_gmac-dwmac fe300000.ethernet: IRQ sfty not found [ 2.406109] rk_gmac-dwmac fe300000.ethernet: Deprecated MDIO bus assumption used [ 2.406830] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock [ 2.407587] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no). [ 2.413208] rk_gmac-dwmac fe300000.ethernet: init for rgmii with delay (tx: 0x28, rx: 0x20) [ 2.414985] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35 [ 2.415662] rk_gmac-dwmac fe300000.ethernet: DWMAC1000 [ 2.416141] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported [ 2.416869] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported [ 2.417552] rk_gmac-dwmac fe300000.ethernet: COE Type 2 [ 2.418034] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported [ 2.418667] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported [ 2.419355] rk_gmac-dwmac fe300000.ethernet: Normal descriptors [ 2.419901] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled [ 2.420428] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 2.492864] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 2.553267] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 2.554201] RTL8211F Gigabit Ethernet stmmac-0:01: attached PHY driver (mii_bus:phy_addr=stmmac-0:01, irq=POLL) [ 2.557502] pca953x 2-0020: using no AI [ 2.578770] rk808-regulator rk808-regulator.2.auto: max buck steps per change: 4 [ 2.617133] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges: [ 2.617447] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode. [ 2.617817] rockchip-pcie f8000000.pcie: MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000 [ 2.618426] dwmmc_rockchip fe320000.mmc: Using internal DMA controller. [ 2.619109] mmc1: CQHCI version 5.10 [ 2.619157] rockchip-pcie f8000000.pcie: IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000 [ 2.619740] dwmmc_rockchip fe320000.mmc: Version ID is 270a [ 2.620361] rockchip-pcie f8000000.pcie: no bus scan delay, default to 0 ms [ 2.620913] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 70,32 bit host data width,256 deep fifo [ 2.623291] dwmmc_rockchip fe320000.mmc: Got CD GPIO [ 2.631661] usb 1-1: New USB device found, idVendor=2109, idProduct=2815, bcdDevice= 7.04 [ 2.632407] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.633079] usb 1-1: Product: USB2.0 Hub [ 2.633538] usb 1-1: Manufacturer: VIA Labs, Inc. [ 2.636675] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 2.648517] mmc1: SDHCI controller on fe330000.mmc [fe330000.mmc] using ADMA [ 2.692830] hub 1-1:1.0: USB hub found [ 2.693908] hub 1-1:1.0: 4 ports detected [ 2.720760] mmc1: Command Queue Engine enabled [ 2.721204] mmc1: new HS400 Enhanced strobe MMC card at address 0001 [ 2.723545] mmcblk1: mmc1:0001 AJTD4R 14.6 GiB [ 2.727832] mmcblk1boot0: mmc1:0001 AJTD4R 4.00 MiB [ 2.731824] mmcblk1boot1: mmc1:0001 AJTD4R 4.00 MiB [ 2.735727] mmcblk1rpmb: mmc1:0001 AJTD4R 4.00 MiB, chardev (242:0) [ 2.756038] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd [ 2.831185] mmc_host mmc0: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0) [ 2.833193] rockchip-pcie f8000000.pcie: wait 0 ms (from device tree) before bus scan [ 2.835150] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00 [ 2.835781] pci_bus 0000:00: root bus resource [bus 00-1f] [ 2.836298] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff] [ 2.837221] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff]) [ 2.838115] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400 PCIe Root Port [ 2.838797] pci 0000:00:00.0: PCI bridge to [bus 00] [ 2.839252] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff] [ 2.839935] pci 0000:00:00.0: supports D1 [ 2.840300] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 2.845118] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 2.896013] SError Interrupt on CPU4, code 0x00000000bf000002 -- SError [ 2.896031] CPU: 4 UID: 0 PID: 55 Comm: kworker/u26:1 Tainted: G M 6.18.30-current-rockchip64 #2 PREEMPT [ 2.896044] Tainted: [M]=MACHINE_CHECK [ 2.896047] Hardware name: Kobol Helios64 (DT) [ 2.896053] Workqueue: events_unbound deferred_probe_work_func [ 2.896077] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 2.896086] pc : rockchip_pcie_rd_conf+0x184/0x290 [ 2.896098] lr : rockchip_pcie_rd_conf+0x178/0x290 [ 2.896106] sp : ffff800080b537d0 [ 2.896109] x29: ffff800080b537d0 x28: ffffd9b5ba3a3d68 x27: 0000000000000000 [ 2.896121] x26: 0000000000000001 x25: 0000000000000000 x24: ffffd9b5ba52afb0 [ 2.896132] x23: 0000000000000000 x22: ffff800080b538a4 x21: ffff800080b53804 [ 2.896142] x20: 0000000000000000 x19: 0000000000000004 x18: 00000000ffffffff [ 2.896152] x17: 6572202c295d3030 x16: 2d3030207375625b x15: ffff800080b53670 [ 2.896162] x14: ffff000001a45a1c x13: ffff000001a45290 x12: dead000000000040 [ 2.896172] x11: ffffff800000007c x10: 0000000000000000 x9 : ffffd9b5b86c6288 [ 2.896182] x8 : 000000003d4d554e x7 : ffff00000b490bc0 x6 : ffff00000b491000 [ 2.896192] x5 : ffff00000b491800 x4 : ffff800085000000 x3 : 0000000000c00008 [ 2.896202] x2 : 000000000080000a x1 : ffff800085c00008 x0 : ffff800085c0000c [ 2.896214] Kernel panic - not syncing: Asynchronous SError Interrupt [ 2.896219] CPU: 4 UID: 0 PID: 55 Comm: kworker/u26:1 Tainted: G M 6.18.30-current-rockchip64 #2 PREEMPT [ 2.896229] Tainted: [M]=MACHINE_CHECK [ 2.896232] Hardware name: Kobol Helios64 (DT) [ 2.896236] Workqueue: events_unbound deferred_probe_work_func [ 2.896248] Call trace: [ 2.896251] show_stack+0x20/0x38 (C) [ 2.896263] dump_stack_lvl+0x34/0x90 [ 2.896275] dump_stack+0x18/0x28 [ 2.896283] vpanic+0x328/0x378 [ 2.896292] panic+0x68/0x70 [ 2.896300] nmi_panic+0x74/0x80 [ 2.896308] arm64_serror_panic+0x78/0x90 [ 2.896317] do_serror+0x60/0xc0 [ 2.896325] el1h_64_error_handler+0x34/0x50 [ 2.896338] el1h_64_error+0x6c/0x70 [ 2.896345] rockchip_pcie_rd_conf+0x184/0x290 (P) [ 2.896355] pci_bus_read_config_dword+0x88/0xf8 [ 2.896365] pci_bus_generic_read_dev_vendor_id+0x38/0x1a0 [ 2.896376] pci_scan_single_device+0xb4/0x120 [ 2.896387] pci_scan_slot+0x74/0x218 [ 2.896396] pci_scan_child_bus_extend+0x50/0x2e0 [ 2.896407] pci_scan_bridge_extend+0x2c4/0x608 [ 2.896417] pci_scan_child_bus_extend+0x1c4/0x2e0 [ 2.896427] pci_scan_root_bus_bridge+0x6c/0xe8 [ 2.896438] pci_host_probe+0x38/0x118 [ 2.896448] rockchip_pcie_probe+0x548/0x678 [ 2.896457] platform_probe+0x64/0xa8 [ 2.896465] really_probe+0xc8/0x3a0 [ 2.896476] __driver_probe_device+0x8c/0x1b0 [ 2.896487] driver_probe_device+0x44/0x120 [ 2.896498] __device_attach_driver+0xc4/0x168 [ 2.896510] bus_for_each_drv+0x90/0xf8 [ 2.896520] __device_attach+0xa8/0x1c8 [ 2.896532] device_initial_probe+0x1c/0x30 [ 2.896543] bus_probe_device+0xb4/0xc0 [ 2.896554] deferred_probe_work_func+0xa4/0x100 [ 2.896567] process_one_work+0x174/0x3e8 [ 2.896584] worker_thread+0x194/0x328 [ 2.896599] kthread+0x14c/0x208 [ 2.896609] ret_from_fork+0x10/0x20 [ 2.896624] SMP: stopping secondary CPUs [ 2.896890] Kernel Offset: 0x59b537e00000 from 0xffff800080000000 [ 2.896895] PHYS_OFFSET: 0x0 [ 2.896898] CPU features: 0x100000,04125800,40004001,0400421b [ 2.896904] Memory Limit: none [ 2.925045] ---[ end Kernel panic - not syncing: Asynchronous SError Interrupt ]---
-
Note: This is for Odroid m1s, not Odroid m1 - there just isn't a forum for the m1s (yet?) When I tried to start the board with the community image for the Odroid m1s on a SD card, it wouldn't boot. The connected screen (HDMI) would stay black and the blue heartbeat LED would stay on permanently. I tried building and flashing u-boot but that didn't help me. Here's what DID work: (Note: it worked for me. I can't guarantee that this fixes it for everyone, use at your own risk) I mounted the SD card on a Linux desktop and created backups of the boot scripts (just to be safe) sudo cp <mount_path>/armbi_root/boot/boot.cmd <mount_path>/armbi_root/boot/boot.cmd.bak sudo cp <mount_path>/armbi_root/boot/boot.scr <mount_path>/armbi_root/boot/boot.scr.bak Then I set the load address to 0x0c000000 sudo sed -i 's/setenv load_addr "0x9000000"/setenv load_addr "0x0c000000"/' <mount_path>/armbi_root/boot/boot.cmd Then I ran mkimage as follows: sudo /usr/bin/mkimage -C none -A arm -T script -d <mount_path>/armbi_root/boot/boot.cmd <mount_path>/armbi_root/boot/boot.scr This fixed the booting, but just to be sure a future update wouldn't undo it I also wrote it to armbianEnv.txt echo "load_addr=0x0c000000" | sudo tee -a <mount_path>/armbi_root/boot/armbianEnv.txt And that's it! One more thing: I noticed that Ethernet did not work out of the box, so I did this: I attached a UART cable to log into the machine and created the following script, which patches the device tree. You might need to get a little creative if your only access would be through Ethernet, but you I'm sure you can figure something out. (Maybe create the necessary files while the SD card is still mounted on your PC) cat > /usr/local/sbin/patch-gmac-dtb.sh << 'EOF' #!/bin/bash DTB=/boot/dtb/rockchip/rk3566-odroid-m1s.dtb dtc -I dtb -O dts $DTB -o /tmp/m1s.dts 2>/dev/null # Only patch if not already applied if grep -q 'snps,reset-gpio' /tmp/m1s.dts; then echo "GMAC DTB patch already present, skipping" exit 0 fi sed -i '/phy-mode = "rgmii-id";/a \\t\tsnps,reset-gpio = <0x51 0x0f 0x01>;\n\t\tsnps,reset-active-low;\n\t\tsnps,reset-delays-us = <0x00 0x4e20 0x186a0>;' /tmp/m1s.dts sed -i '/reset-assert-us/d; /reset-deassert-us/d; /reset-gpios = <0x51/d' /tmp/m1s.dts dtc -I dts -O dtb /tmp/m1s.dts -o $DTB 2>/dev/null echo "GMAC DTB patch applied" EOF chmod +x /usr/local/sbin/patch-gmac-dtb.sh Execute the script and Ethernet should be working. (Might need a reboot, though). If this works, you should make sure this is applied after every kernel update, because it will get overwritten otherwise: # Run it automatically after kernel/dtb package updates cat > /etc/apt/apt.conf.d/99-patch-gmac-dtb << 'EOF' DPkg::Post-Invoke {"if [ -f /usr/local/sbin/patch-gmac-dtb.sh ]; then /usr/local/sbin/patch-gmac-dtb.sh; fi"}; EOF
-
Been doing some RK3588 board porting and kept running into the same category of bug — dtc compiles clean, dtbs_check passes, but the board either panics on suspend or a peripheral silently fails to probe. Stuff like: Peripheral on the EE supply wired to something that only stays alive in the AO domain → suspend-resume panic Copy-pasted a GPIO bank with 32 pins, used pin 35 → kernel panic at driver probe SPI clock request exceeds PLL maximum → silent bus hang Two nodes sharing the same GIC SPI interrupt line None of these are schema violations — they require knowing the actual cross-domain constraints of the SoC, which dtc has no idea about. So I wrote a Python tool that builds an in-memory model of the power tree, clock tree, and pin assignments, then runs constraint rules against it: $ pip install soc-consistency $ socc check board.dts --soc rk3588 error[PD-001] Power domain crossing — i2c@fe2b0000 uses vcc_3v3 (EE domain) but is connected to vcc_1v8 (AO domain). Will panic on suspend. error[GP-003] GPIO index out of bounds — gpio1 pin 35 on a 32-pin bank. warn[CK-003] Clock rate mismatch — spi0 requests 50 MHz from pll_cpll (max 24 MHz). There's also a decompile command that runs dtc on a binary blob and annotates the output with peripheral names from the SoC database — useful when you're staring at a vendor DTB and have no idea which block is at which address: $ socc decompile vendor.dtb --soc rk3588 gpio0@fd8a0000 /* GPIO0 (32-pin, 3.3V) */ { cru@fd7c0000 /* CRU — Clock and Reset Unit */ { RK3588 has the most complete constraint coverage right now. The constraint format is a simple YAML file — happy to accept PRs for other SoCs. GitHub: https://github.com/gahingwoo/SoC-Consistency Docs/rules reference: in the README If you hit false positives on a real BSP DTS, open an issue — BSP files from vendors tend to have a lot of "intentional" violations that I'm still tuning the rules around.
-
1
-
to start ethernet #!/bin/bash echo -n "4510000.ethernet" > /sys/bus/platform/drivers/dwmac-sun55i/unbind 2>/dev/null echo 271 > /sys/class/gpio/export 2>/dev/null echo out > /sys/class/gpio/gpio271/direction 2>/dev/null echo 0 > /sys/class/gpio/gpio271/value 2>/dev/null sleep 0.1 echo 1 > /sys/class/gpio/gpio271/value 2>/dev/null sleep 0.3 echo 271 > /sys/class/gpio/unexport 2>/dev/null echo -n "4510000.ethernet" > /sys/bus/platform/drivers/dwmac-sun55i/bind 2>/dev/null just systemd it [Unit] Description=Fix ethernet PHY on cold boot After=multi-user.target [Service] Type=oneshot ExecStart=/usr/local/bin/fix-eth.sh RemainAfterExit=yes [Install] WantedBy=multi-user.target
-
Hello community! I’ve been a lurker for a while and recently flashed the latest Armbian Jammy onto a spare NanoPi NEO I had lying around. I'm currently designing a headless DIY time-tracking kiosk for a small local workshop using an RC522 RFID reader via SPI. Reading the RFID tags and logging the raw Unix timestamps (punch-in/punch-out) to a local SQLite database was the easy part. Where I'm getting a bit stuck is the actual backend calculation logic. I need the system to accurately calculate the daily net working hours, which means automatically deducting mandatory statutory breaks (e.g., 30 mins after 6 hours of work) and tracking daily overtime. To ensure the math is strictly accurate and handles edge cases properly, I am trying to write a Python script that replicates the exact calculation logic used by standard tools like arbeitszeitrechnerprofi.de for the backend processing. Before I completely reinvent the wheel writing complex Python datetime scripts, has anyone here built a similar attendance or punch-clock project on Armbian? What’s the best way to handle this data processing locally? Would it be better to just use Node-RED for easier visual flow and logic management rather than a standalone Python daemon? Also, any tips on GPIO reliability for the RFID reader under the recent Armbian kernels would be highly appreciated. I plan to start wiring the prototype this weekend. Thanks in advance!
-
I'm trying to activate the UART9 overlay to enable an additional serial port. According to the Armbian documentation, I should create /boot/armbianEnv.txt and add overlays=uart9 to it. However, after multiple attempts, the serial boot log doesn't show any changes, as if the file isn't being read at all. Here's what I've tried so far: Created /boot/armbianEnv.txt with the following content: overlays=uart9 Tried different overlay_prefix settings (e.g., overlay_prefix=k1). Renamed the file to orangepiEnv.txt after seeing it referenced elsewhere. None of these changes seem to have any effect, the UART9 device doesn't appear in /dev/, and the boot log doesn't reflect the overlay being applied. Could someone point me in the right direction? What am I missing here? Once I get the UART9 overlay working, I'd also like to create a custom overlay to use a GPIO pin for PPS (Pulse Per Second) input. Any guidance on that would be greatly appreciated!
-
@Nick A Hi Nick, I'm using your image (Radxa-cubie-a7z-v0.6.4_trixie_vendor_6.6.98_xfce_desktop.img) on my Radxa Cubie A7Z, which I've DIY-modified to have 6GB of RAM. Micron D9XKK (MT53E1536M32D4DT-046 AAT:A) 6GB LPDDR4 chip. Unfortunately, it fails to boot. Here is the UART output below. Do you know how to fix this? Does the system need specific configuration to recognize the 6GB RAM? ...... [212]HELLO! BOOT0 is starting! [215]BOOT0 commit : {4721ad08} [218]board gpio withstand voltage auto mode [233]dram_para_total:0xf [235]vaild para:6 select dram para10 [mmc]: mmc driver ver 2025-10-16 17:10 [mmc]: Wrong media type 0x0 [mmc]: ***Try SD card 0*** [mmc]: HSSDR52/SDR25 4 bit [mmc]: 50000000 Hz [mmc]: 15279 MB [mmc]: ***SD/MMC 0 init OK!!!*** [273]DRAM BOOT DRIVE INFO: V0.601 [277]DRAM_VCC set to 1100 mv [280]DRAM CLK =1800 MHZ [282]DRAM Type =8 (8:LPDDR4,9:LPDDR5) [387]Training result is = 7 [390]DRAM Pstate 1 training, frequency is 1200 Mhz [503]Training result is = 7 [506]DRAM Pstate 2 training, frequency is 800 Mhz [716]Training result is = 7 [718]DRAM Pstate 3 training, frequency is 400 Mhz [3934]Training result is = 7 [3937]DRAM Pstate 0 training, frequency is 1800 Mhz [3945]Actual DRAM SIZE =8192 M [3948]DRAM SIZE =8192 MBytes, para1 = 311a, para2 = 20001001, dram_tpr13 = 6067 [3962]DRAM simple test OK. [3968]error:bad magic. [4032]error: dtb not found for scp [4036]mmc not para [4038]Jump to ATF: monitor_base = 0x48000000, uboot_base = 0x4a000000, optee_base = 0x0 NOTICE: BL31: OP-TEE 32bit detected NOTICE: BL31: U-BOOT 32bit detected NOTICE: BL31: dram size is 8589934592 bytes NOTICE: BL31: v2.5(debug):48e54578a NOTICE: BL31: Built : 14:13:06, Jul 2 2025 NOTICE: BL31: No DTB found. ERROR: Error initializing runtime service opteed_fast U-Boot 2018.07-17-boot-aw2501-g4c7078cfdf7-dirty (Apr 29 2026 - 10:03:59 +0000) Allwinner Technology [04.094]CPU: Allwinner Family [04.097]Model: Radxa Cubie A7A I2C: ready [04.160]DRAM: 8 GiB [04.169]Relocation Offset is: 75d89000 [04.223]secure enable bit: 0 [04.226]PMU: AXP8191 [04.228]PMU: AXP8191 VER_A FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL [04.240]bmu_axp515_probe pmic_bus_read fail [04.244][AXP8191] onoff status: 0x50 = 0x1, 0x51 = 0x0 [04.249][AXP8191] charge status: 0x4 = 0x0 [04.252]CPU=1014 MHz,PLL6=1200 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=600Mhz [04.259]gic: sec monitor mode SPI ALL: ready [04.303]flash init start [04.305]workmode = 0,storage type = 1 [04.308][mmc]: mmc driver ver uboot2018:2024-10-18 9:01:00 -- uboot2018:2025-03-28 10:03:00 [04.317][mmc]: get sdc_type fail and use default host:tm1. [04.325][mmc]: can't find node "mmc0",will add new node [04.329][mmc]: fdt err returned <no error> [04.333][mmc]: Using default timing para [04.337][mmc]: SUNXI SDMMC Controller Version:0x50530 [04.355][mmc]: card_caps:0x3000000a [04.358][mmc]: host_caps:0x3000003f [04.362]sunxi flash init ok get value error [04.373]Loading Environment from SUNXI_FLASH... OK No ethernet found. [04.411]NOT support bridge yet [04.413]Warn: no find panel or bridge [04.515]drm hdmi get mode: 1920x1080@60Hz hdmi0@5520000: use force output detailed mode clock 148500 kHz, flags[5] H: 1920 2008 2052 2200 V: 1080 1084 1089 1125 bus_format: 0 clk_set_rate: <NULL> has NULL parent [04.620]suxni tcon hdmi set rate: 148500000Hz and get diff: -148500000Hz [04.692]the secure storage item0 copy0 magic is bad [04.704]the secure storage item0 copy1 magic is bad [04.709]usb burn from boot delay time 0 [04.715]usb prepare ok [04.924]usb sof ok [04.926]usb probe ok [04.928]usb setup ok set address 0x4 set address 0x4 ok [05.334]do_burn_from_boot usb : have no handshake skip update boot_param cann't get the boot_base from the env [05.346]update part info [05.351]battery temp is -1 [05.358]update bootcmd [05.366](not enough data: expected >= 8 cells, got 4 cells) Link up timeout Speed change timeout PCIe speed of Gen1 Override default fdtfile to allwinner/sun60i-a733-cubie-a7z.dtb [07.810]libfdt fdt_check_header(): FDT_ERR_BADMAGIC [07.816]libfdt fdt_path_offset() returned FDT_ERR_BADMAGIC [07.821][mmc]: get sunxi-mmc0 string failed [07.826]The storage not support sample function [07.832]## error: update_fdt_dram_para_from_bootpara : FDT_ERR_NOTFOUND ret 0 [07.842]chip id : 0x00005100 0x00004900 0x0000c418 0x00002294 [07.847]mac addr => 08:51:49:dc:b6:2c [07.851]chip id : 0x00005100 0x00004900 0x0000c418 0x00002294 [07.856]mac addr => 08:51:49:dc:b6:2d [07.860]/chosen/rng-seed node not exit [07.864]no battery, disabled battery functons [07.868]Could not find nodeoffset for bat_supply [07.872]update dts curr_device:0 Device: SUNXI SD/MMC Manufacturer ID: 1b OEM: 534d Name: 00000 Bus Speed: 50000000 Mode : SD High Speed (50MHz) Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 14.9 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes [ufs]info:Driver version 0.0.24 2024.12.30 16:00 [ufs]info:Cal words 0x60:val 0xae400000, 0x64:val 0x4f21885d [ufs]err:uic c 16,uic a 0,1,0 [ufs]err:e 80000010,0,0,0,0 [ufs]err:int s 0,400 [ufs]err:Device not present [ufs]err:wait device link startup failed [ufs]info:peer link startup timeout [ufs]info:Cal words 0x60:val 0xae400000, 0x64:val 0x4f21885d [ufs]err:uic c 16,uic a 0,1,0 [ufs]err:e 80000010,0,0,0,0 [ufs]err:int s 0,400 [ufs]err:Device not present [ufs]err:wait device link startup failed [ufs]info:peer link startup timeout [ufs]info:Cal words 0x60:val 0xae400000, 0x64:val 0x4f21885d [ufs]err:uic c 16,uic a 0,1,0 [ufs]err:e 80000010,0,0,0,0 [ufs]err:int s 0,400 [ufs]err:Device not present [ufs]err:wait device link startup failed [ufs]info:peer link startup timeout [ufs]info:Cal words 0x60:val 0xae400000, 0x64:val 0x4f21885d [ufs]err:uic c 16,uic a 0,1,0 [ufs]err:e 80000010,0,0,0,0 [ufs]err:int s 0,400 [ufs]err:Device not present [ufs]err:wait device link startup failed [ufs]info:peer link startup timeout [ufs]err:link startup failed -6 [ufs]err:ufshcd_probe() failed -6 fail to init ufs sunxi_flash - sunxi_flash sub-system Usage: sunxi_flash sunxi_flash init storage_type sunxi_flash read mem_addr part_name [size] sunxi_flash read_mtd mem_addr part_name [size] sunxi_flash write <mem_addr> <part_name> [size] sunxi_flash write <mem_addr> <part_name> [offset] [size] sunxi_flash write_mtd <mem_addr> <part_name> sunxi_flash boot0 force_dram_update_size <new_val> sunxi_flash boot0 force_dram_update_flag <new_val> Hit any key to stop autoboot: 0 starting USB... USB0: start sunxi USB-DRD... config usb clk ok sunxi USB-DRD init ok... USB EHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found USB1: start sunxi USB1-Host... config usb clk ok sunxi USB1-Host init ok... USB EHCI 1.00 scanning bus 1 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Device 0: device type unknown ... is now current device ** Bad device usb 0 ** ** Bad device usb 0 ** mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr 5210 bytes read in 5 ms (1017.6 KiB/s) ## Executing script at 4fc00000 subfdt=sun60i-a733-cubie-a7z.dtb U-boot loaded from SD Boot script loaded from mmc 377 bytes read in 3 ms (122.1 KiB/s) subfdt=sun60i-a733-cubie-a7z.dtb Load fdt: /dtb/allwinner/sun60i-a733-cubie-a7z.dtb 195011 bytes read in 17 ms (10.9 MiB/s) 24361472 bytes read in 1013 ms (22.9 MiB/s) 23892015 bytes read in 995 ms (22.9 MiB/s) [15.233]libfdt fdt_path_offset() returned FDT_ERR_BADMAGIC [15.242]The storage not support sample function ret 0 [15.349]mac addr => 08:51:49:dc:b6:2c [15.353]mac addr => 08:51:49:dc:b6:2d [15.358]no battery, disabled battery functons [15.365]update dts stop sunxi USB-DRD ok... stop sunxi USB1-Host ok... [15.391]Starting kernel ... [15.394]total: 15394 ms [15.396][mmc]: MMC Device 2 not found [15.400][mmc]: mmc 2 not find, so not exit NOTICE: [SCP] :wait arisc ready.... NOTICE: [SCP] :arisc version: [d463b9da43dc50320f21ba51c6c51afe2db20d83] NOTICE: [SCP] :arisc startup ready NOTICE: [SCP] :arisc startup notify message feedback NOTICE: [SCP] :sunxi-arisc driver is starting NOTICE: BL3-1: Next image address = 0x40200000 NOTICE: BL3-1: Next image spsr = 0x3c5
-
This week's work centers on release and CI infrastructure, board and U-Boot updates, and build framework hardening. On the release pipeline, asset manifest JSON is now emitted alongside uploads, third-party armbian-images.json sources are merged into the main download index, and dispatch chains were rewired so that build completion fans out cleanly to download-index regeneration and website sync. Ubuntu resolute (26.04) entered the daily build matrix, with corresponding prepare-host adjustments for its qemu-user packaging and a targeted blacklist for boards failing resolute plus GNOME. The new Armbian SDK images are now surfaced on the website and ship preloaded with the build framework, code-server, and developer tooling. On the platform side, U-Boot v2026.04 lands for Helios4, Rock-5B-Plus, Rock-5T, and NanoPi-M5 (with mainline UFS via a vendor-SPL hybrid), while new bleedingedge branches were introduced for rockchip64 and meson64. Initial support arrived for the Photonicat2 board, new RK3576 SPL and RK3588 DDR blobs were added, Panthor firmware expanded to cover additional Mali GPUs, and a PCIe LTSSM timeout fix improves cold-boot NVMe detection on Rockchip. NanoPC-T6 LTS Plus was renamed, panther-x2 moved from CSC to EOS, and odroidxu4-current advanced to 6.6.138. In the build framework, an unsafe eval was replaced with declare -g and namerefs, destructive commands were properly quoted, and Docker --privileged is now gated behind an explicit DOCKER_PRIVILEGED toggle. The desktop configuration tree migrated to the armbian-config module_desktops system, kernel build failures now propagate exit codes correctly, missing BOOT_FDT_FILE surfaces as an error alert, and SysRq-via-BREAK was restored on dw-apb-uart for mvebu-6.18 and rockchip64-7.0 kernels. #Armbian #EmbeddedLinux #UBoot #Rockchip #SBC #LinuxKernel Changes(#9400 P1b) Replace unsafe eval with declare -g and nameref. by @iav in armbian/build#9461action: emit assets manifest JSON alongside release uploads. by @igorpecovnik in armbian/build#9772action: leave torrent URLs empty in per-image asset manifests. by @igorpecovnik in armbian/build#9792Add expect-dev to package dependencies. by @igorpecovnik in armbian/configng#904Add support for Photonicat2 board with USB hub watchdog. by @HackingGate in armbian/build#9765arm64: dts: rockchip: rename NanoPC-T6 LTS Plus to NanoPC-T6 Plus. by @igorpecovnik in armbian/linux-rockchip#478Build-Switches: document DOCKER_PRUNE opt-in. by @igorpecovnik in armbian/documentation#920build: misc cleanup — DEBUG-gated mmdebstrap verbosity, DOCKER_PRUNE opt-in. by @igorpecovnik in armbian/build#9704chore(config/common): remove dead FAST_CREATE_IMAGE variable. by @iav in armbian/build#9756ci/maintenance-unit-tests: skip draft PRs. by @igorpecovnik in armbian/configng#910ci: add Maintenance: Watchdog workflow. by @igorpecovnik in armbian/docker-armbian-build#23ci: add Ubuntu resolute to the build matrix. by @igorpecovnik in armbian/sdk#22ci: aggregate per-cell asset manifests into armbian-sdk-images.json. by @igorpecovnik in armbian/sdk#13ci: cancel in-flight download-index runs when a new one starts. by @igorpecovnik in armbian/armbian.github.io#313ci: dispatch armbian.github.io download-index regen after green build. by @igorpecovnik in armbian/sdk#21ci: dispatch armbian/website sync after web-directory generation. by @igorpecovnik in armbian/armbian.github.io#310ci: fix dispatch chain — download-index fan-out + redirector ends with directory regen. by @igorpecovnik in armbian/armbian.github.io#311ci: rename build workflow to 'Docker Images For Automation'. by @igorpecovnik in armbian/docker-armbian-build#24Community: blacklist xpressreal-t3 (resolute desktops failing). by @igorpecovnik in armbian/armbian.github.io#308Community: enable Ubuntu minimal CLI for all boards (not just headless). by @igorpecovnik in armbian/armbian.github.io#309desktops: migrate from config/desktop/ tree to armbian-config module_desktops. by @igorpecovnik in armbian/build#9683Disable UDev Rule for Radxa Display 10 FHD. by @FlorianKohn in armbian/build#9503docker: gate --privileged behind DOCKER_PRIVILEGED toggle (default yes). by @iav in armbian/build#9733docs: add extensions reference list. by @iav in armbian/documentation#881feat(boards/helios4): enable watchdog extension by default. by @iav in armbian/build#9757Fix cmdline fsck argument. by @QwaSeeK in armbian/build#9779Fix rk3528 nanopi zero2 snps reset gpio property. by @EvilOlaf in armbian/build#9770fix(config): skip host filesystem compatibility check for ROOTFS_TYPE=nfs. by @iav in armbian/build#9759fix(kernel/mvebu-6.18): restore SysRq-via-BREAK on dw-apb-uart (8250_dw). by @iav in armbian/build#9760fix(kernel/rockchip64-7.0): restore SysRq-via-BREAK on dw-apb-uart (8250_dw). by @iav in armbian/build#9750framework: add resolute (Ubuntu 26.04) image to the daily matrix. by @igorpecovnik in armbian/docker-armbian-build#26helios4: bump u-boot to v2026.04. by @iav in armbian/build#9786image/compress-checksum: maximize CPU + memory use. by @igorpecovnik in armbian/build#9758Introduce bleedingedge BRANCH for rockchip64. by @EvilOlaf in armbian/build#9738kernel-dtb: surface missing BOOT_FDT_FILE as err alert (fixes #8083). by @iav in armbian/build#9700kernel: fix process not exit with kernel build failure. by @amazingfate in armbian/build#9771manage_zsh → module_zsh: align with current module style. by @igorpecovnik in armbian/configng#911Merge third-party armbian-images.json sources into the main download index. by @igorpecovnik in armbian/armbian.github.io#306meson64: introduce bleedingedge BRANCH with 7.1-rc2. by @EvilOlaf in armbian/build#9761nanopi-m5: mainline U-Boot v2026.04 + UFS (vendor-SPL hybrid). by @SuperKali in armbian/build#9788Nightly: blacklist 16 boards failing resolute+gnome_desktop. by @igorpecovnik in armbian/armbian.github.io#307panther-x2: move from CSC to EOS. by @igorpecovnik in armbian/build#9778panthor: Add firmware for more Mali GPUs. by @nyanmisaka in armbian/firmware#124pci: pcie_dw_rockchip: increase PCIe LTSSM timeout for cold boot NVMe. by @rpahle in armbian/build#9751Pre-load SDK images with build framework, code-server, Python + Claude Code, and SSH keys. by @igorpecovnik in armbian/sdk#16prepare-host: support Ubuntu resolute's qemu-user packaging changes. by @igorpecovnik in armbian/build#9790Quote variables in destructive commands (#9400 P0). by @iav in armbian/build#9401README: cover both image families this repo publishes. by @igorpecovnik in armbian/docker-armbian-build#25reporting-release-summary: prepend 'Armbian' to digest titles. by @igorpecovnik in armbian/armbian.github.io#305Revert zsh integration from SDK image. by @igorpecovnik in armbian/sdk#23rk3576: Add SPL v1.08 blob. by @SuperKali in armbian/rkbin#44RK3588: Add v1.20 DDR blob. by @HeyMeco in armbian/rkbin#43Rock-5B-Plus and Rock-5T: Move to u-boot 2026.04. by @HeyMeco in armbian/build#9773SpacemiT: Update EDGE branch to linux-7.1. by @pyavitz in armbian/build#9784Surface armbian-sdk images in Dedicated Applications. by @igorpecovnik in armbian/website#19Update odroidxu4-current to 6.6.137. by @belegdol in armbian/build#9768Update odroidxu4-current to 6.6.138. by @belegdol in armbian/build#9793Update README to clarify Armbian SDK purpose. by @igorpecovnik in armbian/sdk#18Update USB version in odroidhc4.conf. by @igorpecovnik in armbian/build#9754userpatches: install zsh via armbian-config --api, not direct apt. by @igorpecovnik in armbian/sdk#20userpatches: pre-install gh + first-boot provisioning stub. by @igorpecovnik in armbian/sdk#14userpatches: pre-install tig, nodejs and Claude Code CLI host-side. by @igorpecovnik in armbian/sdk#17userpatches: pre-install zsh in the chroot. by @igorpecovnik in armbian/sdk#19userpatches: switch pre-install from gh to git. by @igorpecovnik in armbian/sdk#15View the full article
-
This week's work centers on release and CI infrastructure, board and U-Boot updates, and build framework hardening. On the release pipeline, asset manifest JSON is now emitted alongside uploads, third-party armbian-images.json sources are merged into the main download index, and dispatch chains were rewired so that build completion fans out cleanly to download-index regeneration and website sync. Ubuntu resolute (26.04) entered the daily build matrix, with corresponding prepare-host adjustments for its qemu-user packaging and a targeted blacklist for boards failing resolute plus GNOME. The new Armbian SDK images are now surfaced on the website and ship preloaded with the build framework, code-server, and developer tooling. On the platform side, U-Boot v2026.04 lands for Helios4, Rock-5B-Plus, Rock-5T, and NanoPi-M5 (with mainline UFS via a vendor-SPL hybrid), while new bleedingedge branches were introduced for rockchip64 and meson64. Initial support arrived for the Photonicat2 board, new RK3576 SPL and RK3588 DDR blobs were added, Panthor firmware expanded to cover additional Mali GPUs, and a PCIe LTSSM timeout fix improves cold-boot NVMe detection on Rockchip. NanoPC-T6 LTS Plus was renamed, panther-x2 moved from CSC to EOS, and odroidxu4-current advanced to 6.6.138. In the build framework, an unsafe eval was replaced with declare -g and namerefs, destructive commands were properly quoted, and Docker --privileged is now gated behind an explicit DOCKER_PRIVILEGED toggle. The desktop configuration tree migrated to the armbian-config module_desktops system, kernel build failures now propagate exit codes correctly, missing BOOT_FDT_FILE surfaces as an error alert, and SysRq-via-BREAK was restored on dw-apb-uart for mvebu-6.18 and rockchip64-7.0 kernels. #Armbian #EmbeddedLinux #UBoot #Rockchip #SBC #LinuxKernel Changes(#9400 P1b) Replace unsafe eval with declare -g and nameref. by @iav in armbian/build#9461action: emit assets manifest JSON alongside release uploads. by @igorpecovnik in armbian/build#9772action: leave torrent URLs empty in per-image asset manifests. by @igorpecovnik in armbian/build#9792Add expect-dev to package dependencies. by @igorpecovnik in armbian/configng#904Add support for Photonicat2 board with USB hub watchdog. by @HackingGate in armbian/build#9765arm64: dts: rockchip: rename NanoPC-T6 LTS Plus to NanoPC-T6 Plus. by @igorpecovnik in armbian/linux-rockchip#478Build-Switches: document DOCKER_PRUNE opt-in. by @igorpecovnik in armbian/documentation#920build: misc cleanup — DEBUG-gated mmdebstrap verbosity, DOCKER_PRUNE opt-in. by @igorpecovnik in armbian/build#9704chore(config/common): remove dead FAST_CREATE_IMAGE variable. by @iav in armbian/build#9756ci/maintenance-unit-tests: skip draft PRs. by @igorpecovnik in armbian/configng#910ci: add Maintenance: Watchdog workflow. by @igorpecovnik in armbian/docker-armbian-build#23ci: add Ubuntu resolute to the build matrix. by @igorpecovnik in armbian/sdk#22ci: aggregate per-cell asset manifests into armbian-sdk-images.json. by @igorpecovnik in armbian/sdk#13ci: cancel in-flight download-index runs when a new one starts. by @igorpecovnik in armbian/armbian.github.io#313ci: dispatch armbian.github.io download-index regen after green build. by @igorpecovnik in armbian/sdk#21ci: dispatch armbian/website sync after web-directory generation. by @igorpecovnik in armbian/armbian.github.io#310ci: fix dispatch chain — download-index fan-out + redirector ends with directory regen. by @igorpecovnik in armbian/armbian.github.io#311ci: rename build workflow to 'Docker Images For Automation'. by @igorpecovnik in armbian/docker-armbian-build#24Community: blacklist xpressreal-t3 (resolute desktops failing). by @igorpecovnik in armbian/armbian.github.io#308Community: enable Ubuntu minimal CLI for all boards (not just headless). by @igorpecovnik in armbian/armbian.github.io#309desktops: migrate from config/desktop/ tree to armbian-config module_desktops. by @igorpecovnik in armbian/build#9683Disable UDev Rule for Radxa Display 10 FHD. by @FlorianKohn in armbian/build#9503docker: gate --privileged behind DOCKER_PRIVILEGED toggle (default yes). by @iav in armbian/build#9733docs: add extensions reference list. by @iav in armbian/documentation#881feat(boards/helios4): enable watchdog extension by default. by @iav in armbian/build#9757Fix cmdline fsck argument. by @QwaSeeK in armbian/build#9779Fix rk3528 nanopi zero2 snps reset gpio property. by @EvilOlaf in armbian/build#9770fix(config): skip host filesystem compatibility check for ROOTFS_TYPE=nfs. by @iav in armbian/build#9759fix(kernel/mvebu-6.18): restore SysRq-via-BREAK on dw-apb-uart (8250_dw). by @iav in armbian/build#9760fix(kernel/rockchip64-7.0): restore SysRq-via-BREAK on dw-apb-uart (8250_dw). by @iav in armbian/build#9750framework: add resolute (Ubuntu 26.04) image to the daily matrix. by @igorpecovnik in armbian/docker-armbian-build#26helios4: bump u-boot to v2026.04. by @iav in armbian/build#9786image/compress-checksum: maximize CPU + memory use. by @igorpecovnik in armbian/build#9758Introduce bleedingedge BRANCH for rockchip64. by @EvilOlaf in armbian/build#9738kernel-dtb: surface missing BOOT_FDT_FILE as err alert (fixes #8083). by @iav in armbian/build#9700kernel: fix process not exit with kernel build failure. by @amazingfate in armbian/build#9771manage_zsh → module_zsh: align with current module style. by @igorpecovnik in armbian/configng#911Merge third-party armbian-images.json sources into the main download index. by @igorpecovnik in armbian/armbian.github.io#306meson64: introduce bleedingedge BRANCH with 7.1-rc2. by @EvilOlaf in armbian/build#9761nanopi-m5: mainline U-Boot v2026.04 + UFS (vendor-SPL hybrid). by @SuperKali in armbian/build#9788Nightly: blacklist 16 boards failing resolute+gnome_desktop. by @igorpecovnik in armbian/armbian.github.io#307panther-x2: move from CSC to EOS. by @igorpecovnik in armbian/build#9778panthor: Add firmware for more Mali GPUs. by @nyanmisaka in armbian/firmware#124pci: pcie_dw_rockchip: increase PCIe LTSSM timeout for cold boot NVMe. by @rpahle in armbian/build#9751Pre-load SDK images with build framework, code-server, Python + Claude Code, and SSH keys. by @igorpecovnik in armbian/sdk#16prepare-host: support Ubuntu resolute's qemu-user packaging changes. by @igorpecovnik in armbian/build#9790Quote variables in destructive commands (#9400 P0). by @iav in armbian/build#9401README: cover both image families this repo publishes. by @igorpecovnik in armbian/docker-armbian-build#25reporting-release-summary: prepend 'Armbian' to digest titles. by @igorpecovnik in armbian/armbian.github.io#305Revert zsh integration from SDK image. by @igorpecovnik in armbian/sdk#23rk3576: Add SPL v1.08 blob. by @SuperKali in armbian/rkbin#44RK3588: Add v1.20 DDR blob. by @HeyMeco in armbian/rkbin#43Rock-5B-Plus and Rock-5T: Move to u-boot 2026.04. by @HeyMeco in armbian/build#9773SpacemiT: Update EDGE branch to linux-7.1. by @pyavitz in armbian/build#9784Surface armbian-sdk images in Dedicated Applications. by @igorpecovnik in armbian/website#19Update odroidxu4-current to 6.6.137. by @belegdol in armbian/build#9768Update odroidxu4-current to 6.6.138. by @belegdol in armbian/build#9793Update README to clarify Armbian SDK purpose. by @igorpecovnik in armbian/sdk#18Update USB version in odroidhc4.conf. by @igorpecovnik in armbian/build#9754userpatches: install zsh via armbian-config --api, not direct apt. by @igorpecovnik in armbian/sdk#20userpatches: pre-install gh + first-boot provisioning stub. by @igorpecovnik in armbian/sdk#14userpatches: pre-install tig, nodejs and Claude Code CLI host-side. by @igorpecovnik in armbian/sdk#17userpatches: pre-install zsh in the chroot. by @igorpecovnik in armbian/sdk#19userpatches: switch pre-install from gh to git. by @igorpecovnik in armbian/sdk#15View the full article
-
Quite a while ago I added GPIO names to the rock-3a. Perhaps you can get an idea how to do this. Source: https://docs.radxa.com/en/rock3/rock3a/hardware-design/hardware-interface#gpio-interface Implementation: https://github.com/armbian/build/pull/7403/changes
-
hm... After some digging, it seems like one main problem, perhaps the only one, is the lack of gpio line naming. gpiolib is centered around the idea that lines are referenced using names rather than numbers. However, when listing the names they are all empty i. e. "". This makes it impossible to reference any line. This is obviously about boot/dtb. Moreover, while orangepi 5 successfully reuses the rockchip stuff, the actual names are board specific. I have never worked with the dtb/dts stuff. But assigning names to the connections should not be that complicated. Actually, names like "gpio0", "gpio1" etc reflecting physical lines should be fine. Any hint out there where to start?
-
After nearly one year of kernel crashes, I finally found the stable configuration for Orange Pi Zero 3 as a 24/7 SDR server. The critical discovery: legacy kernel 6.6.75-sunxi64 is the only stable option. The current kernel crashes within hours under SDR load. Additional fixes: - Blacklist aw859a WiFi driver (causes kernel instability) - Blacklist DVB modules for RTL-SDR - Lock libairspyhfSupport.so with chattr +i (SpyServer/SoapySDR conflict) - Mask systemd-networkd-wait-online - CPU governor: schedutil - usbcore.autosuspend=-1 for USB SDR dongles Running 3 SDRs simultaneously: RTL-SDR Blog V4, Airspy HF+, dedicated ADS-B. 4 antennas via HMC241 GPIO RF switch. 30+ decoders. Full Android control. Complete guide: https://ozcet.github.io/sdr-server-guide
-
Hi @SteeMan I have the same device as @Levy Barbosa and was able to acquire the logs. I took two. The first one booting normally, the second one I kept the reset button pressed while taking the log. Here is what I am planning: 1 - Have armbian running via an USB 2 - Dump its current firmware (not sure yet how to do it, will search more on it) 3 - Write armbian directly to the eMMC to boot it directly from there (not sure if its possible, but aiming it.) I am going to paste them here, let me know if you rather have me uploading a TXT file, just so I would not if any other log is needed in the future. Normal booting: Terminal log file ----------------------------------------------- OEMCrypto_GetOEMPublicCertificate: Provisioning method = 2. <0>GXL:BL1:9ac50e:bb16dc;FEAT:BFFC39BE:100;POC:3;RCY:0;EMMC:0;READ:0;1.0;1.0;CHK:0; TE: 313337 BL2 Built : 10:47:34, Jan 14 2019. gxl g152d217 - guotai.shen@droid11-sz set vcck to 1120 mv set vddee to 1000 mv Board ID = 7 CPU clk: 984MHz DDR enable rdbi DQS-corr enabled DDR scramble enabled DDR3 chl: Rank0 16bit @ 912MHz bist_test rank: 0 1c 00 39 2e 13 49 1f 01 3e 2e 12 4b 28 28 28 28 28 28 27 27 27 28 28 28 693 - PASS Rank0: 1024MB-2T-13 AddrBus test pass! Set ddr ssc: ppm1000- eMMC boot @ 0 sw8 s emmc switch 3 ok BL2: rpmb counter: 0x00000024 emmc switch 0 ok OTP_ARB=00000001 Load FIP HDR from eMMC, src: 0x0000c200, des: 0x01700000, size: 0x00004000, part: 0 Load BL3x from eMMC, src: 0x00010200, des: 0x01704000, size: 0x000f4000, part: 0 NOTICE: BL3-1: v1.0(release):3bc3888 NOTICE: BL3-1: Built : 11:28:51, May 10 2019 [BL31]: GXL CPU setup! NOTICE: BL3-1: GXL secure boot! NOTICE: BL3-1: BL33 decompress pass mpu_config_enable:system pre init ok dmc sec lock MVN_1=0x01010100 MVN_2=0x01010000 [Image: gxl_v1.1.3376-325f6f4 2019-05-27 16:25:06 shen.liu@droid11-sz] OPS=0x34 21 0d 34 00 37 2a 00 89 62 00 ac b5 67 13 99 02 [0.927393 Inits done] secure task start! high task start! low task start! INFO: BL3-2: ATOS-V2.4-239-g48b8c37d #1 Wed Feb 5 09:34:09 UTC 2020 arm INFO: BL3-2: Chip: GXL Rev: D (21:D - 30:2) INFO: BL3-2: crypto engine DMA INFO: BL3-2: secure time TEE INFO: BL3-2: CONFIG_DEVICE_SECURE 0xb200000e U-Boot 2015.01-gb7c1687 (Apr 08 2021 - 22:17:19) DRAM: 1 GiB Relocation Offset is: 36e85000 register usb cfg[0][1] = 0000000037f51148 [CANVAS]canvas init boot_device_flag : 1 Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc. init bus_cycle=6, bus_timing=7, system=5.0ns reset failed get_chip_type and ret:fffffffe get_chip_type and ret:fffffffe chip detect failed and ret:fffffffe nandphy_init failed and ret=0xfffffff1 MMC: aml_priv->desc_buf = 0x0000000033e856b0 aml_priv->desc_buf = 0x0000000033e879f0 SDIO Port B: 0, SDIO Port C: 1 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 40000000 [mmc_startup] mmc refix success init_part() 297: PART_TYPE_AML [mmc_init] mmc init success Amlogic multi-dtb tool Multi dtb detected checkhw: hwid = 11 Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxl platform: p241 variant: v2-1g dtb 0 soc: gxl plat: p241 vari: 1g dtb 1 soc: gxl plat: p241 vari: v2-1g Find match dtb: 1 start dts,buffer=0000000033e8a240,dt_addr=0000000033e99240 get_partition_from_dts() 71: ret 0 Amlogic multi-dtb tool Multi dtb detected checkhw: hwid = 11 Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxl platform: p241 variant: v2-1g dtb 0 soc: gxl plat: p241 vari: 1g dtb 1 soc: gxl plat: p241 vari: v2-1g Find match dtb: 1 parts: 17 00: logo 0000000000800000 1 01: recovery 0000000001800000 1 02: misc 0000000000800000 1 03: dtbo 0000000000800000 1 04: cri_data 0000000000800000 2 05: param 0000000001000000 2 06: boot 0000000001000000 1 set has_boot_slot = 0 07: rsv 0000000001000000 1 08: metadata 0000000001000000 1 09: vbmeta 0000000000200000 1 10: tee 0000000002000000 1 11: vendor 0000000010000000 1 12: odm 0000000008000000 1 13: system 0000000050000000 1 14: product 0000000008000000 1 15: cache 0000000025000000 2 16: data ffffffffffffffff 4 init_part() 297: PART_TYPE_AML eMMC/TSD partition table have been checked OK! crc32_s:0x1577dad == storage crc_pattern:0x1577dad!!! crc32_s:0xee152b83 == storage crc_pattern:0xee152b83!!! crc32_s:0x7fd3b243 == storage crc_pattern:0x7fd3b243!!! mmc env offset: 0x2c400000 In: serial Out: serial Err: serial reboot_mode=cold_boot itest - return true/false on integer compare Usage: itest [.b, .w, .l, .s] [*]value1 <op> [*]value2 [store]To run cmd[emmc dtb_read 0x1000000 0x40000] _verify_dtb_checksum()-2755: calc f2d3afb4, store f2d3afb4 _verify_dtb_checksum()-2755: calc f2d3afb4, store f2d3afb4 dtb_read()-2972: total valid 2 update_old_dtb()-2953: do nothing Amlogic multi-dtb tool Multi dtb detected checkhw: hwid = 11 Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxl platform: p241 variant: v2-1g dtb 0 soc: gxl plat: p241 vari: 1g dtb 1 soc: gxl plat: p241 vari: v2-1g Find match dtb: 1 vpu: clk_level in dts: 2 vpu: set clk: 200000000Hz, readback: 200000000Hz(0x501) vpu: vpu_clk_gate_init_off finish vpp: vpp_init cvbs: cpuid:0x21 cvbs: find performance_pal config hpd_state=0 vpp: vpp_matrix_update: 2 cvbs_performance_enhancement cvbs_config_hdmipll_gxl cvbs_set_vid2_clk vdac_enable: 1, module_sel:0x8 Net: dwmac.c9410000amlkey_init() enter! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 CONFIG_AVB2: avb2 Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 wipe_data=successful wipe_cache=successful upgrade_step=2 reboot_mode:::: cold_boot amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 [KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet [KM]Error:f[key_manage_query_size]L507:key[oemkey] not programed yet [OSD]load fb addr from dts:/meson-fb [OSD]fb_addr for logo: 0x3fc00000 [OSD]load fb addr from dts:/meson-fb [OSD]fb_addr for logo: 0x3fc00000 [OSD]VPP_OFIFO_SIZE:0xfff00fff [CANVAS]addr=0x3fc00000 width=3840, height=2160 [OSD]osd_hw.free_dst_data: 0,719,0,575 amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 [KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet [KM]Error:f[key_manage_query_size]L507:key[oemkey] not programed yet gpio: pin GPIOAO_2 (gpio 102) value is 1 Command: bcb uboot-command Start read misc partition datas! BCB hasn't any datas,exit! amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 [KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet [KM]Error:f[key_manage_query_size]L507:key[oemkey] not programed yet (Re)start USB... USB0: USB3.0 XHCI init start Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Invalid boot device ** Fail to detect device usb 0 get upgrade version failed Hit Enter or space or Ctrl+C key to stop autoboot -- : 0 CONFIG_SYSTEM_AS_ROOT: systemroot system_mode: 1 amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 [KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet [KM]Error:f[key_manage_query_size]L507:key[oemkey] not programed yet Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 CONFIG_AVB2: avb2 active_slot: normal [imgread]secureKernelImgSz=0x94a200 avb2: 1 Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 active_slot is normal ab_suffix is avb_slot_verify.c:524: DEBUG: Loading vbmeta struct from partition 'vbmeta'. Verified using testkey [store]To run cmd[emmc dtb_read 0x00000000357695c0 0x40000] dtb_read_shortcut()-2813: short cut in... Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 active_slot is normal Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 active_slot is normal Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 active_slot is normal avb verification: locked = 1, result = 0 ee_gate_off ... avb2: 1 ## Booting Android Image at 0x01080a00 ... reloc_addr =33f0a5a0 copy done Kernel command line: androidboot.dtbo_idx=0 buildvariant=user Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 active_slot is normal load dtb from 0x1000000 ...... Amlogic multi-dtb tool Single dtb detected find 1 dtbos dtbos to be applied: 0 Apply dtbo 0 Uncompressing Kernel Image ... OK kernel loaded at 0x01080000, end = 0x02958a00 libfdt fdt_getprop(): FDT_ERR_NOTFOUND Loading Device Tree to 000000001ffee000, end 000000001ffff4ba ... OK fdt_instaboot: no instaboot image Starting kernel ... uboot time: 6838532 us domain-0 init dvfs: 4 [ 0.000000@0] Reserved memory: unable to setup CMA region [ 0.232770@0] VMAP:handle_vmap_fault address ffffff802008c000 out of range [ 5.889934@2] init: Unable to set property 'ro.build.id' to 'PI' in property file '/system/build.prop': Read-only property was already set [ 5.897038@2] init: Unable to set property 'ro.build.version.incremental' to '20210409' in property file '/system/build.prop': Read-only property was already set [ 5.911478@2] init: Unable to set property 'ro.build.version.security_patch' to '2021-03-05' in property file '/system/build.prop': Read-only property was already set [ 5.926147@2] init: Unable to set property 'ro.build.date.utc' to '1619145388' in property file '/system/build.prop': Read-only property was already set [ 5.939635@2] init: Unable to set property 'ro.product.model' to 'IZY01' in property file '/system/build.prop': Read-only property was already set [ 5.952548@2] init: Unable to set property 'ro.product.brand' to 'Intelbras' in property file '/system/build.prop': Read-only property was already set [ 5.965901@2] init: Unable to set property 'ro.product.name' to 'IzyPlay' in property file '/system/build.prop': Read-only property was already set [ 5.978998@2] init: Unable to set property 'ro.product.device' to 'DV8038' in property file '/system/build.prop': Read-only property was already set [ 5.992358@2] init: Unable to set property 'ro.product.manufacturer' to 'SDMC' in property file '/system/build.prop': Read-only property was already set [ 6.005841@2] init: Unable to set property 'ro.wifi.channels' to '13' in property file '/system/build.prop': Read-only property was already set [ 6.018589@2] init: Unable to set property 'ro.build.fingerprint' to 'Intelbras/IzyPlay/DV8038:9/PI/20210409:user/release-keys' in property file '/system/build.prop': Read-only property was already set [ 6.038481@2] init: Unable to set property 'ro.product.first_api_level' to '28' in property file '/vendor/build.prop': Read-only property was already set [ 6.051357@2] selinux: avc: denied { set } for property=ro.net.pppoe pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.051357@2] [ 6.068258@2] init: Unable to set property 'ro.net.pppoe' to 'true' in property file '/vendor/build.prop': SELinux permission check failed [ 6.081330@2] selinux: avc: denied { set } for property=persist.sys.dts.edid pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=0 [ 6.081330@2] [ 6.099550@2] init: Unable to set property 'persist.sys.dts.edid' to 'false' in property file '/vendor/build.prop': SELinux permission check failed [ 6.112706@2] selinux: avc: denied { set } for property=service.bootvideo pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=0 [ 6.112706@2] [ 6.131353@2] init: Unable to set property 'service.bootvideo' to '0' in property file '/vendor/build.prop': SELinux permission check failed set property 'persist.sys.PQ.enable' to 'true' in property file '/vendor/build.prop': SELinux permission check failed [ 6.602149@2] init: Unable to set property 'ro.nrdp.validation' to 'ninja_6' in property file '/vendor/build.prop': Read-only property was already set [ 6.614889@2] init: Unable to set property 'ro.nrdp.modelgroup' to 'SDMCs805' in property file '/vendor/build.prop': Read-only property was already set [ 6.628353@2] selinux: avc: denied { set } for property=sys.fb.bits pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=0 [ 6.628353@2] [ 6.646453@2] init: Unable to set property 'sys.fb.bits' to '32' in property file '/vendor/build.prop': SELinux permission check failed [ 6.659515@2] selinux: avc: denied { set } for property=ro.adb.secure pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:exported_secure_prop:s0 tclass=property_service permissive=0 [ 6.659515@2] [ 6.677689@2] init: Unable to set property 'ro.adb.secure' to '1' in property file '/vendor/build.prop': SELinux permission check failed [ 6.689845@2] selinux: avc: denied { set } for property=persist.sys.app.rotation pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=0 [ 6.689845@2] [ 6.709158@2] init: Unable to set property 'persist.sys.app.rotation' to 'original' in property file '/vendor/build.prop': SELinux permission check failed [ 6.725543@2] init: /recovery not specified in fstab [ 6.977780@2] init: Could not find service hosting interface android.hardware.keymaster@3.0::IKeymasterDevice/default [ 6.983791@2] init: Could not find service hosting interface android.hardware.keymaster@3.0::IKeymasterDevice/default MESSAGE: USER-TA:log_msg:70: KeymasterTA (info): app/ipc/keymaster_ipc.cpp, Line 752: Amlogic KEYMASTER 2.0! Build Time: Jun 19 2018 14:46:55 [ 7.498202@3] init: couldn't write 2976 to /dev/cpuset/camera-daemon/tasks: No such file or directory [ 7.767829@1] init: setpgid failed for console: Operation not permitted [ 7.879853@2] init: Failed to bind socket 'pdx/system/vr/display/client': No such file or directory [ 7.910205@2] init: Failed to bind socket 'pdx/system/vr/display/manager': No such file or directory [ 7.947258@2] init: Failed to bind socket 'pdx/system/vr/display/vsync': No such file or directory [ 6.144032@2] selinux: avc: denied { set } for property=libplayer.livets.softdemux pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.144032@2] [ 6.163476@2] init: Unable to set property 'libplayer.livets.softdemux' to '1' in property file '/vendor/build.prop': SELinux permission check failed [ 6.176762@2] selinux: avc: denied { set } for property=libplayer.netts.recalcpts pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.176762@2] [ 6.196278@2] init: Unable to set property 'libplayer.netts.recalcpts' to '1' in property file '/vendor/build.prop': SELinux permission check failed [ 6.209516@2] selinux: avc: denied { set } for property=persist.fw.force_adoptable pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.209516@2] [ 6.229021@2] init: Unable to set property 'persist.fw.force_adoptable' to 'true' in property file '/vendor/build.prop': SELinux permission check failed [ 6.242651@2] selinux: avc: denied { set } for property=sys.ignore.inativecec pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=0 [ 6.242651@2] [ 6.261600@2] init: Unable to set property 'sys.ignore.inativecec' to 'true' in property file '/vendor/build.prop': SELinux permission check failed [ 6.274701@2] selinux: avc: denied { set } for property=ro.sys.hdmiin.enable pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.274701@2] [ 6.293739@2] init: Unable to set property 'ro.sys.hdmiin.enable' to 'true' in property file '/vendor/build.prop': SELinux permission check failed [ 6.306792@2] selinux: avc: denied { set } for property=mbx.hdmiin.switchfull pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.306792@2] [ 6.325964@2] init: Unable to set property 'mbx.hdmiin.switchfull' to 'false' in property file '/vendor/build.prop': SELinux permission check failed [ 6.339174@2] selinux: avc: denied { set } for property=mbx.hdmiin.videolayer pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.339174@2] [ 6.358384@2] init: Unable to set property 'mbx.hdmiin.videolayer' to 'false' in property file '/vendor/build.prop': SELinux permission check failed [ 6.371936@2] selinux: avc: denied { set } for property=ro.com.android.dateformat pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.371936@2] [ 6.391048@2] init: Unable to set property 'ro.com.android.dateformat' to 'MM-dd-yyyy' in property file '/vendor/build.prop': SELinux permission check failed [ 6.405572@2] selinux: avc: denied { set } for property=net.tethering.noprovisioning pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=0 [ 6.405572@2] [ 6.424689@2] init: Unable to set property 'net.tethering.noprovisioning' to 'true' in property file '/vendor/build.prop': SELinux permission check failed [ 6.439214@2] selinux: avc: denied { set } for property=ro.product.firmware pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.439214@2] [ 6.457345@2] init: Unable to set property 'ro.product.firmware' to '00502001' in property file '/vendor/build.prop': SELinux permission check failed [ 6.470652@2] selinux: avc: denied { set } for property=ro.product.otaupdateurl pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.470652@2] [ 6.489927@2] init: Unable to set property 'ro.product.otaupdateurl' to 'http://10.28.11.53:8080/otaupdate/update' in property file '/vendor/build.prop': SELinux permission check failed [ 6.506456@2] selinux: avc: denied { set } for property=ro.treble.enabled pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.506456@2] [ 6.525099@2] init: Unable to set property 'ro.treble.enabled' to 'true' in property file '/vendor/build.prop': SELinux permission check failed [ 6.537847@2] selinux: avc: denied { set } for property=fw.disable_quota pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.537847@2] [ 6.556546@2] init: Unable to set property 'fw.disable_quota' to 'true' in property file '/vendor/build.prop': SELinux permission check failed [ 6.569363@2] selinux: avc: denied { set } for property=persist.sys.PQ.enable pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=0 [ 6.569363@2] t: Unable to set property 'ro.nrdp.validation' to 'ninja_6' in property file '/vendor/build.prop': Read-only property was already set [ 6.614889@2] init: Unable to set property 'ro.nrdp.modelgroup' to 'SDMCs805' in property file '/vendor/build.prop': Read-only property was already set [ 6.628353@2] selinux: avc: denied { set } for property=sys.fb.bits pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=0 [ 6.628353@2] [ 6.646453@2] init: Unable to set property 'sys.fb.bits' to '32' in property file '/vendor/build.prop': SELinux permission check failed [ 6.659515@2] selinux: avc: denied { set } for property=ro.adb.secure pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:exported_secure_prop:s0 tclass=property_service permissive=0 [ 6.659515@2] [ 6.677689@2] init: Unable to set property 'ro.adb.secure' to '1' in property file '/vendor/build.prop': SELinux permission check failed [ 8.123657@0] android.hardware.health@2.0-impl: wakealarm_init: timerfd_create failed [ 8.335528@1] init: Could not find service hosting interface vendor.amlogic.hardware.hdmicec@1.0::IDroidHdmiCEC/default [ 8.355812@0] init: Could not find service hosting interface vendor.amlogic.hardware.systemcontrol@1.0::ISystemControl/default [ 8.429141@2] init: Could not find service hosting interface vendor.amlogic.hardware.systemcontrol@1.0::ISystemControl/default [ 8.519461@2] vfm_map_store:rm default [ 8.521327@0] vfm_map_store:add default decoder ppmgr deinterlace amvideo [ 8.545386@0] init: Could not find service hosting interface vendor.amlogic.hardware.hdmicec@1.0::IDroidHdmiCEC/default [ 8.575919@0] init: Could not find service hosting interface vendor.amlogic.hardware.systemcontrol@1.0::ISystemControl/default the package has 87 fws totally. The TA ver is v0.2 The fw ver is v0.2 the fw with 480 KB will be loaded. [ 8.614739@1] init: Subcontext init could not set 'ro.radio.noril' to 'true': Read-only property was already set dmicec@1.0::IDroidHdmiCEC/default [ 8.641382@0] meson-mmc: sdio: resp_timeout,vstat:0xa3ff2800,virqc:3fff [ 8.642358@0] meson-mmc: sdio: err: wait for irq service, bus_fsm:0x8 [ 8.649963@0] meson-mmc: sdio: resp_timeout,vstat:0xa3ff2800,virqc:3fff [ 8.655295@0] meson-mmc: sdio: err: wait for irq service, bus_fsm:0x8 [ 8.666466@0] meson-mmc: sdio: resp_timeout,vstat:0xa3ff2800,virqc:3fff [ 8.668230@0] meson-mmc: sdio: err: wait for irq service, bus_fsm:0x8 [ 8.681930@1] init: Subcontext init could not set 'ro.oem.key1' to 'ATV00104319': Read-only property was already set [ 8.708463@0] init: Could not start service 'factoryreset' as part of class 'main': Cannot find '/vendor/bin/factoryreset.sh': No such file or directory [ 8.905477@2] init: Failed to open file '/d/mmc0/mmc0:0001/ext_csd': No such file or directory [ 8.956764@1] init: Could not start service 'wifi_detect' as part of class 'main': Cannot find '/vendor/bin/sdmc_wifi_detect': No such file or directory [HDCP-TA] read hdcp key(hdcp_tx22.bin) ret = 0xFFFF0008 [HDCP-TA] read hdcp key(hdcp_tx14.bin) ret = 0xFFFF0008 ERROR SECURITY_KEY_READ 1 [HDCP-TA] read hdcp key(hdcp_rx14.bin) ret = 0xFFFF0006 [ 8.721681@1] init: Could not start service 'ir_leds_blink' as part of class 'main': Cannot find '/vendor/bin/ir_blink': No such file or directory [ 8.751238@3] init: couldn't write 3059 to /dev/cpuset/camera-daemon/tasks: No such file or directory [ 6.689845@2] selinux: avc: denied { set } for property=persist.sys.app.rotation pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=0 [ 6.689845@2] [ 6.709158@2] init: Unable to set property 'persist.sys.app.rotation' to 'original' in property file '/vendor/build.prop': SELinux permission check failed [ 6.725543@2] init: /recovery not specified in fstab [ 6.977780@2] init: Could not find service hosting interface android.hardware.keymaster@3.0::IKeymasterDevice/default [ 6.983791@2] init: Could not find service hosting interface android.hardware.keymaster@3.0::IKeymasterDevice/default MESSAGE: USER-TA:log_msg:70: KeymasterTA (info): app/ipc/keymaster_ipc.cpp, Line 752: Amlogic KEYMASTER 2.0! Build Time: Jun 19 2018 14:46:55 [ 7.498202@3] init: couldn't write 2976 to /dev/cpuset/camera-daemon/tasks: No such file or directory [ 7.767829@1] init: setpgid failed for console: Operation not permitted [ 7.879853@2] init: Failed to bind socket 'pdx/system/vr/display/client': No such file or directory [ 7.910205@2] init: Failed to bind socket 'pdx/system/vr/display/manager': No such file or directory [ 7.947258@2] init: Failed to bind socket 'pdx/system/vr/display/vsync': No such file or directory console:/ # 6.081330@2] [ 6.099550@2] init: Unable to set property 'persist.sys.dts.edid' to 'false' in property file '/vendor/build.prop': SELinux permission check failed [ 6.112706@2] selinux: avc: denied { set } for property=service.bootvideo pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=0 [ 6.112706@2] [ 6.131353@2] init: Unable to set property 'service.bootvideo' to '0' in property file '/vendor/build.prop': SELinux permission check failed [ 6.144032@2] selinux: avc: denied { set } for property=libplayer.livets.softdemux pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.144032@2] [ 6.163476@2] init: Unable to set property 'libplayer.livets.softdemux' to '1' in property file '/vendor/build.prop': SELinux permission check failed [ 6.176762@2] selinux: avc: denied { set } for property=libplayer.netts.recalcpts pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.176762@2] [ 6.196278@2] init: Unable to set property 'libplayer.netts.recalcpts' to '1' in property file '/vendor/build.prop': SELinux permission check failed [ 6.209516@2] selinux: avc: denied { set } for property=persist.fw.force_adoptable pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.209516@2] [ 6.229021@2] init: Unable to set property 'persist.fw.force_adoptable' to 'true' in property file '/vendor/build.prop': SELinux permission check failed [ 6.242651@2] selinux: avc: denied { set } for property=sys.ignore.inativecec pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=0 [ 6.242651@2] [ 6.261600@2] init: Unable to set property 'sys.ignore.inativecec' to 'true' in property file '/vendor/build.prop': SELinux permission check failed [ 6.274701@2] selinux: avc: denied { set } for property=ro.sys.hdmiin.enable pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.274701@2] [ 6.293739@2] init: Unable to set property 'ro.sys.hdmiin.enable' to 'true' in property file '/vendor/build.prop': SELinux permission check failed [ 6.306792@2] selinux: avc: denied { set } for property=mbx.hdmiin.switchfull pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.306792@2] [ 6.325964@2] init: Unable to set property 'mbx.hdmiin.switchfull' to 'false' in property file '/vendor/build.prop': SELinux permission check failed [ 6.339174@2] selinux: avc: denied { set } for property=mbx.hdmiin.videolayer pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.339174@2] [ 6.358384@2] init: Unable to set property 'mbx.hdmiin.videolayer' to 'false' in property file '/vendor/build.prop': SELinux permission check failed [ 6.371936@2] selinux: avc: denied { set } for property=ro.com.android.dateformat pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.371936@2] [ 6.391048@2] init: Unable to set property 'ro.com.android.dateformat' to 'MM-dd-yyyy' in property file '/vendor/build.prop': SELinux permission check failed [ 6.405572@2] selinux: avc: denied { set } for property=net.tethering.noprovisioning pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:system_prop:s0 tclass=property_service permissive=0 [ 6.405572@2] [ 6.424689@2] init: Unable to set property 'net.tethering.noprovisioning' to 'true' in property file '/vendor/build.prop': SELinux permission check failed [ 6.439214@2] selinux: avc: denied { set } for property=ro.product.firmware pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.439214@2] [ 6.457345@2] init: Unable to set property 'ro.product.firmware' to '00502001' in property file '/vendor/build.prop': SELinux permission check failed [ 6.470652@2] selinux: avc: denied { set } for property=ro.product.otaupdateurl pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.470652@2] [ 6.489927@2] init: Unable to set property 'ro.product.otaupdateurl' to 'http://10.28.11.53:8080/otaupdate/update' in property file '/vendor/build.prop': SELinux permission check failed [ 6.506456@2] selinux: avc: denied { set } for property=ro.treble.enabled pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=0 [ 6.506456@2] [ 6.525099@2] init: Unable to set property[ 8.905477@2] ini[ 10.906965@0] cectx c810023c.aocec: init_cec_port_info phy_addr:0, port num:1 [ 10.908545@0] cectx c810023c.aocec: port_seq=0x0 [ 10.913546@0] cectx c810023c.aocec: portinfo id:0 arc:0 phy:1000,type:0 [ 21.907015@3] cectx c810023c.aocec: init_cec_port_info phy_addr:0, port num:1 [ 21.908525@3] cectx c810023c.aocec: port_seq=0x0 [ 21.913196@3] cectx c810023c.aocec: portinfo id:0 arc:0 phy:1000,type:0 Playready TA Start Playready TA Exit! Playready TA_DestroyEntryPoint! OEMCrypto_GetOEMPublicCertificate: Provisioning method = 2. OEMCrypto_GetOEMPublicCertificate: Provisioning method = 2. set ta time 1777644040 OEMCrypto_GetOEMPublicCertificate: Provisioning method = 2. OEMCrypto_GetOEMPublicCertificate: Provisioning method = 2. OEMCrypto_GetOEMPublicCertificate: Provisioning method = 2. OEMCrypto_GetOEMPublicCertificate: Provisioning method = 2. OEMCrypto_GetOEMPublicCertificate: Provisioning method = 2. OEMCrypto_GetOEMPublicCertificate: Provisioning method = 2. OEMCrypto_GetOEMPublicCertificate: Provisioning method = 2. [ 94.217875@0] binder_alloc: 4709: binder_alloc_buf size 1056768 failed, no address space [ 94.221143@0] binder_alloc: allocated: 184 (num: 3 largest: 168), free: 1040200 (num: 1 largest: 1040200) [ 107.113192@0] unifykey: key_unify_init() already inited! [ 107.113771@0] unifykey: name: usid, size 37 [ 107.117434@0] unifykey: key_unify_init() already inited! OEMCrypto_GetOEMPublicCertificate: Provisioning method = 2. ----------------------------------------------- End log file This one with the reset button pressed: Terminal log file ----------------------------------------------- OEMCrypto_GetOEMPublicCertificate: Provisioning method = 2. [ 428.570277@1] unifykey: key_unify_init() already inited! [ 428.571318@1] unifykey: name: usid, size 37 [ 428.575539@1] unifykey: key_unify_init() already inited! OEMCrypto_GetOEMPublicCertificate: Provisioning method = 2. [ 441.929160@0] unifykey: key_unify_init() already inited! [ 441.929656@0] unifykey: name: usid, size 37 [ 441.933533@0] unifykey: key_unify_init() already inited! GXL:BL1:9ac50e:bb16dc;FEAT:BFFC39BE:100;POC:3;RCY:0;EMMC:0;READ:0;1.0;1.0;CHK:0; TE: 315899 BL2 Built : 10:47:34, Jan 14 2019. gxl g152d217 - guotai.shen@droid11-sz set vcck to 1120 mv set vddee to 1000 mv Board ID = 7 CPU clk: 984MHz DDR enable rdbi DQS-corr enabled DDR scramble enabled DDR3 chl: Rank0 16bit @ 912MHz bist_test rank: 0 1b 00 37 2f 14 4a 1e 00 3d 2f 13 4b 28 28 28 28 28 28 28 28 28 29 29 29 693 - PASS Rank0: 1024MB-2T-13 AddrBus test pass! Set ddr ssc: ppm1000- eMMC boot @ 0 sw8 s emmc switch 3 ok BL2: rpmb counter: 0x00000024 emmc switch 0 ok OTP_ARB=00000001 Load FIP HDR from eMMC, src: 0x0000c200, des: 0x01700000, size: 0x00004000, part: 0 Load BL3x from eMMC, src: 0x00010200, des: 0x01704000, size: 0x000f4000, part: 0 NOTICE: BL3-1: v1.0(release):3bc3888 NOTICE: BL3-1: Built : 11:28:51, May 10 2019 [BL31]: GXL CPU setup! NOTICE: BL3-1: GXL secure boot! NOTICE: BL3-1: BL33 decompress pass mpu_config_enable:system pre init ok dmc sec lock MVN_1=0x01010100 MVN_2=0x01010000 [Image: gxl_v1.1.3376-325f6f4 2019-05-27 16:25:06 shen.liu@droid11-sz] OPS=0x34 21 0d 34 00 37 2a 00 89 62 00 ac b5 67 13 99 02 [0.932030 Inits done] secure task start! high task start! low task start! INFO: BL3-2: ATOS-V2.4-239-g48b8c37d #1 Wed Feb 5 09:34:09 UTC 2020 arm INFO: BL3-2: Chip: GXL Rev: D (21:D - 30:2) INFO: BL3-2: crypto engine DMA INFO: BL3-2: secure time TEE INFO: BL3-2: CONFIG_DEVICE_SECURE 0xb200000e U-Boot 2015.01-gb7c1687 (Apr 08 2021 - 22:17:19) DRAM: 1 GiB Relocation Offset is: 36e85000 register usb cfg[0][1] = 0000000037f51148 [CANVAS]canvas init boot_device_flag : 1 Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc. init bus_cycle=6, bus_timing=7, system=5.0ns reset failed get_chip_type and ret:fffffffe get_chip_type and ret:fffffffe chip detect failed and ret:fffffffe nandphy_init failed and ret=0xfffffff1 MMC: aml_priv->desc_buf = 0x0000000033e856b0 aml_priv->desc_buf = 0x0000000033e879f0 SDIO Port B: 0, SDIO Port C: 1 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 40000000 [mmc_startup] mmc refix success init_part() 297: PART_TYPE_AML [mmc_init] mmc init success Amlogic multi-dtb tool Multi dtb detected checkhw: hwid = 11 Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxl platform: p241 variant: v2-1g dtb 0 soc: gxl plat: p241 vari: 1g dtb 1 soc: gxl plat: p241 vari: v2-1g Find match dtb: 1 start dts,buffer=0000000033e8a240,dt_addr=0000000033e99240 get_partition_from_dts() 71: ret 0 Amlogic multi-dtb tool Multi dtb detected checkhw: hwid = 11 Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxl platform: p241 variant: v2-1g dtb 0 soc: gxl plat: p241 vari: 1g dtb 1 soc: gxl plat: p241 vari: v2-1g Find match dtb: 1 parts: 17 00: logo 0000000000800000 1 01: recovery 0000000001800000 1 02: misc 0000000000800000 1 03: dtbo 0000000000800000 1 04: cri_data 0000000000800000 2 05: param 0000000001000000 2 06: boot 0000000001000000 1 set has_boot_slot = 0 07: rsv 0000000001000000 1 08: metadata 0000000001000000 1 09: vbmeta 0000000000200000 1 10: tee 0000000002000000 1 11: vendor 0000000010000000 1 12: odm 0000000008000000 1 13: system 0000000050000000 1 14: product 0000000008000000 1 15: cache 0000000025000000 2 16: data ffffffffffffffff 4 init_part() 297: PART_TYPE_AML eMMC/TSD partition table have been checked OK! crc32_s:0x1577dad == storage crc_pattern:0x1577dad!!! crc32_s:0xee152b83 == storage crc_pattern:0xee152b83!!! crc32_s:0x7fd3b243 == storage crc_pattern:0x7fd3b243!!! mmc env offset: 0x2c400000 In: serial Out: serial Err: serial reboot_mode=cold_boot itest - return true/false on integer compare Usage: itest [.b, .w, .l, .s] [*]value1 <op> [*]value2 [store]To run cmd[emmc dtb_read 0x1000000 0x40000] _verify_dtb_checksum()-2755: calc f2d3afb4, store f2d3afb4 _verify_dtb_checksum()-2755: calc f2d3afb4, store f2d3afb4 dtb_read()-2972: total valid 2 update_old_dtb()-2953: do nothing Amlogic multi-dtb tool Multi dtb detected checkhw: hwid = 11 Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxl platform: p241 variant: v2-1g dtb 0 soc: gxl plat: p241 vari: 1g dtb 1 soc: gxl plat: p241 vari: v2-1g Find match dtb: 1 vpu: clk_level in dts: 2 vpu: set clk: 200000000Hz, readback: 200000000Hz(0x501) vpu: vpu_clk_gate_init_off finish vpp: vpp_init cvbs: cpuid:0x21 cvbs: find performance_pal config hpd_state=0 vpp: vpp_matrix_update: 2 cvbs_performance_enhancement cvbs_config_hdmipll_gxl cvbs_set_vid2_clk vdac_enable: 1, module_sel:0x8 Net: dwmac.c9410000amlkey_init() enter! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 CONFIG_AVB2: avb2 Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 wipe_data=successful wipe_cache=successful upgrade_step=2 reboot_mode:::: cold_boot amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 [KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet [KM]Error:f[key_manage_query_size]L507:key[oemkey] not programed yet [OSD]load fb addr from dts:/meson-fb [OSD]fb_addr for logo: 0x3fc00000 [OSD]load fb addr from dts:/meson-fb [OSD]fb_addr for logo: 0x3fc00000 [OSD]VPP_OFIFO_SIZE:0xfff00fff [CANVAS]addr=0x3fc00000 width=3840, height=2160 [OSD]osd_hw.free_dst_data: 0,719,0,575 amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 [KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet [KM]Error:f[key_manage_query_size]L507:key[oemkey] not programed yet gpio: pin GPIOAO_2 (gpio 102) value is 0 detect upgrade key gpio: pin GPIOAO_2 (gpio 102) value is 0 InUsbBurn noSof card out co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 emmc/sd response timeout, cmd1, status=0x1ff2800 [MSG]mmcinfo failed! co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 emmc/sd response timeout, cmd1, status=0x1ff2800 (Re)start USB... USB0: USB3.0 XHCI init start Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found [imgread]secureKernelImgSz=0xf14a00 avb2: 1 Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 active_slot is normal ab_suffix is avb_slot_verify.c:524: DEBUG: Loading vbmeta struct from partition 'vbmeta'. Verified using testkey [store]To run cmd[emmc dtb_read 0x00000000357695c0 0x40000] dtb_read_shortcut()-2813: short cut in... Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 active_slot is normal Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 active_slot is normal Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 active_slot is normal avb verification: locked = 1, result = 0 ee_gate_off ... avb2: 1 ## Booting Android Image at 0x01080a00 ... reloc_addr =33f0a5a0 copy done Kernel command line: androidboot.dtbo_idx=0 buildvariant=user Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 active_slot is normal load dtb from 0x1000000 ...... Amlogic multi-dtb tool Single dtb detected find 1 dtbos dtbos to be applied: 0 Apply dtbo 0 Uncompressing Kernel Image ... OK kernel loaded at 0x01080000, end = 0x02958a00 libfdt fdt_getprop(): FDT_ERR_NOTFOUND Loading Ramdisk to 338a9000, end 33e729db ... OK Loading Device Tree to 000000001ffee000, end 000000001ffff4ba ... OK fdt_instaboot: no instaboot image Starting kernel ... uboot time: 10673245 us domain-0 init dvfs: 4 efuse_pw_en: 0x17 mgSz=0xf14a00 avb2: 1 Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 active_slot is normal ab_suffix is avb_slot_verify.c:524: DEBUG: Loading vbmeta struct from partition 'vbmeta'. [ 0.000000@0] Reserved memory: unable to setup CMA region [ 0.232780@0] VMAP:handle_vmap_fault address ffffff802008c000 out of range [ 0.232811@0] VMAP:handle_vmap_fault PC is:ffffff800923ffac, copy_mount_options, LR is:ffffff800923ff18 copy_mount_options [ 0.232823@0] VMAP:handle_vmap_fault task:32 kdevtmpfs, stack:ffffff8020088000, ffffffc039b4c920 [ 0.292767@0] codec_mm_module_init [ 0.308808@0] clkmsr c110875c.meson_clk_msr: failed to get msr ring reg0 [ 0.318963@0] cvbs_out: chrdev devno 263192576 for disp [ 0.605302@0] dmi: Firmware registration failed. [ 0.609965@0] vout: error: invalid vinfo1. current vmode is not supported [ 1.113429@0] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.136727@0] c81004c0.serial: clock gate not found [ 1.201690@0] c1108700.serial: clock gate not found [ 1.208084@0] amlogic-new-usb3 d0078080.usb3phy: This phy has no usb port [ 1.221872@0] meson-remote c8100580.rc: don't find the node <led_blink> [ 1.222855@0] meson-remote c8100580.rc: don't find the node <led_blink_frq> [ 1.242998@0] get fclk_div5 err [ 1.243029@0] vdin_drv_probe: vdin cannot get msr clk !!! [ 1.246410@0] get fclk_div5 err [ 1.249154@0] vdin_drv_probe: vdin cannot get msr clk !!! [ 1.258102@0] amlvideo2 probe called [ 1.258499@0] amlvideo2 probe called [ 1.262238@0] PPMGRDRV: err: ppmgr_driver_probe called [ 1.275314@0] meson-mmc: >>>>>>>>hostbase ffffff800852e000, dmode [ 1.322938@0] meson-mmc: >>>>>>>>hostbase ffffff8008538000, dmode [ 1.364658@0] meson-mmc: >>>>>>>>hostbase ffffff8008584000, dmode [ 1.405674@0] cectx c810023c.aocec: cec driver date:Ver 2019/1/7 [ 1.405674@0] [ 1.408712@0] cectx c810023c.aocec: not find 'port_num' [ 1.413325@0] cectx c810023c.aocec: using cec:0 [ 1.417582@0] cectx c810023c.aocec: get sleep state error! [ 1.423053@0] cectx c810023c.aocec: no hdmirx regs [ 1.427606@0] cectx c810023c.aocec: no hhi regs [ 1.432116@0] cectx c810023c.aocec: no periphs regs [ 1.436874@0] cectx c810023c.aocec: not find 'output' [ 1.446186@0] cectx c810023c.aocec: irq cnt:1 [ 1.447448@0] cectx c810023c.aocec: wakeup_reason:0x0 [ 1.451342@3] cectx c810023c.aocec: cev val1: 0x0;val2: 0x0 [ 1.456741@3] cectx c810023c.aocec: aml_cec_probe success end [ 1.500395@3] defendkey c8834500.defendkey: Reserved memory is not enough! [ 1.508953@3] snd_pcm_dai: aml audio pcm dai pinmux set error! [ 1.510988@3] meson-gxl-pinctrl pinctrl@4b0: pin GPIODV_24 already requested by c1108500.i2c; cannot claim for d0042000.snd_dmic [ 1.520660@3] meson-gxl-pinctrl pinctrl@4b0: pin-73 (d0042000.snd_dmic) status -22 [ 1.528150@3] meson-gxl-pinctrl pinctrl@4b0: could not request pin 73 (GPIODV_24) from group dmic_in_dv24 on device pinctrl-meson [ 1.539787@3] snd_dmic d0042000.snd_dmic: Error applying setting, reverse things back [ 1.547558@3] snd_dmic d0042000.snd_dmic: pinctrls error! [ 1.553602@3] spdif-dit spdif_codec: audio_spdif_out_mute can't get pinctrl [ 1.559899@3] spdif-dit spdif_codec: audio_spdif_in_mute can't get pinctrl [ 1.566611@3] spdif-dit spdif_codec: audio_spdif_in can't get pinctrl [ 1.786402@3] aml_meson_snd_card aml_sound_meson: ASoC: no source widget found for LOUTL [ 1.788912@3] aml_meson_snd_card aml_sound_meson: ASoC: Failed to add route LOUTL -> direct -> Ext Spk [ 1.798095@3] aml_meson_snd_card aml_sound_meson: ASoC: no source widget found for LOUTR [ 1.806104@3] aml_meson_snd_card aml_sound_meson: ASoC: Failed to add route LOUTR -> direct -> Ext Spk [ 2.356007@3] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19) [ 2.357781@3] usb usb2: Unsupported device [ 2.479442@2] thermal: read num_of_pp failed [ 2.774292@2] init: Init cannot set 'ro.boot.selinux' to 'permissive': Read-only property was already set [ 2.778390@2] init: Init cannot set 'ro.boot.selinux' to 'permissive': Read-only property was already set [ 2.807119@2] init: waitid failed: No child processes [ 2.811722@2] init: Unable to set property 'ro.product.first_api_level' to '28' in property file '/prop.default': Read-only property was already set [ 2.822498@2] init: Unable to set property 'ro.treble.enabled' to 'true' in property file '/prop.default': Read-only property was already set [ 2.833683@2] init: Unable to set property 'ro.adb.secure' to '1' in property file '/prop.default': Read-only property was already set [ 2.852316@2] init: Unable to read config file '/system/etc/init': open() failed: No such file or directory [ 2.856701@2] init: Unable to read config file '/product/etc/init': open() failed: No such file or directory [ 2.866440@2] init: Unable to read config file '/odm/etc/init': open() failed: No such file or directory [ 2.875842@2] init: Unable to read config file '/vendor/etc/init': open() failed: No such file or directory [ 2.898792@1] ueventd: Unable to read config file '/vendor/ueventd.rc': open() failed: No such file or directory [ 2.903600@1] ueventd: Unable to read config file '/odm/ueventd.rc': open() failed: No such file or directory [ 2.913543@1] ueventd: Unable to read config file '/ueventd.amlogic.rc': open() failed: No such file or directory [ 3.544760@2] init: setpgid failed for console: Operation not permitted [ 0.000267] Starting recovery (pid 2730) on Sun Jan 1 00:00:14 2017 [ 0.000574] led_ctrl_init in [ 0.000593] recovery filesystem table [ 0.000609] ========================= [ 0.000624] 0 /odm ext4 /dev/block/odm 0 [ 0.000648] 1 /product ext4 /dev/block/product 0 [ 0.000663] 2 /vendor ext4 /dev/block/vendor 0 [ 0.000678] 3 /bootloader emmc /dev/block/bootloader 0 [ 0.000693] 4 /logo emmc /dev/block/logo 0 [ 0.000708] 5 /vbmeta emmc /dev/block/vbmeta 0 [ 0.000723] 6 /recovery emmc /dev/block/recovery 0 [ 0.000738] 7 /boot emmc /dev/block/boot 0 [ 0.000752] 8 /misc emmc /dev/block/misc 0 [ 0.000767] 9 / ext4 /dev/block/system 0 [ 0.000784] 10 /vendor ext4 /dev/block/vendor 0 [ 0.000799] 11 /odm ext4 /dev/block/odm 0 [ 0.000815] 12 /param ext4 /dev/block/param 0 [ 0.000829] 13 /product ext4 /dev/block/product 0 [ 0.000845] 14 /metadata ext4 /dev/block/metadata 0 [ 0.000859] 15 /tee ext4 /dev/block/tee 0 [ 0.000874] 16 /cache ext4 /dev/block/cache 0 [ 0.000889] 17 /data ext4 /dev/block/data 0 [ 0.000904] 18 /sdcard vfat /dev/block/mmcblk1p1 0 [ 0.000919] 19 /sdcard vfat /dev/block/mmcblk1p2 0 [ 0.000933] 20 /sdcard vfat /dev/block/mmcblk1p3 0 [ 0.000948] 21 /sdcard vfat /dev/block/mmcblk1p4 0 [ 0.000962] 22 /sdcard vfat /dev/block/mmcblk1p5 0 [ 0.000977] 23 /sdcard vfat /dev/block/mmcblk1p6 0 [ 0.000992] 24 /sdcard vfat /dev/block/mmcblk2p1 0 [ 0.001007] 25 /sdcard vfat /dev/block/mmcblk2p2 0 [ 0.001021] 26 /sdcard vfat /dev/block/mmcblk2p3 0 [ 0.001035] 27 /sdcard vfat /dev/block/mmcblk2p4 0 [ 0.001054] 28 /sdcard vfat /dev/block/mmcblk2p5 0 [ 0.001070] 29 /sdcard vfat /dev/block/mmcblk2p6 0 [ 0.001085] 30 /sdcard vfat /dev/block/mmcblk 0 [ 0.001099] 31 /udisk auto /dev/block/sd## 0 [ 0.001113] 32 /tmp ramdisk ramdisk 0 [ 0.001127] # [ 3.827385@3] meson-gxl-pinctrl pinctrl@4b0: request() failed for pin 22 [ 3.828453@3] meson-gxl-pinctrl pinctrl@4b0: pin-22 (aml_sound_meson) status -22 [ 3.835813@3] meson-gxl-pinctrl pinctrl@4b0: could not request pin 22 (GPIOH_6) from group i2s_am_clk on device pinctrl-meson [ 3.847090@3] aml_meson_snd_card aml_sound_meson: Error applying setting, reverse things back [ 2.022123] E:failed to mount /udisk (No such file or directory) [ 2.022735] W:try mount /dev/block/mmcblk1p1 ... [ 2.122967] W:try mount /dev/block/mmcblk1p1 ... [ 2.223206] W:try mount /dev/block/mmcblk1p1 ... [ 2.323437] W:try mount /dev/block/mmcblk1p1 ... [ 2.423658] W:try mount /dev/block/mmcblk1p1 ... [ 2.523885] W:try mount /dev/block/mmcblk1p1 ... [ 2.624114] W:try mount /dev/block/mmcblk1p1 ... [ 2.724369] W:try mount /dev/block/mmcblk1p1 ... [ 2.824599] W:try mount /dev/block/mmcblk1p1 ... [ 2.924827] W:try mount /dev/block/mmcblk1p1 ... [ 3.025058] W:try mount /dev/block/mmcblk1p1 ... [ 3.125296] W:try mount /dev/block/mmcblk1p1 ... [ 3.225524] W:try mount /dev/block/mmcblk1p1 ... [ 3.325753] W:try mount /dev/block/mmcblk1p1 ... [ 3.425980] W:try mount /dev/block/mmcblk1p1 ... [ 3.526203] W:try mount /dev/block/mmcblk1p1 ... [ 3.626419] W:try mount /dev/block/mmcblk1p1 ... [ 3.726720] W:try mount /dev/block/mmcblk1p1 ... [ 3.826870] W:try mount /dev/block/mmcblk1p1 ... [ 3.927019] W:try mount /dev/block/mmcblk1p1 ... [ 4.029552] E:failed to mount /sdcard (No such file or directory) [ 4.034195] E:Can't read /cache/recovery/last_locale: No such file or directory[ 7.592926@0] systemcontrol: [ubootenv] upgrade_step is not a ubootenv variable. [ 7.600347@3] selinux: avc: denied { set } for property=const.filesystem.mode pid=2730 uid=0 gid=0 scontext=u:r:recovery:s0 tcontext=u:object_r:aml_display_prop:s0 tclass=property_service permissive=1 [ 7.600347@3] [ 7.619424@3] systemcontrol: /etc/mesondisplay.cfg:12: Expected keyword, got '/etc/mesondisplay.cfg:12'.systemcontrol: getBootEnv key:ubootenv.var.reboot_mode_android value:normalsystemcontrol: reboot_mode :normal [ 4.034322] locale is [en-US] [ 4.034363] stage is [] [ 4.034400] reason is [(null)] [ 7.660021@3] init: No such service 'hdcp_tx22' for ctl.stop [ 7.684027@0] selinux: avc: denied { set } for property=vendor.display-size pid=2730 uid=0 gid=0 scontext=u:r:recovery:s0 tcontext=u:object_r:netflix_prop:s0 tclass=property_service permissive=1 [ 7.684027@0] [ 7.699611@1] selinux: avc: denied { set } for property=persist.vendor.sys.hdr.state pid=2730 uid=0 gid=0 scontext=u:r:recovery:s0 tcontext=u:object_r:vendor_persist_prop:s0 tclass=property_service permissive=1 [ 7.699611@1] [ 5.038907] loaded /etc/recovery.kl [ 5.038964] skipping malformed recovery.lk line: back_door [ 5.038986] recovery key map table: [ 5.039000] 0 type:select value:28 key:97 28 15 158 -1 -1 [ 5.039016] 1 type:down value:108 key:108 114 109 -1 -1 -1 [ 5.039030] 2 type:up value:103 key:103 104 115 -1 -1 -1 [ 5.039045] [ 5.039058] loaded /etc/recovery.kl [ 5.039072] skipping malformed recovery.lk line: back_door [ 5.039087] recovery key map table: [ 5.039101] 0 type:select value:28 key:97 28 15 158 -1 -1 [ 5.039115] 1 type:down value:108 key:108 114 109 -1 -1 -1 [ 5.039130] 2 type:up value:103 key:103 104 115 -1 -1 -1 [ 5.039144] [ 5.039157] W:Failed to read max brightness: No such file or directory [ 5.039172] I:Screensaver disabled [ 5.039186] cannot find/open a drm device: No such file or directory [ 5.039201] fb0 reports (possibly inaccurate): [ 5.039216] vi.bits_per_pixel = 32 [ 5.039230] vi.red.offset = 16 .length = 8 [ 5.039244] vi.green.offset = 8 .length = 8 [ 5.039258] vi.blue.offset = 0 .length = 8 [ 5.074880] framebuffer: 0 (1280 x 720) [ 5.165868] erasing_text: en (47 x 19 @ 700) [ 5.168412] no_command_text: en (83 x 19 @ 700) [ 5.170989] error_text: en (33 x 19 @ 700) [ 5.784010] installing_text: en (156 x 19 @ 700) peed-profile [ 6.509285] pm.dexopt.first-boot=quicken [ 6.509301] ro.adb.secure=1 [ 6.509315] ro.secure=1 [ 6.509329] sys.usb.config=mtp [ 6.509342] sys.usb.configfs=1 [ 6.509357] log.tag.stats_log=I [ 6.509371] ro.logd.size.stats=64K [ 6.509384] ro.af.client_heap_size_kbyte=1536 [ 6.509399] ro.audio.mapvalue=0,0,0,0 [ 6.509413] ro.media.maxmem=419430400 [ 6.509426] ro.media.camera_usb.faceback=false [ 6.509441] ro.media.camera_preview.maxsize=1920x1080 [ 6.509455] ro.media.camera_preview.usemjpeg=1 [ 6.509470] ro.media.camera_preview.limitedrate=1920x1080x30,1280x720x30,640x480x30,320x240x28 [ 6.509485] drm.service.enable=true [ 6.509500] media.arm.audio.decoder=ape,flac,dts,ac3,eac3,wma,wmapro,mp3,aac,vorbis,raac,cook,amr,pcm,adpcm,aac_latm,rm [ 6.509516] media.wfd.use-pcm-audio=false [ 6.509530] media.wfd.video-bitrate=2000000 [ 6.509544] media.wfd.videoframerate=24 [ 6.509558] media.wfd.videoresolution-type=1 [ 6.509572] media.wfd.videoresolution-group=0 [ 6.509586] media.secmem.version=1 [ 6.509600] media.decoder.vfm.defmap=decoder [ 6.509614] media.decoder.vfm.drmmap=decoder [ 6.509628] media.amplayer.enable=true [ 6.509641] media.amplayer.thumbnail=true [ 6.509655] media.amplayer.dropwaitxms=100 [ 6.509669] media.amplayer.seekkeyframe=true [ 6.509683] media.amplayer.dsource4local=1 [ 6.509697] media.amplayer.enable-acodecs=ac3,eac3,rm,dts [ 6.509711] media.amplayer.widevineenable=true [ 6.509725] media.libplayer.seek.fwdsearch=1 [ 6.509740] media.libplayer.modules=vhls_mod,dash_mod,curl_mod,prhls_mod,vm_mod,bluray_mod [ 6.509755] media.libplayer.curlenable=true [ 6.509769] media.amsuperplayer.enable=true [ 6.509783] media.amsuperplayer.defplayer=PV_PLAYER [ 6.509797] media.amsuperplayer.m4aplayer=STAGEFRIGHT_PLAYER [ 6.509811] media.html5videowin.enable=1 [ 6.509825] persist.vendor.media.bootvideo=0050 [ 6.509839] ro.nrdp.modelgroup=SDMCs805 [ 6.509853] ro.nrdp.validation=ninja_6 [ 6.509867] ro.vendor.nrdp.audio.mixer.buffersize=1024 [ 6.509881] ro.vendor.nrdp.modelgroup=SDMCs805 [ 6.509895] ro.vendor.nrdp.validation=ninja_6 [ 6.509935] vendor.display-size=720x576 [ 6.509951] ro.boot.oem.key1=ATV00104319 [ 6.509965] pm.dexopt.shared=speed [ 6.509979] pm.dexopt.inactive=verify [ 6.509992] ro.boot.serialno=[REDACTED] [ 6.510006] ro.serialno=[REDACTED] [ 6.510020] service.adb.tcp.port=5555 [ 6.510034] security.perf_harden=1 [ 6.510047] net.bt.name=Android [ 6.510061] net.tethering.noprovisioning=true [ 6.510075] sys.fb.bits=32 [ 6.510089] sys.ignore.inativecec=true [ 6.510102] persist.sys.PQ.enable=true [ 6.510116] persist.sys.app.rotation=original [ 6.510130] persist.sys.dts.edid=false [ 6.510144] persist.sys.usb.config=mtp [ 6.510158] service.bootvideo=0 [ 6.510172] ro.vendor.app.optimization=true [ 6.510185] ro.vendor.vndk.version=26.1.0 [ 6.510199] ro.vendor.build.version.nts_patch=2019-10-17 [ 6.510214] ro.vendor.product.cpu.abilist=armeabi-v7a,armeabi [ 6.510228] ro.vendor.product.cpu.abilist32=armeabi-v7a,armeabi [ 6.510243] ro.vendor.product.cpu.abilist64= [ 6.510257] ro.vendor.autoconnectbt.isneed=false [ 6.510271] ro.vendor.autoconnectbt.btclass=50c [ 6.510285] ro.vendor.autoconnectbt.macprefix=00:CD:FF [ 6.510299] ro.vendor.autoconnectbt.rssilimit=70 [ 6.510314] ro.vendor.autoconnectbt.nameprefix=Amlogic_RC [ 6.510328] vendor.omx.osd_maxwidth=1280 [ 6.510342] vendor.omx.osd_maxheight=720 [ 6.510356] vendor.bluetooth.enable_timeout_ms=11000 [ 6.510370] persist.vendor.rtkbt.bdaddr_path=none [ 6.510384] persist.vendor.bluetooth.rtkcoex=true [ 6.841642] persist.vendor.bluetooth.prefferedrole=master [ 6.841670] persist.vendor.rtkbtadvdisable=false [ 6.841686] persist.vendor.sys.hdr.state=2 [ 6.841701] persist.vendor.sys.sdr.state=0 [ 6.841715] ro.vendor.platform.is.tv=0 [ 6.841729] ro.vendor.platform.is.supportHDR=false [ 6.841743] ro.vendor.platform.has.mbxuimode=true [ 6.841757] ro.vendor.platform.has.realoutputmode=true [ 6.841772] ro.vendor.platform.hdmi.device_type=4 [ 6.841786] ro.vendor.platform.need.display.hdmicec=true [ 6.841800] ro.vendor.platform.disable.audiorawout=false [ 6.841814] ro.vendor.platform.support.4k=false [ 6.841829] ro.vendor.platform.support.dts=true [ 6.841843] ro.vendor.platform.support.dolby=true [ 6.841857] ro.vendor.build.security_patch= [ 6.841871] ro.crypto.volume.filenames_mode=aes-256-cts [ 6.841885] [ 6.841898] Supported API: 3 [ 6.841912] #####bootable/recovery/recovery.cpp main 1791 [ 6.841970] #####bootable/recovery/recovery.cpp recopy_update_package 1538 fopen /cache/recovery/backup failed! (No such file or directory) [ 6.841989] #####bootable/recovery/recovery.cpp main 1795 update_package:(null) [ 6.842005] I:Saving locale "en-US" [ 6.509301] ro.adb.secure=1 [ 6.509315] ro.secure=1 [ 6.509329] sys.usb.config=mtp [ 6.509342] sys.usb.configfs=1 [ 6.509357] log.tag.stats_log=I [ 6.509371] ro.logd.size.stats=64K [ 6.509384] ro.af.client_heap_size_kbyte=1536 [ 6.509399] ro.audio.mapvalue=0,0,0,0 [ 6.509413] ro.media.maxmem=419430400 [ 6.509426] ro.media.camera_usb.faceback=false [ 6.509441] ro.media.camera_preview.maxsize=1920x1080 [ 6.509455] ro.media.camera_preview.usemjpeg=1 [ 6.509470] ro.media.camera_preview.limitedrate=1920x1080x30,1280x720x30,640x480x30,320x240x28 [ 6.509485] drm.service.enable=true [ 6.509500] media.arm.audio.decoder=ape,flac,dts,ac3,eac3,wma,wmapro,mp3,aac,vorbis,raac,cook,amr,pcm,adpcm,aac_latm,rm [ 6.509516] media.wfd.use-pcm-audio=false [ 6.509530] media.wfd.video-bitrate=2000000 [ 6.509544] media.wfd.videoframerate=24 [ 6.509558] media.wfd.videoresolution-type=1 [ 6.509572] media.wfd.videoresolution-group=0 [ 6.509586] media.secmem.version=1 [ 6.509600] media.decoder.vfm.defmap=decoder [ 6.509614] media.decoder.vfm.drmmap=decoder [ 6.509628] media.amplayer.enable=true [ 6.509641] media.amplayer.thumbnail=true [ 6.509655] media.amplayer.dropwaitxms=100 [ 6.509669] media.amplayer.seekkeyframe=true [ 6.509683] media.amplayer.dsource4local=1 [ 6.509697] media.amplayer.enable-acodecs=ac3,eac3,rm,dts [ 6.509711] media.amplayer.widevineenable=true [ 6.509725] media.libplayer.seek.fwdsearch=1 [ 6.509740] media.libplayer.modules=vhls_mod,dash_mod,curl_mod,prhls_mod,vm_mod,bluray_mod [ 6.509755] media.libplayer.curlenable=true [ 6.509769] media.amsuperplayer.enable=true [ 6.509783] media.amsuperplayer.defplayer=PV_PLAYER [ 6.509797] media.amsuperplayer.m4aplayer=STAGEFRIGHT_PLAYER [ 6.509811] media.html5videowin.enable=1 [ 6.509825] persist.vendor.media.bootvideo=0050 [ 6.509839] ro.nrdp.modelgroup=SDMCs805 [ 6.509853] ro.nrdp.validation=ninja_6 [ 6.509867] ro.vendor.nrdp.audio.mixer.buffersize=1024 [ 6.509881] ro.vendor.nrdp.modelgroup=SDMCs805 [ 6.509895] ro.vendor.nrdp.validation=ninja_6 [ 6.509935] vendor.display-size=720x576 [ 6.509951] ro.boot.oem.key1=ATV00104319 [ 6.509965] pm.dexopt.shared=speed [ 6.509979] pm.dexopt.inactive=verify [ 6.509992] ro.boot.serialno=[REDACTED] [ 6.510006] ro.serialno=[REDACTED] [ 6.510020] service.adb.tcp.port=5555 [ 6.510034] security.perf_harden=1 [ 6.510047] net.bt.name=Android [ 6.510061] net.tethering.noprovisioning=true [ 6.510075] sys.fb.bits=32 [ 6.510089] sys.ignore.inativecec=true [ 6.510102] persist.sys.PQ.enable=true [ 6.510116] persist.sys.app.rotation=original [ 6.510130] persist.sys.dts.edid=false [ 6.510144] persist.sys.usb.config=mtp [ 6.510158] service.bootvideo=0 [ 6.510172] ro.vendor.app.optimization=true [ 6.510185] ro.vendor.vndk.version=26.1.0 [ 6.510199] ro.vendor.build.version.nts_patch=2019-10-17 [ 6.510214] ro.vendor.product.cpu.abilist=armeabi-v7a,armeabi [ 6.510228] ro.vendor.product.cpu.abilist32=armeabi-v7a,armeabi [ 6.510243] ro.vendor.product.cpu.abilist64= [ 6.510257] ro.vendor.autoconnectbt.isneed=false [ 6.510271] ro.vendor.autoconnectbt.btclass=50c [ 6.510285] ro.vendor.autoconnectbt.macprefix=00:CD:FF [ 6.510299] ro.vendor.autoconnectbt.rssilimit=70 [ 6.510314] ro.vendor.autoconnectbt.nameprefix=Amlogic_RC [ 6.510328] vendor.omx.osd_maxwidth=1280 [ 6.510342] vendor.omx.osd_maxheight=720 [ 6.510356] vendor.bluetooth.enable_timeout_ms=11000 [ 6.510370] persist.vendor.rtkbt.bdaddr_path=none [ 6.510384] persist.vendor.bluetooth.rtkcoex=true [ 6.841642] persist.vendor.bluetooth.prefferedrole=master [ 6.841670] persist.vendor.rtkbtadvdisable=false [ 6.841686] persist.vendor.sys.hdr.state=2 [ 6.841701] persist.vendor.sys.sdr.state=0 [ 6.841715] ro.vendor.platform.is.tv=0 [ 6.841729] ro.vendor.platform.is.supportHDR=false [ 6.841743] ro.vendor.platform.has.mbxuimode=true [ 6.841757] ro.vendor.platform.has.realoutputmode=true [ 6.841772] ro.vendor.platform.hdmi.device_type=4 [ 6.841786] ro.vendor.platform.need.display.hdmicec=true [ 6.841800] ro.vendor.platform.disable.audiorawout=false [ 6.841814] ro.vendor.platform.support.4k=false [ 6.841829] ro.vendor.platform.support.dts=true [ 6.841843] ro.vendor.platform.support.dolby=true [ 6.841857] ro.vendor.build.security_patch= [ 6.841871] ro.crypto.volume.filenames_mode=aes-256-cts [ 6.841885] [ 6.841898] Supported API: 3 [ 6.841912] #####bootable/recovery/recovery.cpp main 1791 [ 6.841970] #####bootable/recovery/recovery.cpp recopy_update_package 1538 fopen /cache/recovery/backup failed! (No such file or directory) [ 6.841989] #####bootable/recovery/recovery.cpp main 1795 update_package:(null) [ 6.842005] I:Saving locale "en-US" 6.177150] ro.product.manufacturer=Amlogic [ 6.177164] ro.baseband=unknown [ 6.177178] ro.bootmode=unknown [ 6.177191] ro.hardware=amlogic [ 6.177205] ro.revision=0 [ 6.177219] ro.bootimage.build.date=Wed Mar 31 21:18:16 CST 2021 [ 6.177233] ro.bootimage.build.date.utc=1617196696 [ 6.177248] ro.bootimage.build.fingerprint=Amlogic/curie/curie:9/PI/20210331:user/release-keys [ 6.177263] ro.bootloader=unknown [ 6.177277] ro.debuggable=0 [ 6.177291] ro.property_service.version=2 [ 6.177305] sys.usb.state=mtp [ 6.177318] sys.usb.controller=c9100000.dwc2_a [ 6.177332] persist.sys.hdmi.keep_awake=false [ 6.177346] persist.sys.media.avsync=true [ 6.177360] persist.sys.dalvik.vm.lib.2=libart.so [ 6.177375] ro.sf.lcd_density=213 [ 6.177389] ro.sf.disable_triple_buffer=1 [ 6.177402] ro.boot.wificountrycode=XZ [ 6.177416] ro.hdmi.device_type=4 [ 6.177430] ro.radio.noril=false [ 6.177444] ro.zygote=zygote32 [ 6.177457] ro.opengles.version=131072 [ 6.177471] drm.service.enabled=1 [ 6.177485] camera.disable_zsl_mode=1 [ 6.177499] ro.config.low_ram=false [ 6.177513] ro.dalvik.vm.native.bridge=0 [ 6.177526] dalvik.vm.isa.arm.variant=cortex-a9 [ 6.177540] dalvik.vm.isa.arm.features=default [ 6.177555] dalvik.vm.dexopt.secondary=true [ 6.177569] dalvik.vm.usejit=true [ 6.177582] dalvik.vm.heapsize=384m [ 6.177596] dalvik.vm.dex2oat-Xms=64m [ 6.177610] dalvik.vm.dex2oat-Xmx=512m [ 6.177624] dalvik.vm.heapmaxfree=8m [ 6.177637] dalvik.vm.heapminfree=512k [ 6.177651] dalvik.vm.heapstartsize=8m [ 6.177665] dalvik.vm.appimageformat=lz4 [ 6.177679] dalvik.vm.usejitprofiles=true [ 6.177693] dalvik.vm.heapgrowthlimit=256m [ 6.177707] dalvik.vm.stack-trace-dir=/data/anr [ 6.177721] dalvik.vm.image-dex2oat-Xms=64m [ 6.177735] dalvik.vm.image-dex2oat-Xmx=64m [ 6.177749] dalvik.vm.heaptargetutilization=0.75 [ 6.177763] ro.boot.fake_battery=42 [ 6.177777] ro.vndk.version=28 [ 6.177790] ro.board.platform=gxl [ 6.177804] ro.vendor.build.date=Wed Mar 31 21:18:16 CST 2021 [ 6.177819] ro.vendor.build.date.utc=1617196696 [ 6.177833] ro.vendor.build.fingerprint=Amlogic/curie/curie:9/PI/20210331:user/release-keys [ 6.177848] ro.carrier=unknown [ 6.177862] ro.product.cpu.abilist32=armeabi-v7a,armeabi [ 6.177876] ro.product.cpu.abilist64= [ 6.177890] ro.product.board=curie [ 6.177904] ro.product.vendor.name=curie [ 6.177918] ro.product.vendor.brand=Amlogic [ 6.177932] ro.product.vendor.model=curie [ 6.177946] ro.product.vendor.device=curie [ 6.177960] ro.product.vendor.manufacturer=Amlogic [ 6.177974] ro.product.first_api_level=28 [ 6.177988] wifi.direct.interface=p2p0 [ 6.178002] wifi.interface=wlan0 [ 6.178016] ro.build.fingerprint=Amlogic/curie/curie:9/PI/20210331:user/release-keys [ 6.178030] pm.dexopt.boot=verify [ 6.178044] pm.dexopt.ab-ota=speed-profile [ 6.178058] pm.dexopt.install=speed-profile ----------------------------------------------- End log file
-
Hi, i could control the OTG micro USB port power on my NanoPi Neo (H3) by exporting and writing to GPIO 354 (line 2 of GPIO chip with base 352) I'm using Kernel V6.6.62 and I created a tiny device tree overlay defining. Excerpt below: usb@1c19000 { dr_mode = "host" } usb0-vbus { status = "okay" } This works fine! For test purposes, I switched to a NanoPi Neo2 (H5) with Kernel 6.6.62 (64 bit). Here, the OTG port is powered on and is usable by default without any overlay. But the on/off control does not work anymore. All attempts to export GPIO 354 give "write error: Device or resource busy". Schematics show no circuit difference in controlling the OTG power. In both cases its the same pin name on H3 and H5. The new GPIO handling of newer kernels cannot be the reason, as I use the same kernel versions on H3 and H5 (beside bit width). Any idea whats wrong and how I can again switch on/off OTG power?
-
I tried u-boot 2026.04 from rolling release, still has same problem: DDR 9fa84341ce typ 24/09/06-09:51:11,fwver: v1.18 ch0 ttot10 ch1 ttot10 ch2 ttot10 ch3 ttot10 ch0 ttot16 LPDDR4X, 2112MHz channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB ch1 ttot16 channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB ch2 ttot16 channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB ch3 ttot16 channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB Manufacturer ID:0x1 DQS rds:h6,h1 CH0 RX Vref:28.9%, TX Vref:20.8%,22.8% DQ rds:h5 h1 l0 l0 l1 h1 h1 h2, l0 l0 h1 h2 h1 h2 h1 h4 DQS rds:l0,h1 CH1 RX Vref:29.7%, TX Vref:21.8%,20.8% DQ rds:h4 l0 h3 h5 l1 h6 h1 h2, h1 h6 h3 h7 h1 h2 h2 l1 DQS rds:h1,l0 CH2 RX Vref:32.2%, TX Vref:20.8%,20.8% DQ rds:h3 l0 h5 h2 h1 h6 l0 h1, h1 h4 h3 h1 h1 h3 h5 h4 DQS rds:h1,h1 CH3 RX Vref:29.7%, TX Vref:23.8%,22.8% DQ rds:h1 h1 h1 h4 h4 l0 h1 h1, l0 h3 h7 l1 l0 h3 h1 h3 stride=0x2, ddr_config=0x4 hash ch_mask0-1 0x20 0x40, bank_mask0-3 0xa00 0x1400 0x2800 0x0, rank_mask0 0x401000 change to F1: 528MHz ch0 ttot10 ch1 ttot10 ch2 ttot10 ch3 ttot10 change to F2: 1068MHz ch0 ttot12 ch1 ttot12 ch2 ttot12 ch3 ttot12 change to F3: 1560MHz ch0 ttot14 ch1 ttot14 ch2 ttot14 ch3 ttot14 change to F0: 2112MHz ch0 ttot16 ch1 ttot16 ch2 ttot16 ch3 ttot16 out U-Boot SPL 2026.04_armbian-2026.04-S88dc-P9ef2-H95ba-Va0a8-B138f-R448a (Apr 25 2026 - 16:56:23 +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 INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-868-g040d2de11:derrick.huang, fwver: v1.48 NOTICE: BL31: Built : 15:02:44, Dec 19 2024 INFO: spec: 0x13 INFO: code: 0x88 INFO: ext 32k is not valid INFO: ddr: stride-en 4CH INFO: GICv3 without legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0 INFO: l3 cache partition cfg-0 INFO: system boots from cpu-hwid-0 INFO: disable memory repair INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001 INFO: dfs DDR fsp_params[0].freq_mhz= 2112MHz INFO: dfs DDR fsp_params[1].freq_mhz= 528MHz INFO: dfs DDR fsp_params[2].freq_mhz= 1068MHz INFO: dfs DDR fsp_params[3].freq_mhz= 1560MHz INFO: BL31: Initialising Exception Handling Framework INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE K ERROR: Error initializing runtime service opteed_fast INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x800000 INFO: SPSR = 0x3c9 U-Boot 2026.04_armbian-2026.04-S88dc-P9ef2-H95ba-Va0a8-B138f-R448a (Apr 25 2026 - 16:56:23 +0000) Model: Xunlong Orange Pi 5 SoC: RK3588S DRAM: 8 GiB Core: 726 devices, 33 uclasses, devicetree: separate MMC: mmc@fe2c0000: 0 Loading Environment from nowhere... OK In: serial@feb50000 Out: serial@feb50000 Err: serial@feb50000 Model: Xunlong Orange Pi 5 SoC: RK3588S Net: eth0: ethernet@fe1c0000 Hit any key to stop autoboot: 0 <comment: stopped for mannual command > => nvme scan <comment: No NVMe drive found> => boot 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 Cannot persist EFI variables without system partition Scanning bootdev 'mmc@fe2c0000.bootdev': Card did not respond to voltage select! : -110 Card did not respond to voltage select! : -110 Card did not respond to voltage select! : -110 Card did not respond to voltage select! : -110 scanning bus for devices... USB EHCI 1.00 USB OHCI 1.0 USB EHCI 1.00 USB OHCI 1.0 USB XHCI 1.10 Bus usb@fc800000: 1 USB Device(s) found Bus usb@fc840000: 1 USB Device(s) found Bus usb@fc880000: 1 USB Device(s) found Bus usb@fc8c0000: 1 USB Device(s) found Bus usb@fcd00000: 1 USB Device(s) found Scanning bootdev 'ethernet@fe1c0000.bootdev': ethernet@fe1c0000 Waiting for PHY auto negotiation to complete....... done BOOTP broadcast 1 BOOTP broadcast 2 DHCP client bound to address 192.168.0.50 (257 ms) missing environment variable: pxeuuid Retrieving file: pxelinux.cfg/01-02-2a-1c-db-3c-a0 Using ethernet@fe1c0000 device TFTP from server 192.168.0.1; our IP address is 192.168.0.50 Filename 'pxelinux.cfg/01-02-2a-1c-db-3c-a0'. Load address: 0xe00000 Loading: T T <comment: went through predefined boot devices and stuck at waiting for TFTP server, which doesn't exist> When SD card plugged in, u-boot went through boot devices and found that it is bootable and load OS: DDR 9fa84341ce typ 24/09/06-09:51:11,fwver: v1.18 ch0 ttot10 ch1 ttot10 ch2 ttot10 ch3 ttot10 ch0 ttot16 LPDDR4X, 2112MHz channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB ch1 ttot16 channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB ch2 ttot16 channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB ch3 ttot16 channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB Manufacturer ID:0x1 DQS rds:h4,h1 CH0 RX Vref:29.3%, TX Vref:20.8%,21.8% DQ rds:h7 h1 l0 l0 l0 h1 h2 h2, l0 l0 h1 h2 h1 h3 h1 h4 DQS rds:l0,h2 CH1 RX Vref:29.3%, TX Vref:21.8%,20.8% DQ rds:h3 l0 h2 h4 l2 h4 l0 h1, h1 h4 h2 h4 h1 h2 h1 l1 DQS rds:h1,l0 CH2 RX Vref:32.2%, TX Vref:20.8%,20.8% DQ rds:h3 l0 h5 h2 l0 h5 l0 h1, h1 h7 h3 h1 h1 h3 h5 h4 DQS rds:h1,h1 CH3 RX Vref:29.7%, TX Vref:22.8%,22.8% DQ rds:h1 l0 l0 h3 h4 l0 h1 h1, l0 h3 h7 l0 l0 h3 h1 h4 stride=0x2, ddr_config=0x4 hash ch_mask0-1 0x20 0x40, bank_mask0-3 0xa00 0x1400 0x2800 0x0, rank_mask0 0x401000 change to F1: 528MHz ch0 ttot10 ch1 ttot10 ch2 ttot10 ch3 ttot10 change to F2: 1068MHz ch0 ttot12 ch1 ttot12 ch2 ttot12 ch3 ttot12 change to F3: 1560MHz ch0 ttot14 ch1 ttot14 ch2 ttot14 ch3 ttot14 change to F0: 2112MHz ch0 ttot16 ch1 ttot16 ch2 ttot16 ch3 ttot16 out U-Boot SPL 2026.04_armbian-2026.04-S88dc-P9ef2-H95ba-Va0a8-B138f-R448a (Apr 25 2026 - 16:56:23 +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 INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-868-g040d2de11:derrick.huang, fwver: v1.48 NOTICE: BL31: Built : 15:02:44, Dec 19 2024 INFO: spec: 0x13 INFO: code: 0x88 INFO: ext 32k is not valid INFO: ddr: stride-en 4CH INFO: GICv3 without legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0 INFO: l3 cache partition cfg-0 INFO: system boots from cpu-hwid-0 INFO: disable memory repair INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001 INFO: dfs DDR fsp_params[0].freq_mhz= 2112MHz INFO: dfs DDR fsp_params[1].freq_mhz= 528MHz INFO: dfs DDR fsp_params[2].freq_mhz= 1068MHz INFO: dfs DDR fsp_params[3].freq_mhz= 1560MHz INFO: BL31: Initialising Exception Handling Framework INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE K ERROR: Error initializing runtime service opteed_fast INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x800000 INFO: SPSR = 0x3c9 U-Boot 2026.04_armbian-2026.04-S88dc-P9ef2-H95ba-Va0a8-B138f-R448a (Apr 25 2026 - 16:56:23 +0000) Model: Xunlong Orange Pi 5 SoC: RK3588S DRAM: 8 GiB Core: 726 devices, 33 uclasses, devicetree: separate MMC: mmc@fe2c0000: 0 Loading Environment from nowhere... OK In: serial@feb50000 Out: serial@feb50000 Err: serial@feb50000 Model: Xunlong Orange Pi 5 SoC: RK3588S Net: eth0: ethernet@fe1c0000 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': Cannot persist EFI variables without system partition 0 efi_mgr ready (none) 0 <NULL> ** Booting bootflow '<NULL>' with efi_mgr Loading Boot0000 'mmc 0' failed EFI boot manager: Cannot load any image Boot failed (err=-14) Scanning bootdev 'mmc@fe2c0000.bootdev': 1 script ready mmc 1 mmc@fe2c0000.bootdev.part /boot/boot.scr ** Booting bootflow 'mmc@fe2c0000.bootdev.part_1' with script Boot script loaded from mmc 0:1 244 bytes read in 5 ms (46.9 KiB/s) 31493216 bytes read in 2669 ms (11.3 MiB/s) 41200128 bytes read in 3487 ms (11.3 MiB/s) 165243 bytes read in 43 ms (3.7 MiB/s) Working FDT set to 12000000 Trying kaslrseed command... Info: Unknown command can be safely ignored since kaslrseed does not apply to all boards. Unknown command 'kaslrseed' - try 'help' ## Loading init Ramdisk from Legacy Image at 12180000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 31493152 Bytes = 30 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 eadf7000, end ecbffc20 ... OK Loading Device Tree to 00000000ece04000, end 00000000ece94fff ... OK Working FDT set to ece04000 [image_setup_libfdt] called [image_setup_libfdt] calling fdt_fixup_ethernet [fdt_fixup_ethernet] called [fdt_fixup_ethernet] alias #0: name='gpio0', path='/pinctrl/gpio@fd8a0000' [fdt_fixup_ethernet] alias #1: name='gpio1', path='/pinctrl/gpio@fec20000' [fdt_fixup_ethernet] alias #2: name='gpio2', path='/pinctrl/gpio@fec30000' [fdt_fixup_ethernet] alias #3: name='gpio3', path='/pinctrl/gpio@fec40000' [fdt_fixup_ethernet] alias #4: name='gpio4', path='/pinctrl/gpio@fec50000' [fdt_fixup_ethernet] alias #5: name='i2c0', path='/i2c@fd880000' [fdt_fixup_ethernet] alias #6: name='i2c1', path='/i2c@fea90000' [fdt_fixup_ethernet] alias #7: name='i2c2', path='/i2c@feaa0000' [fdt_fixup_ethernet] alias #8: name='i2c3', path='/i2c@feab0000' [fdt_fixup_ethernet] alias #9: name='i2c4', path='/i2c@feac0000' [fdt_fixup_ethernet] alias #10: name='i2c5', path='/i2c@fead0000' [fdt_fixup_ethernet] alias #11: name='i2c6', path='/i2c@fec80000' [fdt_fixup_ethernet] alias #12: name='i2c7', path='/i2c@fec90000' [fdt_fixup_ethernet] alias #13: name='i2c8', path='/i2c@feca0000' [fdt_fixup_ethernet] alias #14: name='serial0', path='/serial@fd890000' [fdt_fixup_ethernet] alias #15: name='serial1', path='/serial@feb40000' [fdt_fixup_ethernet] alias #16: name='serial2', path='/serial@feb50000' [fdt_fixup_ethernet] alias #17: name='serial3', path='/serial@feb60000' [fdt_fixup_ethernet] alias #18: name='serial4', path='/serial@feb70000' [fdt_fixup_ethernet] alias #19: name='serial5', path='/serial@feb80000' [fdt_fixup_ethernet] alias #20: name='serial6', path='/serial@feb90000' [fdt_fixup_ethernet] alias #21: name='serial7', path='/serial@feba0000' [fdt_fixup_ethernet] alias #22: name='serial8', path='/serial@febb0000' [fdt_fixup_ethernet] alias #23: name='serial9', path='/serial@febc0000' [fdt_fixup_ethernet] alias #24: name='spi0', path='/spi@feb00000' [fdt_fixup_ethernet] alias #25: name='spi1', path='/spi@feb10000' [fdt_fixup_ethernet] alias #26: name='spi2', path='/spi@feb20000' [fdt_fixup_ethernet] alias #27: name='spi3', path='/spi@feb30000' [fdt_fixup_ethernet] alias #28: name='spi4', path='/spi@fecb0000' [fdt_fixup_ethernet] alias #29: name='ethernet0', path='/ethernet@fe1c0000' [fdt_fixup_ethernet] env var for alias 'ethernet0' is 'ethaddr', value='02:2a:1c:db:3c:a0' [fdt_fixup_ethernet] Patching node '/ethernet@fe1c0000' (offset 40388) with MAC 02:2a:1c:db:3c:a0 [fdt_fixup_ethernet] alias #30: name='mmc0', path='/mmc@fe2c0000' [fdt_fixup_ethernet] SUMMARY: aliases found=31, attempted=1, skipped=0, patched=1 Starting kernel ...
-
H96 Max RK3528 - Cannot boot Armbian from TF/SD card
0KTAV1US replied to 0KTAV1US's topic in Rockchip CPU Boxes
@jock Please help. Worst TV-box PCB I've ever seen in my life. Hardware: H96 Max "8K Ultra HD" (round case) PCB: RK3528_DDR3_8X4_V12 SoC: Rockchip RK3528 4GB DDR3 (8x Samsung K4B4G0446B) 64GB eMMC Samsung KLMCG2KETM WiFi: SKYWB8800 / SG-WB800E (AIC8800) Android 13, kernel 5.10.157, build RZX.V01.20240924.1740 I have TWO boards (same PCB revision, same markings). Both have DEBUG pads clearly labeled TX / GND / RX. UART completely silent in all combinations. Tried two different adapters: FTDI FT232 (ID 0403:6001) Silicon Labs CP2102 (ID 10c4:ea60) Both show up in dmesg fine, /dev/ttyUSB0 created, picocom opens. When powering device on — silence or garbage at all baud rates (115200, 230400, 460800, 921600, 1000000, 1152000, 1500000, 2000000, 3000000). Soldering done by a professional, crossover connection: adapter TX → board RX adapter RX → board TX GND ↔ GND VCC NOT connected (device powered separately) Loopback test on adapters works — adapters are OK. Devices are alive — Android boots normally, AIDA64 shows everything fine. Tested on both boards with both adapters — silence everywhere. Only garbage appears when physically jiggling wires (clearly body static, not device signal). My hypotheses: Vendor disabled UART output in stock loader/TPL for boot speed TX/RX pads repurposed as GPIO (LED / IR / etc.) DEBUG pads are actually NOT UART but JTAG/something else UART works but on some non-standard baud rate In fensoft U-Boot defconfig (https://github.com/fensoft/rk3528-tvbox) I see: CONFIG_BAUDRATE=1500000 CONFIG_DEBUG_UART_BASE=0xff9f0000 CONFIG_DEBUG_UART_CLOCK=24000000 Meaning fensoft uses this UART on similar boards. Why doesn't mine work? Background: spent 3 days trying to PXE boot Armbian. U-Boot (Ilya's + fensoft) works, TFTP/NFS works, kernel loads, initrd loads, DTB loads. But after booti the kernel dies instantly, so I need UART to see panic message. Tried many DTBs: evb1-ddr4, evb2-ddr3, android-native, nanopi-zero2, armsom-sige1, vontar-dq08, even stock Android DTB extracted from boot.img — all silent. Anyone experienced this on H96 Max RK3528 DDR3? Any way to force UART enable via some fastboot/adb command on Android before reboot? Attaching photos: PCB with RK3528_DDR3_8X4_V12 marking Close-up of DEBUG pads with soldered wires SG-WB800E WiFi module Thanks in advance for anyone who reads this! -
Hello everyone, I'm working with a JR3288lc development board with a Rockchip RK3288 processor and I'm currently facing a Bluetooth detection issue. I'm using the official Debian 9 image provided by the manufacturer, but the system doesn't see the Bluetooth module at all. When I check the dmesg output, I see a specific parsing error related to the power GPIO in the Device Tree. It seems the kernel can't parse the power feature, which is preventing the module from working. How can I fix this? Any help would be greatly appreciated.
-
Yesterday, I tried to use the digital IO in my opi zero3, with the Python GPIO package from https://opi-gpio.readthedocs.io/en/latest/ by Richard Hull It depends on having sysfs files in /sys/class/gpio/ My original opi zero has these files and it works, but my opi zero3 doesn’t have these files I learned that /sys/class/gpio is created if the linux kernel is configured with a specific option ON, as suggested in the documentation: https://github.com/rm-hull/OPi.GPIO https://linux-sunxi.org/GPIO Also, a developer has made a change on the opi.GPIO project to support opi zero3 https://github.com/rm-hull/OPi.GPIO/issues/79 I will have time to try this tomorrow... but I want to ask: is anyone using GPIO in its most basic way? As reference: I saw this older thread about zero3's GPIO... https://forum.armbian.com/topic/31493-how-to-enable-i2c3-on-orange-pi-zero-3/ It is using leebobby's "armbian" image, with raspi-config, and wiringpi Using my original opi-zero, I never needed to use armbian-config to enable basic gpio and the python opi.gpio just worked as documented Note: the opi.gpio only claims to support basic gpio, not i2c. Update: these are interesting potential solutions and discussions (but they are all from before there was armbian for opiz3) https://www.reddit.com/r/OrangePI/comments/16vfa4g/orange_pi_zero_3_gpio_python_library/ https://github.com/eutim/OPI.GPIO https://www.reddit.com/r/OrangePI/comments/16ioyri/gpio_python_library_for_orange_pi_zero_3/ https://www.reddit.com/r/OrangePI/comments/18iveo3/how_to_control_gpio_pins_in_android_orange_pi/
-
I want to put a banana Pi M1 plus a 2.5" SATA drive in a plastic box with only the ethernet and USB ports exposed. This means the onboard power button is not accessible to boot the board. Are you able to power on the board using the GPIO pins? If so please could someone advise which pins to connect to? I also aim to put a 5.5 x 2.1mm barrel connection on the box (with a latching press button switch for isolation) for the +5v supply and connect a short micro USB connector from the barrel socket to the board and also attach the SATA power leads directly rather than powering from the board 2 pin connector to take the load off the micro USB input.
-
I have an H50-labeled tv box with a different board (T98-3318-V2.3) but with exactly the same problem - no HDMI even though all the software debug traces show that everything video-related gets called and works. I first tried to make it work 5 years ago and failed and a few months ago I revisited it just to see if I can make it work now in the age of AI. I made a really deep dive into reverse engineering it. I rooted the original Android firmware and dumped anything I could, extracted and analyzed with Ghidra the vendor u-boot and kernel (wasn't particularly helpful) and finally managed to execute the u-boot binary in Renode by emulating a lot of hardware stuff with code or by simply replacing functions with successful returns all the way to the point of u-boot displaying the splash screen and with various hooks and warnings about peripheral accesses I collected a comprehensive trace of everything that u-boot was doing, and in that trace, the AI noticed a certain GPIO access and suggested replacing this vcc-host-vbus { compatible = "regulator-fixed"; enable-active-high; gpio = <0x74 0x00 0x00>; pinctrl-names = "default"; pinctrl-0 = <0x76>; regulator-name = "vcc_host_vbus"; regulator-always-on; regulator-min-microvolt = <0x4c4b40>; regulator-max-microvolt = <0x4c4b40>; vin-supply = <0x77>; phandle = <0x100>; }; with this vcc-display-en { compatible = "regulator-fixed"; gpio = <0x74 0x00 0x01>; pinctrl-names = "default"; pinctrl-0 = <0x76>; regulator-name = "vcc_display_en"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <0x4c4b40>; regulator-max-microvolt = <0x4c4b40>; vin-supply = <0x77>; phandle = <0x100>; }; in the standard rk3318-box.dts which made HDMI work.
-
@Werner I imagine there are plenty of people here who could help solve similar problems. In theory, I could provide a pair of an old RPI (master) and a 4A (slave), with the slave serial connected to the master and power controlled via the GPIO, and they are also on the same VLAN. However, if something goes wrong it needs control to the slave's SD card, all I've found is an SD card extender, and it needs something like an emulator that connects to the master via the same USB/SPI.
-
Remote power button for Banana Pi M1
John Felstead replied to John Felstead's topic in Allwinner sunxi
thanks @eselarm. I think I may not have made myself clear. I want to be able to "Power On" i.e. boot the board using a remote switch and not Power (provide 5v) to the board via the GPIO pins. The Banana Pi docs here (half way down page to GPIO section) actually states that you cannot use the GPIO pins for injecting power only drawing power for ancillary boards etc. When testing the board and setting it up I accidentally touch the SATA case against the GPIO pins and the board started, I'm not sure what pin it was and if it might cause damage long term starting the board this way but I need to know if its possible and which pin(s) i need to short to ground? As regards SATA drive I'm fixing the 2.5" drive to the lid of the box and using one of these SATA right angle adapters and a short100mm very flexible SATA cable to connect to the SATA port on the board and the adapter. when its built I will upload a photo. In the meantime I need to be able to reboot the board externally when the power has been disrupted. I could unsolder the existing switch but the solder pads look tiny. -
CSC Armbian for RK3318/RK3328 TV box boards
andrey.lobov replied to jock's topic in Rockchip CPU Boxes
Hi all, I’m trying to enable the front VFD/LED display on an RK3318 TV box. OS: Armbian 23.11.1 Jammy, kernel 6.18.10-current-rockchip64 DTB: rk3318-box.dtb (fdtfile=rockchip/rk3318-box.dtb) In DTB I found: fd628_dev { compatible = "fd628_dev"; fd628_gpio_clk = <0x7a 0x10 0x00>; // bank2, offset16 fd628_gpio_dat = <0x7a 0x0f 0x00>; // bank2, offset15 }; I built linux_openvfd and added an openvfd node in DTB: openvfd { compatible = "open,vfd"; dev_name = "openvfd"; status = "okay"; }; Module loads, /dev/openvfd appears with: vfd_gpio_clk=2,16,0 vfd_gpio_dat=2,15,0 vfd_gpio_stb=2,19,0 vfd_display_type=0,0,0,0 vfd_chars=0,1,2,3,4,5,6 vfd_dot_bits=0,1,2,3,4,5,6,0 dmesg shows: OpenVFD: Select FD628 controller OpenVFD: SPI 3-wire interface initialized (LSB mode) /sys/class/leds/openvfd exists, but no indicators light up. Tried multiple display_type values and STB pins (bank2 offsets 18–22 + other banks) — still no output. Question: Does anyone know the correct GPIO pins (CLK/DAT/STB) for rk3318-box VFD, or a working driver/service for FD628/FD650 on this board? Any confirmed configs for RK3318 boxes would be greatly appreciated. I’ve been working on this for ~2 weeks and tried multiple configs/drivers without success. Thanks! -
Nice! I actually did something similar. In my case I ended up using an old PWM fan I had lying around, powering it through the 12V pin input. Then I used ground on pin 6 and the PWM signal from GPIO pin 11. I wrote a bash script and set it up as a service that controls the fan speed based on five temperature levels. Right now I’m running it on FriendlyElec CM3588 NAS with Armbian Linux 6.1.115-vendor-rk35xx (v26.2 rolling). The repo is in Spanish for now, but I’m planning to translate it to English soon: https://github.com/jgomezriesgobancario/cm3588-fan-controller **edited** Fix typos
-
Wi-Fi works → so the problem is only in GPIO / DTB initialization for Bluetooth It worked on the older kernel, but now it doesn't 😞.... Supposedly this is the cause, but is it really? armbianmonitor -u https://paste.armbian.com/uzudezufit
