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.
6 It also pulls up the console on the serial port, not on TV output.
8 === Output files after building ==============================================
11 +-- kernel.vfat (VFAT kernel partition image generated by genimage)
12 +-- rootfs.ext2 (Root file system)
13 +-- sdcard.img (Complete SD card image generated by genimage)
14 +-- u-boot.sd (U-Boot image)
15 +-- uImage -> uImage.imx23-olinuxino (To copy kernel as "uImage" to kernel.vfat)
16 +-- uImage.imx23-olinuxino (Kernel uImage)
18 === Use of generated SD card image ===========================================
20 Just write sdcard.img directly to the SD card
22 ***** WARNING: Double check that /dev/sdc is your MicroSD card *****
23 ***** It might be /dev/sdb or some other device name *****
24 ***** Failure to do so may result in you wiping your hard disk *****
26 # dd if=output/images/sdcard.img of=/dev/sdc bs=512
28 === Manual creation of SD card image =========================================
30 You'll need a spare MicroSD card with Freescale's special partition layout.
31 This is basically three partitions:
33 1) Type 53, the U-Boot partition, should be 16MB.
34 2) VFAT, place the kernel uImage there
35 3) Anything you like, for this example an ext2 partition, type 83 (linux).
37 Assuming you see your MicroSD card as /dev/sdc you'd need to do, as root
38 and from the buildroot project top level directory:
39 (remember to replace /dev/sdc* with the appropiate device name!)
41 ***** WARNING: Double check that /dev/sdc is your MicroSD card *****
42 ***** It might be /dev/sdb or some other device name *****
43 ***** Failure to do so may result in you wiping your hard disk *****
45 1. Unmount the filesystem(s) if they're already mounted, usually...
47 # for fs in `grep /dev/sdc /proc/mounts|cut -d ' ' -f 1`;do umount $fs;done
51 2. Blank the partition table out
53 # dd if=/dev/zero of=/dev/sdc bs=1024 count=1024
55 3. Set up the partitions
80 4. Fill up the first (U-Boot) partition
81 # dd if=output/images/u-boot.sd bs=512 of=/dev/sdc1
83 5. Create VFAT Filesystem
86 6. Mount and copy output/images/uImage.imx23-olinuxino to the VFAT partition, rename to uImage
87 # mount /dev/sdc2 /mnt
88 # cp output/images/uImages/uImage.imx23-olinuxino /mnt/uImage
91 7. Fill up the third (filesystem) partition
92 # dd if=output/images/rootfs.ext2 of=/dev/sdc3 bs=512
94 8. Remove the MicroSD card from your linux PC and put it into your olinuxino.