This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BeagleXM+bbtoys-wifi using 2.6.37 kernel from Devkit 2.1 Gingerbread

Other Parts Discussed in Thread: WL1271

Hi there,

I decided to try to create a quick patch to implement support for the bbtoys-wifi adapter board (wl1271/ls240) in the 2.6.37 kernel from Devkit 2.1 Gingerbread. I have attached the patch to add the wifi structures, dot config for the kernel and boot log. 

diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index f77343b..c2f78b5 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -193,6 +193,75 @@ fail0:
 	return;
 }
 
+char expansionboard_name[16];
+
+#if defined(CONFIG_WL12XX) || defined(CONFIG_WL12XX_MODULE)
+#include <linux/regulator/fixed.h>
+#include <linux/wl12xx.h>
+
+#define OMAP_BEAGLE_WLAN_EN_GPIO    (139)
+#define OMAP_BEAGLE_BT_EN_GPIO      (138)
+#define OMAP_BEAGLE_WLAN_IRQ_GPIO   (137)
+#define OMAP_BEAGLE_FM_EN_BT_WU     (136)
+
+struct wl12xx_platform_data omap_beagle_wlan_data __initdata = {
+	.irq = OMAP_GPIO_IRQ(OMAP_BEAGLE_WLAN_IRQ_GPIO),
+	.board_ref_clock = 2, /* 38.4 MHz */
+};
+
+static int gpios[] = {OMAP_BEAGLE_BT_EN_GPIO, OMAP_BEAGLE_FM_EN_BT_WU, -1};
+static struct platform_device wl12xx_device = {
+		.name		= "kim",
+		.id			= -1,
+		.dev.platform_data = &gpios,
+};
+
+static struct omap2_hsmmc_info mmcbbt[] = {
+ 	{
+ 		.mmc		= 1,
+ 		.caps		= MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA,
+ 		.gpio_wp	= 29,
+ 	},
+	{
+		.name		= "wl1271",
+		.mmc		= 2,
+		.caps		= MMC_CAP_4_BIT_DATA | MMC_CAP_POWER_OFF_CARD,
+		.gpio_wp	= -EINVAL,
+		.gpio_cd	= -EINVAL,
+		.ocr_mask	= MMC_VDD_165_195,
+		.nonremovable	= true,
+	},
+ 	{}	/* Terminator */
+ };
+
+static struct regulator_consumer_supply beagle_wifi_fixed_supply =
+	REGULATOR_SUPPLY("vmmc", "omap_hsmmc.1");
+
+static struct regulator_init_data beagle_vmmc2 = {
+	.num_consumer_supplies = 1,
+	.consumer_supplies = &beagle_wifi_fixed_supply,
+};
+
+static struct fixed_voltage_config beagle_vwlan = {
+	.supply_name = "vwl1271",
+	.microvolts = 1800000,  /* 1.8V */
+	.gpio = OMAP_BEAGLE_WLAN_EN_GPIO,
+	.startup_delay = 70000, /* 70ms */
+	.enable_high = 1,
+	.enabled_at_boot = 1,
+	.init_data = &beagle_vmmc2,
+};
+
+static struct platform_device omap_vwlan_device = {
+	.name           = "reg-fixed-voltage",
+	.id             = 1,
+	.dev = {
+		.platform_data = &beagle_vwlan,
+	},
+};
+#endif
+
+
 static struct mtd_partition omap3beagle_nand_partitions[] = {
 	/* All the partition sizes are listed in terms of NAND block size */
 	{
@@ -303,6 +372,12 @@ static struct omap2_hsmmc_info mmc[] = {
 		.caps		= MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA,
 		.gpio_wp	= 29,
 	},
+	{
+		.mmc		= 2,
+		.caps       = MMC_CAP_4_BIT_DATA,
+		.transceiver	= true,
+		.ocr_mask	= 0x00100000,	/* 3.3V */
+	},
 	{}	/* Terminator */
 };
 
@@ -329,6 +404,7 @@ static int beagle_twl_gpio_setup(struct device *dev,
 {
 	if (omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XM || omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XMC) {
 		mmc[0].gpio_wp = -EINVAL;
+		mmcbbt[0].gpio_wp = -EINVAL;
 	} else if ((omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_C1_3) ||
 		(omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_C4)) {
 		omap_mux_init_gpio(23, OMAP_PIN_INPUT);
@@ -338,11 +414,26 @@ static int beagle_twl_gpio_setup(struct device *dev,
 	}
 	/* gpio + 0 is "mmc0_cd" (input/IRQ) */
 	mmc[0].gpio_cd = gpio + 0;
+	mmcbbt[0].gpio_cd = gpio + 0;
+#if defined(CONFIG_WL12XX) || defined(CONFIG_WL12XX_MODULE)
+	if(!strcmp(expansionboard_name, "bbtoys-wifi")) { 
+		omap2_hsmmc_init(mmcbbt);
+		/* link regulators to MMC adapters */
+		beagle_vmmc1_supply.dev = mmcbbt[0].dev;
+		beagle_vsim_supply.dev = mmcbbt[0].dev;
+	} else {
+		omap2_hsmmc_init(mmc);
+		/* link regulators to MMC adapters */
+		beagle_vmmc1_supply.dev = mmc[0].dev;
+		beagle_vsim_supply.dev = mmc[0].dev;
+	}
+#else
 	omap2_hsmmc_init(mmc);
 
 	/* link regulators to MMC adapters */
 	beagle_vmmc1_supply.dev = mmc[0].dev;
 	beagle_vsim_supply.dev = mmc[0].dev;
+#endif
 
 	/* REVISIT: need ehci-omap hooks for external VBUS
 	 * power switch and overcurrent detect
@@ -693,6 +784,16 @@ static struct omap_musb_board_data musb_board_data = {
 	.power			= 100,
 };
 
+static int __init expansionboard_setup(char *str)
+{
+	if (!str)
+		return -EINVAL;
+	strncpy(expansionboard_name, str, 16);
+	printk(KERN_INFO "Beagle expansionboard: %s\n", expansionboard_name);
+	return 0;
+}
+
+
 static void __init omap3_beagle_init(void)
 {
 	omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
@@ -707,6 +808,16 @@ static void __init omap3_beagle_init(void)
 	/* REVISIT leave DVI powered down until it's needed ... */
 	gpio_direction_output(170, true);
 
+	if(!strcmp(expansionboard_name, "bbtoys-wifi"))
+	{
+		if (wl12xx_set_platform_data(&omap_beagle_wlan_data))
+			pr_err("error setting wl12xx data\n");
+		printk(KERN_INFO "Beagle expansionboard: registering wl12xx bt platform device\n");
+		platform_device_register(&wl12xx_device);
+		printk(KERN_INFO "Beagle expansionboard: registering wl12xx wifi platform device\n");
+		platform_device_register(&omap_vwlan_device);
+	}
+
 	usb_musb_init(&musb_board_data);
 	usb_ehci_init(&ehci_pdata);
 	omap3beagle_flash_init();
@@ -721,6 +832,8 @@ static void __init omap3_beagle_init(void)
 #endif
 }
 
+early_param("buddy", expansionboard_setup);
+
 MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board")
 	/* Maintainer: Syed Mohammed Khasim - http://beagleboard.org */
 	.boot_params	= 0x80000100,
 3223.dotconfig_bbtoys_wifi_2637.txt 
Texas Instruments X-Loader 1.5.0 (Mar 27 2011 - 17:37:56)
Beagle xM
Reading boot sector
Loading u-boot.bin from mmc


U-Boot 2011.03-rc1-00000-g5ace684-dirty (May 15 2011 - 18:50:56)

OMAP3630/3730-GP ES2.0, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Beagle xM Rev A
Recognized BeagleBoardToys WiFi board
Die ID #298600019ff80000015eeaa10100301f
Hit any key to stop autoboot:  0 
The user button is currently NOT pressed.
SD/MMC found on device 0
reading uEnv.txt

** Unable to read "uEnv.txt" from mmc 0:1 **
Loading file "/boot/uImage" from mmc device 0:2 (xxa2)
3657744 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 80200000 ...
   Image Name:   Linux-2.6.37-gec6edf4-dirty
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3657680 Bytes = 3.5 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 2.6.37-gec6edf4-dirty (test@lucidgingerbread) (gcc version 4.4.3 (GCC) ) #43 Wed Sep 14 12:09:07 MYT 2011
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: OMAP3 Beagle Board
[    0.000000] Beagle expansionboard: bbtoys-wifi
[    0.000000] Reserving 12582912 bytes SDRAM for VRAM
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] OMAP3630 ES1.1 (l2cache iva sgx neon isp 192mhz_clk )
[    0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 126976
[    0.000000] Kernel command line: console=ttyO2,115200n8 mpurate=auto buddy=bbtoys-wifi camera=lbcm3m1 vram=12M omapfb.mode=dvi:640x480MR-16@60 omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 500MB = 500MB total
[    0.000000] Memory: 499836k/499836k available, 24452k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
[    0.000000]     vmalloc : 0xe0800000 - 0xf8000000   ( 376 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc0040000   ( 224 kB)
[    0.000000]       .text : 0xc0040000 - 0xc06d5000   (6740 kB)
[    0.000000]       .data : 0xc06d6000 - 0xc071c840   ( 283 kB)
[    0.000000] NR_IRQS:409
[    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
[    0.000000] Reprogramming SDRC clock to 332000000 Hz
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[    0.000000] Total of 96 interrupts on 1 active controller
[    0.000000] GPMC revision 5.0
[    0.000000] Trying to install interrupt handler for IRQ402
[    0.000000] Trying to install interrupt handler for IRQ403
[    0.000000] Trying to install interrupt handler for IRQ404
[    0.000000] Trying to install interrupt handler for IRQ405
[    0.000000] Trying to install interrupt handler for IRQ406
[    0.000000] Trying to install interrupt handler for IRQ407
[    0.000000] Trying to install interrupt handler for IRQ408
[    0.000000] Trying to install type control for IRQ409
[    0.000000] Trying to set irq flags for IRQ409
[    0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
[    0.000000] pid_max: default: 32768 minimum: 301
[    0.000000] Security Framework initialized
[    0.000000] Mount-cache hash table entries: 512
[    0.000000] CPU: Testing write buffer coherency: ok
[    0.000000] regulator: core version 0.5
[    0.000000] regulator: dummy: 
[    0.000000] NET: Registered protocol family 16
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] OMAP GPIO hardware version 2.5
[    0.000000] omap_mux_init: Add partition: #1: core, flags: 0
[    0.000000] OMAP3 Beagle Rev: xM
[    0.000000] Beagle expansionboard: registering wl12xx bt platform device
[    0.000000] Beagle expansionboard: registering wl12xx wifi platform device
[    0.000000] Found NAND on CS0
[    0.000000] Registering NAND on CS0
[    0.000000] Unable to get DVI reset GPIO
[    0.000000] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.000000] OMAP DMA hardware revision 5.0
[    0.025177] bio: create slab <bio-0> at 0
[    0.026580] regulator: vwl1271: 1800 mV 
[    0.028289] SCSI subsystem initialized
[    0.031097] usbcore: registered new interface driver usbfs
[    0.031494] usbcore: registered new interface driver hub
[    0.031768] usbcore: registered new device driver usb
[    0.033050] omap_device: omap_i2c.1: new worst case activate latency 0: 30517
[    0.033111] omap_i2c omap_i2c.1: bus 1 rev4.0 at 2600 kHz
[    0.036254] twl4030: PIH (irq 7) chaining IRQs 368..375
[    0.036285] twl4030: power (irq 373) chaining IRQs 376..383
[    0.036895] twl4030: gpio (irq 368) chaining IRQs 384..401
[    0.041351] regulator: VUSB1V5: 1500 mV normal standby
[    0.042083] regulator: VUSB1V8: 1800 mV normal standby
[    0.042755] regulator: VUSB3V1: 3100 mV normal standby
[    0.044372] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[    0.046081] regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
[    0.046783] regulator: VDAC: 1800 mV normal standby
[    0.047424] regulator: VDVI: 1800 mV normal standby
[    0.048187] regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
[    0.048919] regulator: VAUX3: 1800 mV normal standby
[    0.049682] regulator: VAUX4: 1800 mV normal standby
[    0.049926] omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
[    0.050292] omap_device: omap_i2c.2: new worst case deactivate latency 0: 30517
[    0.061218] omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz
[    0.063171] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.064025] Bluetooth: Core ver 2.15
[    0.064270] NET: Registered protocol family 31
[    0.064270] Bluetooth: HCI device and connection manager initialized
[    0.064300] Bluetooth: HCI socket layer initialized
[    0.064910] cfg80211: Calling CRDA to update world regulatory domain
[    0.066406] Switching to clocksource 32k_counter
[    0.194366] WL1271: BT_EN GPIO initialized
[    0.194641] musb-hdrc: version 6.0, otg (peripheral+host), debug=0
[    0.194793] musb-hdrc musb-hdrc.0: dma type: dma-inventra
[    0.195159] musb-hdrc musb-hdrc.0: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[    0.195800] NET: Registered protocol family 2
[    0.195983] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.196441] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.196807] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[    0.197021] TCP: Hash tables configured (established 16384 bind 16384)
[    0.197021] TCP reno registered
[    0.197052] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.197082] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.197296] NET: Registered protocol family 1
[    0.197662] RPC: Registered udp transport module.
[    0.197662] RPC: Registered tcp transport module.
[    0.197692] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.197937] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.199218] omap-iommu omap-iommu.0: isp registered
[    0.199584] AM37x/DM37x  Linux PSP version 04.02.00.07 (OMAP3BEAGLE)
[    0.362152] ashmem: initialized
[    0.362609] VFS: Disk quotas dquot_6.5.2
[    0.362701] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.363708] JFFS2 version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
[    0.364379] msgmni has been set to 976
[    0.365722] io scheduler noop registered
[    0.365753] io scheduler deadline registered
[    0.365875] io scheduler cfq registered (default)
[    0.426177] OMAP DSS rev 2.0
[    0.426269] OMAP DISPC rev 3.0
[    0.426300] OMAP VENC rev 2
[    0.426605] OMAP DSI rev 1.0
[    0.755706] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.757781] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[    0.758209] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[    0.758575] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[    1.500061] console [ttyO2] enabled
[    1.504150] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
[    1.523590] brd: module loaded
[    1.532531] loop: module loaded
[    1.538421] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.545227] omap2-nand driver initializing
[    1.549896] No NAND device found.
[    1.553649] No NAND device found.
[    1.557403] OneNAND driver initializing
[    1.564086] usbcore: registered new interface driver asix
[    1.569976] usbcore: registered new interface driver cdc_ether
[    1.576354] usbcore: registered new interface driver smsc95xx
[    1.582580] usbcore: registered new interface driver net1080
[    1.588684] usbcore: registered new interface driver cdc_subset
[    1.595092] usbcore: registered new interface driver zaurus
[    1.601684] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.621246] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[    3.627777] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[    3.635711] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[    3.652587] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[    3.658721] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    3.665863] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.673431] usb usb1: Product: OMAP-EHCI Host Controller
[    3.679016] usb usb1: Manufacturer: Linux 2.6.37-gec6edf4-dirty ehci_hcd
[    3.686065] usb usb1: SerialNumber: ehci-omap.0
[    3.691864] hub 1-0:1.0: USB hub found
[    3.695800] hub 1-0:1.0: 3 ports detected
[    3.730926] Initializing USB Mass Storage driver...
[    3.736358] usbcore: registered new interface driver usb-storage
[    3.742675] USB Mass Storage support registered.
[    3.747772] usbcore: registered new interface driver usbtest
[    3.754333] mice: PS/2 mouse device common for all mice
[    3.760650] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.770019] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
[    3.783447] using rtc device, twl_rtc, for alarms
[    3.788269] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[    3.795776] i2c /dev entries driver
[    3.800903] Linux media interface: v0.10
[    3.805297] Linux video capture interface: v2.00
[    3.811035] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[    3.817413] omap_device: omap_wdt.-1: new worst case deactivate latency 0: 30517
[    3.825622] twl4030_wdt twl4030_wdt: Failed to register misc device
[    3.832244] twl4030_wdt: probe of twl4030_wdt failed with error -16
[    3.839324] device-mapper: uevent: version 1.0.3
[    3.844757] device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised: dm-devel@redhat.com
[    3.853729] Bluetooth: HCI UART driver ver 2.2
[    3.858398] Bluetooth: HCI H4 protocol initialized
[    3.863433] Bluetooth: HCILL protocol initialized
[    3.872833] mmc0: mmc_rescan: trying to init card at 400000 Hz
[    3.880950] usbcore: registered new interface driver usbhid
[    3.886779] usbhid: USB HID core driver
[    3.891754] usbcore: registered new interface driver snd-usb-audio
[    3.899688] OMAP3 Beagle/Devkit8000 SoC init
[    3.976013] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
[    3.983673] ALSA device list:
[    3.986785]   #0: omap3beagle
[    3.989929] oprofile: hardware counters not available
[    3.995208] oprofile: using timer interrupt.
[    3.999877] nf_conntrack version 0.5.0 (7809 buckets, 31236 max)
[    4.006744] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.012481] TCP cubic registered
[    4.015838] Initializing XFRM netlink socket
[    4.020355] NET: Registered protocol family 17
[    4.025024] NET: Registered protocol family 15
[    4.029907] Bluetooth: L2CAP ver 2.15
[    4.033721] Bluetooth: L2CAP socket layer initialized
[    4.039062] Bluetooth: SCO (Voice Link) ver 0.6
[    4.043823] Bluetooth: SCO socket layer initialized
[    4.049041] Bluetooth: RFCOMM TTY layer initialized
[    4.054168] Bluetooth: RFCOMM socket layer initialized
[    4.059570] Bluetooth: RFCOMM ver 1.11
[    4.063507] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.069061] Bluetooth: BNEP filters: protocol multicast
[    4.074554] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    4.081420] Registering the dns_resolver key type
[    4.086486] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    4.094909] ThumbEE CPU extension supported.
[    4.100769] usb 1-2: new high speed USB device using ehci-omap and address 2
[    4.113891] Power Management for TI OMAP3.
[    4.119201] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
[    4.127593] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
[    4.136138] SmartReflex Class3 initialized
[    4.144866] clock: disabling unused clocks to save power
[    4.151275] platform mpu.0: omap_voltage_scale: Already at the requestedrate 600000000
[    4.165618] fbcvt: 640x480@60: CVT Name - .307M3-R
[    4.182037] regulator_init_complete: incomplete constraints, leaving VAUX3 on
[    4.189727] regulator_init_complete: incomplete constraints, leaving VDAC on
[    4.197937] regulator_init_complete: incomplete constraints, leaving vwl1271 on
[    4.206909] twl_rtc twl_rtc: setting system clock to 2011-08-17 00:59:42 UTC (1313542782)
[    4.215637] omap_vout omap_vout: Buffer Size = 3686400
[    4.222290] omap_vout omap_vout: : registered and initialized video device 0
[    4.229766] omap_vout omap_vout: Buffer Size = 3686400
[    4.236724] omap_vout omap_vout: : registered and initialized video device 1
[    4.245086] Waiting for root device /dev/mmcblk0p2...
[    4.262329] usb 1-2: New USB device found, idVendor=0424, idProduct=9514
[    4.269348] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.278320] hub 1-2:1.0: USB hub found
[    4.282440] hub 1-2:1.0: 5 ports detected
[    4.521148] mmc0: host does not support reading read-only switch. assuming write-enable.
[    4.543395] mmc0: new high speed SDHC card at address 1234
[    4.549743] mmcblk0: mmc0:1234 SA04G 3.68 GiB 
[    4.558105]  mmcblk0: p1 p2
[    4.562438] mmc1: mmc_rescan: trying to init card at 400000 Hz
[    4.575103] usb 1-2.1: new high speed USB device using ehci-omap and address 3
[    4.586181] EXT3-fs: barriers not enabled
[    4.627227] mmc1: card claims to support voltages below the defined range. These will be ignored.
[    4.665618] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[    4.676574] mmc1: new SDIO card at address 0001
[    4.700073] usb 1-2.1: New USB device found, idVendor=0424, idProduct=ec00
[    4.707305] usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.718261] smsc95xx v1.0.4
[    4.798400] smsc95xx 1-2.1:1.0: usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1, smsc95xx USB 2.0 Ethernet, 2a:87:bf:56:c1:aa
[    4.828613] wl1271: loaded
[    4.831451] wl1271: initialized
[    8.286224] kjournald starting.  Commit interval 5 seconds
[    8.292022] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
[    8.709716] EXT3-fs (mmcblk0p2): using internal journal
[    8.715393] EXT3-fs (mmcblk0p2): recovery complete
[    8.727935] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    8.735229] VFS: Mounted root (ext3 filesystem) on device 179:2.
[    8.741607] Freeing init memory: 224K
[   15.265197] usb0: link up, 100Mbps, full-duplex, lpa 0x45E1

.---O---.                                           
|       |                  .-.           o o        
|   |   |-----.-----.-----.| |   .----..-----.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                -'  |
                '---'

The Angstrom Distribution beagleboard ttyO2

Angstrom v2011.06 beagleboard ttyO2

beagleboard login: root
root@beagleboard:~# ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usb0      Link encap:Ethernet  HWaddr 2A:87:BF:56:C1:AA  
          inet addr:192.168.100.190  Bcast:0.0.0.0  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1492  Metric:1
          RX packets:26 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4567 (4.4 KiB)  TX bytes:4940 (4.8 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@beagleboard:~# ifconfig wlan0 up
ifconfig: SIOCSIFFLAGS: Cannot assign requested address
root@beagleboard:~# iwconfig wlan0
wlan0     IEEE 802.11abg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          
root@beagleboard:~# iwconfig wlan0 essid opentesting ap any
root@beagleboard:~# iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Network is down

 

I was successful in getting the wlan0 interface to show up. But I can't seem to get the interface to come up so that scanning and other iwconfig steps can occur. I checked for the following:

a) pinmux in u-boot

 Recognized BeagleBoardToys WiFi board

(above sets up the correct pinmux for the use of MMC2 pins)
#define MUX_BBTOYS_WIFI() \
        MUX_VAL(CP(MMC2_CLK),       (IEN  | PTU | EN  | M0)) /*MMC2_CLK*/\
        MUX_VAL(CP(MMC2_CMD),       (IEN  | PTU | EN  | M0)) /*MMC2_CMD*/\
        MUX_VAL(CP(MMC2_DAT0),      (IEN  | PTU | EN  | M0)) /*MMC2_DAT0*/\
        MUX_VAL(CP(MMC2_DAT1),      (IEN  | PTU | EN  | M0)) /*MMC2_DAT1*/\
        MUX_VAL(CP(MMC2_DAT2),      (IEN  | PTU | EN  | M0)) /*MMC2_DAT2*/\
        MUX_VAL(CP(MMC2_DAT3),      (IEN  | PTU | EN  | M0)) /*MMC2_DAT3*/\
        MUX_VAL(CP(MMC2_DAT4),      (IDIS | PTU | EN  | M4)) /*GPIO_136 FM_EN/BT_WU*/\
        MUX_VAL(CP(MMC2_DAT5),      (IEN  | PTU | EN  | M4)) /*GPIO_137 WLAN_IRQ*/\
        MUX_VAL(CP(MMC2_DAT6),      (IDIS | PTU | EN  | M4)) /*GPIO_138 BT_EN*/\
        MUX_VAL(CP(MMC2_DAT7),      (IDIS | PTU | EN  | M4)) /*GPIO_139 WLAN_EN*/
b) kernel structures for wl1271 via MMC2
#define OMAP_BEAGLE_WLAN_EN_GPIO    (139)
#define OMAP_BEAGLE_BT_EN_GPIO      (138)
#define OMAP_BEAGLE_WLAN_IRQ_GPIO   (137)
#define OMAP_BEAGLE_FM_EN_BT_WU     (136)
struct wl12xx_platform_data omap_beagle_wlan_data __initdata = {
        .irq = OMAP_GPIO_IRQ(OMAP_BEAGLE_WLAN_IRQ_GPIO),
        .board_ref_clock = 2, /* 38.4 MHz */
};
static int gpios[] = {OMAP_BEAGLE_BT_EN_GPIO, OMAP_BEAGLE_FM_EN_BT_WU, -1};
static struct platform_device wl12xx_device = {
                .name           = "kim",
                .id                     = -1,
                .dev.platform_data = &gpios,
};
static struct omap2_hsmmc_info mmcbbt[] = {
        {
                .mmc            = 1,
                .caps           = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA,
                .gpio_wp        = 29,
        },
        {
                .name           = "wl1271",
                .mmc            = 2,
                .caps           = MMC_CAP_4_BIT_DATA | MMC_CAP_POWER_OFF_CARD,
                .gpio_wp        = -EINVAL,
                .gpio_cd        = -EINVAL,
                .ocr_mask       = MMC_VDD_165_195,
                .nonremovable   = true,
        },
        {}      /* Terminator */
 };
static struct regulator_consumer_supply beagle_wifi_fixed_supply =
        REGULATOR_SUPPLY("vmmc", "omap_hsmmc.1");
static struct regulator_init_data beagle_vmmc2 = {
        .num_consumer_supplies = 1,
        .consumer_supplies = &beagle_wifi_fixed_supply,
};
static struct fixed_voltage_config beagle_vwlan = {
        .supply_name = "vwl1271",
        .microvolts = 1800000,  /* 1.8V */
        .gpio = OMAP_BEAGLE_WLAN_EN_GPIO,
        .startup_delay = 70000, /* 70ms */
        .enable_high = 1,
        .enabled_at_boot = 1,
        .init_data = &beagle_vmmc2,
};
static struct platform_device omap_vwlan_device = {
        .name           = "reg-fixed-voltage",
        .id             = 1,
        .dev = {
                .platform_data = &beagle_vwlan,
        },
};
c) checking regulator from boot log
[    0.025177] bio: create slab <bio-0> at 0
[    0.026580] regulator: vwl1271: 1800 mV 
[    0.028289] SCSI subsystem initialized
d) checking card detection with mmc debug turned on
[    4.562438] mmc1: mmc_rescan: trying to init card at 400000 Hz
[    4.575103] usb 1-2.1: new high speed USB device using ehci-omap and address 3
[    4.586181] EXT3-fs: barriers not enabled
[    4.627227] mmc1: card claims to support voltages below the defined range. These will be ignored.
[    4.665618] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[    4.676574] mmc1: new SDIO card at address 0001
[    4.700073] usb 1-2.1: New USB device found, idVendor=0424, idProduct=ec00
[    4.707305] usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.718261] smsc95xx v1.0.4
e) checking if interface shows up
root@beagleboard:~# ifconfig -a
wlan0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
f) further use
root@beagleboard:~# ifconfig wlan0 up
ifconfig: SIOCSIFFLAGS: Cannot assign requested address
root@beagleboard:~# iwconfig wlan0
wlan0     IEEE 802.11abg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          
root@beagleboard:~# iwconfig wlan0 essid opentesting ap any
root@beagleboard:~# iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Network is down
As can be seen, the first indication of failure is at step f. I'm not sure what the root cause is yet. I've tested that this same setup works with 2.6.39. Has anyone been successful in making Devkit 2.1 Gingerbread work on Beagleboard-XM with the BBtoys-Wifi adapter board?
Thanks,
jaya
  • Hi,

     

    I would appreciate any feedback TI or others may have to offer on this issue.

    I've started comparing the working case (2.6.39) versus the failing case (2.6.37). The wl12xx driver in 2.6.37 is of course older than the 2.6.39 code and there appear to be some key differences.

     

    I stuck a bunch of printks in both and here's what I see. In 2.6.39:

     

    [    4.844909] mmc1: new SDIO card at address 0001

    [    4.865325] usb 1-2.1: new high speed USB device number 3 using ehci-omap

    [    4.920104] wl1271_conf_init:445

    [    4.923980] wl1271_register_hw:3327

    [    4.927703] wl1271_register_hw:3331

    [    4.931365] wl1271_fetch_nvs:864

    [    4.934814] wl1271_register_hw:3333

    [    4.938476] wl1271_register_hw:3345

    [    4.942138] wl1271_register_hw:3348

    [    4.946044] wl1271_reg_notify:415

    [    4.951385] wl1271_sdio mmc1:0001:2: wlan0: Features changed: 0x00004800 -> 0x00004000

    [    4.960266] wl1271_register_hw:3355

    [    4.963958] wl1271_register_hw:3358

    [    4.968231] wl1271_register_hw:3361

    [    4.971893] wl1271_dev_notify:346 ret=0 what=5

    [    4.976654] wl1271_dev_notify:346 ret=0 what=5

    [    4.981323] wl1271_register_hw:3363

    [    4.985015] wl1271: loaded

    [    4.987854] wl1271: initialized

    and in 2.6.37
    [    4.645629] mmc1: new SDIO card at address 0001
    [    4.689300] usb 1-2.1: New USB device found, idVendor=0424, idProduct=ec00
    [    4.696502] usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    4.707580] smsc95xx v1.0.4
    [    4.786895] smsc95xx 1-2.1:1.0: usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1, smsc95xx USB 2.0 Ethernet, ba:ad:9d:f6:aa:27
    [    4.799621] wl1271_alloc_hw:2545
    [    4.803100] wl1271_conf_init:365
    [    4.807647] wl1271_init_ieee80211:2499
    [    4.811553] wl1271_register_hw:2452
    [    4.815307] wl1271_register_hw:2456
    [    4.818939] wl1271_register_hw:2459
    [    4.825164] wl1271_register_hw:2466
    [    4.828796] wl1271_register_hw:2469
    [    4.832519] wl1271_dev_notify:288 ret=0 what=5
    [    4.837158] wl1271_dev_notify:288 ret=0 what=5
    [    4.841827] wl1271_dev_notify:288 ret=0 what=5
    [    4.846496] wl1271_register_hw:2471
    [    4.850158] wl1271: loaded
    [    4.852996] wl1271: initialized
    You can see that in 2.6.39, the fetch_nvs is being done whereas in 2.6.37 it is not. But this appears to be intentional since the code in 2.6.37 only calls fetch_nvs upon chip_wakeup whereas in 2.6.39 fetch_nvs is called much earlier at register_hw time.
    The other difference is that when we go to up the interface, on 2.6.37, you see the
    root@beagleboard:~# ifconfig wlan0 up
    [   27.240386] wl1271_dev_notify:288 ret=0 what=13
    [   27.245544] wl1271_op_start:929
    ifconfig: SIOCSIFFLAGS: Cannot assign requested address
    whereas in 2.6.39, you see:
    root@beagleboard:~# ifconfig wlan0 up
    [   71.758697] wl1271_dev_notify:346 ret=0 what=13                                                                    
    [   71.763916] wl1271_op_start:1170
    [   71.767333] wl1271_op_add_interface:1205                                                                           
    [   71.771514] wl1271_op_add_interface:1209                                                                           
    [   71.776062] wl1271_op_add_interface:1218                                                                           
    [   71.780242] wl1271_op_add_interface:1236                                                                           
    [   71.784332] wl1271_op_add_interface:1239                                                                           
    [   71.788757] wl1271_op_add_interface:1247                                                                           
    [   71.792846] wl1271_op_add_interface:1250                                                                           
    [   71.796997] wl1271_chip_wakeup:942                                                                                 
    [   71.826049] wl1271_chip_wakeup:944                                      
    I think this means the ieee80211 stack never called op_add_interface in 2.6.37. I'm not sure why that's the case yet. I presume there's something bad that happened before that stage that causes this. Any ideas?
                                              
    I've attached both boot logs in case anyone else is able to help.
    Texas Instruments X-Loader 1.5.0 (Mar 27 2011 - 17:37:56)
    Beagle xM
    Reading boot sector
    Loading u-boot.bin from mmc
    
    
    U-Boot 2011.03-rc1-00000-g5ace684-dirty (May 15 2011 - 18:50:56)
    
    OMAP3630/3730-GP ES2.0, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
    OMAP3 Beagle board + LPDDR/NAND
    I2C:   ready
    DRAM:  512 MiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    *** Warning - readenv() failed, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    Beagle xM Rev A
    Recognized BeagleBoardToys WiFi board
    Die ID #298600019ff80000015eeaa10100301f
    Hit any key to stop autoboot:  0 
    The user button is currently NOT pressed.
    SD/MMC found on device 0
    reading uEnv.txt
    
    ** Unable to read "uEnv.txt" from mmc 0:1 **
    Loading file "/boot/uImage" from mmc device 0:2 (xxa2)
    3683472 bytes read
    Booting from mmc ...
    ## Booting kernel from Legacy Image at 80200000 ...
       Image Name:   Linux-2.6.37-gec6edf4-dirty
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3683408 Bytes = 3.5 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 2.6.37-gec6edf4-dirty (test@lucidgingerbread) (gcc version 4.4.3 (GCC) ) #52 Thu Sep 15 18:28:40 MYT 2011
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    [    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: OMAP3 Beagle Board
    [    0.000000] Beagle expansionboard: bbtoys-wifi
    [    0.000000] Reserving 12582912 bytes SDRAM for VRAM
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] OMAP3630 ES1.1 (l2cache iva sgx neon isp 192mhz_clk )
    [    0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 126976
    [    0.000000] Kernel command line: console=ttyO2,115200n8 mpurate=auto buddy=bbtoys-wifi camera=lbcm3m1 vram=12M omapfb.mode=dvi:640x480MR-16@60 omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 500MB = 500MB total
    [    0.000000] Memory: 499756k/499756k available, 24532k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xf8000000   ( 376 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .init : 0xc0008000 - 0xc0040000   ( 224 kB)
    [    0.000000]       .text : 0xc0040000 - 0xc06e8000   (6816 kB)
    [    0.000000]       .data : 0xc06e8000 - 0xc0730540   ( 290 kB)
    [    0.000000] NR_IRQS:409
    [    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
    [    0.000000] Reprogramming SDRC clock to 332000000 Hz
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
    [    0.000000] Total of 96 interrupts on 1 active controller
    [    0.000000] GPMC revision 5.0
    [    0.000000] Trying to install interrupt handler for IRQ402
    [    0.000000] Trying to install interrupt handler for IRQ403
    [    0.000000] Trying to install interrupt handler for IRQ404
    [    0.000000] Trying to install interrupt handler for IRQ405
    [    0.000000] Trying to install interrupt handler for IRQ406
    [    0.000000] Trying to install interrupt handler for IRQ407
    [    0.000000] Trying to install interrupt handler for IRQ408
    [    0.000000] Trying to install type control for IRQ409
    [    0.000000] Trying to set irq flags for IRQ409
    [    0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
    [    0.000000] Console: colour dummy device 80x30
    [    0.000000] Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
    [    0.000000] pid_max: default: 32768 minimum: 301
    [    0.000000] Security Framework initialized
    [    0.000000] Mount-cache hash table entries: 512
    [    0.000000] CPU: Testing write buffer coherency: ok
    [    0.000000] regulator: core version 0.5
    [    0.000000] regulator: dummy: 
    [    0.000000] NET: Registered protocol family 16
    [    0.000000] OMAP GPIO hardware version 2.5
    [    0.000000] OMAP GPIO hardware version 2.5
    [    0.000000] OMAP GPIO hardware version 2.5
    [    0.000000] OMAP GPIO hardware version 2.5
    [    0.000000] OMAP GPIO hardware version 2.5
    [    0.000000] OMAP GPIO hardware version 2.5
    [    0.000000] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.000000] OMAP3 Beagle Rev: xM
    [    0.000000] Beagle expansionboard: registering wl12xx bt platform device
    [    0.000000] Beagle expansionboard: registering wl12xx wifi platform device
    [    0.000000] Found NAND on CS0
    [    0.000000] Registering NAND on CS0
    [    0.000000] Unable to get DVI reset GPIO
    [    0.000000] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.000000] OMAP DMA hardware revision 5.0
    [    0.025451] bio: create slab <bio-0> at 0
    [    0.026824] regulator: vwl1271: 1800 mV 
    [    0.028564] SCSI subsystem initialized
    [    0.031372] usbcore: registered new interface driver usbfs
    [    0.031799] usbcore: registered new interface driver hub
    [    0.032043] usbcore: registered new device driver usb
    [    0.033355] omap_i2c omap_i2c.1: bus 1 rev4.0 at 2600 kHz
    [    0.036437] twl4030: PIH (irq 7) chaining IRQs 368..375
    [    0.036468] twl4030: power (irq 373) chaining IRQs 376..383
    [    0.037078] twl4030: gpio (irq 368) chaining IRQs 384..401
    [    0.041564] regulator: VUSB1V5: 1500 mV normal standby
    [    0.042266] regulator: VUSB1V8: 1800 mV normal standby
    [    0.042938] regulator: VUSB3V1: 3100 mV normal standby
    [    0.044555] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
    [    0.046234] regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
    [    0.046936] regulator: VDAC: 1800 mV normal standby
    [    0.047576] regulator: VDVI: 1800 mV normal standby
    [    0.048339] regulator: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
    [    0.049102] regulator: VAUX3: 1800 mV normal standby
    [    0.049835] regulator: VAUX4: 1800 mV normal standby
    [    0.049987] omap_device: omap_i2c.1: new worst case deactivate latency 0: 30517
    [    0.050079] omap_device: omap_i2c.2: new worst case activate latency 0: 30517
    [    0.050140] omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
    [    0.050567] omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz
    [    0.052520] Advanced Linux Sound Architecture Driver Version 1.0.23.
    [    0.053436] Bluetooth: Core ver 2.15
    [    0.053649] NET: Registered protocol family 31
    [    0.053680] Bluetooth: HCI device and connection manager initialized
    [    0.053680] Bluetooth: HCI socket layer initialized
    [    0.054321] cfg80211: Calling CRDA to update world regulatory domain
    [    0.055847] Switching to clocksource 32k_counter
    [    0.185852] WL1271: BT_EN GPIO initialized
    [    0.186126] musb-hdrc: version 6.0, otg (peripheral+host), debug=0
    [    0.186248] musb-hdrc musb-hdrc.0: dma type: dma-inventra
    [    0.186645] musb-hdrc musb-hdrc.0: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
    [    0.187286] NET: Registered protocol family 2
    [    0.187469] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.187957] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    [    0.188293] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.188507] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.188537] TCP reno registered
    [    0.188568] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.188598] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.188873] NET: Registered protocol family 1
    [    0.189239] RPC: Registered udp transport module.
    [    0.189270] RPC: Registered tcp transport module.
    [    0.189270] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.189514] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.190795] omap-iommu omap-iommu.0: isp registered
    [    0.191070] AM37x/DM37x  Linux PSP version 04.02.00.07 (OMAP3BEAGLE)
    [    0.355194] ashmem: initialized
    [    0.355712] VFS: Disk quotas dquot_6.5.2
    [    0.355804] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.356719] JFFS2 version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
    [    0.357391] msgmni has been set to 976
    [    0.358703] io scheduler noop registered
    [    0.358703] io scheduler deadline registered
    [    0.358825] io scheduler cfq registered (default)
    [    0.415649] OMAP DSS rev 2.0
    [    0.415740] OMAP DISPC rev 3.0
    [    0.415771] OMAP VENC rev 2
    [    0.416107] OMAP DSI rev 1.0
    [    0.745117] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.747192] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
    [    0.747619] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
    [    0.747985] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
    [    1.489532] console [ttyO2] enabled
    [    1.493621] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
    [    1.513092] brd: module loaded
    [    1.522064] loop: module loaded
    [    1.527984] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.534790] omap2-nand driver initializing
    [    1.539489] No NAND device found.
    [    1.543243] No NAND device found.
    [    1.546966] OneNAND driver initializing
    [    1.553619] usbcore: registered new interface driver asix
    [    1.559509] usbcore: registered new interface driver cdc_ether
    [    1.565887] usbcore: registered new interface driver smsc95xx
    [    1.572113] usbcore: registered new interface driver net1080
    [    1.578247] usbcore: registered new interface driver cdc_subset
    [    1.584655] usbcore: registered new interface driver zaurus
    [    1.591430] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    3.610687] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    [    3.617279] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    [    3.625183] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    [    3.642028] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    [    3.648132] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    3.655273] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.662872] usb usb1: Product: OMAP-EHCI Host Controller
    [    3.668457] usb usb1: Manufacturer: Linux 2.6.37-gec6edf4-dirty ehci_hcd
    [    3.675476] usb usb1: SerialNumber: ehci-omap.0
    [    3.681274] hub 1-0:1.0: USB hub found
    [    3.685211] hub 1-0:1.0: 3 ports detected
    [    3.720428] Initializing USB Mass Storage driver...
    [    3.725830] usbcore: registered new interface driver usb-storage
    [    3.732147] USB Mass Storage support registered.
    [    3.737243] usbcore: registered new interface driver usbtest
    [    3.743804] mice: PS/2 mouse device common for all mice
    [    3.750122] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    3.759399] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
    [    3.772857] using rtc device, twl_rtc, for alarms
    [    3.777679] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
    [    3.785186] i2c /dev entries driver
    [    3.790283] Linux media interface: v0.10
    [    3.794677] Linux video capture interface: v2.00
    [    3.800415] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    [    3.807189] twl4030_wdt twl4030_wdt: Failed to register misc device
    [    3.813751] twl4030_wdt: probe of twl4030_wdt failed with error -16
    [    3.820861] device-mapper: uevent: version 1.0.3
    [    3.826354] device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised: dm-devel@redhat.com
    [    3.835296] Bluetooth: HCI UART driver ver 2.2
    [    3.839996] Bluetooth: HCI H4 protocol initialized
    [    3.845001] Bluetooth: HCILL protocol initialized
    [    3.856231] usbcore: registered new interface driver usbhid
    [    3.862121] usbhid: USB HID core driver
    [    3.866912] usbcore: registered new interface driver snd-usb-audio
    [    3.874786] OMAP3 Beagle/Devkit8000 SoC init
    [    3.964019] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
    [    3.971771] ALSA device list:
    [    3.974884]   #0: omap3beagle
    [    3.978027] oprofile: hardware counters not available
    [    3.983337] oprofile: using timer interrupt.
    [    3.987976] nf_conntrack version 0.5.0 (7808 buckets, 31232 max)
    [    3.994842] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    4.000518] TCP cubic registered
    [    4.003967] Initializing XFRM netlink socket
    [    4.008422] NET: Registered protocol family 17
    [    4.013122] NET: Registered protocol family 15
    [    4.018157] Bluetooth: L2CAP ver 2.15
    [    4.022003] Bluetooth: L2CAP socket layer initialized
    [    4.027313] Bluetooth: SCO (Voice Link) ver 0.6
    [    4.032043] Bluetooth: SCO socket layer initialized
    [    4.037231] usb 1-2: new high speed USB device using ehci-omap and address 2
    [    4.044799] Bluetooth: RFCOMM TTY layer initialized
    [    4.049957] Bluetooth: RFCOMM socket layer initialized
    [    4.055328] Bluetooth: RFCOMM ver 1.11
    [    4.059295] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    4.064880] Bluetooth: BNEP filters: protocol multicast
    [    4.070343] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [    4.077026] Registering the dns_resolver key type
    [    4.082122] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    4.090576] ThumbEE CPU extension supported.
    [    4.101287] Power Management for TI OMAP3.
    [    4.106658] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
    [    4.114898] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
    [    4.123413] SmartReflex Class3 initialized
    [    4.132019] clock: disabling unused clocks to save power
    [    4.138488] platform mpu.0: omap_voltage_scale: Already at the requestedrate 600000000
    [    4.152496] fbcvt: 640x480@60: CVT Name - .307M3-R
    [    4.168670] regulator_init_complete: incomplete constraints, leaving VAUX4 on
    [    4.176269] regulator_init_complete: incomplete constraints, leaving VAUX3 on
    [    4.184295] regulator_init_complete: incomplete constraints, leaving VDAC on
    [    4.192443] regulator_init_complete: incomplete constraints, leaving vwl1271 on
    [    4.201019] twl_rtc twl_rtc: setting system clock to 2011-08-17 10:16:10 UTC (1313576170)
    [    4.209747] omap_vout omap_vout: Buffer Size = 3686400
    [    4.216583] omap_vout omap_vout: : registered and initialized video device 0
    [    4.224060] omap_vout omap_vout: Buffer Size = 3686400
    [    4.230804] omap_vout omap_vout: : registered and initialized video device 1
    [    4.239044] Waiting for root device /dev/mmcblk0p2...
    [    4.251800] usb 1-2: New USB device found, idVendor=0424, idProduct=9514
    [    4.258819] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    4.267730] hub 1-2:1.0: USB hub found
    [    4.271820] hub 1-2:1.0: 5 ports detected
    [    4.509643] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    4.520812] mmc0: new high speed SDHC card at address 1234
    [    4.527191] mmcblk0: mmc0:1234 SA04G 3.68 GiB 
    [    4.535339]  mmcblk0: p1 p2
    [    4.564056] usb 1-2.1: new high speed USB device using ehci-omap and address 3
    [    4.576904] EXT3-fs: barriers not enabled
    [    4.585754] mmc1: mmc_rescan: got err 0 from send io op so attaching sdio
    [    4.592987] mmc1: card claims to support voltages below the defined range. These will be ignored.
    [    4.633361] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [    4.645629] mmc1: new SDIO card at address 0001
    [    4.689300] usb 1-2.1: New USB device found, idVendor=0424, idProduct=ec00
    [    4.696502] usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    4.707580] smsc95xx v1.0.4
    [    4.786895] smsc95xx 1-2.1:1.0: usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1, smsc95xx USB 2.0 Ethernet, ba:ad:9d:f6:aa:27
    [    4.799621] wl1271_alloc_hw:2545
    [    4.803100] wl1271_conf_init:365
    [    4.807647] wl1271_init_ieee80211:2499
    [    4.811553] wl1271_register_hw:2452
    [    4.815307] wl1271_register_hw:2456
    [    4.818939] wl1271_register_hw:2459
    [    4.825164] wl1271_register_hw:2466
    [    4.828796] wl1271_register_hw:2469
    [    4.832519] wl1271_dev_notify:288 ret=0 what=5
    [    4.837158] wl1271_dev_notify:288 ret=0 what=5
    [    4.841827] wl1271_dev_notify:288 ret=0 what=5
    [    4.846496] wl1271_register_hw:2471
    [    4.850158] wl1271: loaded
    [    4.852996] wl1271: initialized
    [    8.227508] kjournald starting.  Commit interval 5 seconds
    [    8.233367] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
    [    8.647491] EXT3-fs (mmcblk0p2): using internal journal
    [    8.652984] EXT3-fs (mmcblk0p2): recovery complete
    [    8.665527] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    [    8.672790] VFS: Mounted root (ext3 filesystem) on device 179:2.
    [    8.679168] Freeing init memory: 224K
    [   11.452514] wl1271_dev_notify:288 ret=0 what=13
    [   11.457672] wl1271_dev_notify:288 ret=0 what=1
    [   13.638885] wl1271_dev_notify:288 ret=0 what=13
    [   13.720123] wl1271_dev_notify:288 ret=0 what=1
    [   15.166656] usb0: link up, 100Mbps, full-duplex, lpa 0x45E1
    
    .---O---.                                           
    |       |                  .-.           o o        
    |   |   |-----.-----.-----.| |   .----..-----.-----.
    |       |     | __  |  ---'| '--.|  .-'|     |     |
    |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
    '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                    -'  |
                    '---'
    
    The Angstrom Distribution beagleboard ttyO2
    
    Angstrom v2011.06 beagleboard ttyO2
    
    beagleboard login: root
    root@beagleboard:~# ifconfig wlan0 up
    [   27.240386] wl1271_dev_notify:288 ret=0 what=13
    [   27.245544] wl1271_op_start:929
    ifconfig: SIOCSIFFLAGS: Cannot assign requested address
    
    
     
    Texas Instruments X-Loader 1.5.0 (Mar 27 2011 - 17:37:56)
    Beagle xM
    Reading boot sector
    Loading u-boot.bin from mmc
    
    
    U-Boot 2011.03-rc1-00000-g5ace684-dirty (May 15 2011 - 18:50:56)
    
    OMAP3630/3730-GP ES2.0, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
    OMAP3 Beagle board + LPDDR/NAND
    I2C:   ready
    DRAM:  512 MiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    *** Warning - readenv() failed, using default environment
    
    In:    serial
    Out:   serial
    Err:   serial
    Beagle xM Rev A
    Recognized BeagleBoardToys WiFi board
    Die ID #298600019ff80000015eeaa10100301f
    Hit any key to stop autoboot:  0 
    The user button is currently NOT pressed.
    SD/MMC found on device 0
    reading uEnv.txt
    
    ** Unable to read "uEnv.txt" from mmc 0:1 **
    Loading file "/boot/uImage" from mmc device 0:2 (xxa2)
    3932100 bytes read
    Booting from mmc ...
    ## Booting kernel from Legacy Image at 80200000 ...
       Image Name:   Linux-2.6.39+
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3932036 Bytes = 3.7 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Linux version 2.6.39+ (test@lucidgingerbread) (gcc version 4.4.3 (GCC) ) #26 Thu Sep 15 18:16:33 MYT 2011
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    [    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: OMAP3 Beagle Board
    [    0.000000] Beagle expansionboard: bbtoys-wifi
    [    0.000000] Reserving 12582912 bytes SDRAM for VRAM
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] OMAP3630 ES1.1 (l2cache iva sgx neon isp 192mhz_clk )
    [    0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
    [    0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
    [    0.000000] Reprogramming SDRC clock to 332000000 Hz
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 126976
    [    0.000000] Kernel command line: console=ttyO2,115200n8 mpurate=auto buddy=bbtoys-wifi camera=lbcm3m1 vram=12M omapfb.mode=dvi:640x480MR-16@60 omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] allocated 2097152 bytes of page_cgroup
    [    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [    0.000000] Memory: 500MB = 500MB total
    [    0.000000] Memory: 497532k/497532k available, 26756k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xf8000000   ( 376 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .init : 0xc0008000 - 0xc003e000   ( 216 kB)
    [    0.000000]       .text : 0xc003e000 - 0xc07265bc   (7074 kB)
    [    0.000000]       .data : 0xc0728000 - 0xc0778280   ( 321 kB)
    [    0.000000] NR_IRQS:410
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
    [    0.000000] Total of 96 interrupts on 1 active controller
    [    0.000000] omap_hwmod: gpt12_fck: missing clockdomain for gpt12_fck.
    [    0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000183] Calibrating delay loop... 512.57 BogoMIPS (lpj=2002944)
    [    0.080352] pid_max: default: 32768 minimum: 301
    [    0.080535] Mount-cache hash table entries: 512
    [    0.080871] Initializing cgroup subsys ns
    [    0.080902] ns_cgroup deprecated: consider using the 'clone_children' flag without the ns_cgroup.
    [    0.080932] Initializing cgroup subsys cpuacct
    [    0.080963] Initializing cgroup subsys memory
    [    0.080993] Initializing cgroup subsys devices
    [    0.080993] Initializing cgroup subsys freezer
    [    0.081024] Initializing cgroup subsys blkio
    [    0.081054] Initializing cgroup subsys perf_event
    [    0.081146] CPU: Testing write buffer coherency: ok
    [    0.081939] devtmpfs: initialized
    [    0.083190] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_core
    [    0.083190] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_per
    [    0.083221] omap_hwmod: _populate_mpu_rt_base found no _mpu_rt_va for l4_wkup
    [    0.096954] omap_hwmod: i2c1: softreset failed (waited 10000 usec)
    [    0.109527] omap_hwmod: i2c2: softreset failed (waited 10000 usec)
    [    0.122100] omap_hwmod: i2c3: softreset failed (waited 10000 usec)
    [    0.123413] print_constraints: dummy: 
    [    0.123626] NET: Registered protocol family 16
    [    0.123809] GPMC revision 5.0
    [    0.124786] OMAP GPIO hardware version 2.5
    [    0.124908] OMAP GPIO hardware version 2.5
    [    0.125030] OMAP GPIO hardware version 2.5
    [    0.125122] OMAP GPIO hardware version 2.5
    [    0.125213] OMAP GPIO hardware version 2.5
    [    0.125335] OMAP GPIO hardware version 2.5
    [    0.126373] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.126495] OMAP3 Beagle Rev: xM
    [    0.128692] Beagle expansionboard: registering wl12xx bt platform device
    [    0.128814] Beagle expansionboard: registering wl12xx wifi platform device
    [    0.129089] Found NAND on CS0
    [    0.129119] Registering NAND on CS0
    [    0.129211] Unable to get DVI reset GPIO
    [    0.129272] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.131927] OMAP DMA hardware revision 5.0
    [    0.140777] bio: create slab <bio-0> at 0
    [    0.141418] print_constraints: vwl1271: 1800 mV 
    [    0.142150] SCSI subsystem initialized
    [    0.143463] usbcore: registered new interface driver usbfs
    [    0.143585] usbcore: registered new interface driver hub
    [    0.143768] usbcore: registered new device driver usb
    [    0.144287] omap_i2c omap_i2c.1: bus 1 rev4.0 at 2600 kHz
    [    0.146881] twl4030: PIH (irq 7) chaining IRQs 368..375
    [    0.146911] twl4030: power (irq 373) chaining IRQs 376..383
    [    0.147399] twl4030: gpio (irq 368) chaining IRQs 384..401
    [    0.148834] beagle_twl_gpio_setup: unable to configure DVI_LDO_EN
    [    0.149566] print_constraints: VUSB1V5: 1500 mV normal standby
    [    0.149993] print_constraints: VUSB1V8: 1800 mV normal standby
    [    0.150360] print_constraints: VUSB3V1: 3100 mV normal standby
    [    0.152130] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
    [    0.152801] print_constraints: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
    [    0.153228] print_constraints: VDAC: 1800 mV normal standby
    [    0.153625] print_constraints: VDVI: 1800 mV normal standby
    [    0.154174] print_constraints: VSIM: 1800 <--> 3000 mV at 1800 mV normal standby
    [    0.154663] print_constraints: VAUX3: 1800 mV normal standby
    [    0.155120] print_constraints: VAUX4: 1800 mV normal standby
    [    0.155395] omap_i2c omap_i2c.2: bus 2 rev4.0 at 400 kHz
    [    0.167205] omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz
    [    0.167907] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.168457] Bluetooth: Core ver 2.16
    [    0.168518] NET: Registered protocol family 31
    [    0.168548] Bluetooth: HCI device and connection manager initialized
    [    0.168548] Bluetooth: HCI socket layer initialized
    [    0.168579] Bluetooth: L2CAP socket layer initialized
    [    0.168731] Bluetooth: SCO socket layer initialized
    [    0.169555] Switching to clocksource 32k_counter
    [    0.174041] Switched to NOHz mode on CPU #0
    [    0.174163] cfg80211: Calling CRDA to update world regulatory domain
    [    0.180847] musb-hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
    [    0.181152] omap_device: omap_i2c.1: new worst case deactivate latency 0: 30517
    [    0.183990] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
    [    0.185058] NET: Registered protocol family 2
    [    0.185272] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.185699] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    [    0.186065] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.186248] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.186279] TCP reno registered
    [    0.186309] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.186309] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.186676] NET: Registered protocol family 1
    [    0.187042] RPC: Registered udp transport module.
    [    0.187072] RPC: Registered tcp transport module.
    [    0.187072] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.188049] omap-iommu omap-iommu.0: isp registered
    [    0.189636] VFS: Disk quotas dquot_6.5.2
    [    0.189697] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.190246] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.190582] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.190612] JFFS2 version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
    [    0.191253] msgmni has been set to 971
    [    0.192840] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
    [    0.193023] io scheduler noop registered
    [    0.193023] io scheduler deadline registered
    [    0.193084] io scheduler cfq registered (default)
    [    0.255615] OMAP DSS rev 2.0
    [    0.584350] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.585601] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
    [    0.585906] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
    [    0.586181] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
    [    1.400878] console [ttyO2] enabled
    [    1.404907] omap_uart.3: ttyO3 at MMIO 0x49042000 (irq = 80) is a OMAP UART3
    [    1.419921] brd: module loaded
    [    1.426757] loop: module loaded
    [    1.430908] TWL5030: Enabling workaround for Si Erratum 27
    [    1.454528] omap2-nand driver initializing
    [    1.459228] No NAND device found.
    [    1.462951] No NAND device found.
    [    1.467407] usbcore: registered new interface driver catc
    [    1.473083] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
    [    1.479431] usbcore: registered new interface driver kaweth
    [    1.485290] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
    [    1.493225] usbcore: registered new interface driver pegasus
    [    1.499176] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
    [    1.506469] usbcore: registered new interface driver rtl8150
    [    1.512481] usbcore: registered new interface driver asix
    [    1.518218] usbcore: registered new interface driver cdc_ether
    [    1.524414] usbcore: registered new interface driver dm9601
    [    1.530364] usbcore: registered new interface driver smsc95xx
    [    1.536437] usbcore: registered new interface driver gl620a
    [    1.542358] usbcore: registered new interface driver net1080
    [    1.548370] usbcore: registered new interface driver plusb
    [    1.554199] usbcore: registered new interface driver rndis_host
    [    1.560516] usbcore: registered new interface driver cdc_subset
    [    1.566772] usbcore: registered new interface driver zaurus
    [    1.572723] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
    [    1.581024] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    3.599395] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    [    3.605651] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    [    3.613555] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    [    3.630676] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    [    3.636810] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    3.643951] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.651550] usb usb1: Product: OMAP-EHCI Host Controller
    [    3.657165] usb usb1: Manufacturer: Linux 2.6.39+ ehci_hcd
    [    3.662933] usb usb1: SerialNumber: ehci-omap.0
    [    3.668334] hub 1-0:1.0: USB hub found
    [    3.672332] hub 1-0:1.0: 3 ports detected
    [    3.700988] Initializing USB Mass Storage driver...
    [    3.706237] usbcore: registered new interface driver usb-storage
    [    3.712585] USB Mass Storage support registered.
    [    3.717834] mousedev: PS/2 mouse device common for all mice
    [    3.724151] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    3.732788] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
    [    3.744598] rtc-ds1307: probe of 2-0068 failed with error -5
    [    3.750640] i2c /dev entries driver
    [    3.754882] Linux media interface: v0.10
    [    3.759124] Linux video capture interface: v2.00
    [    3.764282] vpfe_init
    [    3.767242] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    [    3.773773] Bluetooth: HCI UART driver ver 2.2
    [    3.778442] Bluetooth: HCI H4 protocol initialized
    [    3.783508] Bluetooth: HCI BCSP protocol initialized
    [    3.788726] Bluetooth: HCILL protocol initialized
    [    3.793670] Bluetooth: HCIATH3K protocol initialized
    [    3.798889] Bluetooth: Generic Bluetooth USB driver ver 0.6
    [    3.804870] usbcore: registered new interface driver btusb
    [    3.810729] cpuidle: using governor ladder
    [    3.815032] cpuidle: using governor menu
    [    3.824035] usbcore: registered new interface driver usbhid
    [    3.829956] usbhid: USB HID core driver
    [    3.834533] usbcore: registered new interface driver snd-usb-audio
    [    3.841705] OMAP3 Beagle/Devkit8000 SoC init
    [    3.855590] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
    [    3.865356] ALSA device list:
    [    3.868469]   #0: omap3beagle
    [    3.871582] oprofile: hardware counters not available
    [    3.876922] oprofile: using timer interrupt.
    [    3.881744] TCP cubic registered
    [    3.885131] NET: Registered protocol family 17
    [    3.889892] NET: Registered protocol family 15
    [    3.894592] lib80211: common routines for IEEE802.11 drivers
    [    3.900573] Registering the dns_resolver key type
    [    3.905578] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    3.913757] ThumbEE CPU extension supported.
    [    3.919708] Power Management for TI OMAP3.
    [    3.924194] omap_init_power_states: core off state C7 disabled due to i583
    [    3.931884] sr_init: No PMIC hook to init smartreflex
    [    3.937408] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
    [    3.945800] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
    [    3.954345] SmartReflex Class3 initialized
    [    3.959259] ------------[ cut here ]------------
    [    3.964141] WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0x68/0x88()
    [    3.970825] sysfs: cannot create duplicate filename '/devices/platform/omap/omap_i2c.2'
    [    3.979278] Modules linked in:
    [    3.982543] [<c0047dd8>] (unwind_backtrace+0x0/0xf0) from [<c006e52c>] (warn_slowpath_common+0x4c/0x64)
    [    3.992431] [<c006e52c>] (warn_slowpath_common+0x4c/0x64) from [<c006e5c4>] (warn_slowpath_fmt+0x2c/0x3c)
    [    4.002502] [<c006e5c4>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0139bf4>] (sysfs_add_one+0x68/0x88)
    [    4.011962] [<c0139bf4>] (sysfs_add_one+0x68/0x88) from [<c013a5e4>] (create_dir+0x60/0xa8)
    [    4.020751] [<c013a5e4>] (create_dir+0x60/0xa8) from [<c013a6d0>] (sysfs_create_dir+0xa4/0xbc)
    [    4.029815] [<c013a6d0>] (sysfs_create_dir+0xa4/0xbc) from [<c024a6cc>] (kobject_add_internal+0xb8/0x1c0)
    [    4.039886] [<c024a6cc>] (kobject_add_internal+0xb8/0x1c0) from [<c024a950>] (kobject_add+0x4c/0x5c)
    [    4.049530] [<c024a950>] (kobject_add+0x4c/0x5c) from [<c02b03a8>] (device_add+0xa0/0x55c)
    [    4.058227] [<c02b03a8>] (device_add+0xa0/0x55c) from [<c02b3e7c>] (platform_device_add+0x104/0x160)
    [    4.067871] [<c02b3e7c>] (platform_device_add+0x104/0x160) from [<c005e97c>] (omap_device_build_ss+0x15c/0x2b4)
    [    4.078491] [<c005e97c>] (omap_device_build_ss+0x15c/0x2b4) from [<c005eb20>] (omap_device_build+0x4c/0x54)
    [    4.088745] [<c005eb20>] (omap_device_build+0x4c/0x54) from [<c0015278>] (omap_i2c_add_bus+0xac/0xfc)
    [    4.098480] [<c0015278>] (omap_i2c_add_bus+0xac/0xfc) from [<c001268c>] (beagle_camera_init+0x9c/0xe8)
    [    4.108276] [<c001268c>] (beagle_camera_init+0x9c/0xe8) from [<c003e3a0>] (do_one_initcall+0x94/0x164)
    [    4.118072] [<c003e3a0>] (do_one_initcall+0x94/0x164) from [<c00083a4>] (kernel_init+0xa4/0x154)
    [    4.127349] [<c00083a4>] (kernel_init+0xa4/0x154) from [<c0044050>] (kernel_thread_exit+0x0/0x8)
    [    4.136627] ---[ end trace 7c46b7e064190485 ]---
    [    4.141510] kobject_add_internal failed for omap_i2c.2 with -EEXIST, don't try to register things with the same name in the same directory.
    [    4.154663] [<c0047dd8>] (unwind_backtrace+0x0/0xf0) from [<c024a7a8>] (kobject_add_internal+0x194/0x1c0)
    [    4.164764] [<c024a7a8>] (kobject_add_internal+0x194/0x1c0) from [<c024a950>] (kobject_add+0x4c/0x5c)
    [    4.174468] [<c024a950>] (kobject_add+0x4c/0x5c) from [<c02b03a8>] (device_add+0xa0/0x55c)
    [    4.183197] [<c02b03a8>] (device_add+0xa0/0x55c) from [<c02b3e7c>] (platform_device_add+0x104/0x160)
    [    4.192810] [<c02b3e7c>] (platform_device_add+0x104/0x160) from [<c005e97c>] (omap_device_build_ss+0x15c/0x2b4)
    [    4.203430] [<c005e97c>] (omap_device_build_ss+0x15c/0x2b4) from [<c005eb20>] (omap_device_build+0x4c/0x54)
    [    4.213684] [<c005eb20>] (omap_device_build+0x4c/0x54) from [<c0015278>] (omap_i2c_add_bus+0xac/0xfc)
    [    4.223388] [<c0015278>] (omap_i2c_add_bus+0xac/0xfc) from [<c001268c>] (beagle_camera_init+0x9c/0xe8)
    [    4.233215] [<c001268c>] (beagle_camera_init+0x9c/0xe8) from [<c003e3a0>] (do_one_initcall+0x94/0x164)
    [    4.243011] [<c003e3a0>] (do_one_initcall+0x94/0x164) from [<c00083a4>] (kernel_init+0xa4/0x154)
    [    4.252258] [<c00083a4>] (kernel_init+0xa4/0x154) from [<c0044050>] (kernel_thread_exit+0x0/0x8)
    [    4.261505] omap_device: omap_i2c: build failed (-17)
    [    4.266815] ------------[ cut here ]------------
    [    4.271697] WARNING: at arch/arm/plat-omap/i2c.c:166 omap_i2c_add_bus+0xcc/0xfc()
    [    4.279571] Could not build omap_device for omap_i2c
    [    4.284759] Modules linked in:
    [    4.288024] [<c0047dd8>] (unwind_backtrace+0x0/0xf0) from [<c006e52c>] (warn_slowpath_common+0x4c/0x64)
    [    4.297912] [<c006e52c>] (warn_slowpath_common+0x4c/0x64) from [<c006e5c4>] (warn_slowpath_fmt+0x2c/0x3c)
    [    4.307983] [<c006e5c4>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0015298>] (omap_i2c_add_bus+0xcc/0xfc)
    [    4.317687] [<c0015298>] (omap_i2c_add_bus+0xcc/0xfc) from [<c001268c>] (beagle_camera_init+0x9c/0xe8)
    [    4.327484] [<c001268c>] (beagle_camera_init+0x9c/0xe8) from [<c003e3a0>] (do_one_initcall+0x94/0x164)
    [    4.337280] [<c003e3a0>] (do_one_initcall+0x94/0x164) from [<c00083a4>] (kernel_init+0xa4/0x154)
    [    4.346527] [<c00083a4>] (kernel_init+0xa4/0x154) from [<c0044050>] (kernel_thread_exit+0x0/0x8)
    [    4.355773] ---[ end trace 7c46b7e064190486 ]---
    [    4.360900] usb 1-2: new high speed USB device number 2 using ehci-omap
    [    4.368347] omap3isp omap3isp: Revision 15.0 found
    [    4.373596] omap-iommu omap-iommu.0: isp: version 1.1
    [    4.412017] mt9p031 2-0048: Failed to reset the camera
    [    4.417419] omap3isp omap3isp: Failed to power on: -121
    [    4.422943] mt9p031 2-0048: Failed to power on device: -121
    [    4.428955] isp_register_subdev_group: Unable to register subdev mt9p031
    [    4.442230] clock: disabling unused clocks to save power
    [    4.448730] registered taskstats version 1
    [    4.453796] fbcvt: 640x480@60: CVT Name - .307M3-R
    [    4.470764] Console: switching to colour frame buffer device 80x30
    [    4.485046] regulator_init_complete: VDAC: incomplete constraints, leaving on
    [    4.493316] regulator_init_complete: vwl1271: incomplete constraints, leaving on
    [    4.501190] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    [    4.508087] omap_vout_probe:2560
    [    4.511474] omap_vout_probe:2567
    [    4.514953] omap_vout omap_vout: Buffer Size = 3686400
    [    4.521575] omap_vout omap_vout: : registered and initialized video device 15
    [    4.529144] omap_vout_probe:2572
    [    4.532531] omap_vout_probe:2576
    [    4.535919] omap_vout_probe:2583
    [    4.539337] omap_vout_probe:2576
    [    4.542724] omap_vout_probe:2583
    [    4.546112] omap_vout_probe:2585
    [    4.550079] usb 1-2: New USB device found, idVendor=0424, idProduct=9514
    [    4.557189] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    4.565063] Waiting for root device /dev/mmcblk0p2...
    [    4.571533] hub 1-2:1.0: USB hub found
    [    4.575775] hub 1-2:1.0: 5 ports detected
    [    4.743347] mmc0: new high speed SDHC card at address 1234
    [    4.749633] mmcblk0: mmc0:1234 SA04G 3.68 GiB 
    [    4.754821] mmcblk0: detected capacity change from 0 to 3959422976
    [    4.764343]  mmcblk0: p1 p2
    [    4.792449] EXT3-fs: barriers not enabled
    [    4.814819] mmc1: card claims to support voltages below the defined range. These will be ignored.
    [    4.837402] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [    4.844909] mmc1: new SDIO card at address 0001
    [    4.865325] usb 1-2.1: new high speed USB device number 3 using ehci-omap
    [    4.920104] wl1271_conf_init:445
    [    4.923980] wl1271_register_hw:3327
    [    4.927703] wl1271_register_hw:3331
    [    4.931365] wl1271_fetch_nvs:864
    [    4.934814] wl1271_register_hw:3333
    [    4.938476] wl1271_register_hw:3345
    [    4.942138] wl1271_register_hw:3348
    [    4.946044] wl1271_reg_notify:415
    [    4.951385] wl1271_sdio mmc1:0001:2: wlan0: Features changed: 0x00004800 -> 0x00004000
    [    4.960266] wl1271_register_hw:3355
    [    4.963958] wl1271_register_hw:3358
    [    4.968231] wl1271_register_hw:3361
    [    4.971893] wl1271_dev_notify:346 ret=0 what=5
    [    4.976654] wl1271_dev_notify:346 ret=0 what=5
    [    4.981323] wl1271_register_hw:3363
    [    4.985015] wl1271: loaded
    [    4.987854] wl1271: initialized
    [    4.992156] usb 1-2.1: New USB device found, idVendor=0424, idProduct=ec00
    [    4.999420] usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    5.010314] smsc95xx v1.0.4
    [    5.091033] wl1271_dev_notify:346 ret=0 what=16
    [    5.096191] smsc95xx 1-2.1:1.0: eth0: Features changed: 0x00004808 -> 0x00004008
    [    5.104125] wl1271_dev_notify:346 ret=0 what=5
    [    5.108856] smsc95xx 1-2.1:1.0: eth0: register 'smsc95xx' at usb-ehci-omap.0-2.1, smsc95xx USB 2.0 Ethernet, 7a:ad:1c:93:86:0f
    [    8.845397] kjournald starting.  Commit interval 5 seconds
    [    8.851226] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
    [    9.267211] EXT3-fs (mmcblk0p2): using internal journal
    [    9.272735] EXT3-fs (mmcblk0p2): recovery complete
    [    9.285369] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
    [    9.292877] VFS: Mounted root (ext3 filesystem) on device 179:2.
    [    9.301666] devtmpfs: mounted
    [    9.305084] Freeing init memory: 216K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    Root filesystem already rw, not remounting
    Caching udev devnodes
    Populating dev cache
    ALSA: Restoring mixer settings...
    Configuring network interfaces... [   14.271789] wl1271_dev_notify:346 ret=0 what=13
    [   14.276855] wl1271_dev_notify:346 ret=0 what=1
    [   15.345214] wl1271_dev_notify:346 ret=0 what=13
    [   15.427520] wl1271_dev_notify:346 ret=0 what=1
    eth0      no wireless extensions.
    
    udhcpc (v1.18.5) started
    run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
    Sending discover...
    [   16.867004] smsc95xx 1-2.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
    Sending discover...
    Sending select for 192.168.100.173...
    Lease of 192.168.100.173 obtained, lease time 3600
    run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
    adding dns 8.8.8.8
    adding dns 208.67.222.222
    ifconfig: SIOCGIFFLAGS: No such device
    ifconfig: SIOCGIFFLAGS: No such device
    usb0      No such device
    
    ifconfig: SIOCGIFFLAGS: No such device
    done.
    Starting portmap daemon: portmap.
    net.ipv4.conf.default.rp_filter = 1
    net.ipv4.conf.all.rp_filter = 1
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Wed Aug 17 06:45:00 UTC 2011
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting Dropbear SSH server: dropbear.
    Starting advanced power management daemon: No APM support in kernel
    (failed.)
    Starting syslogd/klogd: done
     * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
       ...done.
    
    .---O---.                                           
    |       |                  .-.           o o        
    |   |   |-----.-----.-----.| |   .----..-----.-----.
    |       |     | __  |  ---'| '--.|  .-'|     |     |
    |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
    '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                    -'  |
                    '---'
    
    The Angstrom Distribution beagleboard ttyO2
    
    Angstrom v2011.06 beagleboard ttyO2
    
    beagleboard login: 
    root@beagleboard:~# ifconfig wlan0 up
    [   71.758697] wl1271_dev_notify:346 ret=0 what=13
    [   71.763916] wl1271_op_start:1170
    [   71.767333] wl1271_op_add_interface:1205
    [   71.771514] wl1271_op_add_interface:1209
    [   71.776062] wl1271_op_add_interface:1218
    [   71.780242] wl1271_op_add_interface:1236
    [   71.784332] wl1271_op_add_interface:1239
    [   71.788757] wl1271_op_add_interface:1247
    [   71.792846] wl1271_op_add_interface:1250
    [   71.796997] wl1271_chip_wakeup:942
    [   71.826049] wl1271_chip_wakeup:944
    [   71.951019] wl1271_chip_wakeup:948
    [   72.162322] wl1271_chip_wakeup:953
    [   72.166320] wl1271_chip_wakeup:961
    [   72.169921] wl1271_fw_wakeup:916
    [   72.173553] wl1271_chip_wakeup:967
    [   72.178375] wl1271_setup:923
    [   72.181396] wl1271_fetch_firmware:808
    [   72.186645] wl1271_op_add_interface:1255
    [   73.325286] wl1271_irq:694
    [   73.328460] wl1271_op_add_interface:1260
    [   73.404296] wl1271_op_add_interface:1286
    [   73.408386] wl1271: firmware booted (Rev 6.1.5.50.74)
    [   73.414001] wl1271_op_add_interface:1298
    [   73.418151] wl1271_fw_status:617
    [   73.421722] wl1271_fw_status:617
    [   73.466003] wl1271_irq:694
    [   73.469940] wl1271_fw_status:617
    [   73.473480] wl1271_fw_status:617
    [   73.483398] wl1271_irq:694
    [   73.487274] wl1271_fw_status:617
    [   73.490844] wl1271_fw_status:617
    [   73.500732] wl1271_irq:694
    [   73.503662] wl1271_fw_status:617
    [   73.507507] wl1271_fw_status:617
    [   73.511047] wl1271_op_prepare_multicast:1735
    [   73.515533] wl1271_op_prepare_multicast:1739
    [   73.520019] wl1271_op_prepare_multicast:1746
    [   73.524505] wl1271_op_prepare_multicast:1760
    [   73.529266] wl1271_dev_notify:346 ret=0 what=1
    [   73.534332] wl1271_dev_notify:346 ret=0 what=4
    [   73.539062] wl1271_dev_notify:351 ret=0 what=4
    [   73.543701] wl1271_dev_notify:356 ret=0 what=4
    [   73.548370] wl1271_dev_notify:361 ret=0 what=4
    [   73.553039] wl1271_dev_notify:366 ret=0 what=4
    [   73.557708] wl1271_dev_notify:372 ret=0 what=4
    [   73.562377] wl1271_dev_notify:376 ret=0 what=4
    [   73.570556] wl1271_dev_notify:379 ret=0 what=4
    [   73.575225] wl1271_dev_notify:383 ret=0 what=4
    root@beagleboard:~# [   73.606964] wl1271_op_prepare_multicast:1735
    [   73.611450] wl1271_op_prepare_multicast:1739
    [   73.615936] wl1271_op_prepare_multicast:1746
    [   73.620391] wl1271_op_prepare_multicast:1760
    [   73.658203] wl1271_irq:694
    [   73.661651] wl1271_fw_status:617
    [   73.665222] wl1271_fw_status:617
    
    
    Thanks,
    jaya

     

  • Thanks for all the help folks. ;-) I finally figured it out. TI's Devkit 2.1 Gingerbread uses the 2.6.37 kernel but it doesn't actually use the wl12xx drivers that came with 2.6.37. Instead, it relies on some external detritus which isn't actually in their kernel tree. If you pull down their full build tree including android, and checkout rowboat-android/hardware/ti/wlan/WL1271_compat/drivers , that's the actual driver and mac80211 stack that these lovely folks are using. Once I figured that part out, then it got easy, I was able to build that external part, then put those drivers in my rootfs and was able to get scanning to work. Didn't test beyond that. Hope this information is useful to other engineers. I wonder if this external code has a chance of building against 2.6.32. Will give it a try soon.