JetPack 4.6 CBoot ethernet error

I am trying to boot from a network TFTP server using the the DTB overlay for CBoot. My Jetson Xavier NX DevKit is connected to the same router and DHCP server. The boot log gets the following error and fails to network boot.

[0004.238] I> ########## Net boot ##########
[0004.238] I> EQoS: Init
[0006.241] I> Wait till auto-calibration completes…
[0006.476] I> Start auto-negotiation
[0006.476] I> Wait till it completes…
[0008.477] I> MAC addr 48:b0:2d:3d:a7:b3
[0008.477] I> DHCP: Init: Requesting IP …
[0008.478] I> netif status changed 0.0.0.0
[0028.978] E> Failed to acquire IP address via DHCP within timeout
[0028.979] I> netif status changed 0.0.0.0
[0028.980] E> Error (0) network stack init
[0028.980] E> Net boot failed, err: 724238354

What does this error message mean?

After this fails, it boots from the SD card and subsequently has no problem getting a DHCP address.

Is this dhcp server able to assign IP when your device is in kernel?

Yes. This is from tcpdump and the Jetson Xavier NX DevKit gets assigned .66 long after the CBoot error.

14:28:51.985950 IP 0.0.0.0.bootpc > broadcasthost.bootps: BOOTP/DHCP, Request from 48:b0:2d:3d:a7:b3 (oui Unknown), length 300
14:28:51.985957 ARP, Request who-has 192.168.2.1 tell 192.168.2.66, length 46

Even if I give it a static IP there is no packet traffic during this sequence. What reasons might cause there to be no ethernet device during this time in the boot sequence?

setvar dhcp-enabled false
setvar static-ip 192.168.2.66
setvar ip-netmask 255.255.255.0
setvar ip-gateway 192.168.2.1
exit

[0437.111] I> Our IP: 192.168.2.66
[0437.111] TFTP Client: Init
[0437.111] TFTP Client: Server IP: 192.168.2.168
[0437.111] TFTP Client: Send RRQ, file: jetson.dtb
[0442.116] TFTP Client: Connection failed
[0442.126] TFTP Client: Send RRQ, file: jetson.dtb
[0447.127] TFTP Client: Connection failed
[0447.137] TFTP Client: Send RRQ, file: jetson.dtb
[0452.138] TFTP Client: Connection failed
[0452.148] TFTP Client: Send RRQ, file: jetson.dtb
[0457.149] TFTP Client: Connection failed
[0457.159] TFTP Client: Send RRQ, file: jetson.dtb
[0462.160] TFTP Client: Connection failed
[0462.170] E> Failed to send RRQ of jetson.dtb within max retries
[0462.171] I> netif status changed 192.168.2.66
[0462.171] E> Net boot failed, err: 724238854

Solved/Workaround: I changed from a 100Mb connection to a 1Gb connection and CBoot was able to proceed. Apparently the software is sensitive to connection speed?

[0087.773] I> ########## Net boot ##########
[0087.774] I> EQoS: Init
[0089.776] I> Wait till auto-calibration completes...
[0090.011] I> Start auto-negotiation
[0090.012] I> Wait till it completes...
[0094.013] I> MAC addr 48:b0:2d:3d:a7:b3
[0094.013] I> DHCP: Init: Requesting IP ...
[0094.013] I> netif status changed 0.0.0.0
[0094.096] I> netif status changed 192.168.2.66
[0094.514] I> Our IP: 192.168.2.66
[0094.514] TFTP Client: Init
[0094.514] TFTP Client: Server IP: 192.168.2.168
[0094.515] TFTP Client: Send RRQ, file: jetson.dtb
#
[0095.500] TFTP Client: Last packet received
[0095.501] TFTP Client: Send RRQ, file: boot.img
################################################################################
################################################################################
################################################################################
################################################################################
######
[0304.481] TFTP Client: Last packet received

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.