diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-02-21 16:22:35 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-02-21 16:22:35 +0000 |
| commit | f6908cfa3e104811862b7cffac50d2204ea1599e (patch) | |
| tree | 8d2cdb6cd26081ffdf3e580150ad614e75535782 /README.hardware | |
| parent | ee0fb8576f5f32d805776ac1aaf028020e1e9e89 (diff) | |
| download | poky-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.hardware | 54 |
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 | ||
| 164 | Alternative flash (NAND) | ||
| 165 | ~~~~~~~~~~~ ~~~~~ ~~~~~~ | ||
| 166 | |||
| 167 | The instructions above are for using the (default) NOR flash on the board, | 164 | The instructions above are for using the (default) NOR flash on the board, |
| 168 | there is also 128M of NAND flash. | 165 | there is also 128M of NAND flash. It is possible to install Poky to the NAND |
| 169 | 166 | flash which gives more space for the rootfs and instructions for using this are | |
| 170 | It is possible to install Poky to the NAND flash which gives more space for the | 167 | given below. To switch to the NAND flash: |
| 171 | rootfs. | ||
| 172 | |||
| 173 | To 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 | ||
| 197 | You may now use the instructions above for flashing. However it is important | 191 | You may now use the instructions above for flashing. However it is important |
| 198 | to note that the erase block size for the NAND is different to the NOR so the | 192 | to note that the erase block size for the NAND is different to the NOR so the |
| 199 | JFFS erase size will need to be changed to 0x4000 | 193 | JFFS erase size will need to be changed to 0x4000. Stardard images are built |
| 194 | for NOR and you will need to build custom images for NAND. | ||
| 200 | 195 | ||
| 201 | You will also need to update the kernel command line to use the correct root | 196 | You will also need to update the kernel command line to use the correct root |
| 202 | filesystem. This should be '/dev/mtdblock7' if you adhere to the partitioning | 197 | filesystem. This should be '/dev/mtdblock7' if you adhere to the partitioning |
| 203 | scheme shown above. If this fails then you can doublecheck against the output | 198 | scheme shown above. If this fails then you can doublecheck against the output |
| 204 | from the kernel when it evaluates the available mtd partitions. | 199 | from the kernel when it evaluates the available mtd partitions. |
| 205 | 200 | ||
| 201 | |||
| 206 | Marvell PXA3xx Zylonite (zylonite) | 202 | Marvell PXA3xx Zylonite (zylonite) |
| 207 | ================================== | 203 | ================================== |
| 208 | 204 | ||
| @@ -288,8 +284,42 @@ Flashing requires these steps: | |||
| 288 | HTC Universal (htcuniversal) | 284 | HTC Universal (htcuniversal) |
| 289 | ============================ | 285 | ============================ |
| 290 | 286 | ||
| 291 | FIXME | 287 | Note: HTC Universal support is highly experimental. |
| 292 | 288 | ||
| 289 | On the HTC Universal, entirely replacing the Windows installation is not | ||
| 290 | supported, instead Poky is booted from an MMC/SD card from Windows. Once Poky | ||
| 291 | has booted, Windows is no longer in memory or active but when power is removed, | ||
| 292 | the user will be returned to windows and will need to return to Linux from | ||
| 293 | there. | ||
| 294 | |||
| 295 | Once an MMC/SD card is available it is suggested its split into two partitions, | ||
| 296 | one for a program called HaRET which lets you boot Linux from within Windows | ||
| 297 | and the second for the rootfs. The HaRET partition should be the first partition | ||
| 298 | on the card and be vfat formatted. It doesn't need to be large, just enough for | ||
| 299 | HaRET and a kernel (say 5MB max). The rootfs should be ext2 and is usually the | ||
| 300 | second partition. The first partition should be vfat so Windows recognises it | ||
| 301 | as if it doesn't, it has been known to reformat cards. | ||
| 302 | |||
| 303 | On 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 | |||
| 310 | set kernel "zImage" | ||
| 311 | set mtype "855" | ||
| 312 | set cmdline "root=/dev/mmcblk0p2 rw console=ttyS0,115200n8 console=tty0 rootdelay=5 fbcon=rotate:1" | ||
| 313 | boot2 | ||
| 314 | |||
| 315 | On the second parition the root file system is extracted as root. A different | ||
| 316 | partition layout or other kernel options can be changed in the default.txt file. | ||
| 317 | |||
| 318 | When inserted into the device, Windows should see the card and let you browse | ||
| 319 | its contents using File Explorer. Running the HaRET binary will present a dialog | ||
| 320 | box (maybe after messages warning about running unsigned binaries) where you | ||
| 321 | select OK and you should then see Poky boot. Kernel messages can be seen by | ||
| 322 | adding psplash=false to the kernel commandline. | ||
| 293 | 323 | ||
| 294 | 324 | ||
| 295 | Nokia 770/N800/N810 Internet Tablets (nokia770 and nokia800) | 325 | Nokia 770/N800/N810 Internet Tablets (nokia770 and nokia800) |
