summaryrefslogtreecommitdiffstats
path: root/README.hardware
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-02-21 16:22:35 +0000
committerRichard Purdie <richard@openedhand.com>2008-02-21 16:22:35 +0000
commitf6908cfa3e104811862b7cffac50d2204ea1599e (patch)
tree8d2cdb6cd26081ffdf3e580150ad614e75535782 /README.hardware
parentee0fb8576f5f32d805776ac1aaf028020e1e9e89 (diff)
downloadpoky-f6908cfa3e104811862b7cffac50d2204ea1599e.tar.gz
README.hardware: Document htcuniversal booting
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3844 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'README.hardware')
-rw-r--r--README.hardware54
1 files changed, 42 insertions, 12 deletions
diff --git a/README.hardware b/README.hardware
index 5147bd6fee..932d6530ac 100644
--- a/README.hardware
+++ b/README.hardware
@@ -161,16 +161,10 @@ To load and boot a kernel from a TFTP server with the rootfs over NFS:
161 load -r -b 0x100000 zimage 161 load -r -b 0x100000 zimage
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" 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"
163 163
164Alternative flash (NAND)
165~~~~~~~~~~~ ~~~~~ ~~~~~~
166
167The instructions above are for using the (default) NOR flash on the board, 164The instructions above are for using the (default) NOR flash on the board,
168there is also 128M of NAND flash. 165there is also 128M of NAND flash. It is possible to install Poky to the NAND
169 166flash which gives more space for the rootfs and instructions for using this are
170It is possible to install Poky to the NAND flash which gives more space for the 167given below. To switch to the NAND flash:
171rootfs.
172
173To switch to the NAND flash:
174 168
175 factive NAND 169 factive NAND
176 170
@@ -196,13 +190,15 @@ fis create -l 0x5000000 -e 0x00100000 root
196 190
197You may now use the instructions above for flashing. However it is important 191You 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 192to 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 193JFFS erase size will need to be changed to 0x4000. Stardard images are built
194for NOR and you will need to build custom images for NAND.
200 195
201You will also need to update the kernel command line to use the correct root 196You 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 197filesystem. This should be '/dev/mtdblock7' if you adhere to the partitioning
203scheme shown above. If this fails then you can doublecheck against the output 198scheme shown above. If this fails then you can doublecheck against the output
204from the kernel when it evaluates the available mtd partitions. 199from the kernel when it evaluates the available mtd partitions.
205 200
201
206Marvell PXA3xx Zylonite (zylonite) 202Marvell PXA3xx Zylonite (zylonite)
207================================== 203==================================
208 204
@@ -288,8 +284,42 @@ Flashing requires these steps:
288HTC Universal (htcuniversal) 284HTC Universal (htcuniversal)
289============================ 285============================
290 286
291FIXME 287Note: HTC Universal support is highly experimental.
292 288
289On the HTC Universal, entirely replacing the Windows installation is not
290supported, instead Poky is booted from an MMC/SD card from Windows. Once Poky
291has booted, Windows is no longer in memory or active but when power is removed,
292the user will be returned to windows and will need to return to Linux from
293there.
294
295Once an MMC/SD card is available it is suggested its split into two partitions,
296one for a program called HaRET which lets you boot Linux from within Windows
297and the second for the rootfs. The HaRET partition should be the first partition
298on the card and be vfat formatted. It doesn't need to be large, just enough for
299HaRET and a kernel (say 5MB max). The rootfs should be ext2 and is usually the
300second partition. The first partition should be vfat so Windows recognises it
301as if it doesn't, it has been known to reformat cards.
302
303On the first partition you need three files:
304
305 * a HaRET binary (version 0.5.1 works well and a working version
306 should be part of the last Poky release)
307 * a kernel renamed to "zImage"
308 * a default.txt which contains:
309
310set kernel "zImage"
311set mtype "855"
312set cmdline "root=/dev/mmcblk0p2 rw console=ttyS0,115200n8 console=tty0 rootdelay=5 fbcon=rotate:1"
313boot2
314
315On the second parition the root file system is extracted as root. A different
316partition layout or other kernel options can be changed in the default.txt file.
317
318When inserted into the device, Windows should see the card and let you browse
319its contents using File Explorer. Running the HaRET binary will present a dialog
320box (maybe after messages warning about running unsigned binaries) where you
321select OK and you should then see Poky boot. Kernel messages can be seen by
322adding psplash=false to the kernel commandline.
293 323
294 324
295Nokia 770/N800/N810 Internet Tablets (nokia770 and nokia800) 325Nokia 770/N800/N810 Internet Tablets (nokia770 and nokia800)