I am following this tutorial to establish tftp on my rpi: https://bootlin.com/blog/tftp-nfs-booti ... et-beagle/. But I cannot make u-boot start usb ethernet gadget. I have enabled this additional lines in .config in u-boot's source code:
However, inside u-boot shell when I try to ping 192.168.0.1 it says: no ethernet found. I enabled usb mass storage gadget also, to test if it will work.
The command:Results in:What can I do in this situtation? Is it even possible to establish usb gadget functionality on pi-zero-2-w during u-boot ?
- CONFIG_USB_HOST_ETHER=y
CONFIG_USB_ETHER_LAN78XX=y
CONFIG_USB_ETHER_SMSC95XX=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_MANUFACTURER="U-Boot"
CONFIG_USB_GADGET_VENDOR_NUM=0x0
CONFIG_USB_GADGET_PRODUCT_NUM=0x0
CONFIG_CI_UDC=y
CONFIG_USB_GADGET_VBUS_DRAW=2
CONFIG_USB_ETHER=y
CONFIG_USB_ETH_RNDIS=y
CONFIG_USBNET_DEV_ADDR="f8:dc:7a:00:00:02"
CONFIG_USBNET_HOST_ADDR="f8:dc:7a:00:00:01"
CONFIG_USB_FUNCTION_MASS_STORAGE=y
- ipaddr 192.168.0.100
serverip 192.168.0.1
ethprime usb_ether
usbnet_devaddr f8:dc:7a:00:00:02
usbnet_hostaddr f8:dc:7a:00:00:01
However, inside u-boot shell when I try to ping 192.168.0.1 it says: no ethernet found. I enabled usb mass storage gadget also, to test if it will work.
The command:
Code:
ums 1 mmc 0:1
Code:
UMS: LUN 0, dev mmc 0, hwpart 0, sector 0x800, count 0x32000USB DWC2<UEI f86678a4> (this line repeats infinetly)
Statistics: Posted by joex__ — Mon Apr 29, 2024 8:05 am