<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.gumstix.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Trevor+Woerner</id>
		<title>Gumstix User Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.gumstix.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Trevor+Woerner"/>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php/Special:Contributions/Trevor_Woerner"/>
		<updated>2026-04-09T12:48:51Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.25.3</generator>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:How_to_-_Buildroot_overo&amp;diff=5762</id>
		<title>Category:How to - Buildroot overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:How_to_-_Buildroot_overo&amp;diff=5762"/>
				<updated>2012-02-09T15:21:29Z</updated>
		
		<summary type="html">&lt;p&gt;Trevor Woerner: Added more necessary adjustments for a successful image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Officially Gumstix only supports building images for Overo devices using OpenEmbedded. But there are other ways of producing a root filesystem for an Overo device, for example [http://buildroot.uclibc.org/ Buildroot]. Since OE is the only official build system, it remains the best, most up-to-date place to get your cross-development toolchain, kernel, bootloader, and MLO for Overo development.&lt;br /&gt;
&lt;br /&gt;
For the remainder of this document I'm going to assume &amp;lt;tt&amp;gt;${OEBASE}&amp;lt;/tt&amp;gt; is where you have checked out OE and &amp;lt;tt&amp;gt;${BRBASE}&amp;lt;/tt&amp;gt; is the directory into which you have unpacked Buildroot.&lt;br /&gt;
&lt;br /&gt;
* Start off by following the official instructions for preparing your build system and checking out the OE code at [http://www.gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html Using the Open Embedded Build System for Overo Series]. Follow those instructions right until the end but do not perform the last step (i.e. &amp;quot;&amp;lt;tt&amp;gt;$ bitbake omap3-console-image&amp;lt;/tt&amp;gt;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
* Replace the last instruction (&amp;quot;&amp;lt;tt&amp;gt;$ bitbake omap3-console-image&amp;lt;/tt&amp;gt;&amp;quot;) with the following:&lt;br /&gt;
  $ bitbake virtual/kernel&lt;br /&gt;
  $ bitbake x-load&lt;br /&gt;
  $ bitbake u-boot&lt;br /&gt;
&lt;br /&gt;
With these commands OE has built a cross-development toolchain for you as well as a kernel, MLO, and u-boot bootloader. For the root filesystem we now make use of Buildroot.&lt;br /&gt;
&lt;br /&gt;
* Go to the location where you have unpacked Buildroot and issue:&lt;br /&gt;
  $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
(If you prefer you can use '&amp;lt;tt&amp;gt;$ make nconfig&amp;lt;/tt&amp;gt;', '&amp;lt;tt&amp;gt;$ make xconfig&amp;lt;/tt&amp;gt;', or '&amp;lt;tt&amp;gt;$ make gconfig&amp;lt;/tt&amp;gt;' instead)&lt;br /&gt;
&lt;br /&gt;
* Under 'Target Architecture'&lt;br /&gt;
   * select 'arm'&lt;br /&gt;
&lt;br /&gt;
* Under 'Target Architecture Variant'&lt;br /&gt;
   select 'generic_arm'&lt;br /&gt;
further down there is a '&amp;lt;tt&amp;gt;cortex_a8&amp;lt;/tt&amp;gt;' option but Buildroot says the &amp;lt;tt&amp;gt;cortex_a8&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;cortex_a9&amp;lt;/tt&amp;gt; options require gcc &amp;gt; 4.4.x. Currently the OE toolchain is 4.3.x. '&amp;lt;tt&amp;gt;generic_arm&amp;lt;/tt&amp;gt;' seems to work fine&lt;br /&gt;
&lt;br /&gt;
* Under 'Toolchain'&lt;br /&gt;
** Toolchain Type&lt;br /&gt;
   select 'External toolchain'&lt;br /&gt;
** Toolchain&lt;br /&gt;
   'Custom toolchain'&lt;br /&gt;
** Toolchain path&lt;br /&gt;
   enter '${OEBASE}/tmp/sysroots/x86_64-linux/usr/armv7a'&lt;br /&gt;
   (obviously if your build system is not x86 64-bit this path won't exist, look around and find your equivalent)&lt;br /&gt;
** Toolchain prefix&lt;br /&gt;
   enter 'arm-angstrom-linux-gnueabi'&lt;br /&gt;
** External toolchain C library&lt;br /&gt;
   select 'glibc'&lt;br /&gt;
** Select&lt;br /&gt;
   Toolchain has C++ support&lt;br /&gt;
* Under 'System configuration'&lt;br /&gt;
** Port to run a getty (login prompt) on&lt;br /&gt;
   select 'ttyO2'&lt;br /&gt;
   (NOTE: that is: &amp;quot;tee-tee-why-(capital)Oh-two&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
You can leave everything else as-is, or browse around and find other things to tweak.&lt;br /&gt;
&lt;br /&gt;
* Exit the Buildroot configuration system and&lt;br /&gt;
   $ make&lt;br /&gt;
&lt;br /&gt;
Now when you assemble your Qemu image or SD card you will find your bootloader, MLO, and x-boot as usual in &amp;lt;tt&amp;gt;${OEBASE}/tmp/deploy/glibc/images/overo&amp;lt;/tt&amp;gt; but your root filesystem will be found in &amp;lt;tt&amp;gt;${BRBASE}/images&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
By way of comparison a Qemu image created for the Overo converted to VDI format uses:&lt;br /&gt;
* 27MB for a buildroot-based image&lt;br /&gt;
* 272MB for a completely OE-based image&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:black;color:white&amp;quot;&amp;gt;&lt;br /&gt;
# qemu-system-arm.linaro -M overo -m 256 -clock unix -serial stdio -sd br.HDD &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Texas Instruments X-Loader 1.5.1 (Nov 22 2011 - 09:58:25)&lt;br /&gt;
OMAP35XX-GP ES3.1&lt;br /&gt;
Board revision: 0&lt;br /&gt;
Reading boot sector&lt;br /&gt;
Loading u-boot.bin from mmc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
U-Boot 2011.09 (Nov 22 2011 - 10:10:50)&lt;br /&gt;
&lt;br /&gt;
OMAP35XX-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 600 mHz&lt;br /&gt;
Gumstix Overo board + LPDDR/NAND&lt;br /&gt;
I2C:   ready&lt;br /&gt;
DRAM:  256 MiB&lt;br /&gt;
NAND:  256 MiB&lt;br /&gt;
MMC:   OMAP SD/MMC: 0&lt;br /&gt;
*** Warning - bad CRC, using default environment&lt;br /&gt;
&lt;br /&gt;
In:    serial&lt;br /&gt;
Out:   serial&lt;br /&gt;
Err:   serial&lt;br /&gt;
Board revision: 0&lt;br /&gt;
Direct connection on mmc2&lt;br /&gt;
No EEPROM on expansion board&lt;br /&gt;
Die ID #51454d5551454d555400000051454d55&lt;br /&gt;
Net:   smc911x-0&lt;br /&gt;
Hit any key to stop autoboot:  0 &lt;br /&gt;
reading boot.scr&lt;br /&gt;
&lt;br /&gt;
** Unable to read &amp;quot;boot.scr&amp;quot; from mmc 0:1 **&lt;br /&gt;
reading uImage&lt;br /&gt;
&lt;br /&gt;
3091316 bytes read&lt;br /&gt;
Booting from mmc ...&lt;br /&gt;
## Booting kernel from Legacy Image at 82000000 ...&lt;br /&gt;
    Image Name:   Angstrom/3.0/overo&lt;br /&gt;
    Image Type:   ARM Linux Kernel Image (uncompressed)&lt;br /&gt;
    Data Size:    3091252 Bytes = 2.9 MiB&lt;br /&gt;
    Load Address: 80008000&lt;br /&gt;
    Entry Point:  80008000&lt;br /&gt;
    Verifying Checksum ... OK&lt;br /&gt;
     Loading Kernel Image ... OK&lt;br /&gt;
OK&lt;br /&gt;
&lt;br /&gt;
Starting kernel ...&lt;br /&gt;
&lt;br /&gt;
Uncompressing Linux... done, booting the kernel.&lt;br /&gt;
omap2_inth_read: Bad register 0x00000020&lt;br /&gt;
Linux version 3.0.0 (trevor@codei7) (gcc version 4.3.3 (GCC) ) #1 Mon Nov 21 17:37:48 EST 2011&lt;br /&gt;
CPU: ARMv7 Processor [412fc083] revision 3 (ARMv7), cr=10c53c7f&lt;br /&gt;
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache&lt;br /&gt;
Machine: Gumstix Overo&lt;br /&gt;
Reserving 12582912 bytes SDRAM for VRAM&lt;br /&gt;
Memory policy: ECC disabled, Data cache writeback&lt;br /&gt;
OMAP3430/3530 ES3.1 (iva sgx neon isp 720mhz )&lt;br /&gt;
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000&lt;br /&gt;
Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz&lt;br /&gt;
Reprogramming SDRC clock to 332000000 Hz&lt;br /&gt;
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 61952&lt;br /&gt;
Kernel command line: console=ttyO2,115200n8 mpurate=500 vram=12M omapfb.mode=dvi:1024x768MR-16@60 omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait&lt;br /&gt;
PID hash table entries: 1024 (order: 0, 4096 bytes)&lt;br /&gt;
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)&lt;br /&gt;
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)&lt;br /&gt;
Memory: 244MB = 244MB total&lt;br /&gt;
Memory: 240900k/240900k available, 21244k reserved, 0K highmem&lt;br /&gt;
Virtual kernel memory layout:&lt;br /&gt;
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)&lt;br /&gt;
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)&lt;br /&gt;
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)&lt;br /&gt;
    vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)&lt;br /&gt;
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)&lt;br /&gt;
    modules : 0xbf000000 - 0xc0000000   (  16 MB)&lt;br /&gt;
      .init : 0xc0008000 - 0xc003b000   ( 204 kB)&lt;br /&gt;
      .text : 0xc003b000 - 0xc05ce764   (5710 kB)&lt;br /&gt;
      .data : 0xc05d0000 - 0xc061ea10   ( 315 kB)&lt;br /&gt;
       .bss : 0xc061ea34 - 0xc068291c   ( 400 kB)&lt;br /&gt;
NR_IRQS:410&lt;br /&gt;
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts&lt;br /&gt;
Total of 96 interrupts on 1 active controller&lt;br /&gt;
OMAP clockevent source: GPTIMER1 at 32768 Hz&lt;br /&gt;
sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms&lt;br /&gt;
Console: colour dummy device 80x30&lt;br /&gt;
Calibrating delay loop... 435.38 BogoMIPS (lpj=1701888)&lt;br /&gt;
pid_max: default: 32768 minimum: 301&lt;br /&gt;
Mount-cache hash table entries: 512&lt;br /&gt;
CPU: Testing write buffer coherency: ok&lt;br /&gt;
devtmpfs: initialized&lt;br /&gt;
omap_hwmod: gpt12_fck: missing clockdomain for gpt12_fck.&lt;br /&gt;
omap_hwmod: am35x_otg_hs: cannot be enabled (3)&lt;br /&gt;
print_constraints: dummy: &lt;br /&gt;
NET: Registered protocol family 16&lt;br /&gt;
GPMC revision 5.0&lt;br /&gt;
OMAP GPIO hardware version 2.5&lt;br /&gt;
OMAP GPIO hardware version 2.5&lt;br /&gt;
OMAP GPIO hardware version 2.5&lt;br /&gt;
OMAP GPIO hardware version 2.5&lt;br /&gt;
OMAP GPIO hardware version 2.5&lt;br /&gt;
OMAP GPIO hardware version 2.5&lt;br /&gt;
omap_mux_init: Add partition: #1: core, flags: 0&lt;br /&gt;
Found NAND on CS0&lt;br /&gt;
Registering NAND on CS0&lt;br /&gt;
platform iva.0: Enabled OPP corresponding to 720MHz&lt;br /&gt;
hw-breakpoint: debug architecture 0x0 unsupported.&lt;br /&gt;
omap_device: omap-mcbsp.2: alias fck already exists&lt;br /&gt;
omap_device: omap-mcbsp.3: alias fck already exists&lt;br /&gt;
Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz&lt;br /&gt;
OMAP DMA hardware revision 4.0&lt;br /&gt;
bio: create slab &amp;lt;bio-0&amp;gt; at 0&lt;br /&gt;
print_constraints: vads7846: 3300 mV &lt;br /&gt;
SCSI subsystem initialized&lt;br /&gt;
usbcore: registered new interface driver usbfs&lt;br /&gt;
usbcore: registered new interface driver hub&lt;br /&gt;
usbcore: registered new device driver usb&lt;br /&gt;
omap_i2c omap_i2c.1: bus 1 rev3.12 at 2600 kHz&lt;br /&gt;
twl4030: PIH (irq 7) chaining IRQs 368..375&lt;br /&gt;
twl4030: power (irq 373) chaining IRQs 376..383&lt;br /&gt;
twl4030: gpio (irq 368) chaining IRQs 384..401&lt;br /&gt;
print_constraints: VUSB1V5: 1500 mV normal standby&lt;br /&gt;
print_constraints: VUSB1V8: 1800 mV normal standby&lt;br /&gt;
print_constraints: VUSB3V1: 3100 mV normal standby&lt;br /&gt;
twl4030_usb twl4030_usb: Initialized TWL4030 USB module&lt;br /&gt;
print_constraints: VMMC1: 1850 &amp;lt;--&amp;gt; 3150 mV at 3150 mV normal standby&lt;br /&gt;
print_constraints: VDAC: 1800 mV normal standby&lt;br /&gt;
print_constraints: VDVI: 1800 mV normal standby&lt;br /&gt;
omap_i2c omap_i2c.3: bus 3 rev3.12 at 400 kHz&lt;br /&gt;
Advanced Linux Sound Architecture Driver Version 1.0.24.&lt;br /&gt;
Bluetooth: Core ver 2.16&lt;br /&gt;
NET: Registered protocol family 31&lt;br /&gt;
Bluetooth: HCI device and connection manager initialized&lt;br /&gt;
Bluetooth: HCI socket layer initialized&lt;br /&gt;
Bluetooth: L2CAP socket layer initialized&lt;br /&gt;
Bluetooth: SCO socket layer initialized&lt;br /&gt;
Switching to clocksource 32k_counter&lt;br /&gt;
Switched to NOHz mode on CPU #0&lt;br /&gt;
musb-hdrc: version 6.0, musb-dma, host&lt;br /&gt;
musb-hdrc musb-hdrc: MUSB HDRC host driver&lt;br /&gt;
musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1&lt;br /&gt;
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002&lt;br /&gt;
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1&lt;br /&gt;
usb usb1: Product: MUSB HDRC host driver&lt;br /&gt;
usb usb1: Manufacturer: Linux 3.0.0 musb-hcd&lt;br /&gt;
usb usb1: SerialNumber: musb-hdrc&lt;br /&gt;
hub 1-0:1.0: USB hub found&lt;br /&gt;
hub 1-0:1.0: 1 port detected&lt;br /&gt;
musb-hdrc musb-hdrc: USB Host mode controller at fa0ab000 using DMA, IRQ 92&lt;br /&gt;
NET: Registered protocol family 2&lt;br /&gt;
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)&lt;br /&gt;
TCP established hash table entries: 8192 (order: 4, 65536 bytes)&lt;br /&gt;
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)&lt;br /&gt;
TCP: Hash tables configured (established 8192 bind 8192)&lt;br /&gt;
TCP reno registered&lt;br /&gt;
UDP hash table entries: 256 (order: 0, 4096 bytes)&lt;br /&gt;
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)&lt;br /&gt;
NET: Registered protocol family 1&lt;br /&gt;
RPC: Registered named UNIX socket transport module.&lt;br /&gt;
RPC: Registered udp transport module.&lt;br /&gt;
RPC: Registered tcp transport module.&lt;br /&gt;
RPC: Registered tcp NFSv4.1 backchannel transport module.&lt;br /&gt;
platform iva.0: Enabled OPP corresponding to 720MHz&lt;br /&gt;
omap-iommu omap-iommu.0: isp registered&lt;br /&gt;
VFS: Disk quotas dquot_6.5.2&lt;br /&gt;
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)&lt;br /&gt;
Registering unionfs 2.5.9.2 (for 3.0.0-rc4)&lt;br /&gt;
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.&lt;br /&gt;
msgmni has been set to 470&lt;br /&gt;
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)&lt;br /&gt;
io scheduler noop registered&lt;br /&gt;
io scheduler deadline registered&lt;br /&gt;
io scheduler cfq registered (default)&lt;br /&gt;
OMAP DSS rev 2.0&lt;br /&gt;
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled&lt;br /&gt;
omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0&lt;br /&gt;
omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1&lt;br /&gt;
omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2&lt;br /&gt;
console [ttyO2] enabled&lt;br /&gt;
brd: module loaded&lt;br /&gt;
loop: module loaded&lt;br /&gt;
omap2-nand driver initializing&lt;br /&gt;
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit)&lt;br /&gt;
Creating 5 MTD partitions on &amp;quot;omap2-nand.0&amp;quot;:&lt;br /&gt;
0x000000000000-0x000000080000 : &amp;quot;xloader&amp;quot;&lt;br /&gt;
0x000000080000-0x000000240000 : &amp;quot;uboot&amp;quot;&lt;br /&gt;
0x000000240000-0x000000280000 : &amp;quot;uboot environment&amp;quot;&lt;br /&gt;
0x000000280000-0x000000680000 : &amp;quot;linux&amp;quot;&lt;br /&gt;
0x000000680000-0x000010000000 : &amp;quot;rootfs&amp;quot;&lt;br /&gt;
smsc911x: Driver version 2008-10-21&lt;br /&gt;
smsc911x-mdio: probed&lt;br /&gt;
smsc911x smsc911x.0: eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1)&lt;br /&gt;
smsc911x smsc911x.0: eth0: MAC Address: 52:54:00:12:34:56&lt;br /&gt;
smsc911x: Driver version 2008-10-21&lt;br /&gt;
usbcore: registered new interface driver asix&lt;br /&gt;
usbcore: registered new interface driver cdc_ether&lt;br /&gt;
cdc_ncm: 01-June-2011&lt;br /&gt;
usbcore: registered new interface driver cdc_ncm&lt;br /&gt;
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver&lt;br /&gt;
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller&lt;br /&gt;
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2&lt;br /&gt;
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800&lt;br /&gt;
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 0.00&lt;br /&gt;
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002&lt;br /&gt;
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1&lt;br /&gt;
usb usb2: Product: OMAP-EHCI Host Controller&lt;br /&gt;
usb usb2: Manufacturer: Linux 3.0.0 ehci_hcd&lt;br /&gt;
usb usb2: SerialNumber: ehci-omap.0&lt;br /&gt;
hub 2-0:1.0: USB hub found&lt;br /&gt;
hub 2-0:1.0: 0 ports detected&lt;br /&gt;
Initializing USB Mass Storage driver...&lt;br /&gt;
usbcore: registered new interface driver usb-storage&lt;br /&gt;
USB Mass Storage support registered.&lt;br /&gt;
mousedev: PS/2 mouse device common for all mice&lt;br /&gt;
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0&lt;br /&gt;
twl_rtc twl_rtc: Power up reset detected.&lt;br /&gt;
i2c /dev entries driver&lt;br /&gt;
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec&lt;br /&gt;
Bluetooth: HCI UART driver ver 2.2&lt;br /&gt;
Bluetooth: HCI H4 protocol initialized&lt;br /&gt;
Bluetooth: HCI BCSP protocol initialized&lt;br /&gt;
Bluetooth: HCILL protocol initialized&lt;br /&gt;
cpuidle: using governor ladder&lt;br /&gt;
cpuidle: using governor menu&lt;br /&gt;
usbcore: registered new interface driver usbhid&lt;br /&gt;
usbhid: USB HID core driver&lt;br /&gt;
usbcore: registered new interface driver snd-usb-audio&lt;br /&gt;
overo SoC init&lt;br /&gt;
mmc0: host does not support reading read-only switch. assuming write-enable.&lt;br /&gt;
mmc0: new SD card at address 4567&lt;br /&gt;
mmcblk0: mmc0:4567 QEMU! 1.00 GiB &lt;br /&gt;
 mmcblk0: p1 p2&lt;br /&gt;
asoc: twl4030-hifi &amp;lt;-&amp;gt; omap-mcbsp-dai.1 mapping ok&lt;br /&gt;
ALSA device list:&lt;br /&gt;
  #0: overo&lt;br /&gt;
oprofile: hardware counters not available&lt;br /&gt;
oprofile: using timer interrupt.&lt;br /&gt;
TCP cubic registered&lt;br /&gt;
NET: Registered protocol family 17&lt;br /&gt;
NET: Registered protocol family 15&lt;br /&gt;
Bluetooth: RFCOMM TTY layer initialized&lt;br /&gt;
Bluetooth: RFCOMM socket layer initialized&lt;br /&gt;
Bluetooth: RFCOMM ver 1.11&lt;br /&gt;
Bluetooth: BNEP (Ethernet Emulation) ver 1.3&lt;br /&gt;
Bluetooth: BNEP filters: protocol multicast&lt;br /&gt;
Bluetooth: HIDP (Human Interface Emulation) ver 1.2&lt;br /&gt;
Registering the dns_resolver key type&lt;br /&gt;
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2&lt;br /&gt;
ThumbEE CPU extension supported.&lt;br /&gt;
omap_vp_forceupdate_scale: vdd_mpu_iva TRANXDONE timeout exceeded while tryingto clear the TRANXDONE status&lt;br /&gt;
omap_vp_forceupdate_scale: vdd_core TRANXDONE timeout exceeded while tryingto clear the TRANXDONE status&lt;br /&gt;
sr_init: No PMIC hook to init smartreflex&lt;br /&gt;
smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized&lt;br /&gt;
smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized&lt;br /&gt;
clock: disabling unused clocks to save power&lt;br /&gt;
fbcvt: 1024x768@60: CVT Name - .786M3-R&lt;br /&gt;
Console: switching to colour frame buffer device 128x48&lt;br /&gt;
regulator_init_complete: VDAC: incomplete constraints, leaving on&lt;br /&gt;
regulator_init_complete: vads7846: incomplete constraints, leaving on&lt;br /&gt;
twl_rtc twl_rtc: setting system clock to 2011-11-22 16:31:42 UTC (1321979502)&lt;br /&gt;
EXT3-fs: barriers not enabled&lt;br /&gt;
kjournald starting.  Commit interval 5 seconds&lt;br /&gt;
EXT3-fs (mmcblk0p2): using internal journal&lt;br /&gt;
EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode&lt;br /&gt;
VFS: Mounted root (ext3 filesystem) on device 179:2.&lt;br /&gt;
devtmpfs: mounted&lt;br /&gt;
Freeing init memory: 204K&lt;br /&gt;
Starting logging: OK&lt;br /&gt;
Initializing random number generator... done.&lt;br /&gt;
Starting network...&lt;br /&gt;
&lt;br /&gt;
Welcome to Buildroot&lt;br /&gt;
buildroot login:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Trevor Woerner</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Overo_emulation_in_qemu&amp;diff=5715</id>
		<title>Overo emulation in qemu</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Overo_emulation_in_qemu&amp;diff=5715"/>
				<updated>2011-11-22T17:06:01Z</updated>
		
		<summary type="html">&lt;p&gt;Trevor Woerner: update to include general purpose qemu image generating script&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
[[Category:How to - qemu]]&lt;br /&gt;
&lt;br /&gt;
Ash Charles has been working with Riku from the Qemu-linaro team to get support for the Overo hardware working in Qemu!&lt;br /&gt;
&lt;br /&gt;
==Pre-Compiled Images==&lt;br /&gt;
&lt;br /&gt;
Here are Ash's steps for working with pre-compiled images:&lt;br /&gt;
&lt;br /&gt;
* binary executable for qemu available here (for x86_64):&lt;br /&gt;
::http://dl.dropbox.com/u/211887/qemu-system-arm&lt;br /&gt;
::MD5:c375b7d0338e3e8cd7009e69f3aaae74&lt;br /&gt;
&lt;br /&gt;
* overo angstrom image with a kernel, MLO, u-boot packed:&lt;br /&gt;
::http://dl.dropbox.com/u/211887/overo.img.gz&lt;br /&gt;
::MD5:3545dbd2e7ffac3d352a7bc9e92373bf&lt;br /&gt;
&lt;br /&gt;
* download, gunzip the overo.img.gz and run with:&lt;br /&gt;
::&amp;lt;code&amp;gt;# ./qemu-system-arm -M overo -m 256 -sd ./overo.img -clock unix -serial stdio&amp;lt;/code&amp;gt;&lt;br /&gt;
::(mouse &amp;amp; keyboard don't work currently but the console session is usable)&lt;br /&gt;
&lt;br /&gt;
==From Sources==&lt;br /&gt;
&lt;br /&gt;
* build your overo image using bitbake/OE as usual:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd $OVEROTOP&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ bitbake omap3-console-image&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* build the MLO program:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ bitbake x-load&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* get the sources for and build qemu with overo support:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd $OVEROTOP&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ git clone git://git.linaro.org/qemu/qemu-linaro.git&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd qemu&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ ./configure --prefix=$OVEROTOP/local --target-list=arm-softmmu&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ make install&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ export PATH=$OVEROTOP/local/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* there are numerous ways to generate the qemu image file:&lt;br /&gt;
::&amp;lt;code&amp;gt;# export OEDONE=$OETMP/deploy/glibc/images/overo&amp;lt;/code&amp;gt;&lt;br /&gt;
** Ash Charles [[Overo_qemu_script|wrote a script]] specifically for generating Overo qemu images:&lt;br /&gt;
::&amp;lt;code&amp;gt;# assemble-image.sh $OVEROTOP/overo.img $OEDONE/MLO-overo $OEDONE/u-boot-overo.bin $OEDONE/uImage-overo.bin $OEDONE/omap3-console-image-overo.tar.bz2&amp;lt;/code&amp;gt;&lt;br /&gt;
** or using a more [https://github.com/twoerner/qemu-image-builder general-purpose script] for generating qemu images which includes support for Overo:&lt;br /&gt;
::&amp;lt;code&amp;gt;# mkqemuimg.sh --partpercents 5 --format &amp;quot;,mkfs.ext3&amp;quot; --bootarm &amp;quot;$OEDONE/MLO-overo,$OEDONE/u-boot-overo.bin,$OEDONE/uImage-overo.bin&amp;quot; 1073741824 $OVEROTOP/overo.img &amp;quot;,$OEDONE/omap3-console-image-overo.tar.bz2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* then run the image under qemu:&lt;br /&gt;
::&amp;lt;code&amp;gt;# qemu-system-arm -M overo -m 256 -sd $OVEROTOP/overo.img -clock unix -serial stdio -net user -device usb-kbd -device usb-mouse&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Trevor Woerner</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Main_Page&amp;diff=5714</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Main_Page&amp;diff=5714"/>
				<updated>2011-11-22T16:47:12Z</updated>
		
		<summary type="html">&lt;p&gt;Trevor Woerner: Add overo buildroot page, move 1-wire link to top of sort&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;''Welcome to the Gumstix User Wiki''&amp;lt;/big&amp;gt;     &lt;br /&gt;
&lt;br /&gt;
This site is provided so that users of the Gumstix OpenEmbedded build system can share their knowledge, showcase their Gumstix-based projects, and pass on links to other sources of information and materials.  This information is entirely user generated and supported.  Please contribute your know-how to help your fellow developers.&lt;br /&gt;
&lt;br /&gt;
  '''Customer additions and edits are encouraged, but please read the help page before you make any major edits.'''&lt;br /&gt;
  ''Note:  you will need to create a new user account if you would like to contribute or edit content on this site.''&lt;br /&gt;
&lt;br /&gt;
Go to the [http://gumstix.org Gumstix Developer's website] for official Gumstix supported documentation on OpenEmbedded and other information of interest to developers:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
{|cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;vertical-align:top;background-color:#f5fffa;border:1px solid #bcc&amp;quot;&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's - Focus]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:How-tos |User how to's]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[:Category:how to - Android|Android]]&lt;br /&gt;
* [[:Category:how to - eclipse|Eclipse]]&lt;br /&gt;
* [[:Category:How_to_-_Migrate_to_Gumstix|Migrate to Gumstix]]&lt;br /&gt;
* [[Linaro]]&lt;br /&gt;
* [[:Category:how to - Ubuntu|Ubuntu]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[1-wire|1-wire]]&lt;br /&gt;
* [[:Category:how to - audio|Audio]]&lt;br /&gt;
* [[:Category:how to - adc|ADC]]&lt;br /&gt;
* [[AutoLogin|Automatic Logins]]&lt;br /&gt;
* [[:Category:how to - batteries|Batteries]]&lt;br /&gt;
* [[:Category:how to - bluetooth|Bluetooth]]&lt;br /&gt;
* [[:Category:how to - Buildroot overo|Buildroot (overo)]]&lt;br /&gt;
* [[:Category:Connect_hardware|Connect Hardware]]&lt;br /&gt;
* [[Caspa_camera_boards|Caspa camera boards]]&lt;br /&gt;
* [[:Category:how to - displays|Displays]]&lt;br /&gt;
* [[:Category:how to - DSP|DSP]]&lt;br /&gt;
* [[:Category:how_to_-_ethernet|Ethernet]]&lt;br /&gt;
* [[:Category:how_to_-_expansion_boards|Expansion Boards]]&lt;br /&gt;
* [[:Category:how to - fedora|Fedora]]&lt;br /&gt;
* [[:Category:how to - Fast Boot|Fast Boot]]&lt;br /&gt;
* [[:Category:how to - Fortran|Fortran]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[Gaining Console Connection via Terminal]]&lt;br /&gt;
* [[:Category:how to - git|Git]]&lt;br /&gt;
* [[GPIO|GPIO]]&lt;br /&gt;
* [[GPS|GPS]]&lt;br /&gt;
* [[:Category:how to - gui|GUI]]&lt;br /&gt;
* [[:Category:how to - general|General]]&lt;br /&gt;
* [[:Category:how to - Build helloworld|HelloWorld]]&lt;br /&gt;
* [[HelloWorld|HelloWorld in Python, C, C++]]&lt;br /&gt;
* [[HelloWorld in Java|HelloWorld in Java]]&lt;br /&gt;
* [[:Category:how to - i2c|I2C]]&lt;br /&gt;
* [[:Category:how to - IMU|IMU]]&lt;br /&gt;
* [[:Category:how to - JAVA|JAVA]]&lt;br /&gt;
* [[Kernel Reconfiguration|Kernel Reconfiguration]]&lt;br /&gt;
* [[:Category:how to - Known Issues|Known Issues]]&lt;br /&gt;
* [[:Category:how to - LCD|LCD]]&lt;br /&gt;
* [[:Category:how to - Low Power|Low Power]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[:Category:how to - linux|Linux]]&lt;br /&gt;
* [[AudioIn | Use a microphone]]&lt;br /&gt;
* [[MicroSd |MicroSD Duplication]]&lt;br /&gt;
* [[:Category:how to - Network_Boot|Network Boot]]&lt;br /&gt;
* [[:Category:how to - OpenEmbedded|OpenEmbedded]]&lt;br /&gt;
* [[:Category:how to - player|Player]]&lt;br /&gt;
* [[:Category:How to - PWM|PWM]]&lt;br /&gt;
* [[:Category:How_to_-_qemu|Qemu]]&lt;br /&gt;
* [[:Category:How_to_-_Qt|Qt]]&lt;br /&gt;
* [[:Category:how to - robotics|Robotics]]&lt;br /&gt;
* [[ROS|ROS]]&lt;br /&gt;
* [[RoboVero|RoboVero]]&lt;br /&gt;
* [[:Category:how to - security|Security]]&lt;br /&gt;
* [[:Category:SPI|SPI]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[:Category:SUSE|SUSE]]&lt;br /&gt;
* [[Remote Debugging with GDB|Remote Debugging with GDB]]&lt;br /&gt;
* [[U-Boot|UBoot]]&lt;br /&gt;
* [[:Category:how to - usb|USB]]&lt;br /&gt;
* [[Verdex Git Repository]]&lt;br /&gt;
* [[Verdex JTAG]]&lt;br /&gt;
* [[VerdexPro U-Boot Flashing Fix]]&lt;br /&gt;
* [[:Category:how to - virtual machine|Virtual Machine]]&lt;br /&gt;
* [[:Category:how to - webcams|Webcams]]&lt;br /&gt;
* [[:Category:how to - wifi|Wifi]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
{|cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;5&amp;quot; style=&amp;quot;vertical-align:top;background-color:#f5fffa;border:1px solid #bcc&amp;quot;&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:projects|User projects]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:User_pics_videos|User Pics &amp;amp; Videos]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:resources|Resources]]&lt;br /&gt;
! style=&amp;quot;margin:0;background:#cef2e0;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;&amp;quot; | [[:Category:faqs|Questions and Answers]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[:Category:projects - audio|Audio]]&lt;br /&gt;
* [[:Category:projects - competitions|Competitions]]&lt;br /&gt;
* [[:Category:projects - displays|Displays]]&lt;br /&gt;
* [[:Category:projects - pdas|PDA's]]&lt;br /&gt;
* [[:Category:Projects_-Research_and_Education|Research &amp;amp; Education]]&lt;br /&gt;
* [[:Category:projects - monitoring and control|Monitoring and Control]]&lt;br /&gt;
* [[:Category:projects - robotics|Robotics &amp;amp; UAV's]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [http://www.youtube.com/results?uploaded=m&amp;amp;search_query=gumstix&amp;amp;search_type=videos&amp;amp;suggested_categories=28&amp;amp;uni=3&amp;amp;search_sort=video_date_uploaded Gumstix on Youtube]&lt;br /&gt;
* [http://www.flickr.com/search/?q=gumstix&amp;amp;s=rec Gumstix in Flickr]&lt;br /&gt;
* [http://www.cs.umd.edu/alandaluz/nchen/ebook/dualdisp-chi.mov Dual Display device at UMD]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
* [[Windows CE solution|Solutions for Windows CE]]&lt;br /&gt;
* [[Qt solution|Solutions for Qt]]&lt;br /&gt;
* [[Manufacturer's specifications|Specifications for Processors &amp;amp; Components]]&lt;br /&gt;
* [[Software information]]&lt;br /&gt;
* [[Supported hardware]]&lt;br /&gt;
* [[Third Party Boards]]&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; |&lt;br /&gt;
Gumstix Community Mailing List (no cost)&lt;br /&gt;
* [https://lists.sourceforge.net/lists/listinfo/gumstix-users Sign-up]&lt;br /&gt;
* [http://old.nabble.com/Gumstix-f22543.html Archives]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For information and support for the legacy gumstix buildroot build system:&lt;br /&gt;
[http://docwiki.gumstix.com/Main_Page docwiki.gumstix.com]&lt;br /&gt;
.&lt;/div&gt;</summary>
		<author><name>Trevor Woerner</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:How_to_-_Buildroot_overo&amp;diff=5713</id>
		<title>Category:How to - Buildroot overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:How_to_-_Buildroot_overo&amp;diff=5713"/>
				<updated>2011-11-22T16:42:00Z</updated>
		
		<summary type="html">&lt;p&gt;Trevor Woerner: instructions for building a root filesystem for Overo using Buildroot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Officially Gumstix only supports building images for Overo devices using OpenEmbedded. But there are other ways of producing a root filesystem for an Overo device, for example [http://buildroot.uclibc.org/ Buildroot]. Since OE is the only official build system, it remains the best, most up-to-date place to get your cross-development toolchain, kernel, bootloader, and MLO for Overo development.&lt;br /&gt;
&lt;br /&gt;
For the remainder of this document I'm going to assume &amp;lt;tt&amp;gt;${OEBASE}&amp;lt;/tt&amp;gt; is where you have checked out OE and &amp;lt;tt&amp;gt;${BRBASE}&amp;lt;/tt&amp;gt; is the directory into which you have unpacked Buildroot.&lt;br /&gt;
&lt;br /&gt;
* Start off by following the official instructions for preparing your build system and checking out the OE code at [http://www.gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html Using the Open Embedded Build System for Overo Series]. Follow those instructions right until the end but do not perform the last step (i.e. &amp;quot;&amp;lt;tt&amp;gt;$ bitbake omap3-console-image&amp;lt;/tt&amp;gt;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
* Replace the last instruction (&amp;quot;&amp;lt;tt&amp;gt;$ bitbake omap3-console-image&amp;lt;/tt&amp;gt;&amp;quot;) with the following:&lt;br /&gt;
  $ bitbake virtual/kernel&lt;br /&gt;
  $ bitbake x-load&lt;br /&gt;
  $ bitbake u-boot&lt;br /&gt;
&lt;br /&gt;
With these commands OE has built a cross-development toolchain for you as well as a kernel, MLO, and u-boot bootloader. For the root filesystem we now make use of Buildroot.&lt;br /&gt;
&lt;br /&gt;
* Go to the location where you have unpacked Buildroot and issue:&lt;br /&gt;
  $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
(If you prefer you can use '&amp;lt;tt&amp;gt;$ make nconfig&amp;lt;/tt&amp;gt;', '&amp;lt;tt&amp;gt;$ make xconfig&amp;lt;/tt&amp;gt;', or '&amp;lt;tt&amp;gt;$ make gconfig&amp;lt;/tt&amp;gt;' instead)&lt;br /&gt;
&lt;br /&gt;
* Under 'Target Architecture'&lt;br /&gt;
   * select 'arm'&lt;br /&gt;
&lt;br /&gt;
* Under 'Target Architecture Variant'&lt;br /&gt;
   select 'generic_arm'&lt;br /&gt;
further down there is a '&amp;lt;tt&amp;gt;cortex_a8&amp;lt;/tt&amp;gt;' option but Buildroot says the &amp;lt;tt&amp;gt;cortex_a8&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;cortex_a9&amp;lt;/tt&amp;gt; options require gcc &amp;gt; 4.4.x. Currently the OE toolchain is 4.3.x. '&amp;lt;tt&amp;gt;generic_arm&amp;lt;/tt&amp;gt;' seems to work fine&lt;br /&gt;
&lt;br /&gt;
* Under 'Toolchain'&lt;br /&gt;
** Toolchain Type&lt;br /&gt;
   select 'External toolchain'&lt;br /&gt;
** Toolchain&lt;br /&gt;
   'Custom toolchain'&lt;br /&gt;
** Toolchain path&lt;br /&gt;
   enter '${OEBASE}/tmp/sysroots/x86_64-linux/usr/armv7a'&lt;br /&gt;
   (obviously if your build system is not x86 64-bit this path won't exist, look around and find your equivalent)&lt;br /&gt;
** Toolchain prefix&lt;br /&gt;
   enter 'arm-angstrom-linux-gnueabi'&lt;br /&gt;
&lt;br /&gt;
You can leave everything else as-is, or browse around and find other things to tweak.&lt;br /&gt;
&lt;br /&gt;
* Exit the Buildroot configuration system and&lt;br /&gt;
   $ make&lt;br /&gt;
&lt;br /&gt;
Now when you assemble your Qemu image or SD card you will find your bootloader, MLO, and x-boot as usual in &amp;lt;tt&amp;gt;${OEBASE}/tmp/deploy/glibc/images/overo&amp;lt;/tt&amp;gt; but your root filesystem will be found in &amp;lt;tt&amp;gt;${BRBASE}/images&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
By way of comparison a Qemu image created for the Overo converted to VDI format uses:&lt;br /&gt;
* 27MB for a buildroot-based image&lt;br /&gt;
* 272MB for a completely OE-based image&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:black;color:white&amp;quot;&amp;gt;&lt;br /&gt;
# qemu-system-arm.linaro -M overo -m 256 -clock unix -serial stdio -sd br.HDD &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Texas Instruments X-Loader 1.5.1 (Nov 22 2011 - 09:58:25)&lt;br /&gt;
OMAP35XX-GP ES3.1&lt;br /&gt;
Board revision: 0&lt;br /&gt;
Reading boot sector&lt;br /&gt;
Loading u-boot.bin from mmc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
U-Boot 2011.09 (Nov 22 2011 - 10:10:50)&lt;br /&gt;
&lt;br /&gt;
OMAP35XX-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 600 mHz&lt;br /&gt;
Gumstix Overo board + LPDDR/NAND&lt;br /&gt;
I2C:   ready&lt;br /&gt;
DRAM:  256 MiB&lt;br /&gt;
NAND:  256 MiB&lt;br /&gt;
MMC:   OMAP SD/MMC: 0&lt;br /&gt;
*** Warning - bad CRC, using default environment&lt;br /&gt;
&lt;br /&gt;
In:    serial&lt;br /&gt;
Out:   serial&lt;br /&gt;
Err:   serial&lt;br /&gt;
Board revision: 0&lt;br /&gt;
Direct connection on mmc2&lt;br /&gt;
No EEPROM on expansion board&lt;br /&gt;
Die ID #51454d5551454d555400000051454d55&lt;br /&gt;
Net:   smc911x-0&lt;br /&gt;
Hit any key to stop autoboot:  0 &lt;br /&gt;
reading boot.scr&lt;br /&gt;
&lt;br /&gt;
** Unable to read &amp;quot;boot.scr&amp;quot; from mmc 0:1 **&lt;br /&gt;
reading uImage&lt;br /&gt;
&lt;br /&gt;
3091316 bytes read&lt;br /&gt;
Booting from mmc ...&lt;br /&gt;
## Booting kernel from Legacy Image at 82000000 ...&lt;br /&gt;
    Image Name:   Angstrom/3.0/overo&lt;br /&gt;
    Image Type:   ARM Linux Kernel Image (uncompressed)&lt;br /&gt;
    Data Size:    3091252 Bytes = 2.9 MiB&lt;br /&gt;
    Load Address: 80008000&lt;br /&gt;
    Entry Point:  80008000&lt;br /&gt;
    Verifying Checksum ... OK&lt;br /&gt;
     Loading Kernel Image ... OK&lt;br /&gt;
OK&lt;br /&gt;
&lt;br /&gt;
Starting kernel ...&lt;br /&gt;
&lt;br /&gt;
Uncompressing Linux... done, booting the kernel.&lt;br /&gt;
omap2_inth_read: Bad register 0x00000020&lt;br /&gt;
Linux version 3.0.0 (trevor@codei7) (gcc version 4.3.3 (GCC) ) #1 Mon Nov 21 17:37:48 EST 2011&lt;br /&gt;
CPU: ARMv7 Processor [412fc083] revision 3 (ARMv7), cr=10c53c7f&lt;br /&gt;
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache&lt;br /&gt;
Machine: Gumstix Overo&lt;br /&gt;
Reserving 12582912 bytes SDRAM for VRAM&lt;br /&gt;
Memory policy: ECC disabled, Data cache writeback&lt;br /&gt;
OMAP3430/3530 ES3.1 (iva sgx neon isp 720mhz )&lt;br /&gt;
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000&lt;br /&gt;
Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz&lt;br /&gt;
Reprogramming SDRC clock to 332000000 Hz&lt;br /&gt;
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 61952&lt;br /&gt;
Kernel command line: console=ttyO2,115200n8 mpurate=500 vram=12M omapfb.mode=dvi:1024x768MR-16@60 omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait&lt;br /&gt;
PID hash table entries: 1024 (order: 0, 4096 bytes)&lt;br /&gt;
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)&lt;br /&gt;
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)&lt;br /&gt;
Memory: 244MB = 244MB total&lt;br /&gt;
Memory: 240900k/240900k available, 21244k reserved, 0K highmem&lt;br /&gt;
Virtual kernel memory layout:&lt;br /&gt;
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)&lt;br /&gt;
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)&lt;br /&gt;
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)&lt;br /&gt;
    vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)&lt;br /&gt;
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)&lt;br /&gt;
    modules : 0xbf000000 - 0xc0000000   (  16 MB)&lt;br /&gt;
      .init : 0xc0008000 - 0xc003b000   ( 204 kB)&lt;br /&gt;
      .text : 0xc003b000 - 0xc05ce764   (5710 kB)&lt;br /&gt;
      .data : 0xc05d0000 - 0xc061ea10   ( 315 kB)&lt;br /&gt;
       .bss : 0xc061ea34 - 0xc068291c   ( 400 kB)&lt;br /&gt;
NR_IRQS:410&lt;br /&gt;
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts&lt;br /&gt;
Total of 96 interrupts on 1 active controller&lt;br /&gt;
OMAP clockevent source: GPTIMER1 at 32768 Hz&lt;br /&gt;
sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms&lt;br /&gt;
Console: colour dummy device 80x30&lt;br /&gt;
Calibrating delay loop... 435.38 BogoMIPS (lpj=1701888)&lt;br /&gt;
pid_max: default: 32768 minimum: 301&lt;br /&gt;
Mount-cache hash table entries: 512&lt;br /&gt;
CPU: Testing write buffer coherency: ok&lt;br /&gt;
devtmpfs: initialized&lt;br /&gt;
omap_hwmod: gpt12_fck: missing clockdomain for gpt12_fck.&lt;br /&gt;
omap_hwmod: am35x_otg_hs: cannot be enabled (3)&lt;br /&gt;
print_constraints: dummy: &lt;br /&gt;
NET: Registered protocol family 16&lt;br /&gt;
GPMC revision 5.0&lt;br /&gt;
OMAP GPIO hardware version 2.5&lt;br /&gt;
OMAP GPIO hardware version 2.5&lt;br /&gt;
OMAP GPIO hardware version 2.5&lt;br /&gt;
OMAP GPIO hardware version 2.5&lt;br /&gt;
OMAP GPIO hardware version 2.5&lt;br /&gt;
OMAP GPIO hardware version 2.5&lt;br /&gt;
omap_mux_init: Add partition: #1: core, flags: 0&lt;br /&gt;
Found NAND on CS0&lt;br /&gt;
Registering NAND on CS0&lt;br /&gt;
platform iva.0: Enabled OPP corresponding to 720MHz&lt;br /&gt;
hw-breakpoint: debug architecture 0x0 unsupported.&lt;br /&gt;
omap_device: omap-mcbsp.2: alias fck already exists&lt;br /&gt;
omap_device: omap-mcbsp.3: alias fck already exists&lt;br /&gt;
Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz&lt;br /&gt;
OMAP DMA hardware revision 4.0&lt;br /&gt;
bio: create slab &amp;lt;bio-0&amp;gt; at 0&lt;br /&gt;
print_constraints: vads7846: 3300 mV &lt;br /&gt;
SCSI subsystem initialized&lt;br /&gt;
usbcore: registered new interface driver usbfs&lt;br /&gt;
usbcore: registered new interface driver hub&lt;br /&gt;
usbcore: registered new device driver usb&lt;br /&gt;
omap_i2c omap_i2c.1: bus 1 rev3.12 at 2600 kHz&lt;br /&gt;
twl4030: PIH (irq 7) chaining IRQs 368..375&lt;br /&gt;
twl4030: power (irq 373) chaining IRQs 376..383&lt;br /&gt;
twl4030: gpio (irq 368) chaining IRQs 384..401&lt;br /&gt;
print_constraints: VUSB1V5: 1500 mV normal standby&lt;br /&gt;
print_constraints: VUSB1V8: 1800 mV normal standby&lt;br /&gt;
print_constraints: VUSB3V1: 3100 mV normal standby&lt;br /&gt;
twl4030_usb twl4030_usb: Initialized TWL4030 USB module&lt;br /&gt;
print_constraints: VMMC1: 1850 &amp;lt;--&amp;gt; 3150 mV at 3150 mV normal standby&lt;br /&gt;
print_constraints: VDAC: 1800 mV normal standby&lt;br /&gt;
print_constraints: VDVI: 1800 mV normal standby&lt;br /&gt;
omap_i2c omap_i2c.3: bus 3 rev3.12 at 400 kHz&lt;br /&gt;
Advanced Linux Sound Architecture Driver Version 1.0.24.&lt;br /&gt;
Bluetooth: Core ver 2.16&lt;br /&gt;
NET: Registered protocol family 31&lt;br /&gt;
Bluetooth: HCI device and connection manager initialized&lt;br /&gt;
Bluetooth: HCI socket layer initialized&lt;br /&gt;
Bluetooth: L2CAP socket layer initialized&lt;br /&gt;
Bluetooth: SCO socket layer initialized&lt;br /&gt;
Switching to clocksource 32k_counter&lt;br /&gt;
Switched to NOHz mode on CPU #0&lt;br /&gt;
musb-hdrc: version 6.0, musb-dma, host&lt;br /&gt;
musb-hdrc musb-hdrc: MUSB HDRC host driver&lt;br /&gt;
musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1&lt;br /&gt;
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002&lt;br /&gt;
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1&lt;br /&gt;
usb usb1: Product: MUSB HDRC host driver&lt;br /&gt;
usb usb1: Manufacturer: Linux 3.0.0 musb-hcd&lt;br /&gt;
usb usb1: SerialNumber: musb-hdrc&lt;br /&gt;
hub 1-0:1.0: USB hub found&lt;br /&gt;
hub 1-0:1.0: 1 port detected&lt;br /&gt;
musb-hdrc musb-hdrc: USB Host mode controller at fa0ab000 using DMA, IRQ 92&lt;br /&gt;
NET: Registered protocol family 2&lt;br /&gt;
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)&lt;br /&gt;
TCP established hash table entries: 8192 (order: 4, 65536 bytes)&lt;br /&gt;
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)&lt;br /&gt;
TCP: Hash tables configured (established 8192 bind 8192)&lt;br /&gt;
TCP reno registered&lt;br /&gt;
UDP hash table entries: 256 (order: 0, 4096 bytes)&lt;br /&gt;
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)&lt;br /&gt;
NET: Registered protocol family 1&lt;br /&gt;
RPC: Registered named UNIX socket transport module.&lt;br /&gt;
RPC: Registered udp transport module.&lt;br /&gt;
RPC: Registered tcp transport module.&lt;br /&gt;
RPC: Registered tcp NFSv4.1 backchannel transport module.&lt;br /&gt;
platform iva.0: Enabled OPP corresponding to 720MHz&lt;br /&gt;
omap-iommu omap-iommu.0: isp registered&lt;br /&gt;
VFS: Disk quotas dquot_6.5.2&lt;br /&gt;
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)&lt;br /&gt;
Registering unionfs 2.5.9.2 (for 3.0.0-rc4)&lt;br /&gt;
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.&lt;br /&gt;
msgmni has been set to 470&lt;br /&gt;
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)&lt;br /&gt;
io scheduler noop registered&lt;br /&gt;
io scheduler deadline registered&lt;br /&gt;
io scheduler cfq registered (default)&lt;br /&gt;
OMAP DSS rev 2.0&lt;br /&gt;
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled&lt;br /&gt;
omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0&lt;br /&gt;
omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1&lt;br /&gt;
omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2&lt;br /&gt;
console [ttyO2] enabled&lt;br /&gt;
brd: module loaded&lt;br /&gt;
loop: module loaded&lt;br /&gt;
omap2-nand driver initializing&lt;br /&gt;
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit)&lt;br /&gt;
Creating 5 MTD partitions on &amp;quot;omap2-nand.0&amp;quot;:&lt;br /&gt;
0x000000000000-0x000000080000 : &amp;quot;xloader&amp;quot;&lt;br /&gt;
0x000000080000-0x000000240000 : &amp;quot;uboot&amp;quot;&lt;br /&gt;
0x000000240000-0x000000280000 : &amp;quot;uboot environment&amp;quot;&lt;br /&gt;
0x000000280000-0x000000680000 : &amp;quot;linux&amp;quot;&lt;br /&gt;
0x000000680000-0x000010000000 : &amp;quot;rootfs&amp;quot;&lt;br /&gt;
smsc911x: Driver version 2008-10-21&lt;br /&gt;
smsc911x-mdio: probed&lt;br /&gt;
smsc911x smsc911x.0: eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1)&lt;br /&gt;
smsc911x smsc911x.0: eth0: MAC Address: 52:54:00:12:34:56&lt;br /&gt;
smsc911x: Driver version 2008-10-21&lt;br /&gt;
usbcore: registered new interface driver asix&lt;br /&gt;
usbcore: registered new interface driver cdc_ether&lt;br /&gt;
cdc_ncm: 01-June-2011&lt;br /&gt;
usbcore: registered new interface driver cdc_ncm&lt;br /&gt;
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver&lt;br /&gt;
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller&lt;br /&gt;
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2&lt;br /&gt;
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800&lt;br /&gt;
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 0.00&lt;br /&gt;
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002&lt;br /&gt;
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1&lt;br /&gt;
usb usb2: Product: OMAP-EHCI Host Controller&lt;br /&gt;
usb usb2: Manufacturer: Linux 3.0.0 ehci_hcd&lt;br /&gt;
usb usb2: SerialNumber: ehci-omap.0&lt;br /&gt;
hub 2-0:1.0: USB hub found&lt;br /&gt;
hub 2-0:1.0: 0 ports detected&lt;br /&gt;
Initializing USB Mass Storage driver...&lt;br /&gt;
usbcore: registered new interface driver usb-storage&lt;br /&gt;
USB Mass Storage support registered.&lt;br /&gt;
mousedev: PS/2 mouse device common for all mice&lt;br /&gt;
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0&lt;br /&gt;
twl_rtc twl_rtc: Power up reset detected.&lt;br /&gt;
i2c /dev entries driver&lt;br /&gt;
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec&lt;br /&gt;
Bluetooth: HCI UART driver ver 2.2&lt;br /&gt;
Bluetooth: HCI H4 protocol initialized&lt;br /&gt;
Bluetooth: HCI BCSP protocol initialized&lt;br /&gt;
Bluetooth: HCILL protocol initialized&lt;br /&gt;
cpuidle: using governor ladder&lt;br /&gt;
cpuidle: using governor menu&lt;br /&gt;
usbcore: registered new interface driver usbhid&lt;br /&gt;
usbhid: USB HID core driver&lt;br /&gt;
usbcore: registered new interface driver snd-usb-audio&lt;br /&gt;
overo SoC init&lt;br /&gt;
mmc0: host does not support reading read-only switch. assuming write-enable.&lt;br /&gt;
mmc0: new SD card at address 4567&lt;br /&gt;
mmcblk0: mmc0:4567 QEMU! 1.00 GiB &lt;br /&gt;
 mmcblk0: p1 p2&lt;br /&gt;
asoc: twl4030-hifi &amp;lt;-&amp;gt; omap-mcbsp-dai.1 mapping ok&lt;br /&gt;
ALSA device list:&lt;br /&gt;
  #0: overo&lt;br /&gt;
oprofile: hardware counters not available&lt;br /&gt;
oprofile: using timer interrupt.&lt;br /&gt;
TCP cubic registered&lt;br /&gt;
NET: Registered protocol family 17&lt;br /&gt;
NET: Registered protocol family 15&lt;br /&gt;
Bluetooth: RFCOMM TTY layer initialized&lt;br /&gt;
Bluetooth: RFCOMM socket layer initialized&lt;br /&gt;
Bluetooth: RFCOMM ver 1.11&lt;br /&gt;
Bluetooth: BNEP (Ethernet Emulation) ver 1.3&lt;br /&gt;
Bluetooth: BNEP filters: protocol multicast&lt;br /&gt;
Bluetooth: HIDP (Human Interface Emulation) ver 1.2&lt;br /&gt;
Registering the dns_resolver key type&lt;br /&gt;
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2&lt;br /&gt;
ThumbEE CPU extension supported.&lt;br /&gt;
omap_vp_forceupdate_scale: vdd_mpu_iva TRANXDONE timeout exceeded while tryingto clear the TRANXDONE status&lt;br /&gt;
omap_vp_forceupdate_scale: vdd_core TRANXDONE timeout exceeded while tryingto clear the TRANXDONE status&lt;br /&gt;
sr_init: No PMIC hook to init smartreflex&lt;br /&gt;
smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized&lt;br /&gt;
smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized&lt;br /&gt;
clock: disabling unused clocks to save power&lt;br /&gt;
fbcvt: 1024x768@60: CVT Name - .786M3-R&lt;br /&gt;
Console: switching to colour frame buffer device 128x48&lt;br /&gt;
regulator_init_complete: VDAC: incomplete constraints, leaving on&lt;br /&gt;
regulator_init_complete: vads7846: incomplete constraints, leaving on&lt;br /&gt;
twl_rtc twl_rtc: setting system clock to 2011-11-22 16:31:42 UTC (1321979502)&lt;br /&gt;
EXT3-fs: barriers not enabled&lt;br /&gt;
kjournald starting.  Commit interval 5 seconds&lt;br /&gt;
EXT3-fs (mmcblk0p2): using internal journal&lt;br /&gt;
EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode&lt;br /&gt;
VFS: Mounted root (ext3 filesystem) on device 179:2.&lt;br /&gt;
devtmpfs: mounted&lt;br /&gt;
Freeing init memory: 204K&lt;br /&gt;
Starting logging: OK&lt;br /&gt;
Initializing random number generator... done.&lt;br /&gt;
Starting network...&lt;br /&gt;
&lt;br /&gt;
Welcome to Buildroot&lt;br /&gt;
buildroot login:&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Trevor Woerner</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:How_to_-_Buildroot_overo&amp;diff=5712</id>
		<title>Category:How to - Buildroot overo</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:How_to_-_Buildroot_overo&amp;diff=5712"/>
				<updated>2011-11-22T16:20:13Z</updated>
		
		<summary type="html">&lt;p&gt;Trevor Woerner: instructions for how to build a root filesystem for Overo using Buildroot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Officially Gumstix only supports building images for Overo devices using OpenEmbedded. But there are other ways of producing a root filesystem for an Overo device, for example [http://buildroot.uclibc.org/ Buildroot]. Since OE is the only official build system, it remains the best, most up-to-date place to get your cross-development toolchain, kernel, bootloader, and MLO for Overo development.&lt;br /&gt;
&lt;br /&gt;
For the remainder of this document I'm going to assume &amp;lt;tt&amp;gt;${OEBASE}&amp;lt;/tt&amp;gt; is where you have checked out OE and &amp;lt;tt&amp;gt;${BRBASE}&amp;lt;/tt&amp;gt; is the directory into which you have unpacked Buildroot.&lt;br /&gt;
&lt;br /&gt;
* Start off by following the official instructions for preparing your build system and checking out the OE code at [http://www.gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html Using the Open Embedded Build System for Overo Series]. Follow those instructions right until the end but do not perform the last step (i.e. &amp;quot;&amp;lt;tt&amp;gt;$ bitbake omap3-console-image&amp;lt;/tt&amp;gt;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
* Replace the last instruction (&amp;quot;&amp;lt;tt&amp;gt;$ bitbake omap3-console-image&amp;lt;/tt&amp;gt;&amp;quot;) with the following:&lt;br /&gt;
  $ bitbake virtual/kernel&lt;br /&gt;
  $ bitbake x-load&lt;br /&gt;
  $ bitbake u-boot&lt;br /&gt;
&lt;br /&gt;
With these commands OE has built a cross-development toolchain for you as well as a kernel, MLO, and u-boot bootloader. For the root filesystem we now make use of Buildroot.&lt;br /&gt;
&lt;br /&gt;
* Go to the location where you have unpacked Buildroot and issue:&lt;br /&gt;
  $ make menuconfig&lt;br /&gt;
&lt;br /&gt;
(If you prefer you can use '&amp;lt;tt&amp;gt;$ make nconfig&amp;lt;/tt&amp;gt;', '&amp;lt;tt&amp;gt;$ make xconfig&amp;lt;/tt&amp;gt;', or '&amp;lt;tt&amp;gt;$ make gconfig&amp;lt;/tt&amp;gt;' instead)&lt;br /&gt;
&lt;br /&gt;
* Under 'Target Architecture'&lt;br /&gt;
   * select 'arm'&lt;br /&gt;
&lt;br /&gt;
* Under 'Target Architecture Variant'&lt;br /&gt;
   select 'generic_arm'&lt;br /&gt;
further down there is a '&amp;lt;tt&amp;gt;cortex_a8&amp;lt;/tt&amp;gt;' option but Buildroot says the &amp;lt;tt&amp;gt;cortex_a8&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;cortex_a9&amp;lt;/tt&amp;gt; options require gcc &amp;gt; 4.4.x. Currently the OE toolchain is 4.3.x. '&amp;lt;tt&amp;gt;generic_arm&amp;lt;/tt&amp;gt;' seems to work fine&lt;br /&gt;
&lt;br /&gt;
* Under 'Toolchain'&lt;br /&gt;
** Toolchain Type&lt;br /&gt;
   select 'External toolchain'&lt;br /&gt;
** Toolchain&lt;br /&gt;
   'Custom toolchain'&lt;br /&gt;
** Toolchain path&lt;br /&gt;
   enter '${OEBASE}/tmp/sysroots/x86_64-linux/usr/armv7a'&lt;br /&gt;
   (obviously if your build system is not x86 64-bit this path won't exist, look around and find your equivalent)&lt;br /&gt;
** Toolchain prefix&lt;br /&gt;
   enter 'arm-angstrom-linux-gnueabi'&lt;br /&gt;
&lt;br /&gt;
You can leave everything else as-is, or browse around and find other things to tweak.&lt;br /&gt;
&lt;br /&gt;
* Exit the Buildroot configuration system and&lt;br /&gt;
   $ make&lt;br /&gt;
&lt;br /&gt;
Now when you assemble your Qemu image or SD card you will find your bootloader, MLO, and x-boot as usual in &amp;lt;tt&amp;gt;${OEBASE}/tmp/deploy/glibc/images/overo&amp;lt;/tt&amp;gt; but your root filesystem will be found in &amp;lt;tt&amp;gt;${BRBASE}/images&amp;lt;/tt&amp;gt;&lt;/div&gt;</summary>
		<author><name>Trevor Woerner</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Overo_emulation_in_qemu&amp;diff=5711</id>
		<title>Overo emulation in qemu</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Overo_emulation_in_qemu&amp;diff=5711"/>
				<updated>2011-11-22T15:28:51Z</updated>
		
		<summary type="html">&lt;p&gt;Trevor Woerner: Undo revision 5707, '$' indicates commands which can be performed with regular privileges, '#' requires elevated privileges&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
[[Category:How to - qemu]]&lt;br /&gt;
&lt;br /&gt;
Ash Charles has been working with Riku from the Qemu-linaro team to get support for the Overo hardware working in Qemu!&lt;br /&gt;
&lt;br /&gt;
==Pre-Compiled Images==&lt;br /&gt;
&lt;br /&gt;
Here are Ash's steps for working with pre-compiled images:&lt;br /&gt;
&lt;br /&gt;
* binary executable for qemu available here (for x86_64):&lt;br /&gt;
::http://dl.dropbox.com/u/211887/qemu-system-arm&lt;br /&gt;
::MD5:c375b7d0338e3e8cd7009e69f3aaae74&lt;br /&gt;
&lt;br /&gt;
* overo angstrom image with a kernel, MLO, u-boot packed:&lt;br /&gt;
::http://dl.dropbox.com/u/211887/overo.img.gz&lt;br /&gt;
::MD5:3545dbd2e7ffac3d352a7bc9e92373bf&lt;br /&gt;
&lt;br /&gt;
* download, gunzip the overo.img.gz and run with:&lt;br /&gt;
::&amp;lt;code&amp;gt;# ./qemu-system-arm -M overo -m 256 -sd ./overo.img -clock unix -serial stdio&amp;lt;/code&amp;gt;&lt;br /&gt;
::(mouse &amp;amp; keyboard don't work currently but the console session is usable)&lt;br /&gt;
&lt;br /&gt;
==From Sources==&lt;br /&gt;
&lt;br /&gt;
* build your overo image using bitbake/OE as usual:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd $OVEROTOP&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ bitbake omap3-console-image&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* build the MLO program:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ bitbake x-load&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* get the sources for and build qemu with overo support:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd $OVEROTOP&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ git clone git://git.linaro.org/qemu/qemu-linaro.git&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd qemu&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ ./configure --prefix=$OVEROTOP/local --target-list=arm-softmmu&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ make install&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ export PATH=$OVEROTOP/local/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* use [[Overo_qemu_script|Ash's supplied script]] to generate a qemu image:&lt;br /&gt;
::&amp;lt;code&amp;gt;# export OEDONE=$OETMP/deploy/glibc/images/overo&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;# assemble-image.sh $OVEROTOP/overo.img $OEDONE/MLO-overo $OEDONE/u-boot-overo.bin $OEDONE/uImage-overo.bin $OEDONE/omap3-console-image-overo.tar.bz2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* then run the image under qemu:&lt;br /&gt;
::&amp;lt;code&amp;gt;# qemu-system-arm -M overo -m 256 -sd $OVEROTOP/overo.img -clock unix -serial stdio -net user -device usb-kbd -device usb-mouse&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Trevor Woerner</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Category:How_to_-_OpenEmbedded&amp;diff=5600</id>
		<title>Category:How to - OpenEmbedded</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Category:How_to_-_OpenEmbedded&amp;diff=5600"/>
				<updated>2011-07-07T17:48:42Z</updated>
		
		<summary type="html">&lt;p&gt;Trevor Woerner: fix link - it pointed to a &amp;quot;getting started&amp;quot; page instead of the OE instructions for overo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Gumstix uses the OpenEmbedded build environment so developers can create a complete Linux Distribution for embedded systems.&lt;br /&gt;
&lt;br /&gt;
== Overo ==&lt;br /&gt;
Instructions for setting up an OE build environment for the Overo series have been posted on www.gumstix.org [http://gumstix.org/software-development/open-embedded/61-using-the-open-embedded-build-system.html here].&lt;br /&gt;
&lt;br /&gt;
== Verdex Pro ==&lt;br /&gt;
Instructions for setting up an OE build environment for the Verdex Pro series have been posted in various places at various times.  As of Oct2010, the current instructions are [http://www.gumstix.net/wiki/index.php?title=Verdex_Git_Repository here] &amp;lt;font color=red&amp;gt;(Broken Link)&amp;lt;/font&amp;gt;.  They tell you how to build a filesystem image out of your own Git repository with the current kernel (2.6.32 in Oct2010).&lt;br /&gt;
Cautions: the build tree can take up over 30 GB unless you add 'INHERIT += rm_work' to your local.conf; by default, the generated filesystem is bigger than Verdex Flash and can be loaded on a specially partitioned MMC card (instructions linked from the page).&lt;br /&gt;
&lt;br /&gt;
Instructions for building a 2.6.21 kernel and appropriate filesystem, from OE and SVN, are [http://www.gumstix.net/Setup-and-Programming/cat/Build-system-overview/111.html here] &amp;lt;font color=red&amp;gt;(Broken Link)&amp;lt;/font&amp;gt;.  As of Oct2010, some of the download URLs are stale, but you should be able to fix all problems by Googling for the error messages.&lt;br /&gt;
&lt;br /&gt;
The old Buildroot documentation for 2.6.21gum kernels is still [http://docwiki.gumstix.org/Buildroot here].  As of Oct2010, many of the download links are stale, but individual packages are available [http://www.daimi.au.dk/~spider/gumstix/gumstix-buildroot/dl/ here] or by Googling the individual package names as they come up in error messages.&lt;br /&gt;
&lt;br /&gt;
'''Kernel'''&lt;br /&gt;
There are numerous methods of kernel development; some consider Buildroot the most straightforward. Those using OE may find these links offer useful workflows for kernel development:&lt;br /&gt;
* http://ao2.it/en/blog/2010/05/27/neat-compilerun-cycle-git-and-openembedded&lt;br /&gt;
* http://bec-systems.com/site/521/best-practices-for-kernel-development-with-openembedded&lt;br /&gt;
* http://blogs.elphel.com/2009/12/openembeddedangstrom-kernel-workflow/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To directly cross-compile the 2.6.21 kernel from the OE/SVN tree try these commands:&lt;br /&gt;
   source ${GUMSTIX_TOP}/extras/profile&lt;br /&gt;
   cd ${GUMSTIX_TOP}/tmp/work/gumstix-custom-verdex-angstrom-linux-gnueabi/gumstix-kernel-2.6.21-r1/linux-2.6.21&lt;br /&gt;
   make ARCH=arm CROSS_COMPILE=${GUMSTIX_TOP}/tmp/cross/bin/arm-angstrom-linux-gnueabi-&lt;/div&gt;</summary>
		<author><name>Trevor Woerner</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Overo_emulation_in_qemu&amp;diff=5599</id>
		<title>Overo emulation in qemu</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Overo_emulation_in_qemu&amp;diff=5599"/>
				<updated>2011-07-07T17:15:46Z</updated>
		
		<summary type="html">&lt;p&gt;Trevor Woerner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
[[Category:How to - qemu]]&lt;br /&gt;
&lt;br /&gt;
Ash Charles has been working with Riku from the Qemu-linaro team to get support for the Overo hardware working in Qemu!&lt;br /&gt;
&lt;br /&gt;
==Pre-Compiled Images==&lt;br /&gt;
&lt;br /&gt;
Here are Ash's steps for working with pre-compiled images:&lt;br /&gt;
&lt;br /&gt;
* binary executable for qemu available here (for x86_64):&lt;br /&gt;
::http://dl.dropbox.com/u/211887/qemu-system-arm&lt;br /&gt;
::MD5:c375b7d0338e3e8cd7009e69f3aaae74&lt;br /&gt;
&lt;br /&gt;
* overo angstrom image with a kernel, MLO, u-boot packed:&lt;br /&gt;
::http://dl.dropbox.com/u/211887/overo.img.gz&lt;br /&gt;
::MD5:3545dbd2e7ffac3d352a7bc9e92373bf&lt;br /&gt;
&lt;br /&gt;
* download, gunzip the overo.img.gz and run with:&lt;br /&gt;
::&amp;lt;code&amp;gt;# ./qemu-system-arm -M overo -m 256 -sd ./overo.img -clock unix -serial stdio&amp;lt;/code&amp;gt;&lt;br /&gt;
::(mouse &amp;amp; keyboard don't work currently but the console session is usable)&lt;br /&gt;
&lt;br /&gt;
==From Sources==&lt;br /&gt;
&lt;br /&gt;
* build your overo image using bitbake/OE as usual:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd $OVEROTOP&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ bitbake omap3-console-image&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* build the MLO program:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ bitbake x-load&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* get the sources for and build qemu with overo support:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd $OVEROTOP&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ git clone git://git.linaro.org/people/rikuvoipio/qemu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd qemu&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ git checkout overo&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ ./configure --prefix=$OVEROTOP/local --target-list=arm-softmmu&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ make install&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ export PATH=$OVEROTOP/local/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* use [[Overo_qemu_script|Ash's supplied script]] to generate a qemu image:&lt;br /&gt;
::&amp;lt;code&amp;gt;# export OEDONE=$OETMP/deploy/glibc/images/overo&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;# assemble-image.sh $OVEROTOP/overo.img $OEDONE/MLO-overo $OEDONE/u-boot-overo.bin $OEDONE/uImage-overo.bin $OEDONE/omap3-console-image-overo.tar.bz2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* then run the image under qemu:&lt;br /&gt;
::&amp;lt;code&amp;gt;# qemu-system-arm -M overo -m 256 -sd $OVEROTOP/overo.img -clock unix -serial stdio&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Trevor Woerner</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Overo_qemu_script&amp;diff=5598</id>
		<title>Overo qemu script</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Overo_qemu_script&amp;diff=5598"/>
				<updated>2011-07-07T17:15:30Z</updated>
		
		<summary type="html">&lt;p&gt;Trevor Woerner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:How to - qemu]]&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# This script generates SD card disk images suitable for use with QEMU.&lt;br /&gt;
#&lt;br /&gt;
# Copyright (C) 2011 Ash Charles&lt;br /&gt;
# Based on:&lt;br /&gt;
#   Narcissus - Online image builder for the angstrom distribution&lt;br /&gt;
#   Copyright (C) 2008 - 2011 Koen Kooi&lt;br /&gt;
#   Copyright (C) 2010        Denys Dmytriyenko&lt;br /&gt;
# and&lt;br /&gt;
#   Linaro Images Tools.&lt;br /&gt;
#   Author: Guilherme Salgado &amp;lt;guilherme.salgado@linaro.org&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# This program is free software; you can redistribute it and/or modify&lt;br /&gt;
# it under the terms of the GNU General Public License version 2 as&lt;br /&gt;
# published by the Free Software Foundation.&lt;br /&gt;
#&lt;br /&gt;
# This program is distributed in the hope that it will be useful,&lt;br /&gt;
# but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br /&gt;
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the&lt;br /&gt;
# GNU General Public License for more details.&lt;br /&gt;
#&lt;br /&gt;
# You should have received a copy of the GNU General Public License along&lt;br /&gt;
# with this program; if not, write to the Free Software Foundation, Inc.,&lt;br /&gt;
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.&lt;br /&gt;
&lt;br /&gt;
LC_ALL=C&lt;br /&gt;
set -e&lt;br /&gt;
&lt;br /&gt;
function usage()&lt;br /&gt;
{&lt;br /&gt;
    echo &amp;quot;This utility generates SD card images suitable for use with QEMU.&amp;quot;&lt;br /&gt;
    echo &amp;quot;Usage:&amp;quot;&lt;br /&gt;
    echo &amp;quot;  $0 &amp;lt;output name&amp;gt; &amp;lt;mlo&amp;gt; &amp;lt;u-boot&amp;gt; &amp;lt;kernel&amp;gt; &amp;lt;rootfs&amp;gt;&amp;quot;&lt;br /&gt;
    echo &amp;quot;Example:&amp;quot;&lt;br /&gt;
    echo &amp;quot;  $0 sd.img ~/MLO ~/u-boot.bin ~/uImage ~/rootfs.tar.bz2&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function check_args()&lt;br /&gt;
{&lt;br /&gt;
    echo $#&lt;br /&gt;
    if [ $# -ne 5 ]; then&lt;br /&gt;
        usage&lt;br /&gt;
        exit 1&lt;br /&gt;
    fi&lt;br /&gt;
    OUTFILE=$1&lt;br /&gt;
    MLO=$2&lt;br /&gt;
    UBOOT=$3&lt;br /&gt;
    KERNEL=$4&lt;br /&gt;
    ROOTFS=$5&lt;br /&gt;
    &lt;br /&gt;
    if ! [[ -e ${MLO} ]]; then&lt;br /&gt;
        echo &amp;quot;MLO not found at ${MLO}! Quitting...&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
    fi&lt;br /&gt;
    if ! [[ -e ${UBOOT} ]]; then&lt;br /&gt;
        echo &amp;quot;U-boot not found at ${UBOOT}! Quitting...&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
    fi&lt;br /&gt;
    if ! [[ -e ${KERNEL} ]]; then&lt;br /&gt;
        echo &amp;quot;Kernel not found at ${KERNEL}! Quitting...&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
    fi&lt;br /&gt;
    if ! [[ -e ${ROOTFS} ]]; then&lt;br /&gt;
        echo &amp;quot;Rootfs not found at ${ROOTFS}! Quitting...&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
    fi&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
SIZE=1073741824 # 1G by default&lt;br /&gt;
&lt;br /&gt;
function make_image()&lt;br /&gt;
{&lt;br /&gt;
    qemu-img create -f raw ${OUTFILE} ${SIZE}&lt;br /&gt;
    &lt;br /&gt;
    CYLINDERS=`echo ${SIZE}/255/63/512 | bc`&lt;br /&gt;
    {&lt;br /&gt;
    echo ,9,0x0C,*&lt;br /&gt;
    echo ,,,-&lt;br /&gt;
    } | sfdisk -D -H 255 -S 63 -C ${CYLINDERS} ${OUTFILE} &amp;amp;&amp;gt; /dev/null&lt;br /&gt;
    &lt;br /&gt;
    # Reverse-engineer the partition setup&lt;br /&gt;
    BYTES_PER_SECTOR=&amp;quot;$(/sbin/fdisk -l -u ${OUTFILE} | grep Units | awk '{print $9}')&amp;quot;&lt;br /&gt;
    VFAT_SECTOR_OFFSET=&amp;quot;$(/sbin/fdisk -l -u ${OUTFILE} | grep img1 | awk '{print $3}')&amp;quot;&lt;br /&gt;
    EXT3_SECTOR_OFFSET=&amp;quot;$(/sbin/fdisk -l -u ${OUTFILE} | grep img2 | awk '{print $2}')&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function populate_image() &lt;br /&gt;
{&lt;br /&gt;
    LOOP_DEV=&amp;quot;/dev/loop1&amp;quot;&lt;br /&gt;
    LOOP_DEV_FS=&amp;quot;/dev/loop2&amp;quot;&lt;br /&gt;
    &lt;br /&gt;
    echo &amp;quot;[ Format vfat partition ]&amp;quot;&lt;br /&gt;
    /sbin/losetup -v -o $(expr ${BYTES_PER_SECTOR} &amp;quot;*&amp;quot; ${VFAT_SECTOR_OFFSET}) ${LOOP_DEV} ${OUTFILE}&lt;br /&gt;
    mkfs.vfat -F 32 -n &amp;quot;boot&amp;quot; ${LOOP_DEV}&lt;br /&gt;
    &lt;br /&gt;
    echo &amp;quot;[ Format ext3 partition ]&amp;quot;&lt;br /&gt;
    /sbin/losetup -v -o $(expr ${BYTES_PER_SECTOR} &amp;quot;*&amp;quot; ${EXT3_SECTOR_OFFSET}) ${LOOP_DEV_FS} ${OUTFILE}&lt;br /&gt;
    /sbin/mkfs.ext3 -L rootfs ${LOOP_DEV_FS}&lt;br /&gt;
    &lt;br /&gt;
    echo &amp;quot;[ Copying files to vfat ]&amp;quot;&lt;br /&gt;
    mount ${LOOP_DEV} /mnt&lt;br /&gt;
    cp -v ${MLO} /mnt/MLO&lt;br /&gt;
    cp -v ${UBOOT} /mnt/u-boot.bin&lt;br /&gt;
    cp -v ${KERNEL} /mnt/uImage&lt;br /&gt;
    umount ${LOOP_DEV}&lt;br /&gt;
    &lt;br /&gt;
    echo &amp;quot;[ Copying file system ]&amp;quot;&lt;br /&gt;
    mount ${LOOP_DEV_FS} /mnt&lt;br /&gt;
    tar xaf ${ROOTFS} -C /mnt&lt;br /&gt;
    umount ${LOOP_DEV_FS}&lt;br /&gt;
    &lt;br /&gt;
    echo &amp;quot;[ Clean up ]&amp;quot;&lt;br /&gt;
    /sbin/losetup -d ${LOOP_DEV}&lt;br /&gt;
    /sbin/losetup -d ${LOOP_DEV_FS}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ARGS=$*&lt;br /&gt;
check_args $ARGS&lt;br /&gt;
make_image&lt;br /&gt;
populate_image&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Trevor Woerner</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Overo_qemu_script&amp;diff=5597</id>
		<title>Overo qemu script</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Overo_qemu_script&amp;diff=5597"/>
				<updated>2011-07-07T17:13:12Z</updated>
		
		<summary type="html">&lt;p&gt;Trevor Woerner: Script for generating an Overo Qemu image&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# This script generates SD card disk images suitable for use with QEMU.&lt;br /&gt;
#&lt;br /&gt;
# Copyright (C) 2011 Ash Charles&lt;br /&gt;
# Based on:&lt;br /&gt;
#   Narcissus - Online image builder for the angstrom distribution&lt;br /&gt;
#   Copyright (C) 2008 - 2011 Koen Kooi&lt;br /&gt;
#   Copyright (C) 2010        Denys Dmytriyenko&lt;br /&gt;
# and&lt;br /&gt;
#   Linaro Images Tools.&lt;br /&gt;
#   Author: Guilherme Salgado &amp;lt;guilherme.salgado@linaro.org&amp;gt;&lt;br /&gt;
#&lt;br /&gt;
# This program is free software; you can redistribute it and/or modify&lt;br /&gt;
# it under the terms of the GNU General Public License version 2 as&lt;br /&gt;
# published by the Free Software Foundation.&lt;br /&gt;
#&lt;br /&gt;
# This program is distributed in the hope that it will be useful,&lt;br /&gt;
# but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br /&gt;
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the&lt;br /&gt;
# GNU General Public License for more details.&lt;br /&gt;
#&lt;br /&gt;
# You should have received a copy of the GNU General Public License along&lt;br /&gt;
# with this program; if not, write to the Free Software Foundation, Inc.,&lt;br /&gt;
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.&lt;br /&gt;
&lt;br /&gt;
LC_ALL=C&lt;br /&gt;
set -e&lt;br /&gt;
&lt;br /&gt;
function usage()&lt;br /&gt;
{&lt;br /&gt;
    echo &amp;quot;This utility generates SD card images suitable for use with QEMU.&amp;quot;&lt;br /&gt;
    echo &amp;quot;Usage:&amp;quot;&lt;br /&gt;
    echo &amp;quot;  $0 &amp;lt;output name&amp;gt; &amp;lt;mlo&amp;gt; &amp;lt;u-boot&amp;gt; &amp;lt;kernel&amp;gt; &amp;lt;rootfs&amp;gt;&amp;quot;&lt;br /&gt;
    echo &amp;quot;Example:&amp;quot;&lt;br /&gt;
    echo &amp;quot;  $0 sd.img ~/MLO ~/u-boot.bin ~/uImage ~/rootfs.tar.bz2&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function check_args()&lt;br /&gt;
{&lt;br /&gt;
    echo $#&lt;br /&gt;
    if [ $# -ne 5 ]; then&lt;br /&gt;
        usage&lt;br /&gt;
        exit 1&lt;br /&gt;
    fi&lt;br /&gt;
    OUTFILE=$1&lt;br /&gt;
    MLO=$2&lt;br /&gt;
    UBOOT=$3&lt;br /&gt;
    KERNEL=$4&lt;br /&gt;
    ROOTFS=$5&lt;br /&gt;
    &lt;br /&gt;
    if ! [[ -e ${MLO} ]]; then&lt;br /&gt;
        echo &amp;quot;MLO not found at ${MLO}! Quitting...&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
    fi&lt;br /&gt;
    if ! [[ -e ${UBOOT} ]]; then&lt;br /&gt;
        echo &amp;quot;U-boot not found at ${UBOOT}! Quitting...&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
    fi&lt;br /&gt;
    if ! [[ -e ${KERNEL} ]]; then&lt;br /&gt;
        echo &amp;quot;Kernel not found at ${KERNEL}! Quitting...&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
    fi&lt;br /&gt;
    if ! [[ -e ${ROOTFS} ]]; then&lt;br /&gt;
        echo &amp;quot;Rootfs not found at ${ROOTFS}! Quitting...&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
    fi&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
SIZE=1073741824 # 1G by default&lt;br /&gt;
&lt;br /&gt;
function make_image()&lt;br /&gt;
{&lt;br /&gt;
    qemu-img create -f raw ${OUTFILE} ${SIZE}&lt;br /&gt;
    &lt;br /&gt;
    CYLINDERS=`echo ${SIZE}/255/63/512 | bc`&lt;br /&gt;
    {&lt;br /&gt;
    echo ,9,0x0C,*&lt;br /&gt;
    echo ,,,-&lt;br /&gt;
    } | sfdisk -D -H 255 -S 63 -C ${CYLINDERS} ${OUTFILE} &amp;amp;&amp;gt; /dev/null&lt;br /&gt;
    &lt;br /&gt;
    # Reverse-engineer the partition setup&lt;br /&gt;
    BYTES_PER_SECTOR=&amp;quot;$(/sbin/fdisk -l -u ${OUTFILE} | grep Units | awk '{print $9}')&amp;quot;&lt;br /&gt;
    VFAT_SECTOR_OFFSET=&amp;quot;$(/sbin/fdisk -l -u ${OUTFILE} | grep img1 | awk '{print $3}')&amp;quot;&lt;br /&gt;
    EXT3_SECTOR_OFFSET=&amp;quot;$(/sbin/fdisk -l -u ${OUTFILE} | grep img2 | awk '{print $2}')&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function populate_image() &lt;br /&gt;
{&lt;br /&gt;
    LOOP_DEV=&amp;quot;/dev/loop1&amp;quot;&lt;br /&gt;
    LOOP_DEV_FS=&amp;quot;/dev/loop2&amp;quot;&lt;br /&gt;
    &lt;br /&gt;
    echo &amp;quot;[ Format vfat partition ]&amp;quot;&lt;br /&gt;
    /sbin/losetup -v -o $(expr ${BYTES_PER_SECTOR} &amp;quot;*&amp;quot; ${VFAT_SECTOR_OFFSET}) ${LOOP_DEV} ${OUTFILE}&lt;br /&gt;
    mkfs.vfat -F 32 -n &amp;quot;boot&amp;quot; ${LOOP_DEV}&lt;br /&gt;
    &lt;br /&gt;
    echo &amp;quot;[ Format ext3 partition ]&amp;quot;&lt;br /&gt;
    /sbin/losetup -v -o $(expr ${BYTES_PER_SECTOR} &amp;quot;*&amp;quot; ${EXT3_SECTOR_OFFSET}) ${LOOP_DEV_FS} ${OUTFILE}&lt;br /&gt;
    /sbin/mkfs.ext3 -L rootfs ${LOOP_DEV_FS}&lt;br /&gt;
    &lt;br /&gt;
    echo &amp;quot;[ Copying files to vfat ]&amp;quot;&lt;br /&gt;
    mount ${LOOP_DEV} /mnt&lt;br /&gt;
    cp -v ${MLO} /mnt/MLO&lt;br /&gt;
    cp -v ${UBOOT} /mnt/u-boot.bin&lt;br /&gt;
    cp -v ${KERNEL} /mnt/uImage&lt;br /&gt;
    umount ${LOOP_DEV}&lt;br /&gt;
    &lt;br /&gt;
    echo &amp;quot;[ Copying file system ]&amp;quot;&lt;br /&gt;
    mount ${LOOP_DEV_FS} /mnt&lt;br /&gt;
    tar xaf ${ROOTFS} -C /mnt&lt;br /&gt;
    umount ${LOOP_DEV_FS}&lt;br /&gt;
    &lt;br /&gt;
    echo &amp;quot;[ Clean up ]&amp;quot;&lt;br /&gt;
    /sbin/losetup -d ${LOOP_DEV}&lt;br /&gt;
    /sbin/losetup -d ${LOOP_DEV_FS}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ARGS=$*&lt;br /&gt;
check_args $ARGS&lt;br /&gt;
make_image&lt;br /&gt;
populate_image&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Trevor Woerner</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Overo_emulation_in_qemu&amp;diff=5596</id>
		<title>Overo emulation in qemu</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Overo_emulation_in_qemu&amp;diff=5596"/>
				<updated>2011-07-07T17:08:33Z</updated>
		
		<summary type="html">&lt;p&gt;Trevor Woerner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
[[Category:How to - qemu]]&lt;br /&gt;
&lt;br /&gt;
Ash Charles has been working with Riku from the Qemu-linaro team to get support for the Overo hardware working in Qemu!&lt;br /&gt;
&lt;br /&gt;
==Pre-Compiled Images==&lt;br /&gt;
&lt;br /&gt;
Here are Ash's steps for working with pre-compiled images:&lt;br /&gt;
&lt;br /&gt;
* binary executable for qemu available here (for x86_64):&lt;br /&gt;
::http://dl.dropbox.com/u/211887/qemu-system-arm&lt;br /&gt;
::MD5:c375b7d0338e3e8cd7009e69f3aaae74&lt;br /&gt;
&lt;br /&gt;
* overo angstrom image with a kernel, MLO, u-boot packed:&lt;br /&gt;
::http://dl.dropbox.com/u/211887/overo.img.gz&lt;br /&gt;
::MD5:3545dbd2e7ffac3d352a7bc9e92373bf&lt;br /&gt;
&lt;br /&gt;
* download, gunzip the overo.img.gz and run with:&lt;br /&gt;
::&amp;lt;code&amp;gt;# ./qemu-system-arm -M overo -m 256 -sd ./overo.img -clock unix -serial stdio&amp;lt;/code&amp;gt;&lt;br /&gt;
::(mouse &amp;amp; keyboard don't work currently but the console session is usable)&lt;br /&gt;
&lt;br /&gt;
==From Sources==&lt;br /&gt;
&lt;br /&gt;
* build your overo image using bitbake/OE as usual:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd $OVEROTOP&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ bitbake omap3-console-image&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* build the MLO program:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ bitbake x-load&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* get the sources for and build qemu with overo support:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd $OVEROTOP&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ git clone git://git.linaro.org/people/rikuvoipio/qemu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd qemu&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ git checkout overo&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ ./configure --prefix=$OVEROTOP/local --target-list=arm-softmmu&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ make install&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ export PATH=$OVEROTOP/local/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* use Ash's supplied script to generate a qemu image:&lt;br /&gt;
::&amp;lt;code&amp;gt;# export OEDONE=$OETMP/deploy/glibc/images/overo&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;# assemble-image.sh $OVEROTOP/overo.img $OEDONE/MLO-overo $OEDONE/u-boot-overo.bin $OEDONE/uImage-overo.bin $OEDONE/omap3-console-image-overo.tar.bz2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* then run the image under qemu:&lt;br /&gt;
::&amp;lt;code&amp;gt;# qemu-system-arm -M overo -m 256 -sd $OVEROTOP/overo.img -clock unix -serial stdio&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Trevor Woerner</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Overo_emulation_in_qemu&amp;diff=5595</id>
		<title>Overo emulation in qemu</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Overo_emulation_in_qemu&amp;diff=5595"/>
				<updated>2011-07-07T17:07:37Z</updated>
		
		<summary type="html">&lt;p&gt;Trevor Woerner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
[[Category:Qemu]]&lt;br /&gt;
&lt;br /&gt;
Ash Charles has been working with Riku from the Qemu-linaro team to get support for the Overo hardware working in Qemu!&lt;br /&gt;
&lt;br /&gt;
==Pre-Compiled Images==&lt;br /&gt;
&lt;br /&gt;
Here are Ash's steps for working with pre-compiled images:&lt;br /&gt;
&lt;br /&gt;
* binary executable for qemu available here (for x86_64):&lt;br /&gt;
::http://dl.dropbox.com/u/211887/qemu-system-arm&lt;br /&gt;
::MD5:c375b7d0338e3e8cd7009e69f3aaae74&lt;br /&gt;
&lt;br /&gt;
* overo angstrom image with a kernel, MLO, u-boot packed:&lt;br /&gt;
::http://dl.dropbox.com/u/211887/overo.img.gz&lt;br /&gt;
::MD5:3545dbd2e7ffac3d352a7bc9e92373bf&lt;br /&gt;
&lt;br /&gt;
* download, gunzip the overo.img.gz and run with:&lt;br /&gt;
::&amp;lt;code&amp;gt;# ./qemu-system-arm -M overo -m 256 -sd ./overo.img -clock unix -serial stdio&amp;lt;/code&amp;gt;&lt;br /&gt;
::(mouse &amp;amp; keyboard don't work currently but the console session is usable)&lt;br /&gt;
&lt;br /&gt;
==From Sources==&lt;br /&gt;
&lt;br /&gt;
* build your overo image using bitbake/OE as usual:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd $OVEROTOP&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ bitbake omap3-console-image&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* build the MLO program:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ bitbake x-load&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* get the sources for and build qemu with overo support:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd $OVEROTOP&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ git clone git://git.linaro.org/people/rikuvoipio/qemu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd qemu&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ git checkout overo&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ ./configure --prefix=$OVEROTOP/local --target-list=arm-softmmu&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ make install&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ export PATH=$OVEROTOP/local/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* use Ash's supplied script to generate a qemu image:&lt;br /&gt;
::&amp;lt;code&amp;gt;# export OEDONE=$OETMP/deploy/glibc/images/overo&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;# assemble-image.sh $OVEROTOP/overo.img $OEDONE/MLO-overo $OEDONE/u-boot-overo.bin $OEDONE/uImage-overo.bin $OEDONE/omap3-console-image-overo.tar.bz2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* then run the image under qemu:&lt;br /&gt;
::&amp;lt;code&amp;gt;# qemu-system-arm -M overo -m 256 -sd $OVEROTOP/overo.img -clock unix -serial stdio&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Trevor Woerner</name></author>	</entry>

	<entry>
		<id>https://wiki.gumstix.com/index.php?title=Overo_emulation_in_qemu&amp;diff=5594</id>
		<title>Overo emulation in qemu</title>
		<link rel="alternate" type="text/html" href="https://wiki.gumstix.com/index.php?title=Overo_emulation_in_qemu&amp;diff=5594"/>
				<updated>2011-07-07T17:04:07Z</updated>
		
		<summary type="html">&lt;p&gt;Trevor Woerner: Running Overo images under Qemu&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
Ash Charles has been working with Riku from the Qemu-linaro team to get support for the Overo hardware working in Qemu!&lt;br /&gt;
&lt;br /&gt;
==Pre-Compiled Images==&lt;br /&gt;
&lt;br /&gt;
Here are Ash's steps for working with pre-compiled images:&lt;br /&gt;
&lt;br /&gt;
* binary executable for qemu available here (for x86_64):&lt;br /&gt;
::http://dl.dropbox.com/u/211887/qemu-system-arm&lt;br /&gt;
::MD5:c375b7d0338e3e8cd7009e69f3aaae74&lt;br /&gt;
&lt;br /&gt;
* overo angstrom image with a kernel, MLO, u-boot packed:&lt;br /&gt;
::http://dl.dropbox.com/u/211887/overo.img.gz&lt;br /&gt;
::MD5:3545dbd2e7ffac3d352a7bc9e92373bf&lt;br /&gt;
&lt;br /&gt;
* download, gunzip the overo.img.gz and run with:&lt;br /&gt;
::&amp;lt;code&amp;gt;# ./qemu-system-arm -M overo -m 256 -sd ./overo.img -clock unix -serial stdio&amp;lt;/code&amp;gt;&lt;br /&gt;
::(mouse &amp;amp; keyboard don't work currently but the console session is usable)&lt;br /&gt;
&lt;br /&gt;
==From Sources==&lt;br /&gt;
&lt;br /&gt;
* build your overo image using bitbake/OE as usual:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd $OVEROTOP&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ bitbake omap3-console-image&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* build the MLO program:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ bitbake x-load&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* get the sources for and build qemu with overo support:&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd $OVEROTOP&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ git clone git://git.linaro.org/people/rikuvoipio/qemu.git&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ cd qemu&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ git checkout overo&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ ./configure --prefix=$OVEROTOP/local --target-list=arm-softmmu&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ make install&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;$ export PATH=$OVEROTOP/local/bin:$PATH&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* use Ash's supplied script to generate a qemu image:&lt;br /&gt;
::&amp;lt;code&amp;gt;# export OEDONE=$OETMP/deploy/glibc/images/overo&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;# assemble-image.sh $OVEROTOP/overo.img $OEDONE/MLO-overo $OEDONE/u-boot-overo.bin $OEDONE/uImage-overo.bin $OEDONE/omap3-console-image-overo.tar.bz2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* then run the image under qemu:&lt;br /&gt;
::&amp;lt;code&amp;gt;# qemu-system-arm -M overo -m 256 -sd $OVEROTOP/overo.img -clock unix -serial stdio&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Trevor Woerner</name></author>	</entry>

	</feed>