您尚未登录。

#2 Re: 全志 SOC » F1C200S视频解码输出数据格式转换问题 » 2023-11-16 10:14:24

你好,能否指导一下如何完成的视频硬解码

#4 Re: 全志 SOC » V3S ffmpeg拍照出错 内核 uboot没问题 » 2023-07-25 09:20:04

根据错误消息来看,可能是由于内存不足导致的问题。ffmpeg在执行过程中需要大量的内存来处理视频数据,而您的系统上可能存在内存不足的情况,因此出现了"page allocation failure"和"Cannot allocate memory"的错误。

要解决这个问题,您可以尝试以下几个方法:

释放系统内存:关闭其他占用大量内存的程序或服务,以释放更多的空闲内存。可以通过查看系统中运行的进程,然后关闭不必要的进程来释放内存资源。

优化ffmpeg参数:通过调整ffmpeg的参数,减少其对内存的需求,例如减小视频处理分辨率、降低视频质量等。您可以针对具体场景和需求,适当调整ffmpeg命令的参数,以减少内存占用。

增加系统内存:如果您的系统内存确实不足,可以考虑增加内存条或更换到内存更大的设备,以提供足够的内存资源来支持ffmpeg的运行。

请注意,根据错误消息的描述,这个问题可能是由于内存不足导致的,但也可能存在其他原因。如果上述方法无法解决问题,请提供更多的上下文和详细信息,以便能够更准确地帮助您解决问题。

#5 Re: 全志 SOC » 摄像头驱动 主线DVP与MIPI-CSI2 » 2023-06-05 15:00:55

下的官方的5.2内核
放进内核时 编译报错 多次定义
然后发现这里还有一份 drivers/media/platform/sunxi/sun6i-csi/

#6 Re: 全志 SOC » 有使用过v3s的mipi摄像头接口的人吗,我想知道yuv格式采集能不能达到1080P 25fps » 2023-06-01 17:17:14

4610 说:

没问题
试过MIPICSI2 YUV422 1080p 30fps
编码h264可以达到实时

但硬编码jpg会花屏,软件转成yuv420再编码倒是正常

能说一下相机型号吗

#7 全志 SOC » 有使用过v3s的mipi摄像头接口的人吗,我想知道yuv格式采集能不能达到1080P 25fps » 2023-06-01 14:28:57

ookk303
回复: 2

如题,没找出办法同时编解码
有无采集速度达标的yuv格式摄像头直接编码

#8 Re: 全志 SOC » 基于芯灵思(V3s)开发板WiFi视频传输 » 2023-05-29 11:36:48

楼主有试过同时在一块板子上进行编解码吗,我这边没法同时注册编码器和解码器

#9 Re: 全志 SOC » v3s » 2023-05-04 10:18:11

我编了份8812的

#10 Re: 全志 SOC » 求助贴:v3s的cedar编码器和解码器可以同时注册吗?,我这里只能初始化其中一个 » 2023-04-19 14:51:37

另外 建了个全志 的 视频编解码交流群
有一起做这方面的可以一起讨论
q群 : 689632404

#11 全志 SOC » 求助贴:v3s的cedar编码器和解码器可以同时注册吗?,我这里只能初始化其中一个 » 2023-04-19 14:48:29

ookk303
回复: 1

楼主在做视频的编解码
用的aodzip大佬的dev/ion和lib
然后配置编解码器的时候
先注册编码器 解码器就没法注册, 先注册解码器 编码器就没法注册
有做过的人遇到这个问题吗

先注册解码器后注册编码器
debug  : cedarc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug  : cedarc <VeInitialize:1198>: ve init ok

debug  : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS ***
debug  : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open

debug  : cedarc <VideoEncInit:195>: (f:VideoEncInit, l:195)
debug  : cedarc <VideoEncInit:210>: (f:VideoEncInit, l:210)
error  : ionAlloc <ion_alloc_palloc:335>:ION_IOC_ALLOC error

error  : cedarc <BitStreamCreate:45>: pSbmBuf == NULL.
error  : cedarc <H264InitMemory:904>: h264Context->pBSMamager == NULL
error  : cedarc <BitStreamFreeBufferSize:180>: BitStreamManager == NULL.
error  : cedarc <BitStreamFreeBufferSize:180>: BitStreamManager == NULL.

先注册编码器 后注册解码器
error  :ionAlloc <ion_alloc_palloc:335>:ION_IOC_ALLOC error
error   :<SbmFrameInit:259>: palloc for sbmBuf failed, size = 4 MB
error   :cedarc<InitializeVideoDecoder:502>: sbm init failed

#12 Re: 技术人生/软件使用技巧/破解经验/技术吐槽/灌水 » 小白想问下,学会了C语言是不是linux上手就容易了? » 2023-04-18 15:30:24

GGwut 说:

记不住命令  是不是学不好了

命令用多就会记住,记不住用的少了

#13 Re: 全志 SOC » 求助帖: 自制V3s 开发板 OV2640 拍照测试 照片为全绿 » 2023-04-18 15:20:11

改了那个亮度的寄存器后,我用yuv录0.8s一张,楼主用起来怎么样

#14 Re: 全志 SOC » f1c200s ov2640 如何输出 MJPG 格式? » 2023-04-18 14:43:49

用yuv拍下来0.8s一张 直接两眼一黑,试试这个

#15 Re: 全志 SOC » V3s可以使用哪些mipi接口的摄像头? » 2023-04-18 10:10:01

Doctor 说:

2023年4月17号mark一下,楼主弄起来了,我也有类似的需求

+1我也要用

#16 Re: 全志 SOC » 编译CedarX库出错 » 2023-04-13 18:38:01

@fcoolt
搞出来了吗 我用aodzip的编完了 还在研究怎么用

#17 全志 SOC » 问一下有没有人知道 no version information available » 2023-04-11 09:26:41

ookk303
回复: 0

使用我自己编译的buildroot跑程序时
出现了
./test: /usr/lib/libasound.so.2: no version information available (required by /lib/libAudioPlayer.so)

文件系统里的so文件没有版本信息
是我编译时少选了什么吗?

编译链用的是荔枝派官方教程的那个编译链

#18 全志 SOC » 尝试编译v3s的buildroot文件系统,发现使用4。14和5.2进不去,3.4内核可以进系统 » 2023-04-06 10:22:49

ookk303
回复: 0

开机的情况如下


[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.2-licheepi-zero+ (zp@ubuntu) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #15 SMP Sat Apr 15 21:38:23 CST 2017
[    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: Lichee Pi Zero
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu @c3dea000 s24652 r8192 d24500 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 console=tty0 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: 53628K/64036K available (6144K kernel code, 213K rwdata, 1472K rodata, 1024K init, 260K bss, 10408K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3e89000   (  62 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a35600   ( 214 kB)
[    0.000000]        .bss : 0xc0a37000 - 0xc0a781cc   ( 261 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000148] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000358] Console: colour dummy device 80x30
[    0.000784] console [tty0] enabled
[    0.000824] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000861] pid_max: default: 32768 minimum: 301
[    0.001020] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001048] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001779] CPU: Testing write buffer coherency: ok
[    0.002217] /cpus/cpu@0 missing clock-frequency property
[    0.002261] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002673] Setting up static identity map for 0x40100000 - 0x40100058
[    0.003475] smp: Bringing up secondary CPUs ...
[    0.003516] smp: Brought up 1 node, 1 CPU
[    0.003537] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003556] CPU: All CPU(s) started in SVC mode.
[    0.004368] devtmpfs: initialized
[    0.007118] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.007457] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007513] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007689] pinctrl core: initialized pinctrl subsystem
[    0.008700] NET: Registered protocol family 16
[    0.009202] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.010560] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.010611] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.022001] SCSI subsystem initialized
[    0.022325] usbcore: registered new interface driver usbfs
[    0.022414] usbcore: registered new interface driver hub
[    0.022526] usbcore: registered new device driver usb
[    0.022767] pps_core: LinuxPPS API ver. 1 registered
[    0.022793] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.022843] PTP clock support registered
[    0.023081] Advanced Linux Sound Architecture Driver Initialized.
[    0.024952] clocksource: Switched to clocksource arch_sys_counter
[    0.025797] simple-framebuffer 43e89000.framebuffer: framebuffer at 0x43e89000, 0x177000 bytes, mapped to 0xc4080000
[    0.025852] simple-framebuffer 43e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    0.032741] Console: switching to colour frame buffer device 100x30
[    0.042569] simple-framebuffer 43e89000.framebuffer: fb0: simplefb registered!
[    0.056620] NET: Registered protocol family 2
[    0.061045] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.065022] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.068828] TCP: Hash tables configured (established 1024 bind 1024)
[    0.072655] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.076446] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.080350] NET: Registered protocol family 1
[    0.084605] RPC: Registered named UNIX socket transport module.
[    0.088373] RPC: Registered udp transport module.
[    0.091954] RPC: Registered tcp transport module.
[    0.095440] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.101184] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.113803] NFS: Registering the id_resolver key type
[    0.117457] Key type id_resolver registered
[    0.120834] Key type id_legacy registered
[    0.124193] ntfs: driver 2.1.32 [Flags: R/W].
[    0.132152] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.135901] io scheduler noop registered
[    0.139420] io scheduler deadline registered
[    0.143072] io scheduler cfq registered (default)
[    0.150706] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.224321] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.231306] console [ttyS0] disabled
[    0.255094] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 31, base_baud = 1500000) is a U6_16550A
[    0.855506] console [ttyS0] enabled
[    0.863142] [drm] Initialized
[    0.871352] libphy: Fixed MDIO Bus: probed
[    0.879145] usbcore: registered new interface driver r8152
[    0.887964] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.897745] ehci-platform: EHCI generic platform driver
[    0.906292] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.915733] ohci-platform: OHCI generic platform driver
[    0.924295] usbcore: registered new interface driver usb-storage
[    0.933594] usbcore: registered new interface driver ums-freecom
[    0.943177] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.956137] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    0.966313] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.974058] i2c /dev entries driver
[    0.982192] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input0
[    0.995464] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.065001] sunxi-mmc 1c0f000.mmc: base:0xc405d000 irq:23
[    1.074852] usbcore: registered new interface driver usbhid
[    1.083998] usbhid: USB HID core driver
[    1.093098] NET: Registered protocol family 17
[    1.101346] Key type dns_resolver registered
[    1.109235] Registering SWP/SWPB emulation handler
[    1.126260] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.137819] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.147276] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.160069] hub 1-0:1.0: USB hub found
[    1.167622] hub 1-0:1.0: 1 port detected
[    1.175869] using random self ethernet address
[    1.183741] using random host ethernet address
[    1.192485] usb0: HOST MAC 06:c7:28:e9:ca:7b
[    1.200139] usb0: MAC 3a:f5:8c:6e:55:a9
[    1.207258] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.218095] g_cdc gadget: g_cdc ready
[    1.225352] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:12 UTC (12)
[    1.237063] vcc3v0: disabling
[    1.243370] vcc5v0: disabling
[    1.249600] ALSA device list:
[    1.255731]   No soundcards found.
[    1.266011] Waiting for root device /dev/mmcblk0p2...
[    1.312320] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.326300] mmc0: new high speed SDHC card at address 5048
[    1.335850] mmcblk0: mmc0:5048 SD32G 29.7 GiB
[    1.346079]  mmcblk0: p1 p2
[    1.356650] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.369625] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.411377] random: fast init done
[    1.424697] EXT4-fs (mmcblk0p2): recovery complete
[    1.437080] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.448434] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.459280] devtmpfs: mounted
[    1.466785] Freeing unused kernel memory: 1024K
[    1.580319] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered

#19 Re: 全志 SOC » 尝试把rtl8812au网卡装到v3s上用 » 2023-04-03 12:22:58

给后来人提示,换成4.14内核可以正常加载驱动,原因我找不出来

#20 全志 SOC » 根据aodzip大佬的仓库安装ion,走完流程之后发现没有/dev/ion » 2023-03-29 12:40:26

ookk303
回复: 0

内核下载来自官方的
git clone -b zero-5.2.y --depth 1 https://github.com/Lichee-Pi/linux.git

按照aodzip的步骤
将cedar放入内核中

编译配置
> Device Drivers > Staging drivers > Media staging drivers
[星]   Allwinner sunXi family Video Devices
<星>     Allwinner CedarX Video Engine Driver # ve驱动
<星>     Allwinner CedarX Ion Driver             #ion接口

> Library routines
- 星号-DMA Contiguous Memory Allocator
Default contiguous memory area size:
(32)  Size in Mega Bytes
Selected region size (Use mega bytes value only)  --->

按照提示修改设备树
修改sun8i-v3s.dtsi

编译后将zimage和sun8i-v3s-licheepi-zero.dtb放进第一分区
跑起来后没有/dev/ion和/dev/cedar_dev

#21 Re: 全志 SOC » v3s openwrt usb wifi 驱动成功了,还没正常配置热点 » 2023-03-20 16:42:41

楼主能讲解一下在v3s上安装网卡驱动的步骤吗,我安装完驱动之后,插上网卡会报错

   17.094347] ------------[ cut here ]------------
[   17.104633] WARNING: CPU: 0 PID: 265 at /home/ookk303/rtl8812au-v5.2.20/os_dep/linux/os_intfs.c:2982 rtw_os_ndevs_register+0xcc/0x118 [88XXau_wfb]
[   17.127575] Modules linked in: 88XXau_wfb(O+)
[   17.136712] CPU: 0 PID: 265 Comm: insmod Tainted: G        W  O      5.2.0-licheepi-zero+ #3
[   17.149880] Hardware name: Allwinner sun8i Family
[   17.159203] [<c010eb1c>] (unwind_backtrace) from [<c010b61c>] (show_stack+0x10/0x14)
[   17.171577] [<c010b61c>] (show_stack) from [<c072c200>] (dump_stack+0x84/0x98)
[   17.183353] [<c072c200>] (dump_stack) from [<c011d830>] (__warn+0xfc/0x114)
[   17.194764] [<c011d830>] (__warn) from [<c011d960>] (warn_slowpath_null+0x40/0x48)
[   17.207586] [<c011d960>] (warn_slowpath_null) from [<bf0a29a0>] (rtw_os_ndevs_register+0xcc/0x118 [88XXau_wfb])
[   17.228057] [<bf0a29a0>] (rtw_os_ndevs_register [88XXau_wfb]) from [<bf0a2a38>] (rtw_os_ndevs_init+0x1c/0x44 [88XXau_wfb])
[   17.249689] [<bf0a2a38>] (rtw_os_ndevs_init [88XXau_wfb]) from [<bf0a3af8>] (rtw_drv_init+0x2dc/0x394 [88XXau_wfb])
[   17.270231] [<bf0a3af8>] (rtw_drv_init [88XXau_wfb]) from [<c049c284>] (usb_probe_interface+0xf8/0x238)
[   17.289050] [<c049c284>] (usb_probe_interface) from [<c043388c>] (really_probe+0x1dc/0x2d8)
[   17.302165] [<c043388c>] (really_probe) from [<c0433b00>] (driver_probe_device+0x60/0x168)
[   17.315134] [<c0433b00>] (driver_probe_device) from [<c0433da8>] (device_driver_attach+0x58/0x60)
[   17.328689] [<c0433da8>] (device_driver_attach) from [<c0433e30>] (__driver_attach+0x80/0xbc)
[   17.341903] [<c0433e30>] (__driver_attach) from [<c0431c30>] (bus_for_each_dev+0x68/0xb4)
[   17.354771] [<c0431c30>] (bus_for_each_dev) from [<c0432c28>] (bus_add_driver+0x140/0x1e8)
[   17.367727] [<c0432c28>] (bus_add_driver) from [<c043464c>] (driver_register+0x78/0x110)
[   17.380478] [<c043464c>] (driver_register) from [<c049aed0>] (usb_register_driver+0x70/0x134)
[   17.394420] [<c049aed0>] (usb_register_driver) from [<bf204040>] (rtw_drv_entry+0x40/0x1000 [88XXau_wfb])
[   17.414110] [<bf204040>] (rtw_drv_entry [88XXau_wfb]) from [<c01026fc>] (do_one_initcall+0x54/0x1b8)
[   17.433008] [<c01026fc>] (do_one_initcall) from [<c019d2c4>] (do_init_module+0x5c/0x20c)
[   17.446096] [<c019d2c4>] (do_init_module) from [<c019c310>] (load_module+0x1c80/0x22b8)
[   17.459028] [<c019c310>] (load_module) from [<c019cb94>] (sys_finit_module+0xc8/0xd8)
[   17.471819] [<c019cb94>] (sys_finit_module) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[   17.484957] Exception stack(0xc1c35fa8 to 0xc1c35ff0)
[   17.494922] 5fa0:                   b687fd00 00446cdc 00000003 0044ae80 00000000 00000002
[   17.508082] 5fc0: b687fd00 00446cdc b6f06f10 0000017b 00000000 00446cdc 0045d000 00000000
[   17.521202] 5fe0: be89ec30 be89ec20 004416c3 b6e81a42
[   17.531326] ---[ end trace 44385726c32a1910 ]---
[   17.708975] usb 1-1: reset high-speed USB device number 2 using ehci-platform
[   17.919663] usbcore: registered new interface driver rtl88xxau_wfb

#22 Re: 全志 SOC » 尝试把rtl8812au网卡装到v3s上用 » 2023-03-15 16:37:08

当我insmod 完驱动

一旦接线就
   17.094347] ------------[ cut here ]------------
[   17.104633] WARNING: CPU: 0 PID: 265 at /home/ookk303/rtl8812au-v5.2.20/os_dep/linux/os_intfs.c:2982 rtw_os_ndevs_register+0xcc/0x118 [88XXau_wfb]
[   17.127575] Modules linked in: 88XXau_wfb(O+)
[   17.136712] CPU: 0 PID: 265 Comm: insmod Tainted: G        W  O      5.2.0-licheepi-zero+ #3
[   17.149880] Hardware name: Allwinner sun8i Family
[   17.159203] [<c010eb1c>] (unwind_backtrace) from [<c010b61c>] (show_stack+0x10/0x14)
[   17.171577] [<c010b61c>] (show_stack) from [<c072c200>] (dump_stack+0x84/0x98)
[   17.183353] [<c072c200>] (dump_stack) from [<c011d830>] (__warn+0xfc/0x114)
[   17.194764] [<c011d830>] (__warn) from [<c011d960>] (warn_slowpath_null+0x40/0x48)
[   17.207586] [<c011d960>] (warn_slowpath_null) from [<bf0a29a0>] (rtw_os_ndevs_register+0xcc/0x118 [88XXau_wfb])
[   17.228057] [<bf0a29a0>] (rtw_os_ndevs_register [88XXau_wfb]) from [<bf0a2a38>] (rtw_os_ndevs_init+0x1c/0x44 [88XXau_wfb])
[   17.249689] [<bf0a2a38>] (rtw_os_ndevs_init [88XXau_wfb]) from [<bf0a3af8>] (rtw_drv_init+0x2dc/0x394 [88XXau_wfb])
[   17.270231] [<bf0a3af8>] (rtw_drv_init [88XXau_wfb]) from [<c049c284>] (usb_probe_interface+0xf8/0x238)
[   17.289050] [<c049c284>] (usb_probe_interface) from [<c043388c>] (really_probe+0x1dc/0x2d8)
[   17.302165] [<c043388c>] (really_probe) from [<c0433b00>] (driver_probe_device+0x60/0x168)
[   17.315134] [<c0433b00>] (driver_probe_device) from [<c0433da8>] (device_driver_attach+0x58/0x60)
[   17.328689] [<c0433da8>] (device_driver_attach) from [<c0433e30>] (__driver_attach+0x80/0xbc)
[   17.341903] [<c0433e30>] (__driver_attach) from [<c0431c30>] (bus_for_each_dev+0x68/0xb4)
[   17.354771] [<c0431c30>] (bus_for_each_dev) from [<c0432c28>] (bus_add_driver+0x140/0x1e8)
[   17.367727] [<c0432c28>] (bus_add_driver) from [<c043464c>] (driver_register+0x78/0x110)
[   17.380478] [<c043464c>] (driver_register) from [<c049aed0>] (usb_register_driver+0x70/0x134)
[   17.394420] [<c049aed0>] (usb_register_driver) from [<bf204040>] (rtw_drv_entry+0x40/0x1000 [88XXau_wfb])
[   17.414110] [<bf204040>] (rtw_drv_entry [88XXau_wfb]) from [<c01026fc>] (do_one_initcall+0x54/0x1b8)
[   17.433008] [<c01026fc>] (do_one_initcall) from [<c019d2c4>] (do_init_module+0x5c/0x20c)
[   17.446096] [<c019d2c4>] (do_init_module) from [<c019c310>] (load_module+0x1c80/0x22b8)
[   17.459028] [<c019c310>] (load_module) from [<c019cb94>] (sys_finit_module+0xc8/0xd8)
[   17.471819] [<c019cb94>] (sys_finit_module) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[   17.484957] Exception stack(0xc1c35fa8 to 0xc1c35ff0)
[   17.494922] 5fa0:                   b687fd00 00446cdc 00000003 0044ae80 00000000 00000002
[   17.508082] 5fc0: b687fd00 00446cdc b6f06f10 0000017b 00000000 00446cdc 0045d000 00000000
[   17.521202] 5fe0: be89ec30 be89ec20 004416c3 b6e81a42
[   17.531326] ---[ end trace 44385726c32a1910 ]---
[   17.708975] usb 1-1: reset high-speed USB device number 2 using ehci-platform
[   17.919663] usbcore: registered new interface driver rtl88xxau_wfb


有dalao知道怎么解决吗

#23 全志 SOC » 尝试把rtl8812au网卡装到v3s上用 » 2023-03-15 16:35:41

ookk303
回复: 2

1、下载内核(官方5.2内核)
2、menuconfig配置的decice drivers ->network device support -> wireless lan下的
     IEEE 802.111 .........(..../CCMP) 这个选上
3、下载rtl8812au的驱动,把makefile里的
CONFIG_PLATFORM_I386_PC = n    #(关闭pc编译)
CONFIG_PLATFORM_ARM_RPI = y   # (编译平台选择arm)

ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
ARCH ?= arm   #(编译环境)
CROSS_COMPILE ?=  arm-linux-gnueabihf-  #(编译链)
KVER ?=   #(licheepi5.2内核的名字)
KSRC :=  #(编译内核的位置)
MODDESTDIR :=#(网卡编译位置)

4、然后编译出88xxau.ko
5、编译内核
6、把设备树和zimage 放进去卡里

#24 Re: 全志 SOC » v3s官方的linux5.2,安装内核头文件要下载哪个版本 » 2023-03-14 10:21:50

还是说要是想装内核头文件,只能换一个内核

#25 Re: 全志 SOC » licheepi zero BSP 内核(linux3.4) 编译教程 » 2023-03-14 10:20:36

下来试一下能不能正常安装内核头文件

#26 全志 SOC » v3s官方的linux5.2,安装内核头文件要下载哪个版本 » 2023-03-14 09:27:57

ookk303
回复: 2

直接选择安装,找不到安装包

root@LicheePi:~# apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-headers-5.2.0-licheepi-zero
E: Couldn't find any package by regex 'linux-headers-5.2.0-licheepi-zero'

#27 全志 SOC » 荔枝派使用alsamixer设置音量,使用aplay播放指令,alsamixer音量会直接变成0 » 2023-03-03 15:33:49

ookk303
回复: 0

内核用的是站内的这个https://whycan.com/t_682.html
有人遇到这个情况吗:(

#28 Re: DOPI开源摄像头(HI3516/HI3518) » hi3518学习资料分享 » 2023-01-31 18:07:24

你好楼主,申请好友了。现在还分享吗

#29 Re: 全志 SOC » licheepi zero修改了/etc/inittab之后 开机还是要登陆,还有别的方法实现开机免登陆吗 » 2023-01-31 10:18:36

所以我按照https://wiki.sipeed.com/soft/Lichee/zh/Zero-Doc/application/autorun.html
把编译好的mingetty和login放入卡里
修改了/etc/inittab里之后
还是要登陆,而且连root账户也登不了了
有人知道要怎么改掉这个登陆吗:|


最后用这个解决了
https://blog.csdn.net/weixin_41594119/article/details/122682054

#30 Re: 全志 SOC » licheepi zero修改了/etc/inittab之后 开机还是要登陆,还有别的方法实现开机免登陆吗 » 2023-01-29 14:10:43

哇酷小二 说:

你的是 Debian 系统, 那可能要用别的方式了.


刚才拿了另外一张启动卡可以直接改
看来确实是系统问题了

#31 Re: 全志 SOC » licheepi zero修改了/etc/inittab之后 开机还是要登陆,还有别的方法实现开机免登陆吗 » 2023-01-29 12:17:20

哇酷小二 说:

改成:

console::respawn:-/bin/sh


改成这样了 还是不行,一样要登陆
root@LicheePi:~# cat /etc/inittab
console::respawn:-/bin/sh


root@LicheePi:~#

#32 Re: 全志 SOC » licheepi zero修改了/etc/inittab之后 开机还是要登陆,还有别的方法实现开机免登陆吗 » 2023-01-29 12:10:34

@哇酷小二
这个也改过了 ,主要是里面也没有这句话
我是把ttyS0::respawn:/root/logintest -L ttyS0 115200 vt100
改成这个试的

#33 全志 SOC » licheepi zero修改了/etc/inittab之后 开机还是要登陆,还有别的方法实现开机免登陆吗 » 2023-01-29 11:42:15

ookk303
回复: 7

已经按照这个步骤改了, logintest也是在root下创建的

开机自启动
buildroot 根文件系统
修改/etc/inittab:
ttyS0::respawn:/root/logintest -L ttyS0 115200 vt100
新建logintest:
#!/bin/sh
/bin/login -f root

开机还是会显示

[    4.131715] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    4.596826] systemd-journald[98]: Received request to flush runtime journal from PID 1

Debian GNU/Linux 8 LicheePi ttyS0

LicheePi login:

页脚

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

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