boobypi Posted 8 hours ago Posted 8 hours ago Hello, I just received my SeedStudio Recomputer RK3576 and I have a well working machine thanks to the armbian team using the debian Forky image. I try to understand why i cannot connect a (usb) minipcie modem (already testing 1 year use with Radxa zero 3 W), all usb ports not working anymore! There is a strange note on schematic pdf : If the PCIe1 or SATA1 function of Combo PHY1 is selected, the USB3 OTG1 function cannot be used, and even the USB2 PHY1 function cannot be used But they also notice the support of usb link on this minipcie : LTE LoRa Module: Module:EC20/EC25 WM1302 SPI/USB Version Zigbee: USB Version The miniPCIe is connected on USBHUB_HOST3 <- USB HUB external chip -> USB2_HOST1 (RK3576 soc). All USB phy fail, even USB PHY not related to this usb hub. lsusb didn't show my usb modem, even if there no usb devices connected. I bought this nice machine as my home router with internal 4G modem quectel EC200A-EU but at this time ,my plan fail. The idle powerdraw with nvme onboard is under 2W and wifi sta active, Nice dietpi hardware! Thanks for your input (how to make this minipcie working, disable usb port is a possible tradeoff for me) Seb 0 Quote
boobypi Posted 3 hours ago Author Posted 3 hours ago Maybe it's just relative to reset pin on the LTE modem, locking down all the shared USB BUS. On the dts, we can activate LTE_RESET : &i2c4 { status = "okay"; pinctrl-0 = <&i2c4m3_xfer>; gpio_xten: gpio_xten@21 { compatible = "nxp,pca9535"; reg = <0x21>; gpio-controller; #gpio-cells = <2>; interrupt-controller; gpio-line-names = "MIPI_DPHY_CSI0_IO1" ,"USB_USB30_PWREN_H", "USB_HOST_PWREN_H" ,"BRD_ID_WP", "LTE_RESET" ,"P05", "P06" ,"LoRaWan_sx1262_CS", "USER_LED_R" ,"USER_LED_B", "USER_LED_G" ,"P13", "P14" ,"P15", "P16" ,"P17"; gpio-line-offsets = <0>, <1>, <2>, <3>, <4>, <5>, <6>, <7>, <8>, <9>, <10>, <11>, <12>, <13>, <14>, <15>; }; On the LTE modem manual, reset is active when LTE_RESET is low, and pullup to vcc in normal operation. If LTE_RESET stay low with onboard modem connected, LTE modem may lock all USB ports. How can I define LTE_RESET to 1 at the boot? 0 Quote
boobypi Posted 2 hours ago Author Posted 2 hours ago (edited) At the finnest, i cut the reset pin (22) on my minipcie module. Same all USB port lockdown. I put this modified lte modem in my external usb case, modem always working fine. So i take a spare new LTE modem and i connect it "hotplug" on the recomputer minipcie while already booted : lsusb see my Quectel LTE module! Edited 2 hours ago by boobypi 0 Quote
eselarm Posted 1 hour ago Posted 1 hour ago My thinking is that with a standard example tool from libgpiod (gpioset) it should be possible to toggle a GPIO line. I see 'P05' that seems a pad number of the RK3576. I remember I had to dig deep in internet fora for something similar for BananaPi M1 to see what to put in armbianEnv.txt. Or NanoPi-NEO. The later I use with those example gpioset to toggle a GPIO to switch some own electronics on/off. You could also use lgpio (rpigpio successor or any other that can toggle pin states). Note that formally, you need to threat a GPIO line like a file, claim, open, close etc. After that state is undefined, but most SBC kernels keep the state, but formally undefined. See many many discussions on wiringpi etc. W.r.t. this combPHY: the RK3576/RK3588: those can act as several SerDes, it is sort of multiplexed, so cannot be all at the same time. But you need to look in schematics. I use the SATA<> PCIE2x1 swap (on E-key slot on ROCK5B and ROCK3A) but it very much depends on what firmware/bootloader and DTB(O) and kernel. For the ROCK3A for example, I still don't have it working according to I wish with mainline based U-Boot+kernel. Only vendor 6.1 and legacy U-Boot. I see on the SeeedStudio page: preloaded with Armbian, so this topics is a sort of test-case IMO: is that claim with mainline based or vendor/legacy Rockchip; I guess the latter, so maybe list versions of various system software. 'Forky' is not released, so a moving target or rolling release, others don't know what versions you use so not possible to reproduce the issue(s). 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.