页次: 1
在我们论坛上找的一个开源的焊接之后上电测试发现串口没反应,SD卡的启动方式,现在怀疑可能是启动boot脚导致,查询文档
系统启动方式分如下:
1.1 SPI NOR FLASH
1.2 SPI NAND Flash
1.3 SD卡
1.4 USB
2, 有32KB ROM(存放code) SPI0和SDC0控制器负责启动
3,external boot 选择引脚用来设置USB boot 这个引脚内部50K电阻弱上拉,开机后系统确认引脚状态,如果被拉低,就选择USB启动
external boot这个脚文档里却找不到,请问这个脚是哪个IO口。并且想知道一般这种问题排查思路和流程是什么,感谢各位大哥
KS_V3S.pdf
# insmod GobiNet.ko
[ 19.687744] GobiNet: loading out-of-tree module taints kernel.
[ 19.696252] GobiNet: Quectel_Linux&Android_GobiNet_Driver_V1.6.2.9
[ 19.705343] GobiNet 1-1:1.4 usb0: register 'GobiNet' at usb-1c1a000.usb-1, GobiNet Ethernet Device, 02:50:f4:00:00:00
[ 19.719261] creating qcqmi0
[ 19.722508] usbcore: registered new interface driver GobiNet
#
#
# /quectel-CM -s cenet &
# [01-01_00:00:54:688] Quectel_QConnectManager_Linux_V1.6.0.16
[01-01_00:00:54:690] Find /sys/bus/usb/devices/1-1 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x002
[01-01_00:00:54:691] Auto find qmichannel = /dev/qcqmi0
[01-01_00:00:54:691] Auto find usbnet_adapter = usb0
[01-01_00:00:54:691] netcard driver = GobiNet, driver version = V1.6.2.9
[01-01_00:00:54:691] ioctl(0x89f3, qmap_settings) failed: No such file or directory, rc=-1
[01-01_00:00:54:692] Modem works in QMI mode
[01-01_00:00:54:723] Get clientWDS = 7
[01-01_00:00:54:755] Get clientDMS = 8
[01-01_00:00:54:786] Get clientNAS = 9
[01-01_00:00:54:818] Get clientUIM = 10
[01-01_00:00:54:851] Get clientWDA = 11
[01-01_00:00:54:883] requestBaseBandVersion EC20CEFASGR08A05M2G
[01-01_00:00:55:011] requestGetSIMStatus SIMStatus: SIM_READY
[01-01_00:00:55:012] requestSetProfile[1] cenet///0
[01-01_00:00:55:075] requestGetProfile[1] cenet///0
[01-01_00:00:55:107] requestRegistrationState2 MCC: 460, MNC: 0, PS: Attached, DataCap: LTE
[01-01_00:00:55:139] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[01-01_00:00:55:139] ifconfig usb0 0.0.0.0
[01-01_00:00:55:150] ifconfig usb0 down
[01-01_00:00:56:163] requestSetupDataCall WdsConnectionIPv4Handle: 0x8707ab90
[01-01_00:00:56:323] ifconfig usb0 up
[01-01_00:00:56:336] busybox udhcpc -f -n -q -t 5 -i usb0
udhcpc: started, v1.33.2
udhcpc: sending discover
udhcpc: sending select for 10.190.187.228
udhcpc: lease of 10.190.187.228 obtained, lease time 7200
[01-01_00:00:56:422] deleting routers
[01-01_00:00:56:459] adding dns 211.138.180.2
[01-01_00:00:56:459] adding dns 211.138.180.3
#
#
#
# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
usb0 Link encap:Ethernet HWaddr 02:50:F4:00:00:00
inet addr:10.190.187.228 Mask:255.255.255.248
UP RUNNING NOARP MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1355 (1.3 KiB) TX bytes:856 (856.0 B)
# [ 92.672731] random: crng init done
https://github.com/Lichee-Pi/linux/tree/zero-4.13.y/arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts
leds { compatible = "gpio-leds"; blue_led { label = "licheepi:blue:usr"; gpios = <&pio 6 1 GPIO_ACTIVE_LOW>; /* PG1 */ }; green_led { label = "licheepi:green:usr"; gpios = <&pio 6 0 GPIO_ACTIVE_LOW>; /* PG0 */ default-state = "on"; }; red_led { label = "licheepi:red:usr"; gpios = <&pio 6 2 GPIO_ACTIVE_LOW>; /* PG2 */ }; };
大哥,请问哪里能看到版本的差异。
https://elixir.bootlin.com/linux/latest/source/arch/arm/boot/dts/sun8i-v3s-licheepi-zero.dts
leds { compatible = "gpio-leds"; blue_led { label = "licheepi:blue:usr"; gpios = <&pio 6 1 GPIO_ACTIVE_LOW>; /* PG1 */ }; green_led { label = "licheepi:green:usr"; gpios = <&pio 6 0 GPIO_ACTIVE_LOW>; /* PG0 */ default-state = "on"; }; red_led { label = "licheepi:red:usr"; gpios = <&pio 6 2 GPIO_ACTIVE_LOW>; /* PG2 */ }; };
老大哥,你给的这个网页代码是适配荔枝派的吗?我有点不清楚,还是去作者的github下载,我确定4.10y是没有LED驱动的
页次: 1