4dd9c2c7f0501802a0108c07826ec8441d624bfc
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / board / wandboard / readme.txt
1 Minimal board support for the Wandboard
2
3 Wandboard's homepage is here: http://www.wandboard.org/
4
5 This config is only tested with the dual core wandboard.
6
7 Installing:
8
9 You need a micro SD card and a slot/adapter for your development machine.
10
11 Partition the SD card leaving at least 1 MB in front of the first partition.
12
13 Partition layout (example):
14
15 Disk /dev/sdi: 3965 MB, 3965190144 bytes
16 255 heads, 63 sectors/track, 482 cylinders
17 Units = cylinders of 16065 * 512 = 8225280 bytes
18 Sector size (logical/physical): 512 bytes / 512 bytes
19 I/O size (minimum/optimal): 512 bytes / 512 bytes
20 Disk identifier: 0x77b47445
21
22    Device Boot      Start         End      Blocks   Id  System
23 /dev/sdi1               2         482     3863632+  83  Linux
24
25 Copy u-boot and its environment to the SD card:
26 sudo dd if=output/images/u-boot.imx bs=512 seek=2 of=/dev/sd<x>
27 sudo dd if=output/images/uboot-env.bin bs=512 seek=768 of=/dev/sd<x>
28
29 Copy the root filesystem:
30 sudo dd if=output/images/rootfs.ext2 of=/dev/sd<x>1
31
32 Alternative commands to copy root filesystem:
33 sudo mkfs.ext4 /dev/sd<x>1
34 sudo mount /dev/sd<x>1 /mnt
35 sudo tar xf output/images/rootfs.tar -C /mnt
36 sudo umount /mnt
37