PHYTEC
Page 14
ipaddr=192.168.3.11
netmask=255.255.255.0
gateway=192.168.3.10
serverip=192.168.3.10
ethprime=eth1
nfsroot=/nfs
If you need to change something, type:
u-boot=> editenv <parameter>
edit: <value>
If
or
is not set, you should add it by typing something similar to:
ethaddr
ethprime
u-boot=> setenv <parameter> <value>
<parameter> should be either
,
,
, or
. <value> will be the actual value of the chosen parameter. Make your changes and hit
ipaddr netmask gateway
serverip
'Enter'. The changes you made are temporary for now. To save these changes, use:
u-boot=> saveenv
Please note that these modifications will only affect the bootloader settings. For modifying the IP setting in
, please refer to section
.
Linux
Booting the Embedded Board
To boot from network, call:
u-boot=> run netboot
Updating Software
In this section, we explain how to use the
bootloader on target or Linux on target/host to update the images in eMMC.
u-boot
Updating eMMC via Network
i.MX 8M Plus boards have an Ethernet connector and can be updated over a network. Be sure to set up the development host correctly. For the ALPHA1
Release, only the EQOS ethernet interface (X9) is available (eth1) The IP needs to be set to 192.168.3.10, the netmask to 255.255.255.0, and a TFTP
server needs to be available.
From a high-level point of view, an eMMC device is like an SD card. Therefore, it is possible to flash the image
(or
)
<name>.sdcard
<name>.sdcard.bz2
from the
build system directly to the eMMC. The image contains the bootloader, kernel, device trees, and root filesystem.
Yocto
Updating eMMC in
on Target
u-boot
These steps will show how to update the eMMC via a network, but they only work if the size of the image file is less than 1GB. If the image file is larger, go
to section
Updating eMMC in Linux on Target
the board and stop in
.
u-boot
Load your image via a network to RAM:
Tip
A working network is necessary!