ConnectCore 93 Network boot failure

i have done this following instructions to boot from nfs:
(Boot the system | ConnectCore 93
But when I execute the dboot linux nfs , it shows error。
The log is as follows:
=> setenv autoload no

=> setenv ipaddr 192.168.115.222

=> setenv serverip 192.168.115.33

=> setenv rootpath /exports/nfsroot-ccimx93_dvk

=> setenv fdt_file ccimx93-dvk–6.1-r0.0-ccimx93-dvk-20241128141738.dtb

=> setenv imagegz Image.gz–6.1-r0.0-ccimx93-dvk-20241126054454.bin
=> dboot linux nfs

Loading kernel: Image.gz–6.1-r0.0-ccimx93-dvk-20241126054454.bin

Using ethernet@428a0000 device
File transfer via NFS from server 192.168.115.33; our IP address is 192.168.115.222
Filename ‘/exports/nfsroot-ccimx93_dvk/Image.gz–6.1-r0.0-ccimx93-dvk-20241126054454.bin’.
Load address: 0x84000000
Loading: T T #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
####t T T T T
done
Bytes transferred = 12337023 (bc3f7f hex)

Loading device tree file in variable ‘fdt_file’: ccimx93-dvk–6.1-r0.0-ccimx93-dvk-20241128141738.dtb

Using ethernet@428a0000 device
File transfer via NFS from server 192.168.115.33; our IP address is 192.168.115.222
Filename ‘/exports/nfsroot-ccimx93_dvk/ccimx93-dvk–6.1-r0.0-ccimx93-dvk-20241128141738.dtb’.
Load address: 0x83000000
Loading: ############t T T T T T T T T
done
Bytes transferred = 62983 (f607 hex)
Working FDT set to 83000000

No device tree overlays present in variable ‘overlays’

Error: “bootargs_nfs_linux” not defined

Error setting boot arguments
=>
I would like to know how bootargs_nfs_linux should be set correctly!

2 Likes

see booting from network explained in the Digi Yocto Guide for CC93:
https://www.digi.com/resources/documentation/digidocs/embedded/dey/4.0/cc93/yocto-boot-the-system_t.html
If your U-Boot does not have the correct bootargs_nfs_linux set, maybe you need to use a newer U-Boot version or run “envdefault -a” to get it set correctly?
see also AI assistant suggestion:

setenv bootargs nfsroot=$(serverip):$(nfspath) root=nfs ip=... console=...
saveenv