
Arcom Embedded Linux Technical Manual RedBoot
Download via Ethernet
If you do not have either a web (HTTP) or a TFTP server on your network, refer to your
host system documentation for information about setting one up. If the image you want
to download is small, it may be quicker and easier to perform the download over a serial
connection.
The following instructions assume that you have placed the image you want to
download into the root folder of the TFTP or HTTP server, in a file named
image.img.
To load the image, follow these steps:
1 Configure the network interface if you have not already configured the board with
an IP address. To do this, enter:
RedBoot> ip –l IP_ADDRESS -h SERVER_IP_ADDRESS
2 Load the image over TFTP or HTTP as follows:
If using TFTP, enter: •
•
RedBoot> load –r –b %{FREEMEMLO} –m tftp image.img
If using HTTP, most webservers require that the leading forward slash (/) be
present in the file name, so enter:
RedBoot> load –r –b %{FREEMEMLO} –m http /image.img
Loading from a JFFS2 file system
RedBoot provides a mount command that performs a similar function to the Linux
mount command. Only JFFS2 file systems are supported by RedBoot. However, JFFS2
must still be specified using the –t parameter.
RedBoot> mount –t jffs2 –f <partition>
The –f parameter specifies the FIS partition that contains the JFFS2 file system to
access. You can obtain a list of the currently defined partitions using the fis list
command described below. Only one file system may be mounted at a time. The
umount command unmounts the currently mounted file system:
RedBoot> umount
The load command is used to load files from the file system:
RedBoot> load –r –b %{FREEMEMLO} –m file /dir/image.img
The ls command can be used to list the files in a mounted file system:
RedBoot> ls –d /boot
© 2006 Arcom Issue G 59
Comentários a estes Manuais