i.MX 93 BSP Manual PD24.1.1 Documentation Rev.: imx8mp-pd22.1.2-51-ga548be7d
• If you need to make any changes:
u-boot=> setenv <parameter> <value>
<parameter> should be one of ipaddr, netmask, gatewayip or serverip. <value> will be the actual
value of the chosen parameter.
• The changes you made are temporary for now. To save these:
u-boot=> saveenv
Here you can also change the IP address to DHCP instead of using a static one.
• Congure:
u-boot=> setenv ip dhcp
• Set up paths for TFTP and NFS. A modication could look like this:
u-boot=> setenv nfsroot /home/user/nfssrc
Please note that these modications will only aect the bootloader settings.
Tip
Variables like nfsroot and netargs can be overwritten by the U-boot External Environment. For netboot,
the external environment will be loaded from tftp. For example, to locally set the nfsroot variable in a
bootenv.txt le, locate the tftproot directory:
nfsroot=/home/user/nfssrc
There is no need to store the info on the target. Please note that this does not work for variables like
ipaddr or serveraddr as they need to be already set when the external environment is being loaded.
Kernel network-environment
• Find the ethernet settings for eth0 in the target kernel:
target:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 50:2D:F4:19:D6:33
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
• Temporary adaption of the eth0 conguration:
target:~$ ifconfig eth0 192.168.3.11 netmask 255.255.255.0 up
7.3 SD/MMC Card
The i.MX 93 supports a slot for Secure Digital Cards and MultiMedia Cards to be used as general-purpose
block devices. These devices can be used in the same way as any other block device.
Accessing Peripherals 47