summaryrefslogtreecommitdiffstats
path: root/README.hardware
diff options
context:
space:
mode:
authorRobert Bradford <rob@openedhand.com>2008-02-20 15:11:59 +0000
committerRobert Bradford <rob@openedhand.com>2008-02-20 15:11:59 +0000
commit9c932b8a31e465c437ceb11a2cfcfd6b514ca8d8 (patch)
tree89d41e81d65a669a4efc223504b157dcd7becab8 /README.hardware
parentf845355741e3e370d3243da17cec75dc46108823 (diff)
downloadpoky-9c932b8a31e465c437ceb11a2cfcfd6b514ca8d8.tar.gz
Update instructions for MX31ADS board including NAND details.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3836 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'README.hardware')
-rw-r--r--README.hardware51
1 files changed, 47 insertions, 4 deletions
diff --git a/README.hardware b/README.hardware
index a1417ebea8..5147bd6fee 100644
--- a/README.hardware
+++ b/README.hardware
@@ -125,11 +125,13 @@ FIXME
125FreeScale iMX31ADS (mx31ads) 125FreeScale iMX31ADS (mx31ads)
126=========================== 126===========================
127 127
128FIXME - needs testing 128The correct serial port is the top-most female connector to the right of the
129ethernet socket.
129 130
130It is assumed a serial connection to the board is available (115200 8N1), a 131For uploading data to RedBoot we are going to use tftp. In this example we
131TFTP server is available at 192.168.9.1 and the board is to be given an IP 132assume that the tftpserver is on 192.168.9.1 and the board is on192.168.9.2.
132address of 192.168.9.2. To set the IP address, run: 133
134To set the IP address, run:
133 135
134 ip_address -l 192.168.9.2/24 -h 192.168.9.1 136 ip_address -l 192.168.9.2/24 -h 192.168.9.1
135 137
@@ -159,6 +161,47 @@ To load and boot a kernel from a TFTP server with the rootfs over NFS:
159 load -r -b 0x100000 zimage 161 load -r -b 0x100000 zimage
160 exec -b 0x100000 -l 0x200000 -c "noinitrd console=ttymxc0,115200 root=/dev/nfs nfsroot=192.168.9.1:/mnt/nfsmx31 rw ip=192.168.9.2::192.168.9.1:255.255.255.0" 162 exec -b 0x100000 -l 0x200000 -c "noinitrd console=ttymxc0,115200 root=/dev/nfs nfsroot=192.168.9.1:/mnt/nfsmx31 rw ip=192.168.9.2::192.168.9.1:255.255.255.0"
161 163
164Alternative flash (NAND)
165~~~~~~~~~~~ ~~~~~ ~~~~~~
166
167The instructions above are for using the (default) NOR flash on the board,
168there is also 128M of NAND flash.
169
170It is possible to install Poky to the NAND flash which gives more space for the
171rootfs.
172
173To switch to the NAND flash:
174
175 factive NAND
176
177This will then restart RedBoot using the NAND rather than the NOR. If you
178have not used the NAND before then it is unlikely that there will be a
179partition table yet. You can get the list of partitions with 'fis list'.
180
181If this shows no partitions then you can create them with:
182
183 fis init
184
185The output of 'fis list' should now show:
186
187Name FLASH addr Mem addr Length Entry point
188RedBoot 0xE0000000 0xE0000000 0x00040000 0x00000000
189FIS directory 0xE7FF4000 0xE7FF4000 0x00003000 0x00000000
190RedBoot config 0xE7FF7000 0xE7FF7000 0x00001000 0x00000000
191
192Partitions for the kernel and rootfs need to be created:
193
194fis create -l 0x1A0000 -e 0x00100000 kernel
195fis create -l 0x5000000 -e 0x00100000 root
196
197You may now use the instructions above for flashing. However it is important
198to note that the erase block size for the NAND is different to the NOR so the
199JFFS erase size will need to be changed to 0x4000
200
201You will also need to update the kernel command line to use the correct root
202filesystem. This should be '/dev/mtdblock7' if you adhere to the partitioning
203scheme shown above. If this fails then you can doublecheck against the output
204from the kernel when it evaluates the available mtd partitions.
162 205
163Marvell PXA3xx Zylonite (zylonite) 206Marvell PXA3xx Zylonite (zylonite)
164================================== 207==================================