usb 供电电压有5v啊,直接5v加到5v的pin,ok的,效果杠杠的好.那么问题来了,lichee zero 的usb有什么特殊?
U-Boot SPL 2017.01-rc2 (Nov 14 2021 - 08:47:00)
DRAM: 64 MiB
Trying to boot from MMC1
U-Boot 2017.01-rc2 (Nov 14 2021 - 08:47:00 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
查了下电路,5v 排针和usb 5v是并的,rst测试点靠usb.
最近编辑记录 地瓜红薯 (2021-11-14 17:54:01)
离线
zero电源没处理好吧
感觉是供电不足?usb接触就这么不好?
离线
地瓜红薯 说:tigger 说:zero电源没处理好吧
感觉是供电不足?usb接触就这么不好?
是第一代那种核心板底板分离的板子吗?
no,黑色一体dock.
怪怪的,如果usb id拉低,会不会就会这样没戏?干扰拉低,实测id是通过一电阻接到3.3,插入usb也没变低.usb供电默认就进入烧录模式?
,
最近编辑记录 地瓜红薯 (2021-11-14 19:05:26)
离线
检查一下 USB的5V 和 排针5V是不是短路(一条裤子)的?
难道usb的5v不是和排针5v一起的?那usb供电也没和usb vcc3.3连接啊.本质 就是usbvcc悬空的?感觉不可思议啊,usb micro mini的5v是没和芯片的vcc usb3.3v连接的,是和排针5v连的,按理说能通过排针5v供电启动,通过usb连接器的5v供电也是能启动的,除非有不可描述的设计,让usb单独供电就不许启动.
最近编辑记录 地瓜红薯 (2021-11-14 19:33:18)
离线
小弟从早上玩这个奇葩主线uboot,主线linux,builtroot,发现我烧录成鱼落雁,闭月羞花的tf卡spl uboot是可以usb 供电启动的,我自己编译的spl uboot就不能通过usb供电启动.是不是有个什么pin使得usb进入fel下载模式?read the fucking code.但是一定是插入usb的时候触发这个脚进入所谓的fel模式.
最近编辑记录 地瓜红薯 (2021-11-14 20:35:06)
离线
@cube
大师果然名不虚传,一下子就帮小弟出掉bug.
离线
diff
phy@01c19400 {
compatible = "allwinner,sun8i-v3s-usb-phy";
reg = <0x01c19400 0x00000003 0x6374726c 0x00000008>;
reg-names = "phy_ctrl", "pmu0";
clocks = <0x00000002 0x000000a4>;
clock-names = "usb0_phy";
resets = <0x00000002 0x000000b7>;
reset-names = "usb0_reset";
status = "okay";
#phy-cells = <0x00000001>;
usb0_id_det-gpio = <0x00000006 0x00000003 0x00000003 0x00000002>;
linux,phandle = <0x00000005>;
phandle = <0x00000005>;
};
&usbphy {
usb0_id_det-gpio = <&pio 5 6 GPIO_ACTIVE_HIGH>;
status = "okay";
};
phy@01c19400 {
compatible = "allwinner,sun8i-v3s-usb-phy";
reg = <0x01c19400 0x00000003 0x6374726c 0x00000008>;
reg-names = "phy_ctrl", "pmu0";
clocks = <0x00000002 0x000000de>;
clock-names = "usb0_phy";
resets = <0x00000002 0x00000133>;
reset-names = "usb0_reset";
status = "okay";
#phy-cells = <0x00000001>;
usb0_id_det-gpio = <0x0000000b 0x00000003 0x00000003 0x00000002>;gpio?
linux,phandle = <0x0000000a>;
phandle = <0x0000000a>;
};
gpio?
最近编辑记录 地瓜红薯 (2021-11-16 12:05:19)
离线
fel 模式不是bootrom实现的?怎么到uboot才起作用?难道bootrom是多线程的?
最近编辑记录 地瓜红薯 (2021-11-16 12:04:17)
离线
U-Boot SPL 2017.01-rc2-00075-gec3f3ba-dirty (Dec 15 2017 - 14:00:51)
DRAM: 64 MiB
Trying to boot from MMC1
U-Boot 2017.01-rc2-00075-gec3f3ba-dirty (Dec 15 2017 - 14:00:51 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: 00, 00, 00
*** Warning - spi_flash_probe() failed, using default environment
Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
U-Boot 2017.01-rc2-00075-gec3f3ba-dirty (Dec 15 2017 - 14:00:51 +0800) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: 00, 00, 00
*** Warning - spi_flash_probe() failed, using default environment
Setting up a 800x480 lcd console (overscan 0x0)
dotclock: 33000kHz = 33000kHz: (1 * 3MHz * 66) / 6
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot: 0
reading zImage
4016104 bytes read in 633 ms (6.1 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
11803 bytes read in 23 ms (501 KiB/s)
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Device Tree to 42dfa000, end 42dffe1a ... OK
Starting kernel ...
为何沉鱼落雁的土匪固件运行2次uboot?
离线
@ubuntu
i see 1清2楚,闭月羞花的固件就是有2次uboot,一次uboot spl.你这个是自己编译的uboot,日期11.13.
离线