i.MX51 EVK Linux Reference Manual
Freescale Semiconductor
34-1
Chapter 34
Frequently Asked Questions
34.1
Downloading a File
There are various ways to download files onto a Linux system. The following procedure gives instructions
on how to do this through a serial download.
To download a file through the serial port using a Windows host system, follow these steps:
1. Make sure the Linux serial prompt goes to the Windows terminal. For more information about how
to set this up, see the User Guide.
2. Make sure Linux boots to the serial prompt and log in using
root
3. Type
rz
under the serial prompt at
/mnt/ramfs/root
4. Under Hyper Terminal, click on Transfer
>
Send File
>
Browse...
>
, then go to the directory with
the file to download.
5. Click on Open and then Send. The protocol should be
Zmodem with Crash Recovery,
which is the
default.
This should start the downloading process. For the file transfer, the lrzsz package is required. Another way
to transfer a file is to use FTP which makes the download much faster than through the serial port. To use
FTP, the Ethernet interface has to be set up first.
34.2
Creating a JFFS2 Mount Point
To mount a pre-built JFFS2 file system onto the target,
mkfs.jffs2
can be used to generate the JFFS2 file
system on the development system (the host) first and then mount it on the target. The following steps
describe how to do this. If an empty JFFS2 file system is sufficient, then only step 2 is required.
1. Generate the JFFS2 file system under the host:
Create a temporary directory on the host, for example
jffs2
under
/tmp
and then move all the files
and directories to place inside the JFFS2 file system into the
jffs2
directory. Issue the following
command from
/
tmp
:
mkfs.jffs2 -d jffs2 -o fs.jffs2 -e 0x20000 --pad=0x400000
jffs2
is the source directory.
-e
: erase block size.
--pad=0x400000
is to pad
0xff
up to 4 Mbytes.
The output file is
fs.jffs2
.
NOTE
•
Make sure the
fs.jffs2
file is within this size limit of 4 Mbyte.
•
Download the prebuilt version of the
mkfs.jffs2
from
ftp://sources.redhat.com/pub/jffs2/mkfs.jffs2
.
Summary of Contents for i.MX51 EVK
Page 1: ...Part Number 924 76374 Rev 10 11 01 11 2010 i MX51 EVK Linux Reference Manual...
Page 14: ...i MX51 EVK Linux Reference Manual xiv Freescale Semiconductor...
Page 18: ...i MX51 EVK Linux Reference Manual xviii Freescale Semiconductor...
Page 24: ...i MX51 EVK Linux Reference Manual xxiv Freescale Semiconductor...
Page 38: ...Machine Specific Layer MSL i MX51 EVK Linux Reference Manual 2 8 Freescale Semiconductor...
Page 52: ...MC13892 Digitizer Driver i MX51 EVK Linux Reference Manual 5 4 Freescale Semiconductor...
Page 64: ...TV Encoder TVE Driver i MX51 EVK Linux Reference Manual 10 4 Freescale Semiconductor...
Page 82: ...Video for Linux Two V4L2 Driver i MX51 EVK Linux Reference Manual 12 8 Freescale Semiconductor...
Page 86: ...i MX5 Dual Display i MX51 EVK Linux Reference Manual 13 4 Freescale Semiconductor...
Page 100: ...X Windows Acceleration i MX51 EVK Linux Reference Manual 16 6 Freescale Semiconductor...
Page 118: ...Low Level Keypad Driver i MX51 EVK Linux Reference Manual 20 6 Freescale Semiconductor...
Page 134: ...Security Drivers i MX51 EVK Linux Reference Manual 22 10 Freescale Semiconductor...
Page 148: ...Inter IC I2C Driver i MX51 EVK Linux Reference Manual 24 4 Freescale Semiconductor...
Page 178: ...ARC USB Driver i MX51 EVK Linux Reference Manual 29 10 Freescale Semiconductor...
Page 194: ...OProfile i MX51 EVK Linux Reference Manual 33 6 Freescale Semiconductor...