Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Desktop firmware has no desktop display. #3

Open
cntvro opened this issue Apr 17, 2024 · 33 comments
Open

Desktop firmware has no desktop display. #3

cntvro opened this issue Apr 17, 2024 · 33 comments

Comments

@cntvro
Copy link

cntvro commented Apr 17, 2024

``
Armbian-unofficial_24.5.0-trunk_Zc-328_bookworm_current_6.1.86_xfce_desktop.img
Armbian-unofficial_24.5.0-trunk_Zc-328_jammy_current_6.1.86_i3-wm_desktop.img
Armbian-unofficial_24.5.0-trunk_Zc-328_jammy_current_6.1.86_xfce_desktop.img

``
I tried to build several desktop firmware and write it into ZC-328, but there is no content displayed on the HDMI connection monitor. With serial connection, information is displayed, but I can't input information in serial software such as PUTTY and XCOM. I thought it was my USB TO serial(PL2303TA) cable, so I bought a new one (CH340G), and it was still the same. The same is true for a ZC-328.Thank you!

`
done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.37.2
[/usr/sbin/fsck.ext4 (1) -- /dev/mmcblk2p1] fsck.ext4 -a -C0 /dev/mmcblk2p1
armbi_root: recovering journal
armbi_root: clean, 143783/939136 files, 887290/3780608 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Armbian-unofficial 24.5.0-trunk jammy!

-.mount
[ OK ] Created slice Slice /system/modprobe.
[ OK ] Created slice Slice /system/serial-getty.
[ OK ] Created slice User and Session Slice.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Set up automount Arbitrary Executable File Formats File System Automount Point.
[ OK ] Reached target Slice Units.
[ OK ] Reached target Mounting snaps.
[ OK ] Reached target Mounted snaps.
[ OK ] Reached target Swaps.
[ OK ] Reached target System Time Set.
[ OK ] Reached target Local Verity Protected Volumes.
[ OK ] Listening on RPCbind Server Activation Socket.
[ OK ] Listening on Syslog Socket.
[ OK ] Listening on fsck to fsckd communication Socket.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on Journal Audit Socket.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on udev Kernel Socket.
Mounting POSIX Message Queue File System...
Mounting Kernel Debug File System...
Mounting Kernel Trace File System...
Starting Restore / save the current clock...
Starting Set the console keyboard layout...
Starting Create List of Static Device Nodes...
Starting Load Kernel Module configfs...
Starting Load Kernel Module drm...
Starting Load Kernel Module efi_pstore...
Starting Load Kernel Module fuse...
Starting Load Kernel Modules...
Starting Remount Root and Kernel File Systems...
Starting Coldplug All udev Devices...
dev-mqueue.mount
sys-kernel-debug.mount
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Kernel Debug File System.
[ OK ] Mounted Kernel Trace File System.
sys-kernel-tracing.mount
[ OK ] Finished Restore / save the current clock.
fake-hwclock.service
[ OK ] Finished Create List of Static Device Nodes.
kmod-static-nodes.service
[ OK ] Finished Load Kernel Module configfs.
[ OK ] Finished Load Kernel Module drm.
[ OK ] Finished Load Kernel Module efi_pstore.
[ OK ] Finished Load Kernel Module fuse.
[ OK ] Finished Load Kernel Modules.
systemd-modules-load.service
Mounting FUSE Control File System...
Mounting Kernel Configuration File System...
Starting Apply Kernel Variables...
[ OK ] Finished Remount Root and Kernel File Systems.
[ OK ] Mounted FUSE Control File System.
Starting Load/Save Random Seed...
systemd-remount-fs.service
Starting Create System Users...
sys-fs-fuse-connections.mount
[ OK ] Mounted Kernel Configuration File System.
sys-kernel-config.mount
run-credentials-systemd\x2dsysusers.service.mount
[ OK ] Finished Load/Save Random Seed.
systemd-random-seed.service
[ OK ] Finished Apply Kernel Variables.
systemd-sysctl.service
[ OK ] Finished Create System Users.
systemd-sysusers.service
Starting Create Static Device Nodes in /dev...
[ OK ] Finished Create Static Device Nodes in /dev.
systemd-tmpfiles-setup-dev.service
Starting Rule-based Manager for Device Events and Files...
[ OK ] Finished Set the console keyboard layout.
[ OK ] Reached target Preparation for Local File Systems.
keyboard-setup.service
Mounting /tmp...
[ OK ] Mounted /tmp.
[ OK ] Reached target Local File Systems.
tmp.mount
Starting Armbian ZRAM config...
Starting Set console font and keymap...
Starting Tell Plymouth To Write Out Runtime Data...
Starting Set Up Additional Binary Formats...
[ OK ] Finished Tell Plymouth To Write Out Runtime Data.
plymouth-read-write.service
[ OK ] Finished Set console font and keymap.
console-setup.service
Mounting Arbitrary Executable File Formats File System...
[ OK ] Mounted Arbitrary Executable File Formats File System.
proc-sys-fs-binfmt_misc.mount
[ OK ] Finished Set Up Additional Binary Formats.
systemd-binfmt.service
[ OK ] Started Rule-based Manager for Device Events and Files.
systemd-udevd.service
[ OK ] Finished Coldplug All udev Devices.
systemd-udev-trigger.service
Starting Helper to synchronize boot up for ifupdown...
Starting Show Plymouth Boot Screen...
[ OK ] Finished Helper to synchronize boot up for ifupdown.
ifupdown-pre.service
Starting Raise network interfaces...
[ OK ] Started Show Plymouth Boot Screen.
plymouth-start.service
[ OK ] Found device /dev/ttyS2.
[ OK ] Created slice Slice /system/systemd-backlight.
[ OK ] Started Forward Password Requests to Plymouth Directory Watch.
[ OK ] Reached target Local Encrypted Volumes.
Starting Load/Save Screen Backlight Brightness of backlight:backlight...
dev-zram0.swap
[ OK ] Finished Load/Save Screen Backlight Brightness of backlight:backlight.
systemd-backlight@backlight:backlight.service
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Finished Armbian ZRAM config.
armbian-zram-config.service
Starting Armbian memory supported logging...
var-log.hdd.mount
var-log.mount
[ OK ] Finished Raise network interfaces.
networking.service
[ OK ] Finished Armbian memory supported logging.
armbian-ramlog.service
Starting Journal Service...
[ OK ] Started Journal Service.
systemd-journald.service
Starting Flush Journal to Persistent Storage...
[ OK ] Finished Flush Journal to Persistent Storage.
systemd-journal-flush.service
Starting Create Volatile Files and Directories...
[ OK ] Finished Create Volatile Files and Directories.
systemd-tmpfiles-setup.service
Mounting RPC Pipe File System...
[ OK ] Started Entropy Daemon based on the HAVEGE algorithm.
haveged.service
Starting RPC bind portmap service...
Starting Network Name Resolution...
Starting Record System Boot/Shutdown in UTMP...
[ OK ] Started RPC bind portmap service.
[ OK ] Reached target RPC Port Mapper.
[ OK ] Mounted RPC Pipe File System.
rpcbind.service
[ OK ] Reached target rpc_pipefs.target.
[ OK ] Reached target NFS client services.
[ OK ] Reached target Preparation for Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ OK ] Finished Record System Boot/Shutdown in UTMP.
[ OK ] Reached target System Initialization.
[ OK ] Started CUPS Scheduler.
run-rpc_pipefs.mount
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Path Units.
[ OK ] Listening on CUPS Scheduler.
systemd-update-utmp.service
[ OK ] Listening on D-Bus System Message Bus Socket.
Starting Socket activation for snappy daemon...
Starting Armbian hardware monitoring...
Starting Armbian hardware optimization...
[ OK ] Listening on Socket activation for snappy daemon.
[ OK ] Reached target Socket Units.
[ OK ] Finished Armbian hardware monitoring.
armbian-hardware-monitor.service
[ OK ] Finished Armbian hardware optimization.
[ OK ] Reached target Basic System.
armbian-hardware-optimize.service
Starting Bluetooth management mechanism...
[ OK ] Started Regular background program processing daemon.
cron.service
[ OK ] Started D-Bus System Message Bus.
dbus.service
Starting Network Manager...
[ OK ] Started Save initial kernel messages after boot.
dmesg.service
Starting Remove Stale Online ext4 Metadata Check Snapshots...
Starting Initialize hardware monitoring sensors...
Starting LSB: Load kernel modules needed to enable cpufreq scaling...
Starting LSB: rng-tools (Debian variant)...
Starting System Logging Service...
[ OK ] Reached target Preparation for Logins.
Starting Wait until snapd is fully seeded...
Starting Snap Daemon...
Starting Resets System Activity Logs...
Starting User Login Management...
Starting Disk Manager...
Starting WPA supplicant...
[ OK ] Finished Remove Stale Online ext4 Metadata Check Snapshots.
[ OK ] Finished Initialize hardware monitoring sensors.
lm-sensors.service
sysstat.service
[ OK ] Finished Resets System Activity Logs.
[ OK ] Started System Logging Service.
rsyslog.service
systemd-resolved.service
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Host and Network Name Lookups.
rng-tools-debian.service
[ OK ] Started LSB: rng-tools (Debian variant).
loadcpufreq.service
[ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
Starting LSB: set CPUFreq kernel parameters...
[ OK ] Started LSB: set CPUFreq kernel parameters.
cpufrequtils.service
Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[ OK ] Started WPA supplicant.
wpa_supplicant.service
[ OK ] Started User Login Management.
[ OK ] Started Network Manager.
systemd-logind.service
[ OK ] Reached target Network.
[ OK ] Reached target Network is Online.
[ OK ] Started Download data for packages that failed at package install time.
NetworkManager.service
Starting chrony, an NTP client/server...
Starting CUPS Scheduler...
Starting OpenVPN service...
Starting /etc/rc.local Compatibility...
Starting Notify NFS peers of a restart...
Starting OpenBSD Secure Shell server...
Starting Permit User Sessions...
[ OK ] Started Unattended Upgrades Shutdown.
unattended-upgrades.service
[ OK ] Started vnStat network traffic monitor.
vnstat.service
[ OK ] Finished OpenVPN service.
sys-kernel-debug-tracing.mount
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Finished Permit User Sessions.
openvpn.service
rc-local.service
systemd-user-sessions.service
Starting Hold until boot process finishes up...
Starting Terminate Plymouth Boot Screen...
Starting Authorization Manager...

Armbian-unofficial 24.5.0-trunk Jammy ttyS2

zc-328 login:
`

@Angelic47
Copy link
Member

Hi,

The ZC-328 board lacks a 100R resistor at the back position of the UART interface, as shown in the picture.
image
This has resulted in the UART 2 RXD and the RK3288 CPU being effectively open circuit. An open circuit can be observed when measured with the resistance setting on a multimeter.

Please either short this spot directly to use the UART terminal normally, or add the missing 100R resistor.

Regarding the HDMI output, the boot log you provided is the init boot message, not the kernel log (which in fact would not confirm the problem either).
Therefore, I cannot ascertain the issue, but you might control the system via UART after fixing the UART terminal and further investigate the issue.

I hope this helps!

@cntvro
Copy link
Author

cntvro commented Apr 17, 2024

QQ20240417162802
Are these two points? I tried to short circuit, but I still can't input information. Thank you!

@Angelic47
Copy link
Member

Angelic47 commented Apr 17, 2024

Hi, yes short this spot directly and UART RXD (looks from RK3288 side, for PC side it sames as CH340_TX) would be connected.
If still not, please check your soldering or wiring, or simply check if your wire was broken.
Using a multimeter would helps you to troubleshoot what's going wrong, if necessarily.

Please notice: it's seems you get some obfuscated with GND and UART RXD.
The pin from left to right is: GND, RXD, TXD, VCC.
In your picture the TXD lines is actually connected with a black line. It's strange.
I'm not sure if you are connected right or not.

DO NOT CONNECT VCC PIN TO CH340 OR YOUR BOARD WILL BE FRYED.

@cntvro
Copy link
Author

cntvro commented Apr 17, 2024

I think my wiring should be correct, because there is no boot information displayed when it is connected incorrectly. I measured the wiring without short circuit with a multimeter.
QQ20240417171859

@cntvro
Copy link
Author

cntvro commented Apr 17, 2024

I tried again and again, and I succeeded. Thank you.

@Angelic47
Copy link
Member

Glad to hear your success! 🎉
Could you please tell us the story that happend in past 30 minutes?
I feel so interesting and want to know what causes you can't input anything to the uart terminal even you shorted the RXD resistor 😆

@cntvro
Copy link
Author

cntvro commented Apr 17, 2024

I started using CH340, and I didn't know to short it.
Later, I used PL2303TA again, but it still didn't work, because PA2303TA can be input but not confirmed. Until I saw you say CH340, I switched back to CH340, and I didn't expect to short it. Thank you very much. I'm sure I'll trouble you later. Are you from China?

@cntvro
Copy link
Author

cntvro commented Apr 17, 2024

It's the first time to enter, it's memorable, thank you, haha.

|__ / | /___ ( _ ) | _ | |/ /___ /___ ( _ ) ( _ ) / | ___
/ / | |
\ __) / _ \ | |
) | ' / |
\ ) / _ \ / _ \ | | _ / _
/ /| |
_ ) / __/ () | | _ <| . \ ) / __/ () | () | | || | __/
/
_|/____/ || __|__/_/ _/ __|_|

             _        ____                      _

_ __ ___ _ (_) ___ | __ ) ___ __ _ _ __ | |
| '
\ / _ \ '
| |/ | | _ \ / _ \ / | '__/ _ |
| | | | / | | | ( | |
) | () | (| | | | (| |
|
| |_|_
|| ||_
| |____/ __/ _,|| _,_|

Welcome to Armbian-unofficial 24.5.0-trunk Jammy with Linux 6.1.86-current-rockchip

No end-user support: built from trunk

System load: 66% Up time: 0 min
Memory usage: 7% of 1.93G IP:
CPU temp: 47°C Usage of /: 23% of 15G

root@zc-328:~#

@Angelic47
Copy link
Member

Yes, absolutely, I can speak Chinese and I can understand what you say.
The only reason that I'm using English now is making these contents being helpful for others who might have the same issue.
Especially, for someone the native language is not Chinese.

Don't be worry, any language would be fine there.


是的,当然,我可以和你说中文,也能看得懂你的内容的。
唯一一个我继续使用英语的原因是这样会让这些内容对其他遇到同样问题的人来说更有帮助。
尤其是对于那些母语并不是中文的人来说更是这样。

不要担心,无论你选什么语言都是可以的呢。

@cntvro
Copy link
Author

cntvro commented Apr 17, 2024

Ok, thank you. HDMI and Internet are still not working. Please see what the problem is. And the system will automatically restart every once in a while.谢谢!
kern.log.txt
syslog.txt

@Angelic47
Copy link
Member

Very glad to see you are in bash terminal now! 🎉
For the HDMI video, you might want to use dmesg to get the full kernel logs, or ls /dev to check if there has a framebuffer device fb0.
And you may needs the panfrost driver to enable the GPU acceleration, which maximums the desktop performance for RK3288.

This can be very similar (even same) with other RK3288 series boards. Any other documentation for RK3288 boards can be referred.

@cntvro
Copy link
Author

cntvro commented Apr 17, 2024

root@zc-328:~# ls /dev
autofs hwrng mqueue tty17 tty40 tty7 vcsa3
block i2c-0 net tty18 tty41 tty8 vcsa4
btrfs-control i2c-5 null tty19 tty42 tty9 vcsa5
bus iio:device0 ppp tty2 tty43 ttyS0 vcsa6
cachefiles initctl ptmx tty20 tty44 ttyS1 vcsa7
cec0 input pts tty21 tty45 ttyS2 vcsu
char kmsg ram0 tty22 tty46 ttyS3 vcsu1
console log random tty23 tty47 ttyS4 vcsu2
cpu_dma_latency loop0 rfkill tty24 tty48 uhid vcsu3
cuse loop1 rtc tty25 tty49 uinput vcsu4
disk loop2 rtc0 tty26 tty5 urandom vcsu5
dma_heap loop3 shm tty27 tty50 usbmon0 vcsu6
dri loop4 snd tty28 tty51 usbmon1 vcsu7
fb0 loop5 stderr tty29 tty52 usbmon2 vhci
fd loop6 stdin tty3 tty53 v4l video0
full loop7 stdout tty30 tty54 vcs video1
fuse loop-control tty tty31 tty55 vcs1 video2
gpiochip0 mapper tty0 tty32 tty56 vcs2 video3
gpiochip1 media0 tty1 tty33 tty57 vcs3 video4
gpiochip2 media1 tty10 tty34 tty58 vcs4 watchdog
gpiochip3 mem tty11 tty35 tty59 vcs5 watchdog0
gpiochip4 mmcblk2 tty12 tty36 tty6 vcs6 zero
gpiochip5 mmcblk2boot0 tty13 tty37 tty60 vcs7 zram0
gpiochip6 mmcblk2boot1 tty14 tty38 tty61 vcsa zram1
gpiochip7 mmcblk2p1 tty15 tty39 tty62 vcsa1 zram2
gpiochip8 mmcblk2rpmb tty16 tty4 tty63 vcsa2

root@zc-328:# dmesg
[ 0.000000] Booting Linux on physical CPU 0x500
[ 0.000000] Linux version 6.1.86-current-rockchip (armbian@next) (arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1
22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #2 SMP PREEMPT Sat Apr 13 19:05:29 CST 2024
[ 0.000000] CPU: ARMv7 Processor [410fc0d1] revision 1 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Rockchip RK3288 EVB RK808
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 16 MiB at 0x7f000000
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000002fffffff]
[ 0.000000] HighMem [mem 0x0000000030000000-0x000000007fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x00000000083fffff]
[ 0.000000] node 0: [mem 0x000000000a400000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] percpu: Embedded 18 pages/cpu s42708 r8192 d22828 u73728
[ 0.000000] pcpu-alloc: s42708 r8192 d22828 u73728 alloc=18*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 514368
[ 0.000000] Kernel command line: earlyprintk root=UUID=cf88a7e9-4dea-40fd-8373-62e1be4ab653 rootwait rootfstype=ext4 splash=verbose console=ttyS2,115200n8 console=tty1 consoleblank=0 loglevel=1 ubootpart=9c95c7d7-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u coherent_pool=2M cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[ 0.000000] Unknown kernel command line parameters "earlyprintk splash=verbose ubootpart=9c95c7d7-01 cgroup_enable=memory cgroup_memory=1", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] allocated 2097152 bytes of page_ext
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1986296K/2064384K available (16384K kernel code, 2062K rwdata, 3544K rodata, 1024K init, 590K bss, 61704K reserved, 16384K cma-reserved, 1294336K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 48978 entries in 144 pages
[ 0.000000] ftrace: allocated 144 pages with 2 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 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] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000021] Switching to timer-based delay loop, resolution 41ns
[ 0.001864] Console: colour dummy device 80x30
[ 0.001933] printk: console [tty1] enabled
[ 0.001992] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.002015] CPU: Testing write buffer coherency: ok
[ 0.002063] CPU0: Spectre v2: using BPIALL workaround
[ 0.002076] pid_max: default: 32768 minimum: 301
[ 0.002210] LSM: Security Framework initializing
[ 0.002234] Yama: becoming mindful.
[ 0.002398] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.002424] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.003857] CPU0: thread -1, cpu 0, socket 5, mpidr 80000500
[ 0.005323] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.005338] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.005504] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.005516] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.005671] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.005683] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.005858] Setting up static identity map for 0x100000 - 0x100060
[ 0.006050] rcu: Hierarchical SRCU implementation.
[ 0.006060] rcu: Max phase no-delay instances is 1000.
[ 0.007011] smp: Bringing up secondary CPUs ...
[ 0.009097] CPU1: thread -1, cpu 1, socket 5, mpidr 80000501
[ 0.009120] CPU1: Spectre v2: using BPIALL workaround
[ 0.011308] CPU2: thread -1, cpu 2, socket 5, mpidr 80000502
[ 0.011329] CPU2: Spectre v2: using BPIALL workaround
[ 0.013563] CPU3: thread -1, cpu 3, socket 5, mpidr 80000503
[ 0.013584] CPU3: Spectre v2: using BPIALL workaround
[ 0.013741] smp: Brought up 1 node, 4 CPUs
[ 0.013761] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.013776] CPU: All CPU(s) started in SVC mode.
[ 0.014629] devtmpfs: initialized
[ 0.028832] VFP support v0.3: implementor 41 architecture 3 part 30 variant d rev 0
[ 0.029137] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.029168] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.030070] pinctrl core: initialized pinctrl subsystem
[ 0.031748] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.036442] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[ 0.037238] audit: initializing netlink subsys (disabled)
[ 0.037499] audit: type=2000 audit(0.036:1): state=initialized audit_enabled=0 res=1
[ 0.038808] thermal_sys: Registered thermal governor 'step_wise'
[ 0.038891] cpuidle: using governor ladder
[ 0.038935] cpuidle: using governor menu
[ 0.039742] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.039762] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.058641] platform ff940000.vop: Fixed dependency cycle(s) with /dp@ff970000
[ 0.058769] platform ff930000.vop: Fixed dependency cycle(s) with /dp@ff970000
[ 0.058876] platform ff970000.dp: Fixed dependency cycle(s) with /vop@ff940000
[ 0.058984] platform ff970000.dp: Fixed dependency cycle(s) with /vop@ff930000
[ 0.059633] platform ff930000.vop: Fixed dependency cycle(s) with /hdmi@ff980000
[ 0.059751] platform ff980000.hdmi: Fixed dependency cycle(s) with /vop@ff930000
[ 0.076886] platform ff970000.dp: Fixed dependency cycle(s) with /panel
[ 0.077019] platform panel: Fixed dependency cycle(s) with /dp@ff970000
[ 0.093605] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 0.164590] raid6: neonx8 gen() 755 MB/s
[ 0.232826] raid6: neonx4 gen() 1229 MB/s
[ 0.300990] raid6: neonx2 gen() 1087 MB/s
[ 0.369156] raid6: neonx1 gen() 766 MB/s
[ 0.437352] raid6: int32x8 gen() 244 MB/s
[ 0.505568] raid6: int32x4 gen() 262 MB/s
[ 0.573757] raid6: int32x2 gen() 273 MB/s
[ 0.641908] raid6: int32x1 gen() 264 MB/s
[ 0.641920] raid6: using algorithm neonx4 gen() 1229 MB/s
[ 0.709970] raid6: .... xor() 814 MB/s, rmw enabled
[ 0.709984] raid6: using neon recovery algorithm
[ 0.711518] iommu: Default domain type: Translated
[ 0.711535] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.712197] SCSI subsystem initialized
[ 0.712462] usbcore: registered new interface driver usbfs
[ 0.712530] usbcore: registered new interface driver hub
[ 0.712592] usbcore: registered new device driver usb
[ 0.712768] mc: Linux media interface: v0.10
[ 0.712839] videodev: Linux video capture interface: v2.00
[ 0.713002] pps_core: LinuxPPS API ver. 1 registered
[ 0.713014] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [email protected]
[ 0.713043] PTP clock support registered
[ 0.714462] Bluetooth: Core ver 2.22
[ 0.714544] NET: Registered PF_BLUETOOTH protocol family
[ 0.714556] Bluetooth: HCI device and connection manager initialized
[ 0.714574] Bluetooth: HCI socket layer initialized
[ 0.714588] Bluetooth: L2CAP socket layer initialized
[ 0.714615] Bluetooth: SCO socket layer initialized
[ 0.714834] NetLabel: Initializing
[ 0.714844] NetLabel: domain hash size = 128
[ 0.714854] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.714952] NetLabel: unlabeled traffic allowed by default
[ 0.715902] clocksource: Switched to clocksource arch_sys_counter
[ 0.716757] VFS: Disk quotas dquot_6.6.0
[ 0.716862] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.717051] FS-Cache: Loaded
[ 0.717310] CacheFiles: Loaded
[ 0.731382] NET: Registered PF_INET protocol family
[ 0.731699] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.734758] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.734804] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.734834] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.734921] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.735299] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.735436] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.735498] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.735804] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.737498] Trying to unpack rootfs image as initramfs...
[ 0.753051] hw perfevents: enabled with armv7_cortex_a12 PMU driver, 7 counters available
[ 0.810103] Initialise system trusted keyrings
[ 0.810466] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[ 0.819258] zbud: loaded
[ 0.821686] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[ 0.970463] xor: measuring software checksum speed
[ 0.980807] arm4regs : 953 MB/sec
[ 0.992671] 8regs : 830 MB/sec
[ 1.004531] 32regs : 830 MB/sec
[ 1.011359] neon : 1446 MB/sec
[ 1.011372] xor: using function: neon (1446 MB/sec)
[ 1.011392] Key type asymmetric registered
[ 1.011402] Asymmetric key parser 'x509' registered
[ 1.011659] bounce: pool size: 64 pages
[ 1.011834] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 242)
[ 1.012176] io scheduler mq-deadline registered
[ 1.012192] io scheduler kyber registered
[ 1.023162] dma-pl330 ff250000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.023188] dma-pl330 ff250000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 1.024622] dma-pl330 ffb20000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.024645] dma-pl330 ffb20000.dma-controller: DBUFF-64x8bytes Num_Chans-5 Num_Peri-6 Num_Events-10
[ 1.026302] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[ 1.029560] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 38, base_baud = 1500000) is a 16550A
[ 1.030937] ff190000.serial: ttyS1 at MMIO 0xff190000 (irq = 39, base_baud = 1500000) is a 16550A
[ 1.032400] ff690000.serial: ttyS2 at MMIO 0xff690000 (irq = 40, base_baud = 1500000) is a 16550A
[ 1.032849] printk: console [ttyS2] enabled
[ 1.034205] ff1b0000.serial: ttyS3 at MMIO 0xff1b0000 (irq = 41, base_baud = 1500000) is a 16550A
[ 1.035582] ff1c0000.serial: ttyS4 at MMIO 0xff1c0000 (irq = 42, base_baud = 1500000) is a 16550A
[ 1.042736] rockchip-vop ff930000.vop: Adding to iommu group 1
[ 1.044062] rockchip-vop ff940000.vop: Adding to iommu group 2
[ 1.049883] rockchip-drm display-subsystem: bound ff930000.vop (ops 0xc118359c)
[ 1.050424] rockchip-drm display-subsystem: bound ff940000.vop (ops 0xc118359c)
[ 1.050524] dwhdmi-rockchip ff980000.hdmi: supply avdd-0v9 not found, using dummy regulator
[ 1.050748] dwhdmi-rockchip ff980000.hdmi: supply avdd-1v8 not found, using dummy regulator
[ 1.051775] usbcore: registered new interface driver udl
[ 1.058870] brd: module loaded
[ 1.068984] loop: module loaded
[ 1.072233] tun: Universal TUN/TAP device driver, 1.6
[ 1.072512] CAN device driver interface
[ 1.074782] usbcore: registered new interface driver rt2500usb
[ 1.074855] usbcore: registered new interface driver rt73usb
[ 1.074933] usbcore: registered new interface driver rt2800usb
[ 1.075016] usbcore: registered new interface driver rtl8xxxu
[ 1.075089] usbcore: registered new interface driver rndis_wlan
[ 1.075150] usbcore: registered new interface driver cdc_ether
[ 1.075207] usbcore: registered new interface driver rndis_host
[ 1.075794] dwc2 ff540000.usb: supply vusb_d not found, using dummy regulator
[ 1.076045] dwc2 ff540000.usb: supply vusb_a not found, using dummy regulator
[ 1.284584] dwc2 ff540000.usb: DWC OTG Controller
[ 1.284634] dwc2 ff540000.usb: new USB bus registered, assigned bus number 1
[ 1.284686] dwc2 ff540000.usb: irq 48, io mem 0xff540000
[ 1.284958] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[ 1.284984] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.285001] usb usb1: Product: DWC OTG Controller
[ 1.285015] usb usb1: Manufacturer: Linux 6.1.86-current-rockchip dwc2_hsotg
[ 1.285028] usb usb1: SerialNumber: ff540000.usb
[ 1.285865] hub 1-0:1.0: USB hub found
[ 1.285927] hub 1-0:1.0: 1 port detected
[ 1.288735] ehci-platform ff500000.usb: EHCI Host Controller
[ 1.288864] usbcore: registered new interface driver usb-storage
[ 1.289105] ehci-platform ff500000.usb: new USB bus registered, assigned bus number 2
[ 1.289770] usbcore: registered new interface driver iforce
[ 1.289867] usbcore: registered new interface driver xpad
[ 1.289928] ehci-platform ff500000.usb: irq 49, io mem 0xff500000
[ 1.290010] usbcore: registered new interface driver usbtouchscreen
[ 1.290610] i2c_dev: i2c /dev entries driver
[ 1.292946] i2c 0-001b: Fixed dependency cycle(s) with /i2c@ff650000/pmic@1b/regulators/LDO_REG1
[ 1.292999] i2c 0-001b: Fixed dependency cycle(s) with /i2c@ff650000/pmic@1b/regulators/DCDC_REG4
[ 1.293039] i2c 0-001b: Fixed dependency cycle(s) with /i2c@ff650000/pmic@1b/regulators/LDO_REG7
[ 1.295627] usbcore: registered new interface driver bfusb
[ 1.295718] usbcore: registered new interface driver btusb
[ 1.296296] sdhci: Secure Digital Host Controller Interface driver
[ 1.296310] sdhci: Copyright(c) Pierre Ossman
[ 1.296319] Synopsys Designware Multimedia Card Interface Driver
[ 1.296885] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.297334] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.297435] hid: raw HID events driver (C) Jiri Kosina
[ 1.297830] usbcore: registered new interface driver usbhid
[ 1.297847] usbhid: USB HID core driver
[ 1.298099] dwmmc_rockchip ff0f0000.mmc: IDMAC supports 32-bit address mode.
[ 1.298466] dwmmc_rockchip ff0f0000.mmc: Using internal DMA controller.
[ 1.298490] dwmmc_rockchip ff0f0000.mmc: Version ID is 270a
[ 1.298566] dwmmc_rockchip ff0f0000.mmc: DW MMC controller at irq 52,32 bit host data width,256 deep fifo
[ 1.299056] mmc_host mmc2: card is non-removable.
[ 1.300798] NET: Registered PF_INET6 protocol family
[ 1.302696] Segment Routing with IPv6
[ 1.302774] In-situ OAM (IOAM) with IPv6
[ 1.302899] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.304725] NET: Registered PF_PACKET protocol family
[ 1.304795] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.304811] can: controller area network core
[ 1.304892] NET: Registered PF_CAN protocol family
[ 1.305111] Bluetooth: RFCOMM TTY layer initialized
[ 1.305138] Bluetooth: RFCOMM socket layer initialized
[ 1.305173] Bluetooth: RFCOMM ver 1.11
[ 1.305204] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.305226] Bluetooth: HIDP socket layer initialized
[ 1.305436] 8021q: 802.1Q VLAN Support v1.8
[ 1.305479] lib80211: common routines for IEEE802.11 drivers
[ 1.305491] lib80211_crypt: registered algorithm 'NULL'
[ 1.305502] lib80211_crypt: registered algorithm 'WEP'
[ 1.305513] lib80211_crypt: registered algorithm 'CCMP'
[ 1.305523] lib80211_crypt: registered algorithm 'TKIP'
[ 1.305586] Key type dns_resolver registered
[ 1.305787] ThumbEE CPU extension supported.
[ 1.305807] Registering SWP/SWPB emulation handler
[ 1.306275] Loading compiled-in X.509 certificates
[ 1.307952] ehci-platform ff500000.usb: USB 2.0 started, EHCI 1.00
[ 1.308349] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[ 1.308379] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.308398] usb usb2: Product: EHCI Host Controller
[ 1.308412] usb usb2: Manufacturer: Linux 6.1.86-current-rockchip ehci_hcd
[ 1.308426] usb usb2: SerialNumber: ff500000.usb
[ 1.309334] hub 2-0:1.0: USB hub found
[ 1.309420] hub 2-0:1.0: 1 port detected
[ 1.312037] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 1.313264] zswap: loaded using pool zstd/z3fold
[ 1.314049] Key type .fscrypt registered
[ 1.314066] Key type fscrypt-provisioning registered
[ 1.315821] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[ 1.361816] rockchip-drm display-subsystem: bound ff930000.vop (ops 0xc118359c)
[ 1.362348] rockchip-drm display-subsystem: bound ff940000.vop (ops 0xc118359c)
[ 1.362450] dwhdmi-rockchip ff980000.hdmi: supply avdd-0v9 not found, using dummy regulator
[ 1.362665] dwhdmi-rockchip ff980000.hdmi: supply avdd-1v8 not found, using dummy regulator
[ 1.362942] dwhdmi-rockchip ff980000.hdmi: Detected HDMI TX controller v2.01a with HDCP (DWC HDMI 2.0 TX PHY)
[ 1.363868] rockchip-drm display-subsystem: bound ff980000.hdmi (ops 0xc1187288)
[ 1.365019] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[ 1.365117] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[ 1.366771] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[ 1.366819] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[ 1.368941] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1.436699] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[ 1.437420] mmc2: new high speed MMC card at address 0001
[ 1.438574] mmcblk2: mmc2:0001 58A431 14.6 GiB
[ 1.469510] mmcblk2: p1
[ 1.470586] mmcblk2boot0: mmc2:0001 58A431 4.00 MiB
[ 1.473119] mmcblk2boot1: mmc2:0001 58A431 4.00 MiB
[ 1.475233] mmcblk2rpmb: mmc2:0001 58A431 4.00 MiB, chardev (240:0)
[ 2.141208] Freeing initrd memory: 16036K
[ 2.171143] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 2.173810] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 2.186996] Freeing unused kernel image (initmem) memory: 1024K
[ 2.187418] Run /init as init process
[ 2.187430] with arguments:
[ 2.187438] /init
[ 2.187446] earlyprintk
[ 2.187454] with environment:
[ 2.187461] HOME=/
[ 2.187469] TERM=linux
[ 2.187476] splash=verbose
[ 2.187484] ubootpart=9c95c7d7-01
[ 2.187491] cgroup_enable=memory
[ 2.187499] cgroup_memory=1
[ 3.079511] rockchip-gpio ff750000.gpio: probed /pinctrl/gpio@ff750000
[ 3.081359] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
[ 3.081615] rk808 0-001b: chip id: 0x0
[ 3.082084] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
[ 3.082871] rockchip-gpio ff7a0000.gpio: probed /pinctrl/gpio@ff7a0000
[ 3.084117] rockchip-gpio ff7b0000.gpio: probed /pinctrl/gpio@ff7b0000
[ 3.085110] rockchip-gpio ff7c0000.gpio: probed /pinctrl/gpio@ff7c0000
[ 3.085900] rockchip-gpio ff7d0000.gpio: probed /pinctrl/gpio@ff7d0000
[ 3.086710] rockchip-gpio ff7e0000.gpio: probed /pinctrl/gpio@ff7e0000
[ 3.087748] rockchip-gpio ff7f0000.gpio: probed /pinctrl/gpio@ff7f0000
[ 3.090777] rk808-regulator rk808-regulator: there is no dvs0 gpio
[ 3.090860] rk808-regulator rk808-regulator: there is no dvs1 gpio
[ 3.106473] vcc_tp: Bringing 3000000uV into 3300000-3300000uV
[ 3.130533] vdd10_lcd: Bringing 800000uV into 1000000-1000000uV
[ 3.147536] vcca_codec: Bringing 1800000uV into 3300000-3300000uV
[ 3.188166] rk808-rtc rk808-rtc: registered as rtc0
[ 3.191394] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T09:30:13 UTC (1358501413)
[ 3.199029] pwm-backlight backlight: supply power not found, using dummy regulator
[ 3.206701] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[ 3.207024] dwmmc_rockchip ff0c0000.mmc: IDMAC supports 32-bit address mode.
[ 3.208777] dwmmc_rockchip ff0c0000.mmc: Using internal DMA controller.
[ 3.208809] dwmmc_rockchip ff0c0000.mmc: Version ID is 270a
[ 3.208825] panfrost ffa30000.gpu: clock rate = 400000000
[ 3.208887] dwmmc_rockchip ff0c0000.mmc: DW MMC controller at irq 75,32 bit host data width,256 deep fifo
[ 3.244525] Console: switching to colour frame buffer device 240x67
[ 3.278862] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[ 3.316355] panfrost ffa30000.gpu: [drm:panfrost_devfreq_init [panfrost]] Failed to register cooling device
[ 3.316486] panfrost ffa30000.gpu: mali-t760 id 0x750 major 0x1 minor 0x0 status 0x0
[ 3.316511] panfrost ffa30000.gpu: features: 00000000,00000407, issues: 00000000,24040400
[ 3.316531] panfrost ffa30000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[ 3.316555] panfrost ffa30000.gpu: shader_present=0xf l2_present=0x1
[ 3.321869] [drm] Initialized panfrost 1.2.0 20180908 for ffa30000.gpu on minor 1
[ 3.326171] rk_gmac-dwmac ff290000.ethernet: IRQ eth_lpi not found
[ 3.326330] rk_gmac-dwmac ff290000.ethernet: PTP uses main clock
[ 3.326800] rk_gmac-dwmac ff290000.ethernet: clock input or output? (input).
[ 3.326825] rk_gmac-dwmac ff290000.ethernet: TX delay(0x30).
[ 3.326844] rk_gmac-dwmac ff290000.ethernet: RX delay(0x10).
[ 3.326869] rk_gmac-dwmac ff290000.ethernet: integrated PHY? (no).
[ 3.326939] rk_gmac-dwmac ff290000.ethernet: clock input from PHY
[ 3.328031] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 3.334638] rk_gmac-dwmac ff290000.ethernet: init for RGMII
[ 3.340457] rk_gmac-dwmac ff290000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[ 3.340497] rk_gmac-dwmac ff290000.ethernet: DWMAC1000
[ 3.340514] rk_gmac-dwmac ff290000.ethernet: DMA HW capability register supported
[ 3.340528] rk_gmac-dwmac ff290000.ethernet: RX Checksum Offload Engine supported
[ 3.340541] rk_gmac-dwmac ff290000.ethernet: COE Type 2
[ 3.340555] rk_gmac-dwmac ff290000.ethernet: TX Checksum insertion supported
[ 3.340567] rk_gmac-dwmac ff290000.ethernet: Wake-Up On Lan supported
[ 3.340887] rk_gmac-dwmac ff290000.ethernet: Normal descriptors
[ 3.340910] rk_gmac-dwmac ff290000.ethernet: Ring mode enabled
[ 3.340924] rk_gmac-dwmac ff290000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 4.009097] dw-apb-uart ff690000.serial: forbid DMA for kernel console
[ 4.419341] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ 4.419374] mdio_bus stmmac-0:01: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[ 4.512439] EXT4-fs (mmcblk2p1): mounted filesystem with writeback data mode. Quota mode: none.
[ 5.125688] systemd[1]: System time before build time, advancing clock.
[ 5.181040] systemd[1]: systemd 249.11-0ubuntu3.12 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 5.182771] systemd[1]: Detected architecture arm.
[ 5.186101] systemd[1]: Hostname set to .
[ 7.247926] random: crng init done
[ 7.563347] systemd[1]: Queued start job for default target Graphical Interface.
[ 7.593211] systemd[1]: Created slice Slice /system/modprobe.
[ 7.598618] systemd[1]: Created slice Slice /system/serial-getty.
[ 7.601898] systemd[1]: Created slice User and Session Slice.
[ 7.603268] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 7.605992] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 7.608265] systemd[1]: Reached target Slice Units.
[ 7.608847] systemd[1]: Reached target Mounting snaps.
[ 7.609328] systemd[1]: Reached target Mounted snaps.
[ 7.610018] systemd[1]: Reached target Swaps.
[ 7.610616] systemd[1]: Reached target System Time Set.
[ 7.612037] systemd[1]: Reached target Local Verity Protected Volumes.
[ 7.650070] systemd[1]: Listening on RPCbind Server Activation Socket.
[ 7.652390] systemd[1]: Listening on Syslog Socket.
[ 7.653726] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 7.654529] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 7.656654] systemd[1]: Listening on Journal Audit Socket.
[ 7.657946] systemd[1]: Listening on Journal Socket (/dev/log).
[ 7.659482] systemd[1]: Listening on Journal Socket.
[ 7.662904] systemd[1]: Listening on udev Control Socket.
[ 7.664243] systemd[1]: Listening on udev Kernel Socket.
[ 7.665566] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 7.696485] systemd[1]: Mounting POSIX Message Queue File System...
[ 7.705151] systemd[1]: Mounting Kernel Debug File System...
[ 7.714926] systemd[1]: Mounting Kernel Trace File System...
[ 7.717684] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[ 7.729862] systemd[1]: Starting Restore / save the current clock...
[ 7.740722] systemd[1]: Starting Set the console keyboard layout...
[ 7.751869] systemd[1]: Starting Create List of Static Device Nodes...
[ 7.765278] systemd[1]: Starting Load Kernel Module configfs...
[ 7.778921] systemd[1]: Starting Load Kernel Module drm...
[ 7.791236] systemd[1]: Starting Load Kernel Module efi_pstore...
[ 7.805060] systemd[1]: Starting Load Kernel Module fuse...
[ 7.811111] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[ 7.843077] fuse: init (API version 7.37)
[ 7.849022] systemd[1]: Starting Load Kernel Modules...
[ 7.859605] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 7.879014] systemd[1]: Starting Coldplug All udev Devices...
[ 7.899275] systemd[1]: Mounted POSIX Message Queue File System.
[ 7.900874] systemd[1]: Mounted Kernel Debug File System.
[ 7.902385] systemd[1]: Mounted Kernel Trace File System.
[ 7.906745] systemd[1]: Finished Restore / save the current clock.
[ 7.911776] systemd[1]: Finished Create List of Static Device Nodes.
[ 7.915250] systemd[1]: [email protected]: Deactivated successfully.
[ 7.918544] systemd[1]: Finished Load Kernel Module configfs.
[ 7.922105] systemd[1]: [email protected]: Deactivated successfully.
[ 7.925816] systemd[1]: Finished Load Kernel Module drm.
[ 7.929784] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[ 7.932496] systemd[1]: Finished Load Kernel Module efi_pstore.
[ 7.937066] systemd[1]: [email protected]: Deactivated successfully.
[ 7.939452] systemd[1]: Finished Load Kernel Module fuse.
[ 7.941627] EXT4-fs (mmcblk2p1): re-mounted. Quota mode: none.
[ 7.943415] systemd[1]: Finished Load Kernel Modules.
[ 7.956077] systemd[1]: Finished Remount Root and Kernel File Systems.
[ 7.984715] systemd[1]: Mounting FUSE Control File System...
[ 8.004643] systemd[1]: Mounting Kernel Configuration File System...
[ 8.005795] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[ 8.017442] systemd[1]: Starting Load/Save Random Seed...
[ 8.040889] systemd[1]: Starting Apply Kernel Variables...
[ 8.060219] systemd[1]: Starting Create System Users...
[ 8.070325] systemd[1]: Mounted FUSE Control File System.
[ 8.087969] systemd[1]: Mounted Kernel Configuration File System.
[ 8.107633] systemd[1]: Finished Load/Save Random Seed.
[ 8.110288] systemd[1]: Condition check resulted in First Boot Complete being skipped.
[ 8.200445] systemd[1]: Finished Apply Kernel Variables.
[ 8.205644] systemd[1]: Finished Create System Users.
[ 8.248942] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 8.348043] systemd[1]: Finished Create Static Device Nodes in /dev.
[ 8.393158] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[ 8.398287] systemd[1]: Finished Set the console keyboard layout.
[ 8.401076] systemd[1]: Reached target Preparation for Local File Systems.
[ 8.415397] systemd[1]: Mounting /tmp...
[ 8.444786] systemd[1]: Mounted /tmp.
[ 8.446062] systemd[1]: Reached target Local File Systems.
[ 8.457252] systemd[1]: Condition check resulted in Load AppArmor profiles being skipped.
[ 8.497125] systemd[1]: Starting Armbian ZRAM config...
[ 8.513434] systemd[1]: Starting Set console font and keymap...
[ 8.530883] systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
[ 8.536714] systemd[1]: Condition check resulted in RPC security service for NFS server being skipped.
[ 8.537089] systemd[1]: Condition check resulted in Load AppArmor profiles managed internally by snapd being skipped.
[ 8.555614] systemd[1]: Starting Set Up Additional Binary Formats...
[ 8.564841] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[ 8.565556] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[ 8.588012] systemd[1]: Received SIGRTMIN+20 from PID 221 (plymouthd).
[ 8.595562] systemd[1]: Finished Set console font and keymap.
[ 8.609218] systemd[1]: Finished Tell Plymouth To Write Out Runtime Data.
[ 8.648603] systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 335 (systemd-binfmt)
[ 8.688507] systemd[1]: Mounting Arbitrary Executable File Formats File System...
[ 8.754586] systemd[1]: Mounted Arbitrary Executable File Formats File System.
[ 8.773979] systemd[1]: Finished Set Up Additional Binary Formats.
[ 8.815349] systemd[1]: Started Rule-based Manager for Device Events and Files.
[ 8.934130] systemd[1]: Finished Coldplug All udev Devices.
[ 8.996428] systemd[1]: Starting Helper to synchronize boot up for ifupdown...
[ 9.029132] systemd[1]: Starting Show Plymouth Boot Screen...
[ 9.102797] systemd[1]: Finished Helper to synchronize boot up for ifupdown.
[ 9.165034] systemd[1]: Starting Raise network interfaces...
[ 9.239621] systemd[1]: Started Show Plymouth Boot Screen.
[ 9.255325] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch being skipped.
[ 9.257073] systemd[1]: Started Forward Password Requests to Plymouth Directory Watch.
[ 9.272686] systemd[1]: Reached target Local Encrypted Volumes.
[ 9.390971] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 500000 KHz, changing to: 600000 KHz
[ 9.403873] systemd[1]: Created slice Slice /system/systemd-backlight.
[ 9.431713] zram: Added device: zram0
[ 9.432469] systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:backlight...
[ 9.447998] zram: Added device: zram1
[ 9.448716] zram: Added device: zram2
[ 9.466554] systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:backlight.
[ 9.555949] dw_wdt ff800000.watchdog: No valid TOPs array specified
[ 9.556903] rockchip-iep ff900000.iep: Adding to iommu group 0
[ 9.557292] rockchip-iep ff900000.iep: Device rockchip-iep registered as /dev/video0
[ 9.579978] systemd[1]: Found device /dev/ttyS2.
[ 9.584529] rockchip-rga ff920000.rga: HW Version: 0x03.00
[ 9.587536] rk3288-crypto ff8a0000.crypto: will run requests pump with realtime priority
[ 9.605336] rockchip_vdec: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.617539] hantro-vpu ff9a0000.video-codec: Adding to iommu group 3
[ 9.617908] rockchip-rga ff920000.rga: Registered rockchip-rga as /dev/video1
[ 9.620057] rk3288-crypto ff8a0000.crypto: Crypto Accelerator successfully registered
[ 9.624330] hantro-vpu ff9a0000.video-codec: registered rockchip,rk3288-vpu-enc as /dev/video2
[ 9.624477] hantro-vpu ff9a0000.video-codec: registered rockchip,rk3288-vpu-dec as /dev/video3
[ 9.639919] rkvdec ff9c0000.hevc: Adding to iommu group 4
[ 9.652063] zram0: detected capacity change from 0 to 2019744
[ 9.736660] Adding 1009868k swap on /dev/zram0. Priority:5 extents:1 across:1009868k SSFS
[ 9.866461] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ 9.951612] zram1: detected capacity change from 0 to 102400
[ 10.020320] systemd[1]: Finished Armbian ZRAM config.
[ 10.050129] systemd[1]: Starting Armbian memory supported logging...
[ 10.101910] EXT4-fs (zram1): mounted filesystem without journal. Quota mode: none.
[ 10.122319] systemd[1]: Finished Raise network interfaces.
[ 12.243963] systemd[1]: Finished Armbian memory supported logging.
[ 12.273686] systemd[1]: Starting Journal Service...
[ 12.386380] systemd[1]: Started Journal Service.
[ 12.431717] systemd-journald[713]: Received client request to flush runtime journal.
[ 12.606602] RPC: Registered named UNIX socket transport module.
[ 12.606616] RPC: Registered udp transport module.
[ 12.606619] RPC: Registered tcp transport module.
[ 12.606622] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 15.442159] loop0: detected capacity change from 0 to 8
[ 15.490622] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 15.738108] rk_gmac-dwmac ff290000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 15.740918] rk_gmac-dwmac ff290000.ethernet eth0: PHY [stmmac-0:00] driver [Generic PHY] (irq=POLL)
[ 15.948580] rk_gmac-dwmac ff290000.ethernet: Failed to reset the dma
[ 15.948597] rk_gmac-dwmac ff290000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[ 15.948604] rk_gmac-dwmac ff290000.ethernet eth0: __stmmac_open: Hw setup failed
[ 16.000400] rk_gmac-dwmac ff290000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 16.004504] rk_gmac-dwmac ff290000.ethernet eth0: PHY [stmmac-0:00] driver [Generic PHY] (irq=POLL)
[ 16.211939] rk_gmac-dwmac ff290000.ethernet: Failed to reset the dma
[ 16.211958] rk_gmac-dwmac ff290000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[ 16.211965] rk_gmac-dwmac ff290000.ethernet eth0: __stmmac_open: Hw setup failed
[ 16.224457] rk_gmac-dwmac ff290000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 16.226031] rk_gmac-dwmac ff290000.ethernet eth0: PHY [stmmac-0:00] driver [Generic PHY] (irq=POLL)
[ 16.433967] rk_gmac-dwmac ff290000.ethernet: Failed to reset the dma
[ 16.433983] rk_gmac-dwmac ff290000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[ 16.433989] rk_gmac-dwmac ff290000.ethernet eth0: __stmmac_open: Hw setup failed
[ 16.444820] rk_gmac-dwmac ff290000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 16.446477] rk_gmac-dwmac ff290000.ethernet eth0: PHY [stmmac-0:00] driver [Generic PHY] (irq=POLL)
[ 16.651919] rk_gmac-dwmac ff290000.ethernet: Failed to reset the dma
[ 16.651935] rk_gmac-dwmac ff290000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[ 16.651941] rk_gmac-dwmac ff290000.ethernet eth0: __stmmac_open: Hw setup failed
[ 16.664041] rk_gmac-dwmac ff290000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 16.665616] rk_gmac-dwmac ff290000.ethernet eth0: PHY [stmmac-0:00] driver [Generic PHY] (irq=POLL)
[ 16.867919] rk_gmac-dwmac ff290000.ethernet: Failed to reset the dma
[ 16.867935] rk_gmac-dwmac ff290000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[ 16.867942] rk_gmac-dwmac ff290000.ethernet eth0: __stmmac_open: Hw setup failed

dev.txt
dmesg.txt

@cntvro
Copy link
Author

cntvro commented Apr 17, 2024

Please forgive me for being a newbie, with only a little linux foundation! I will strengthen my study.

@Angelic47
Copy link
Member

Regarding the automatic restart, here's what I know:

The board features an STC15 8051 microcontroller.
Its P1.3 pin is connected to the reset pin of the RK808 power chip. Additionally, its UART is connected to UART3 of the RK3288, used for receiving commands from the RK3288.

Undoubtedly, this STC15 microcontroller implements a simple watchdog timer.
If it is not periodically send the command to it, it will reset the power chip every ~5-10min, causing a complete power outage of the board.
Moreover, the STC15 microcontroller also implements features such as timed power-on and infrared remote power control (as described in the original manufacturer's promotional materials).

Clearly, I have no clue on this,
as I cannot access the firmware of this STC15 microcontroller using any non-invasive method.
I also have no way to obtain the original manufacturer's ZC-328 firmware, as they keep it strictly confidential.

Therefore, I can only suggest the following two approaches:

  1. Rewrite the firmware for the STC15 microcontroller. Pulling P1.3 to a low level will keep the RK808 power chip continuously operational;
  2. Remove the STC15 microcontroller entirely, and solder the P1.3 pin to a low level.

关于全自动重启,这是我知道的:

这个板子上拥有一颗STC15的8051单片机。其P1.3引脚接到了RK808电源芯片的复位引脚。
另外,其UART接到了RK3288的UART3,用于接收来自RK3288的指令。

毫无疑问这个STC15单片机实现了一个简单的看门狗。
如果不去周期性发送命令喂它,那就会每隔大概5-10分钟就会复位电源芯片,产生整板断电。
此外,这个STC15单片机还实现了诸如定时开机,红外遥控开关机等功能(来源于原始的厂商宣传描述)。

很显然我对此没有任何头绪,因为我无法利用任何非侵入办法来获得这个STC15单片机的固件。
我也没任何途径获得原始厂商提供的ZC-328固件,因为他们对此严格保密。

所以,我只能提供如下两个思路:

  1. 重写STC15单片机的固件。将P1.3拉至低电平,即可让RK808电源芯片一直工作;
  2. 直接拆掉STC15单片机,并且将P1.3引脚焊接到低电平。

@Angelic47
Copy link
Member

根据你提供的内核信息,我们可以发现至少HDMI已经正常工作。

[ 1.361816] rockchip-drm display-subsystem: bound ff930000.vop (ops 0xc118359c)
[ 1.362348] rockchip-drm display-subsystem: bound ff940000.vop (ops 0xc118359c)
[ 1.362450] dwhdmi-rockchip ff980000.hdmi: supply avdd-0v9 not found, using dummy regulator
[ 1.362665] dwhdmi-rockchip ff980000.hdmi: supply avdd-1v8 not found, using dummy regulator
[ 1.362942] dwhdmi-rockchip ff980000.hdmi: Detected HDMI TX controller v2.01a with HDCP (DWC HDMI 2.0 TX PHY)
[ 1.363868] rockchip-drm display-subsystem: bound ff980000.hdmi (ops 0xc1187288)
...
[ 3.208887] dwmmc_rockchip ff0c0000.mmc: DW MMC controller at irq 75,32 bit host data width,256 deep fifo
[ 3.244525] Console: switching to colour frame buffer device 240x67
[ 3.278862] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device

同时,Panfrost驱动也已经正常工作。

[ 3.316355] panfrost ffa30000.gpu: [drm:panfrost_devfreq_init [panfrost]] Failed to register cooling device
[ 3.316486] panfrost ffa30000.gpu: mali-t760 id 0x750 major 0x1 minor 0x0 status 0x0
[ 3.316511] panfrost ffa30000.gpu: features: 00000000,00000407, issues: 00000000,24040400
[ 3.316531] panfrost ffa30000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[ 3.316555] panfrost ffa30000.gpu: shader_present=0xf l2_present=0x1
[ 3.321869] [drm] Initialized panfrost 1.2.0 20180908 for ffa30000.gpu on minor 1

如果你的设备不能正常输出HDMI,则可以换一个屏幕和HDMI线缆再试一次。
据我所知屏幕分辨率不宜超过1920x1080,否则可能会出现问题。

如果反复尝试依旧无法成功,也许可能是缺少某些电阻导致的。
如果这样,你可以将整个板子拍照给我,我这里对照一下我的板子,看看是否有什么不同。

当然: 别担心,不需要多害怕什么。尽管放轻松把你遇到的问题提交就好。


Based on the kernel information you provided, it appears that HDMI is already working properly.

[ 1.361816] rockchip-drm display-subsystem: bound ff930000.vop (ops 0xc118359c)
[ 1.362348] rockchip-drm display-subsystem: bound ff940000.vop (ops 0xc118359c)
[ 1.362450] dwhdmi-rockchip ff980000.hdmi: supply avdd-0v9 not found, using dummy regulator
[ 1.362665] dwhdmi-rockchip ff980000.hdmi: supply avdd-1v8 not found, using dummy regulator
[ 1.362942] dwhdmi-rockchip ff980000.hdmi: Detected HDMI TX controller v2.01a with HDCP (DWC HDMI 2.0 TX PHY)
[ 1.363868] rockchip-drm display-subsystem: bound ff980000.hdmi (ops 0xc1187288)
...
[ 3.208887] dwmmc_rockchip ff0c0000.mmc: DW MMC controller at irq 75,32 bit host data width,256 deep fifo
[ 3.244525] Console: switching to colour frame buffer device 240x67
[ 3.278862] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device

Additionally, the Panfrost driver is also functioning correctly.

[ 3.316355] panfrost ffa30000.gpu: [drm:panfrost_devfreq_init [panfrost]] Failed to register cooling device
[ 3.316486] panfrost ffa30000.gpu: mali-t760 id 0x750 major 0x1 minor 0x0 status 0x0
[ 3.316511] panfrost ffa30000.gpu: features: 00000000,00000407, issues: 00000000,24040400
[ 3.316531] panfrost ffa30000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[ 3.316555] panfrost ffa30000.gpu: shader_present=0xf l2_present=0x1
[ 3.321869] [drm] Initialized panfrost 1.2.0 20180908 for ffa30000.gpu on minor 1

If your device is unable to output through HDMI, you may want to try using a different screen and HDMI cable.
As far as I know, the screen resolution should not exceed 1920x1080, as it may cause issues.

If you still face difficulties after multiple attempts, it might be due to missing resistors.
If that's the case, you could take a photo of your entire board and send it to me.
I can compare it with my board to see if there are any differences.

TIP: Don't worry, there's nothing to be afraid of. Just relax and go ahead to submit the issue you're encountering.

@cntvro
Copy link
Author

cntvro commented Apr 17, 2024

Regarding the automatic restart:
I asked the official to get the Android firmware, do you need it? In addition to the first point you mentioned, I don't think I can play it. The second point, if you give me a diagram, I think I can try it. I am very curious, ZC-328 this version of the whole network information is very little, the exchange of people are not many, such as you are still playing.

@cntvro
Copy link
Author

cntvro commented Apr 17, 2024

1
2

@Angelic47
Copy link
Member

Angelic47 commented Apr 17, 2024

As far as I know, the ZC-328 series have at least more than 5 versions, which could says "confusion".
For every different version, the PCB can be straightly different.

The main different is the components that not soldered.
And even more, some versions may have a little PCB design differents, but's not so critical.

The boards you are playing with now is most similar with mines, but still with some differents.
Only way to confirm that there are no hardware related problems is compare it and see what's happend...

For the firmware, you can send it to me with my email admin#angelic47.com . (Please replace # to @)
I will continue going deep when I have spare time.

@Angelic47
Copy link
Member

By comparing, it's seems your board are somethings different than mine:
differents

  1. The USB 2.0 hub chip is missing. I'm not sure whether this would causes the USB ports (only side 4pin connectors) unuseable.
    If you are living in China, there does have a compatible chip provided by WCH, which can be directly replace and use. Or just buy the same chip and solder it to right position.
  2. Seems there are some resistors missing near the RJ45 port. I don't know that acting as what functioning.
  3. The STC15 8051 chip is sand-papered without any silkscreen. Well done, the manufactor really don't want you know their hardware using what chips.

The HDMI circuits seems fine. At lease I can't see there have any differents.

@cntvro
Copy link
Author

cntvro commented Apr 17, 2024

I flashed the official Android firmware, and all the hardware on the board works normally, including HDMI and network. If there is no hardware, Android should be abnormal, right?

@Angelic47
Copy link
Member

Angelic47 commented Apr 17, 2024

Yes, if the official Android firmware works fine, this might not the hardware related issue.
It becomes more hard to address this issue...

According to your kernel logs, seems that kernel not detected the screen plugged-in.
Maybe a hot-plugging detection problem?

I'm not sure, may give me some time and I will check the hot plug detection source codes from the RK3288 kernel.

@cntvro
Copy link
Author

cntvro commented Apr 17, 2024

Thank you. If possible, can you help me solve the problem of network and automatic restart first? I don't need desktop at present, haha.

@Angelic47
Copy link
Member

For some reasons, this may takes a long time to get the uart protocol with the STC15 microcontroller by reverse engineering....
I prefer to tell you, rewrite the firmware for the STC15 microcontroller, if you want's to use this boards as quick as possible 😆

@Angelic47
Copy link
Member

Angelic47 commented Apr 17, 2024

Does the wlan (SDIO WiFI) not works either?

@cntvro
Copy link
Author

cntvro commented Apr 17, 2024

There is no desktop, I will first study how to configure the network under the terminal. Good night, we can talk tomorrow.

@cntvro
Copy link
Author

cntvro commented Apr 18, 2024

Does this show that there is something wrong with my network card driver? I didn't get the automatic IP after the system started. I tried to configure it, but it still didn't work. Using #nmgui also gives an error.Does this show that there is something wrong with my network card driver? I didn't get the automatic IP after the system started. I tried to configure it, but it still didn't work. Using #nmgui also gives an error.

[ 3.136542] rk_gmac-dwmac ff290000.ethernet: IRQ eth_lpi not found
[ 3.136693] rk_gmac-dwmac ff290000.ethernet: PTP uses main clock
[ 3.139641] rk_gmac-dwmac ff290000.ethernet: clock input or output? (input).
[ 3.139670] rk_gmac-dwmac ff290000.ethernet: TX delay(0x30).
[ 3.139691] rk_gmac-dwmac ff290000.ethernet: RX delay(0x10).
[ 3.139719] rk_gmac-dwmac ff290000.ethernet: integrated PHY? (no).
[ 3.139795] rk_gmac-dwmac ff290000.ethernet: clock input from PHY
[ 3.144826] rk_gmac-dwmac ff290000.ethernet: init for RGMII
[ 3.147839] rk_gmac-dwmac ff290000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[ 3.147941] rk_gmac-dwmac ff290000.ethernet: DWMAC1000
[ 3.147960] rk_gmac-dwmac ff290000.ethernet: DMA HW capability register supported
[ 3.147975] rk_gmac-dwmac ff290000.ethernet: RX Checksum Offload Engine supported
[ 3.147987] rk_gmac-dwmac ff290000.ethernet: COE Type 2
[ 3.148002] rk_gmac-dwmac ff290000.ethernet: TX Checksum insertion supported
[ 3.148014] rk_gmac-dwmac ff290000.ethernet: Wake-Up On Lan supported
[ 3.148172] rk_gmac-dwmac ff290000.ethernet: Normal descriptors
[ 3.148192] rk_gmac-dwmac ff290000.ethernet: Ring mode enabled
[ 3.148206] rk_gmac-dwmac ff290000.ethernet: Enable RX Mitigation via HW Watchdog Timer

root@zc-328:~# ethtool eth0
netlink error: Device or resource busy

root@zc-328:~# nmcli c
NAME UUID TYPE DEVICE
Wired connection 1 9c3b33bd-c557-30d3-8aca-3d189e1fb0e8 ethernet --

root@zc-328:~# nmcli d
DEVICE TYPE STATE CONNECTION
eth0 ethernet disconnected --
dummy0 dummy unmanaged --
ip6tnl0 iptunnel unmanaged --
sit0 iptunnel unmanaged --
lo loopback unmanaged --

#nmtui
┌──────────────────────────────────────────┐
│ │
│ ┌─────────────────────────┐ │
│ │ Wired ↑ │ │
│ │ Wired connection 1 ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▒ │ │
│ │ ▮ │ │
│ │ ↓ │ │
│ └─────────────────────────┘ │
│ │
└──────────────────────────────────────────┘

               ┌──────────────────────────────────────────┐
               │                                          │
               │ ┌─────────────────────────┐              │
               │ │ Wired                 ↑ │ <Activate>   │
               │ │   Wired connection 1  ▒ │              │
               │┌─────────────────────────────────────┐   │
               ││                                     │   │
               ││ Could not activate connection:      │   │
               ││ Activation failed: The device could │   │
               ││ not be readied for configuration    │   │
               ││                                     │   │
               ││               ┌────┐                │   │
               ││               │ OK │                │   │
               ││               └────┘                │   │
               ││                                     │   │
               ││                                     │   │
               │└─────────────────────────────────────┘   │
               │                                          │
               │ │                       ↓ │ <Back>       │
               │ └─────────────────────────┘              │
               │                                          │
               └──────────────────────────────────────────┘

@Angelic47
Copy link
Member

Angelic47 commented Apr 19, 2024

Hi,
According to the all information you have provided, I believe that the hardware you are now using is straightly not compatible with mine.

First of all, the ethernet phy.
I don't know what phy your board is using, but I am using the RTL8211E (In fact it's a compatible chip which manufactured by Chinese company).
If the phy is not the same, the RJ45 port might not work.
Even if the phy is the same, the reset pin of the phy might be connected to a different pin of the SoC.
All of this will cause the ethernet port not working.

And then I found your SDIO wifi is not working either.
Your SDIO wifi is straightly different from mine. The "Cdtech" is so strange that I have never heard of it.
You might want to check which the real chip inside the module's shield.

By reviewing your kernel log, I found that the SDIO wifi is fully not recognized by the hardware.
There missing the new high speed MMC card at address message for the wifi module.
This means, the SDIO wifi module is not working entirely, even not powered on.
Therefore, the reset pin of the wifi module might be connected to a different pin of the SoC.

This is a serious problem,
if you can't find the correct pinout, and don't know what the phy and wifi module is, there could be no way to make them work.

For my board, I don't have the schematic either.
I desoldered the SoC, and using a multimeter with the continuity test to find the correct pinout.
This could be effective, if you have two boards or more.
But it's dangerous if you only have one board. This could be saying "goodbye" to your board.

I hope this information could help you.
Maybe you want to dump the android firmware, and decompile the device tree to find the correct pinout.

@Angelic47
Copy link
Member

For some more information, you can refer to the following codes:
ZC-328 kernel dts patch
It's the line for the kernel dts patch for the ZC-328 board, which defines the RK_PB0 pin as the reset pin for the ethernet phy, with high level active.
And the line 74 of the same file defines the RK_PD4 pin as the reset pin for the wifi module, with low level active.

These would be the examples of the reset pin configuration for the ethernet phy and wifi module on the ZC-328 board.

@cntvro
Copy link
Author

cntvro commented Apr 19, 2024

Thank you, microcontroller, chip technology I know nothing about, if you are interested, I can send a ZC-328 board to the past, for you to study. Android original firmware, I sent you a few days ago through qq email.

@chenxi520
Copy link

关于自动重启: 我问过官方拿了安卓固件,需要吗?除了你说的第一点,我觉得玩不了。第二点,如果你给我个图,我觉得可以试试。很好奇,ZC-328这个版本全网资料很少,交流的人也不多,像你这样还在玩。

可以给我一份安卓吗,我也是这个板子,和作者一模一样的板子, wuye_87#163.com 替换一下#号 感谢

@cntvro
Copy link
Author

cntvro commented Aug 12, 2024

关于自动重启: 我问过官方拿了安卓固件,需要吗?除了你说的第一点,我觉得玩不了。第二点,如果你给我个图,我觉得可以试试。很好奇,ZC-328这个版本全网资料很少,交流的人也不多,像你这样还在玩。

可以给我一份安卓吗,我也是这个板子,和作者一模一样的板子, wuye_87#163.com 替换一下#号 感谢

已发您邮箱,注意查收。

@cntvro cntvro closed this as completed Aug 12, 2024
@cntvro cntvro reopened this Aug 12, 2024
@chenxi520
Copy link

关于自动重启: 我问过官方拿了安卓固件,需要吗?除了你说的第一点,我觉得玩不了。第二点,如果你给我个图,我觉得可以试试。很好奇,ZC-328这个版本全网资料很少,交流的人也不多,像你这样还在玩。

可以给我一份安卓吗,我也是这个板子,和作者一模一样的板子, wuye_87#163.com 替换一下#号 感谢

已发您邮箱,注意查收。

Thank you, I have checked

感谢,已查收

@chenxi520
Copy link

关于自动重启:我问过官方拿了安卓固件,需要吗?除了你说的第一点,我玩不了。第二点,如果你给我个图,我觉得可以试试。奇很好,ZC -328这个版本全网资料很少,交流的人也不多,像你这样还在玩。

可以给我一个安卓吗,我也是这个板子,和作者模一样的板子, wuye_87#163.com 替换一下#号 谢谢

已发送您的邮箱,注意查收。

为什么编译过程中一直报错,虚拟机Ubuntu22.04,拉去主线最新版本和半年内的版本都提示报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants