您尚未登录。

楼主 # 2023-05-31 14:39:45

zhaoshaox
会员
注册时间: 2023-04-17
已发帖子: 6
积分: 16

在闲鱼上捡了一个V3S的门禁控制器,带屏幕,摄像头,nfc等 ,目前不知道怎么驱动

正常开机,输入密码开门后有串口输出,不知道是什么系统。上面有两个flash芯片。正在研究鼓捣中,有谁见过这个主板吗?

离线

#1 2023-05-31 18:32:17

binsys
会员
注册时间: 2021-11-30
已发帖子: 8
积分: 13

Re: 在闲鱼上捡了一个V3S的门禁控制器,带屏幕,摄像头,nfc等 ,目前不知道怎么驱动

做一卡通的厂,去官网产品里找呗,比如:
https://www.newcapec.com.cn/mjkq/401.html
不知道是不是

离线

楼主 #2 今天 16:02:46

zhaoshaox
会员
注册时间: 2023-04-17
已发帖子: 6
积分: 16

Re: 在闲鱼上捡了一个V3S的门禁控制器,带屏幕,摄像头,nfc等 ,目前不知道怎么驱动

这两个文件是用咱们网站的方法提取的原始固件,和sys_config.fex文件。原始系统是camdriod,可以开启adb,我自己编译了一个busybox上传上去可以使用。现在一直想要用主线liunx驱动屏幕,折腾了半年没有成功,一直是sunxi4-drm这个不成功。后来换的camdriod编译还是不显示。camdriod启动日志如下:[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Linux version 3.4.39 (zhao@zhao-desktop) (gcc version 4.9.4 (Linaro GCC 4.9-2017.01) ) #17 Sat Aug 1 16:29:46 CST6
[ 0.000000] Initialized persistent memory from 41d20800-41d307ff
[ 0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 64MB = 64MB total
[ 0.000000] Memory: 31348k/31348k available, 34188k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc4800000 - 0xff000000 ( 936 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc039e000 (3672 kB)
[ 0.000000] .init : 0xc039e000 - 0xc03c0000 ( 136 kB)
[ 0.000000] .data : 0xc03c0000 - 0xc03f75b0 ( 222 kB)
[ 0.000000] .bss : 0xc03f75d4 - 0xc048f594 ( 608 kB)
[ 0.000000] NR_IRQS:544
[ 0.000000] Architected local timer running at 24.00MHz.
[ 0.000000] Switching to timer-based delay loop
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000159] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[ 0.000184] pid_max: default: 32768 minimum: 301
[ 0.000328] Mount-cache hash table entries: 512
[ 0.000868] CPU: Testing write buffer coherency: ok
[ 0.001125] Setting up static identity map for 0x402b2da0 - 0x402b2df8
[ 0.001754] devtmpfs: initialized
[ 0.003328] pinctrl core: initialized pinctrl subsystem
[ 0.003808] NET: Registered protocol family 16
[ 0.004057] DMA: preallocated 128 KiB pool for atomic coherent allocations
[ 0.004112] script_sysfs_init success
[ 0.004860] gpiochip_add: registered GPIOs 0 to 223 on device: sunxi-pinctrl
[ 0.005721] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[ 0.006650] persistent_ram: uncorrectable error in header
[ 0.006667] persistent_ram: no valid data in buffer (sig = 0x57524220)
[ 0.011233] console [ram-1] enabled
[ 0.011693] Not Found clk pll_isp in script
[ 0.011945] Not Found clk pll_video in script
[ 0.012079] Not Found clk pll_ve in script
[ 0.012213] Not Found clk pll_periph0 in script
[ 0.012345] Not Found clk pll_de in script
[ 0.014509] bio: create slab <bio-0> at 0
[ 0.015002] pwm module init!
[ 0.017164] SCSI subsystem initialized
[ 0.017397] twi_chan_cfg()340 - [twi0] has no twi_regulator.
[ 0.017649] twi_chan_cfg()340 - [twi1] has no twi_regulator.
[ 0.018899] Switching to clocksource arch_sys_counter
[ 0.019997] NET: Registered protocol family 2
[ 0.019997] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.019997] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.019997] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.019997] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.019997] TCP: reno registered
[ 0.019997] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.020128] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.020634] NET: Registered protocol family 1
[ 0.021055] standby_mode = 1.
[ 0.021194] wakeup src cnt is : 3.
[ 0.021487] sunxi_reg_init enter
[ 0.023471] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.023665] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.024107] msgmni has been set to 61
[ 0.025149] io scheduler noop registered
[ 0.025407] io scheduler deadline registered
[ 0.025624] io scheduler cfq registered (default)
[ 0.026259] [DISP]disp_module_init
[ 0.026747] cmdline,disp=
[ 0.027418] [DISP] disp_get_rotation_sw,line:68:disp 0 out of range? g_rot_sw=0
[ 0.028811] [DISP] Fb_map_kernel_logo,line:924:Fb_map_kernel_logo failed!
[ 0.032100] [DISP]disp_module_init finish
[ 0.032789] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.
[ 0.033249] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[ 0.033508] sw_uart_pm()890 - uart0 clk is already enable
[ 0.033654] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[ 0.147139] console [ttyS0] enabled
[ 0.508075] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.
[ 0.515969] spi spi0: master is unqueued, this is deprecated
[ 0.522710] m25p_probe()982 - Use the Dual Mode Read.
[ 0.528544] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.535515] partitions_register()869 - Invalid partitions count: 425295900
[ 0.543747] Creating 4 MTD partitions on "spi0.0":
[ 0.549346] 0x000000000000-0x000000080000 : "u-boot"
[ 0.556076] 0x000000080000-0x000000100000 : "sys_config"
[ 0.563197] 0x000000100000-0x000000400000 : "kernel"
[ 0.569885] 0x000000400000-0x000001000000 : "rootfs"
[ 0.576562] sunxikbd_script_init: key para not found, used default para.
[ 0.590855] ashmem: initialized
[ 0.594742] logger: created 256K log 'log_main'
[ 0.600077] [DISP] disp_lcd_pwm_enable,line:1021:pwm device hdl is NULL
[ 0.607882] logger: created 32K log 'log_events'
[ 0.613608] logger: created 32K log 'log_radio'
[ 0.618895] logger: created 32K log 'log_system'
[ 0.624653] TCP: cubic registered
[ 0.628474] NET: Registered protocol family 17
[ 0.633680] VFP support v0.3: [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 0 err, cmd 52, RTO !!
[ 0.644079] ThumbEE CPU extension supported.
[ 0.648978] Registering SWP/SWPB emulation handler
[ 0.658764] **Try sdio**
[ 0.666956] Waiting for root device /dev/mmcblk0p2...
[ 0.675457] **Try sd **
[ 0.749247] mmc0: new high speed SDHC card at address aaaa
[ 0.756020] mmcblk0: mmc0:aaaa SS16G 14.8 GiB
[ 0.766979] mmcblk0: p1 p2
[ 0.771050] mmcblk mmc0:aaaa: Card claimed for testing.
[ 0.777108] mmc0:aaaa: SS16G 14.8 GiB
[ 0.781507] **sd init ok**
[ 0.836131] **Try sdio**
[ 0.845659] **Try sd **
[ 0.855194] **Try mmc**
[ 0.893726] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
[ 0.909749] **Try sdio**
[ 0.920402] **Try sd **
[ 0.931391] **Try mmc**
[ 0.968196] EXT4-fs (mmcblk0p2): recovery complete
[ 0.980935] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 0.990179] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 1.002882] **Try sdio**
[ 1.015812] devtmpfs: mounted
[ 1.019427] **Try sd **
[ 1.025875] Freeing init memory: 136K
[ 1.035499] **Try mmc**
[ 1.087383] **Try sdio**
[ 1.098781] **Try sd **
[ 1.109454] **Try mmc**
[ 1.243395] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Initializing random number generator... done.
Starting network: OK

Welcome to Buildroot
buildroot login: root
#

离线

楼主 #3 今天 16:05:26

zhaoshaox
会员
注册时间: 2023-04-17
已发帖子: 6
积分: 16

Re: 在闲鱼上捡了一个V3S的门禁控制器,带屏幕,摄像头,nfc等 ,目前不知道怎么驱动

liunx6.1的启动日志:Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 6.1.177 (mac@mac-laptop) (arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0, GNU ld (GNU Bin6
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (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: Custom V3s Board with 320x240 RGB666 LCD
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 16 MiB at 0x41c00000
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000040000000-0x0000000043ffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000043ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
[ 0.000000] percpu: Embedded 11 pages/cpu s16084 r8192 d20780 u45056
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 34920K/65536K available (8192K kernel code, 928K rwdata, 2172K rodata, 1024K init, 273K bss, 14232K reserved, 16)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 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.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000018] Switching to timer-based delay loop, resolution 41ns
[ 0.000255] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000686] Console: colour dummy device 80x30
[ 0.000760] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000785] CPU: Testing write buffer coherency: ok
[ 0.000846] pid_max: default: 32768 minimum: 301
[ 0.001077] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001105] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.002432] /cpus/cpu@0 missing clock-frequency property
[ 0.002482] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004040] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.004374] rcu: Hierarchical SRCU implementation.
[ 0.004386] rcu: Max phase no-delay instances is 1000.
[ 0.005232] smp: Bringing up secondary CPUs ...
[ 0.005251] smp: Brought up 1 node, 1 CPU
[ 0.005262] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.005272] CPU: All CPU(s) started in HYP mode.
[ 0.005275] CPU: Virtualization extensions available.
[ 0.006395] devtmpfs: initialized
[ 0.010284] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.010610] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.010646] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.011559] pinctrl core: initialized pinctrl subsystem
[ 0.013462] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.014793] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.016111] thermal_sys: Registered thermal governor 'step_wise'
[ 0.016348] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.016369] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.018593] /soc/mixer@1100000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000
[ 0.018653] /soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /soc/mixer@1100000
[ 0.018777] /soc/interrupt-controller@1c81000: Fixed dependency cycle(s) with /soc/interrupt-controller@1c81000
[ 0.019171] /soc/mixer@1100000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000
[ 0.019812] /soc/mixer@1100000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000
[ 0.019916] /soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /soc/mixer@1100000
[ 0.024011] /soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /panel
[ 0.024134] /panel: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000
[ 0.035025] SCSI subsystem initialized
[ 0.035881] usbcore: registered new interface driver usbfs
[ 0.035960] usbcore: registered new interface driver hub
[ 0.036025] usbcore: registered new device driver usb
[ 0.036284] mc: Linux media interface: v0.10
[ 0.036375] videodev: Linux video capture interface: v2.00
[ 0.036447] pps_core: LinuxPPS API ver. 1 registered
[ 0.036455] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.036476] PTP clock support registered
[ 0.037263] Advanced Linux Sound Architecture Driver Initialized.
[ 0.038776] clocksource: Switched to clocksource arch_sys_counter
[ 0.052980] NET: Registered PF_INET protocol family
[ 0.053289] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.054135] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.054185] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.054208] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.054235] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 0.054300] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.054449] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.054505] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.054799] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.056067] RPC: Registered named UNIX socket transport module.
[ 0.056093] RPC: Registered udp transport module.
[ 0.056101] RPC: Registered tcp transport module.
[ 0.056106] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.057916] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.065230] NFS: Registering the id_resolver key type
[ 0.065351] Key type id_resolver registered
[ 0.065360] Key type id_legacy registered
[ 0.065660] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.065676] io scheduler mq-deadline registered
[ 0.065684] io scheduler kyber registered
[ 0.156815] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.160408] sun4i-drm display-engine: === SUN4I DRM: probe called ===
[ 0.163234] === PANEL-SIMPLE: probe called for panel ===
[ 0.163264] panel-simple panel: if (!panel)e: start
[ 0.163303] panel-simple panel: supply power not found, using dummy regulator
[ 0.163528] panel-simple panel: IS_ERR(panel->supply: start
[ 0.163576] panel-simple panel: IS_ERR(panel->enable_gpio): start
[ 0.163613] panel-simple panel: panel_dpi_probe errr : start
[ 0.167117] CAN device driver interface
[ 0.170360] sun6i-rtc 1c20400.rtc: registered as rtc0
[ 0.170448] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:00:03 UTC (3)
[ 0.170668] sun6i-rtc 1c20400.rtc: RTC enabled
[ 0.171013] i2c_dev: i2c /dev entries driver
[ 0.173054] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 0.174389] sun4i-ss 1c15000.crypto: Die ID 7
[ 0.175726] usbcore: registered new interface driver usbhid
[ 0.175745] usbhid: USB HID core driver
[ 0.179396] NET: Registered PF_PACKET protocol family
[ 0.179425] can: controller area network core
[ 0.179562] NET: Registered PF_CAN protocol family
[ 0.179578] can: raw protocol
[ 0.179590] can: broadcast manager protocol
[ 0.179636] can: netlink gateway - max_hops=1
[ 0.179813] Key type dns_resolver registered
[ 0.179916] Registering SWP/SWPB emulation handler
[ 0.194376] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.197278] printk: console [ttyS0] disabled
[ 0.217633] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 99, base_baud = 1500000) is a U6_16550A
[ 1.026629] printk: console [ttyS0] enabled
[ 1.032474] sun4i-tcon 1c0c000.lcd-controller: === SUN4I TCON: probe called ===
[ 1.039941] sun4i-tcon 1c0c000.lcd-controller: Adding component...
[ 1.046320] Stack Depot allocating hash table of 4096 entries with kvcalloc
[ 1.053504] === SUN8I MIXER: bind called ===
[ 1.060029] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0957ac4)
[ 1.067719] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0955e84)
[ 1.076855] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[ 1.121074] Console: switching to colour frame buffer device 40x30
[ 1.143978] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb frame buffer device
[ 1.156507] usb_phy_generic usb_phy_generic.1.auto: supply vcc not found, using dummy regulator
[ 1.165631] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests
[ 1.175966] musb-hdrc musb-hdrc.2.auto: MUSB HDRC host driver
[ 1.181872] musb-hdrc musb-hdrc.2.auto: new USB bus registered, assigned bus number 1
[ 1.195311] hub 1-0:1.0: USB hub found
[ 1.199318] hub 1-0:1.0: 1 port detected
[ 1.205176] clk: Disabling unused clocks
[ 1.209365] ALSA device list:
[ 1.212348] No soundcards found.
[ 1.228831] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.236078] Waiting for root device /dev/mmcblk0p2...
[ 1.292655] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.306560] mmc0: new high speed SDHC card at address aaaa
[ 1.313576] mmcblk0: mmc0:aaaa SS16G 14.8 GiB
[ 1.325453] mmcblk0: p1 p2
[ 1.368430] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 1.375923] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 1.420376] EXT4-fs (mmcblk0p2): recovery complete
[ 1.430469] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: disabled.
[ 1.439565] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.452708] devtmpfs: mounted
[ 1.457164] Freeing unused kernel image (initmem) memory: 1024K
[ 1.463391] Run /sbin/init as init process
[ 4.198742] random: crng init done
[ 4.204248] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SE)
[ 4.218347] systemd[1]: Detected architecture 'arm'.

Welcome to Debian GNU/Linux 8 (jessie)!

[ 4.278621] systemd[1]: Failed to insert module 'autofs4'
[ 4.284528] systemd[1]: Failed to insert module 'ipv6'
[ 4.294777] systemd[1]: Set hostname to <LicheePi>.
[ 4.777576] systemd[1]: Cannot add dependency job for unit dbus.socket, ignoring: Unit dbus.socket failed to load: No such file or d.
[ 4.790851] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to.
[ 4.808464] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 4.816991] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 4.824964] systemd[1]: Expecting device dev-ttyS0.device...
Expecting device dev-ttyS0.device...
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Paths.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Reached target Swap.
Expecting device dev-mmcblk0p1.device...
[ OK ] Created slice Root Slice.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on Delayed Shutdown Socket.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Created slice User and Session Slice.
[ OK ] Listening on Journal Socket.
[ OK ] Reached target Sockets.
[ OK ] Created slice System Slice.
Mounting Debug File System...
Starting Load Kernel Modules...
Starting udev Coldplug all Devices...
Starting Create Static Device Nodes in /dev...
[ OK ] Created slice system-getty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
Starting File System Check on Root Device...
Starting Journal Service...
[ OK ] Started Journal Service.
[ OK ] Reached target Slices.
[ OK ] Mounted Debug File System.
[ OK ] Started Load Kernel Modules.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started File System Check on Root Device.
[ 6.014547] systemd-fsck[81]: /dev/mmcblk0p2 has unsupported feature(s): metadata_csum
[ 6.030822] systemd-fsck[81]: e2fsck: Get a newer version of e2fsck!
Starting Remount Root and Kernel File Systems...
Starting udev Kernel Device Manager...
Starting Apply Kernel Variables...
[ 6.180772] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: disabled.
[ OK ] Started udev Coldplug all Devices.
[ 6.230360] systemd-udevd[92]: starting version 215
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started udev Kernel Device Manager.
Starting Copy rules generated while the root was ro...
[ OK ] Reached target Local File Systems (Pre).
Starting Load/Save Random Seed...
[ OK ] Started Copy rules generated while the root was ro.
[ OK ] Started Load/Save Random Seed.
[ OK ] Created slice system-systemd\x2dbacklight.slice.
Starting Load/Save Screen Backlight Brightness of ba...ht:backlight...
[ OK ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
[ OK ] Found device /dev/ttyS0.
[ OK ] Found device /dev/mmcblk0p1.
Mounting /boot...
[ 7.542782] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ OK ] Mounted /boot.
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ OK ] Reached target Remote File Systems.
Starting Trigger Flushing of Journal to Persistent Storage...
Starting LSB: Raise network interfaces....
[ OK ] Started Create Volatile Files and Directories.
[ 8.036999] systemd-journald[83]: Received request to flush runtime journal from PID 1
[ OK ] Started Trigger Flushing of Journal to Persistent Storage.
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started LSB: Raise network interfaces..
[ OK ] Reached target Network.
[ OK ] Reached target System Initialization.
[ OK ] Reached target Timers.
[ OK ] Reached target Basic System.
Starting OpenBSD Secure Shell server...
[ OK ] Started OpenBSD Secure Shell server.
Starting /etc/rc.local Compatibility...
Starting getty on tty2-tty6 if dbus and logind are not available...
Starting Permit User Sessions...
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Started Permit User Sessions.
[ OK ] Started getty on tty2-tty6 if dbus and logind are not available.
Starting Getty on tty6...
[ OK ] Started Getty on tty6.
Starting Getty on tty5...
[ OK ] Started Getty on tty5.
Starting Getty on tty4...
[ OK ] Started Getty on tty4.
Starting Getty on tty3...
[ OK ] Started Getty on tty3.
Starting Getty on tty2...
[ OK ] Started Getty on tty2.
Starting Getty on tty1...
[ OK ] Started Getty on tty1.
Starting Serial Getty on ttyS0...
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.

Debian GNU/Linux 8 LicheePi ttyS0

LicheePi login: root
Password:
Last login: Thu Jan 1 08:01:20 HKT 1970 on ttyS0
Linux LicheePi 6.1.177 #11 SMP Wed Jul 29 16:17:15 CST 2026 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@LicheePi:~# cd /boot/
root@LicheePi:/boot# ls
boot.scr modetest sun8i-v3s-custom.dtb uboot.env zImage
root@LicheePi:/boot# cp modetest ~/
root@LicheePi:/boot# cd
root@LicheePi:~# ls
modetest
root@LicheePi:~#

离线

楼主 #4 今天 16:06:25

zhaoshaox
会员
注册时间: 2023-04-17
已发帖子: 6
积分: 16

Re: 在闲鱼上捡了一个V3S的门禁控制器,带屏幕,摄像头,nfc等 ,目前不知道怎么驱动

liunx6.1的设备树文件:/dts-v1/;
#include "sun8i-v3s-licheepi-zero.dts"
#include "dt-bindings/gpio/gpio.h"

/ {
model = "Custom V3s Board with 320x240 RGB666 LCD";
compatible = "allwinner,sun8i-v3s";

chosen {
stdout-path = &uart0;
};

// PB4 纯GPIO背光,无PWM
lcd_backlight: backlight {
compatible = "gpio-backlight";
gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; // PB4
default-on;
status = "okay";
};

// 全局3.3V固定电源,给PB/PE/PG引脚供电
reg_vcc3v3: vcc3v3 {
compatible = "regulator-fixed";
regulator-name = "vcc3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
status = "okay";
};

rgb_panel: panel {
compatible = "panel-dpi";
backlight = <&lcd_backlight>;
width-mm = <49>;
height-mm = <37>;

panel-timing {
clock-frequency = <9000000>;
hactive = <320>;
vactive = <240>;

hfront-porch = <140>;
hback-porch = <30>;
hsync-len = <10>;

vfront-porch = <46>;
vback-porch = <10>;
vsync-len = <4>;

hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;

bus-format = <0x1009>;
bpc = <6>;
};

port {
panel_in: endpoint {
remote-endpoint = <&tcon0_out_rgb>;
};
};
};
};

&de {
status = "okay";
};

&tcon0 {
pinctrl-names = "default";
pinctrl-0 = <&pe_lcd_pins>;
status = "okay";
};

&tcon0_out {
tcon0_out_rgb: endpoint {
remote-endpoint = <&rgb_panel>; // 修正:直接引用panel根标签,消除循环
};
};

&uart0 {
pinctrl-names = "default";
status = "okay";
};

&pio {
// 消除vcc-pb/vcc-pe/vcc-pf not found警告
vcc-pb-supply = <&reg_vcc3v3>;
vcc-pe-supply = <&reg_vcc3v3>;
vcc-pf-supply = <&reg_vcc3v3>;
vcc-pg-supply = <&reg_vcc3v3>;

pe_lcd_pins: pe-lcd-pins {
pins =
"PE0", "PE1", "PE2", "PE3",
"PE4", "PE5", "PE6", "PE7",
"PE8", "PE9", "PE10","PE11",
"PE12","PE13","PE14","PE15",
"PE16","PE17","PE18","PE19",
"PE23","PE24";
function = "lcd";
drive-strength = <30>;
bias-disable;
};
};

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn


东莞哇酷科技有限公司开发