RSS Bot Posted December 4, 2023 Posted December 4, 2023 Description We are using unudhcpd from pmos for usb gadget network dhcp server. But this package is not upstreamed to debian, and it's the only package we use for qcom abl that is not upstreamed, so replace it with dnsmasq. Difference between unudhcpd and dnsmasq: 1, unudhcpd is a very simple dhcp server which only provides one ip address to the client. While dnsmasq will provide different ip address on every usb gadget network connect because the mac address of usb gadget network client always changes. 2, When usbgadget network is disabled by command systemctl status usbgadget-rndis.service, dnsmasq will get stopped. If dnsmasq is not stopped, client won't get address next time usbgadget network is enabled. Also add slot_suffix arg to kernel cmdline because qbootctl need it to get current slot. How Has This Been Tested? Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration. [ ] Test A [ ] Test B Checklist: [ ] My code follows the style guidelines of this project [ ] I have performed a self-review of my own code [ ] I have commented my code, particularly in hard-to-understand areas [ ] I have made corresponding changes to the documentation [ ] My changes generate no new warnings [ ] Any dependent changes have been merged and published in downstream modules View the full article
Recommended Posts