Coder Social home page Coder Social logo

build-linux's People

Contributors

cm9vda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

build-linux's Issues

关于众云世纪rk3399无法识别usb 2.0的疑问

型号:众云世纪 rk3399,A2 1739A v1.5
编译源码:immortal 23.05.1 kernel 5.15.137
dts: 仓库里的dts,https://github.com/cm9vdA/build-linux/blob/master/boot/dts/rockchip/mainline/rk3399-zysj.dts
u-boot:仓库里的uboot,https://github.com/cm9vdA/build-linux/blob/master/boot/dts/rockchip/mainline/rk3399-zysj-u-boot.dtsi
zysj rk3399

也刷过ophub上6.1内核的armbian,遇到的问题和在ophub上那个issue一样,就是usb2.0 全都不可用ophub/amlogic-s9xxx-armbian#1380 (comment)
我想要用板上的minipcie接一个4G网卡,所以usb2.0不能用有点难受,所以在这里还是想请教下可能是什么原因

dts中与usb供电相关的几个引脚 70,153,157,都是out hi状态,但是就是不能用
图片

我试过改了一些引脚参数之类的,也不行

DG3399 启动问题

大佬,我想问下,DG3399这个板子是不是不能从sd卡启动啊?我现在emmc是原安卓系统,sd卡是armbian系统,启动的时候,还是直接进安卓系统,sd卡应该是优先启动才对啊

大佬,请教下RK3399 USB的问题

大佬,我有一个rk3399的安卓工控机板子,现在刷了官方sdk编译的ubuntu系统(官方的应该是安卓内核4.4),发现usb3.0接口工作不正常,一直工作在usb2.0模式下,这可能是什么问题啊?
没插入u盘是,是这样
QQ截图20230617150934
插入u盘后,是这样。(无论插入哪个usb接口,都是在这个hub下,2个usb3.0 ,2个usb2.0 ,1个micro usb otg)
QQ截图20230617150941

内核里面关于usb相关的日志是这些

root@ubuntu:~# dmesg | grep dwc3
[    2.417006] rockchip-dwc3 usb@fe800000: fail to get drvdata hcd
[    2.428286] rockchip-dwc3 usb@fe900000: fail to get drvdata hcd
[   10.700556] rockchip-dwc3 usb@fe800000: USB HOST connected
root@ubuntu:~# dmesg | grep usb
[    1.457308] usbcore: registered new interface driver usbfs
[    1.462838] usbcore: registered new interface driver hub
[    1.468244] usbcore: registered new device driver usb
[    1.795330] phy phy-ff770000.syscon:[email protected]: Looking up phy-supply from device tree
[    1.795348] phy phy-ff770000.syscon:[email protected]: Looking up phy-supply property in node /syscon@ff770000/usb2-phy@e450/otg-port failed
[    1.795647] phy phy-ff770000.syscon:[email protected]: Looking up vbus-supply from device tree
[    1.795661] phy phy-ff770000.syscon:[email protected]: Looking up vbus-supply property in node /syscon@ff770000/usb2-phy@e450/otg-port failed
[    1.795676] phy phy-ff770000.syscon:[email protected]: Failed to get VBUS supply regulator
[    1.804171] phy phy-ff770000.syscon:[email protected]: Looking up phy-supply from device tree
[    1.804292] vcc5v0_host: could not add device link phy-ff770000.syscon:[email protected] err -2
[    1.804889] phy phy-ff770000.syscon:[email protected]: Looking up phy-supply from device tree
[    1.804904] phy phy-ff770000.syscon:[email protected]: Looking up phy-supply property in node /syscon@ff770000/usb2-phy@e460/otg-port failed
[    1.805153] phy phy-ff770000.syscon:[email protected]: Looking up vbus-supply from device tree
[    1.805167] phy phy-ff770000.syscon:[email protected]: Looking up vbus-supply property in node /syscon@ff770000/usb2-phy@e460/otg-port failed
[    1.805182] phy phy-ff770000.syscon:[email protected]: Failed to get VBUS supply regulator
[    1.813396] phy phy-ff770000.syscon:[email protected]: Looking up phy-supply from device tree
[    1.813458] vcc5v0_host: could not add device link phy-ff770000.syscon:[email protected] err -2
[    1.815716] phy phy-ff800000.phy.6: Looking up phy-supply property in node /phy@ff800000/usb3-port failed
[    2.366756] usbcore: registered new interface driver rndis_wlan
[    2.377953] usbcore: registered new interface driver rtl8150
[    2.383656] usbcore: registered new interface driver r8152
[    2.389179] usbcore: registered new interface driver cdc_ether
[    2.395051] usbcore: registered new interface driver rndis_host
[    2.401033] usbcore: registered new interface driver cdc_ncm
[    2.406742] usbcore: registered new interface driver cdc_mbim
[    2.417006] rockchip-dwc3 usb@fe800000: fail to get drvdata hcd
[    2.428286] rockchip-dwc3 usb@fe900000: fail to get drvdata hcd
[    2.455474] ehci-platform fe380000.usb: EHCI Host Controller
[    2.461315] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[    2.469274] ehci-platform fe380000.usb: irq 28, io mem 0xfe380000
[    2.480946] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    2.487295] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.494095] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.501324] usb usb1: Product: EHCI Host Controller
[    2.506211] usb usb1: Manufacturer: Linux 4.4.126 ehci_hcd
[    2.511701] usb usb1: SerialNumber: fe380000.usb
[    2.528472] ehci-platform fe3c0000.usb: EHCI Host Controller
[    2.534311] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[    2.542246] ehci-platform fe3c0000.usb: irq 30, io mem 0xfe3c0000
[    2.553947] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    2.560281] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    2.567082] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.574309] usb usb2: Product: EHCI Host Controller
[    2.579196] usb usb2: Manufacturer: Linux 4.4.126 ehci_hcd
[    2.584686] usb usb2: SerialNumber: fe3c0000.usb
[    2.609827] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    2.616702] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[    2.624662] ohci-platform fe3a0000.usb: irq 29, io mem 0xfe3a0000
[    2.685082] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    2.691880] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.699117] usb usb3: Product: Generic Platform OHCI controller
[    2.705043] usb usb3: Manufacturer: Linux 4.4.126 ohci_hcd
[    2.710533] usb usb3: SerialNumber: fe3a0000.usb
[    2.723956] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    2.730844] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[    2.738764] ohci-platform fe3e0000.usb: irq 31, io mem 0xfe3e0000
[    2.799120] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    2.805927] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.813154] usb usb4: Product: Generic Platform OHCI controller
[    2.819078] usb usb4: Manufacturer: Linux 4.4.126 ohci_hcd
[    2.824576] usb usb4: SerialNumber: fe3e0000.usb
[    2.838435] usbcore: registered new interface driver cdc_acm
[    2.852164] usbcore: registered new interface driver cdc_wdm
[    2.857881] usbcore: registered new interface driver uas
[    2.863305] usbcore: registered new interface driver usb-storage
[    2.869390] usbcore: registered new interface driver usbserial
[    2.875260] usbcore: registered new interface driver usbserial_generic
[    2.881826] usbserial: USB Serial support registered for generic
[    2.887874] usbcore: registered new interface driver cp210x
[    2.893483] usbserial: USB Serial support registered for cp210x
[    2.899472] usbcore: registered new interface driver ftdi_sio
[    2.902946] usb 2-1: new high-speed USB device number 2 using ehci-platform
[    2.912222] usbserial: USB Serial support registered for FTDI USB Serial Device
[    2.919666] usbcore: registered new interface driver keyspan
[    2.925366] usbserial: USB Serial support registered for Keyspan - (without firmware)
[    2.933221] usbserial: USB Serial support registered for Keyspan 1 port adapter
[    2.940572] usbserial: USB Serial support registered for Keyspan 2 port adapter
[    2.947907] usbserial: USB Serial support registered for Keyspan 4 port adapter
[    2.955261] usbcore: registered new interface driver option
[    2.960867] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.968025] usbcore: registered new interface driver oti6858
[    2.973716] usbserial: USB Serial support registered for oti6858
[    2.979761] usbcore: registered new interface driver pl2303
[    2.985370] usbserial: USB Serial support registered for pl2303
[    2.991343] usbcore: registered new interface driver qcserial
[    2.997120] usbserial: USB Serial support registered for Qualcomm USB modem
[    3.004137] usbcore: registered new interface driver sierra
[    3.009745] usbserial: USB Serial support registered for Sierra USB modem
[    3.016600] usbcore: registered new interface driver cdc_xr_usb_serial
[    3.020893] usb 2-1: New USB device found, idVendor=0bda, idProduct=f179
[    3.020899] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.020905] usb 2-1: Product: 802.11n
[    3.020910] usb 2-1: Manufacturer: Realtek
[    3.020914] usb 2-1: SerialNumber: 48D890F320FB
[    3.049278] xr_usb_serial_common: Exar USB UART (serial port) driver
[    3.055687] usbcore: registered new interface driver ch341
[    3.061205] usbserial: USB Serial support registered for ch341-uart
[    3.068608] usbcore: registered new interface driver usbtouchscreen
[    3.360071] usbcore: registered new interface driver uvcvideo
[    3.416589] usbcore: registered new interface driver bfusb
[    3.422141] usbcore: registered new interface driver btusb
[    3.636962] phy phy-ff770000.syscon:[email protected]: charger = USB_SDP_CHARGER
[    3.770833] usbcore: registered new interface driver usbhid
[    3.776416] usbhid: USB HID core driver
[    3.799606] usbcore: registered new interface driver snd-usb-audio
[    6.311201] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    6.318002] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.325229] usb usb5: Product: xHCI Host Controller
[    6.330107] usb usb5: Manufacturer: Linux 4.4.126 xhci-hcd
[    6.335597] usb usb5: SerialNumber: xhci-hcd.7.auto
[    6.362361] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.370494] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003
[    6.377284] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.384507] usb usb6: Product: xHCI Host Controller
[    6.389388] usb usb6: Manufacturer: Linux 4.4.126 xhci-hcd
[    6.394875] usb usb6: SerialNumber: xhci-hcd.7.auto
[    6.413592] usb usb6: USB disconnect, device number 1
[    6.464094] usb usb5: USB disconnect, device number 1
[    6.507690] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    6.514517] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.521761] usb usb5: Product: xHCI Host Controller
[    6.526651] usb usb5: Manufacturer: Linux 4.4.126 xhci-hcd
[    6.532137] usb usb5: SerialNumber: xhci-hcd.8.auto
[    6.558775] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.566966] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003
[    6.573758] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.580974] usb usb6: Product: xHCI Host Controller
[    6.585854] usb usb6: Manufacturer: Linux 4.4.126 xhci-hcd
[    6.591356] usb usb6: SerialNumber: xhci-hcd.8.auto
[    6.849967] usb 5-1: new high-speed USB device number 2 using xhci-hcd
[    6.977170] usb 5-1: New USB device found, idVendor=0424, idProduct=2517
[    6.983893] usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    7.315116] usb 5-1.6: new full-speed USB device number 3 using xhci-hcd
[    7.403270] usb 5-1.6: New USB device found, idVendor=1a86, idProduct=7523
[    7.410228] usb 5-1.6: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    7.417565] usb 5-1.6: Product: USB Serial
[    7.483007] usb 5-1.6: ch341-uart converter now attached to ttyUSB20
[   10.698467] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002
[   10.698474] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   10.698481] usb usb7: Product: xHCI Host Controller
[   10.698487] usb usb7: Manufacturer: Linux 4.4.126 xhci-hcd
[   10.698493] usb usb7: SerialNumber: xhci-hcd.7.auto
[   10.699778] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[   10.699849] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003
[   10.699857] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   10.699864] usb usb8: Product: xHCI Host Controller
[   10.699869] usb usb8: Manufacturer: Linux 4.4.126 xhci-hcd
[   10.699875] usb usb8: SerialNumber: xhci-hcd.7.auto
[   10.700556] rockchip-dwc3 usb@fe800000: USB HOST connected
[   21.847676] usbcore: registered new interface driver rtl8188fu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.