1c36a61e7436aab54abe07ed6fddaae92c6c4f11
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / board / olimex / imx233_olinuxino / readme.txt
1 This configuration is intended as a base image.
2 It includes kernel and firmware support for the common USB WiFi hardware.
3 Packages for WiFi support are up to the user, you'll probably want
4 one or more of: hostapd, iw, wireless_tools and/or wpa_supplicant.
5
6 It also pulls up the console on the serial port, not on TV output.
7
8 You'll need a spare MicroSD card with Freescale's special partition layout.
9 This is basically two partitions:
10
11 1) Type 53, the bootstrap + bootloader/kernel partition, should be 16MB.
12 2) Anything you like, for this example an ext2 partition, type 83 (linux).
13
14 Assuming you see your MicroSD card as /dev/sdc you'd need to do, as root
15 and from the buildroot project top level directory:
16 (remember to replace /dev/sdc* with the appropiate device name!)
17
18 ***** WARNING: Double check that /dev/sdc is your MicroSD card *****
19 *****      It might be /dev/sdb or some other device name      *****
20 ***** Failure to do so may result in you wiping your hard disk *****
21
22 1. Unmount the filesystem(s) if they're already mounted, usually...
23
24    # for fs in `grep /dev/sdc /proc/mounts|cut -d ' ' -f 1`;do umount $fs;done
25
26    ...should work
27
28 2. Blank the partition table out
29
30    # dd if=/dev/zero of=/dev/sdc bs=1024 count=1024
31
32 3. Set up the partitions
33
34    # fdisk /dev/sdc
35    n
36    p
37    1
38    <ENTER>
39    +16MB
40    t
41    53
42    n
43    p
44    2
45    <ENTER>
46    <ENTER>
47    w
48
49 4. Fill up the first (bootstrap + kernel) partition
50    # dd if=output/images/imx23_olinuxino_dev_linux.sb bs=512 of=/dev/sdc1 seek=4
51
52 5. Fill up the second (filesystem) partition
53    # dd if=output/images/rootfs.ext2 of=/dev/sdc2 bs=512
54
55 6. Remove the MicroSD card from your linux PC and put it into your olinuxino.
56
57 7. Boot! You're done!