就是网线不插入,也会亮着。
aaabbb222 发布的帖子
-
配置了ch340驱动后,网卡失效了
修改.config文件,内核中配置了ch341驱动,但是网卡找不到了,eth0找不到。但是uboot启动的时候可以看到网卡。
linu 内核为4.14, 开发板为nanopi neo h3 256M.请教是不是什么地方冲突了?
出现错误提示:
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.执行命令systemctl status networking.service后的错误信息如下:
networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor pre
set: enabled)
Active: failed (Result: exit-code) since Wed 2023-11-22 05:10:27
CST; 3 months 25 days ago
Docs: man:interfaces(5)
Process: 92 ExecStart=/sbin/ifup -a --read-environment (code=exited,
status=1/FAILURE)
Main PID: 92 (code=exited, status=1/FAILURE)提示找不到 eth0。
-
usb模块的问题
硬件为:nanopi neo
内核模块为:Linux4.14
文件系统为 ubuntu21.0
在内核模块中打开了usb serial converter能力,并添加了pl2302的驱动,但是出现如下症状,而且在/dev目录下,没有ttyUSB文件。在USB插口,插入usb转rs485的头子,出现如下错误:
[code]
sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01f015c0 not registered
[ 1.764752] sun4i-codec 1c22c00.codec: Failed to register our card[/code]
请教如何解决? -
回复: 各位大佬,问一个问题,5G模组的设备节点是ttyUSB0、ttyUSB1、ttyUSB2、ttyUSB3,但是开发板上使用了一个FTDI232的USB转串口的方案,它的对应的设备节点是ttyUSB0,怎们能够避免这个问题
@apollo5520 在 各位大佬,问一个问题,5G模组的设备节点是ttyUSB0、ttyUSB1、ttyUSB2、ttyUSB3,但是开发板上使用了一个FTDI232的USB转串口的方案,它的对应的设备节点是ttyUSB0,怎们能够避免这个问题 中说:
@cube_work 可以修改 usb转串口驱动,把FTDI232的串口号改成其他的
请问,有具体的做法吗?
-
回复: v851s uart3 设置成普通串口收发
请问,nanopi neo的板子,如何修改串口设置? 我在公司 提供的内核代码中没有找到board.dts文件,只有sun8i-h3-nanopi-neo.dtsi文件,但该文件内容非常少。
-
Linux内核与nano-pi neo 的串口问题
nano-pi neo 用默认的内核,在写python代码的时候,无法发现可用的串口列表,请问,如何编译内核,或者修改内核,实现该功能?谢谢。
-
Nano pi neo 加载文件系统的时候出现的问题
修改了include/configs/sun8i.h文件中的内容 ,具体如下: 提示的root后面的参数不对,是不是文件系统对应的名称不对,不是/dev/mmcblk0p2?
谢谢大侠。
#define CONFIG_BOOTCOMMAND "setenv bootm_boot_mode sec; "
"load mmc 0:1 0x41000000 zImage; "
"load mmc 0:1 0x41800000 sun8i-v3s-licheepi-zero-dock.dtb; "
"bootz 0x41000000 - 0x41800000;"#define CONFIG_BOOTARGS "console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0"
3.675032] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:10 UTC (10) [ 3.689357] vcc3v0: disabling [ 3.698156] vcc5v0: disabling [ 3.706831] usb0-vbus: disabling [ 3.715700] ALSA device list: [ 3.724235] #0: Dummy 1 [ 3.732362] #1: Loopback 1 [ 3.740717] #2: H3 Audio Codec [ 3.749433] #3: allwinner,hdmi [ 3.758774] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 [ 3.771879] Please append a correct "root=" boot option; here are the available partitions: [ 3.785900] b300 15558144 mmcblk1 [ 3.785905] driver: mmcblk [ 3.803880] b301 32768 mmcblk1p1 23a83b10-01 [ 3.803883] [ 3.821749] b302 8347648 mmcblk1p2 23a83b10-02 [ 3.821751] [ 3.839477] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 3.853331] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.111-gec36a7d5-dirty #2 [ 3.866478] Hardware name: sun8i [ 3.875354] [<c02287fc>] (unwind_backtrace) from [<c0225398>] (show_stack+0x10/0x14) [ 3.888844] [<c0225398>] (show_stack) from [<c0a1ba3c>] (dump_stack+0x94/0xa8) [ 3.901829] [<c0a1ba3c>] (dump_stack) from [<c0240dd0>] (panic+0xdc/0x254) [ 3.914427] [<c0240dd0>] (panic) from [<c1001228>] (mount_block_root+0x18c/0x25c) [ 3.927671] [<c1001228>] (mount_block_root) from [<c1001414>] (mount_root+0x11c/0x124) [ 3.941372] [<c1001414>] (mount_root) from [<c1001574>] (prepare_namespace+0x158/0x19c) [ 3.955171] [<c1001574>] (prepare_namespace) from [<c1000ef8>] (kernel_init_freeable+0x254/0x264) [ 3.969889] [<c1000ef8>] (kernel_init_freeable) from [<c0a2ef4c>] (kernel_init+0x8/0x114) [ 3.983968] [<c0a2ef4c>] (kernel_init) from [<c0222058>] (ret_from_fork+0x14/0x3c) [ 3.997512] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 61.924973] BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 58s! [ 61.939007] BUG: workqueue lockup - pool cpus=0-3 flags=0x4 nice=0 stuck for 53s! [ 61.952577] Showing busy workqueues and worker pools: [ 61.963669] workqueue events: flags=0x0 [ 61.973520] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=4/256 [ 61.985570] in-flight: 109:sun4i_usb_phy0_id_vbus_det_scan [ 61.997440] pending: vmstat_shepherd, dbs_work_handler, output_poll_execute [ 62.010863] workqueue events_unbound: flags=0x2 [ 62.021482] pwq 8: cpus=0-3 flags=0x4 nice=0 active=1/512 [ 62.033209] pending: flush_to_ldisc [ 62.043164] workqueue events_freezable: flags=0x4 [ 62.053982] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 [ 62.066135] pending: thermal_zone_device_check [ 62.077051] workqueue events_power_efficient: flags=0x80 [ 62.088487] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=5/256 [ 62.100621] pending: fb_flashcursor, crda_timeout_work, neigh_periodic_work, do_cache_clean, neigh_periodic_work [ 62.117467] workqueue mm_percpu_wq: flags=0x8 [ 62.128095] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 [ 62.140422] pending: vmstat_update [ 62.150518] workqueue pm: flags=0x4 [ 62.160221] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 [ 62.172399] pending: pm_runtime_work [ 62.182514] workqueue dm_bufio_cache: flags=0x8 [ 62.193151] pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=1/256 [ 62.205299] pending: work_fn [ 62.214627] pool 0: cpus=0 node=0 flags=0x0 nice=0 hung=58s workers=5 idle: 29 132 3 108