
FDI
NXP LPC3180 Demo
User’s Manual
FDI
Rev 2
Page 21
9/7/2007
8.0
Linux Features
8.1
USB Block Device
To connect a USB block device such as a USB Flash Drive to the LPC3180 board,
simply insert it into connector P2 on the lower-right of the board. As of Rev2, the board
now provides USB power to external devices. The following command should be issued
to force USB into host mode:
echo host > /sys/devices/platform/container-dev-1/forced_mode
The device may then be connected to the hub. Some messages should print to
hyperterminal following the insertion of the device informing the user a device has been
located. For the first device inserted, the first partition is found at /dev/sda1 whereas the
second device will be found at /dev/sdb, and so on. After the device settles, the following
commands may be used to create a mount point and mount the device:
mkdir /mnt/usb
mount –t auto /dev/sda1 /mnt/usb
NOTE: As of Release 1.03, the command above is already issued on boot and it is not
necessary to re-issue it within Linux. As a result, following boot a USB Block Device
may be inserted at any time.
8.2
JFFS2
In the on-board NAND Flash, a space of 15 Megs has been reserved for a JFFS2 image.
Follow these instructions to mount the drive:
mkdir /nv
mount -t jffs2 /dev/mtdblock0 /nv
NOTE: As of Release 1.03, the above commands are already issued on boot and it is not
necessary to re-issue them within Linux. Furthermore, a check is made on startup for the
existence of the file /nv/startup.sh. If this file exists, it is executed. This allows the user
to include custom startup utilities without reprogramming the board.
8.3
WIFI
Disclaimer: BGW211 drivers available on the reference design are available for
use. They are supported "as is" and there is no commitment from NXP or FDI for
bug fixing. An updated driver will likely be available in Q4-2007. Existing driver on
the system has been tested in the lab environment, but has not been certified by any
SIG. If a problem is found, refer to the "as is" statement above.
To enable WIFI on the LPC3180 board, special commands must be issued prior to the
loading of the module. The commands are:
Summary of Contents for LP3180
Page 39: ...FDI NXP LPC3180 Demo User s Manual FDI Rev 2 Page 39 9 7 2007...
Page 40: ......