We have a custom board board based on the BeagleBoneBlack reference design. And we have hard time to bring up the WL18 interface.
Help would be greatly appreciated to have this up and running.
I have seen and read other posts about identical/similar issues and resolutions, but unfortunately none of the winning solutions appear to solve our issue.
ISSUE
MMC3 scan error on init, error -5 (IO error)
HARDWARE
As BBB except:
- WL18 WLAN is connected to MMC3 (balls V12, T13, T12, R12, V13, U13)
- WL_EN is on gpio0_26 (ball T11)
- WL_IRQ is on gpio0_27 (ball U12)
- BT_EN is on gpio0_22 (ball U10)
- As for the BBB, we have a level shifter (3,3V/1,8V). Buffer enable connected to gpio0_11 (ball T5). I initially mapped it in the device tree as an always on LED but it came high too late, i.e, after WL_EN was used. So it is forced high in the MMC init (omap_hsmmc.c) for now. The plan is to use a gpio-hug eventually (did not work at first glance, will see later).
KERNEL
For the kernel, we are using the kernel from the TI SDK 01.00.00.00.
The kernel sources are from the file am335x-evm-sdk-src-01.00.00.00.gz.
Kernel version = 3.14.26-gb9df364-dirty
And ti-compat-wireless-wl18xx appears to be R8.5
PROCEDURE
We follow the instructions for kernel 3.14 integration here: processors.wiki.ti.com/.../WL18xx_AMxxx_Platform_Integration_Guide
DEVICE TREE
The following additions were made to our device tree.
/ {
...
wlan_en_reg: fixedregulator@2 {
compatible = "regulator-fixed";
regulator-name = "wlan-en-regulator";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
/* WLAN_EN GPIO for this board - Bank0, pin26 */
gpio = <&gpio0 26 0>;
/* WLAN card specific delay */
startup-delay-us = <70000>;
enable-active-high;
};
kim {
compatible = "kim";
/* BT_EN GPIO for this board - Bank0, pin22 */
nshutdown_gpio = <22>;
dev_name = "/dev/ttyO4";
flow_cntrl = <1>;
baud_rate = <3000000>;
};
btwilink {
compatible = "btwilink";
};
};
&am33xx_pinmux {
...
uart4_pins_default: pinmux_uart4_pins_default {
pinctrl-single,pins = <
0x11C (PIN_INPUT_PULLUP | MUX_MODE3) /* uart4_rxd_mux0 */
0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* uart4_txd_mux0 */
0x0D0 (PIN_INPUT | MUX_MODE6) /* lcd_data12.uart4_cts */
0x0D4 (PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* lcd_data13.uart4_rts */
>;
};
uart4_pins_sleep: pinmux_uart4_pins_sleep {
pinctrl-single,pins = <
0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* uart4_rxd_mux0 */
0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* uart4_txd_mux0 */
0x0D0 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_data12.uart4_cts */
0x0D4 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_data13.uart4_rts */
>;
};
mmc3_pins_default: pinmux_mmc3_pins_default {
pinctrl-single,pins = <
0x030 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ad12.mmc2_dat0_mux1 */
0x034 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ad13.mmc2_dat1_mux1 */
0x038 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ad14.mmc2_dat2_mux1 */
0x03c (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ad15.mmc2_dat3_mux1 */
0x088 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_csn3.mmc2_cmd_mux0 */
0x08c (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_clk.mmc2_clk_mux0 */
>;
};
/* not used for now */
mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
pinctrl-single,pins = <
0x030 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad12.mmc2_dat0_mux1 */
0x034 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad13.mmc2_dat1_mux1 */
0x038 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad14.mmc2_dat2_mux1 */
0x03c (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad15.mmc2_dat3_mux1 */
0x088 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_csn3.mmc2_cmd_mux0 */
0x08c (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_clk.mmc2_clk_mux0 */
>;
};
wlan_pins_default: pinmux_wlan_pins_default {
pinctrl-single,pins = <
0x028 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad10.gpio0_26 WL_EN*/
0x02C (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad11.gpio0_27 WL_IRQ*/
0x020 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad8.gpio0_22 BT_EN*/
0x0dc (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* lcd_data15.gpio0_11 WL_BT_OE*/
>;
};
/* not used for now */
wlan_pins_sleep: pinmux_wlan_pins_sleep {
pinctrl-single,pins = <
0x028 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_ad10.gpio0_26 WL_EN*/
0x02C (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad11.gpio0_27 WL_IRQ*/
0x020 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_ad8.gpio0_22 BT_EN*/
0x0dc (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* lcd_data15.gpio0_11 WL_BT_OE*/
>;
};
};
...
&uart4 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&uart4_pins_default>;
pinctrl-1 = <&uart4_pins_sleep>;
status = "okay";
};
&mmc3 {
pinctrl-names = "default";
pinctrl-0 = <&mmc3_pins_default &wlan_pins_default>;
/* these are on the crossbar and are outlined in the xbar-event-map element */
dmas = <&edma 12
&edma 13>;
dma-names = "tx", "rx";
status = "okay";
vmmc-supply = <&wlan_en_reg>;
bus-width = <4>;
ti,non-removable;
ti,needs-special-hs-handling;
cap-power-off-card;
keep-power-in-suspend;
#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@0 {
compatible = "ti,wlcore";
reg = <2>;
interrupt-parent = <&gpio0>;
interrupts = <27 IRQ_TYPE_NONE>;
gpio = <27>; /* Bank0, pin27 */
};
};
&edma {
ti,edma-xbar-event-map = <1 12
2 13>;
};
&sham {
status = "okay";
};
Full DTS file is attached.
/* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ /dts-v1/; #include "ntx-am33xx.dtsi" #include <dt-bindings/interrupt-controller/irq.h> / { model = "TI AM335x BeagleBone"; compatible = "ti,am33xx"; cpus { cpu@0 { cpu0-supply = <&dcdc2_reg>; }; }; memory { device_type = "memory"; reg = <0x80000000 0x10000000>; /* 256 MB */ }; leds { pinctrl-names = "default", "sleep"; pinctrl-0 = <&user_leds_default>; pinctrl-1 = <&user_leds_sleep>; compatible = "gpio-leds"; led@0 { label = "led:green:status"; gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; default-state = "on"; }; led@1 { label = "led:green:active"; gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; linux,default-trigger = "none"; default-state = "on"; }; led@2 { label = "led:red:alarm"; gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>; linux,default-trigger = "none"; default-state = "on"; }; led@3 { label = "led:red:fault"; gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>; linux,default-trigger = "none"; default-state = "on"; }; }; vbat: fixedregulator@0 { compatible = "regulator-fixed"; regulator-name = "vbat"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; regulator-boot-on; }; vmmcsd_fixed: fixedregulator@1 { compatible = "regulator-fixed"; regulator-name = "vmmcsd_fixed"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; wlan_en_reg: fixedregulator@2 { compatible = "regulator-fixed"; regulator-name = "wlan-en-regulator"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; /* WLAN_EN GPIO for this board - Bank0, pin26 */ gpio = <&gpio0 26 0>; /* WLAN card specific delay */ startup-delay-us = <70000>; enable-active-high; }; kim { compatible = "kim"; /* BT_EN GPIO for this board - Bank0, pin22 */ nshutdown_gpio = <22>; dev_name = "/dev/ttyO4"; flow_cntrl = <1>; baud_rate = <3000000>; }; btwilink { compatible = "btwilink"; }; }; &am33xx_pinmux { pinctrl-names = "default"; pinctrl-0 = <&clkout2_pin>; user_leds_default: user_leds_default { pinctrl-single,pins = < 0x058 (MUX_MODE7) /* gpmc_a6.gpio1_22 */ 0x05c (MUX_MODE7) /* gpmc_a7.gpio1_23 */ 0x060 (MUX_MODE7) /* gpmc_a8.gpio1_24 */ 0x064 (MUX_MODE7) /* gpmc_a9.gpio1_25 */ >; }; user_leds_sleep: user_leds_sleep { pinctrl-single,pins = < 0x058 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a6.gpio1_22 */ 0x05c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a7.gpio1_23 */ 0x060 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a8.gpio1_24 */ 0x064 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_a9.gpio1_25 */ >; }; i2c0_pins: pinmux_i2c0_pins { pinctrl-single,pins = < 0x188 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_sda.i2c0_sda */ 0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */ >; }; i2c1_pins: pinmux_i2c1_pins { pinctrl-single,pins = < 0x158 0x72 /* spi0_d1.i2c1_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE2 */ 0x15c 0x72 /* spi0_cs0.i2c1_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE2 */ >; }; i2c2_pins: pinmux_i2c2_pins { pinctrl-single,pins = < 0x178 0x73 /* (SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE3) uart1_ctsn.i2c2_sda */ 0x17c 0x73 /* (SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE3) uart1_rtsn.i2c2_scl */ >; }; spi0_pins: pinmux_spi0_pins { pinctrl-single,pins = < 0x150 (PIN_INPUT_PULLUP | MUX_MODE0) /* spi0_sclk.spi0_sclk */ 0x154 (PIN_INPUT_PULLUP | MUX_MODE0) /* spi0_d0.spi0_d0 */ 0x158 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* spi0_d1.spi0_d1 */ 0x15c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* spi0_cs0.spi0_cs0 */ >; }; spi1_pins: pinmux_spi1_pins { pinctrl-single,pins = < 0x190 0x33 /* mcasp0_aclkx.spi1_sclk, INPUT_PULLUP | MODE3 */ 0x194 0x33 /* mcasp0_fsx.spi1_d0, INPUT_PULLUP | MODE3 */ 0x198 0x13 /* mcasp0_axr0.spi1_d1, OUTPUT_PULLUP | MODE3 */ 0x19c 0x13 /* mcasp0_ahclkr.spi1_cs0, OUTPUT_PULLUP | MODE3 */ // 0x164 0x12 /* eCAP0_in_PWM0_out.spi1_cs1 OUTPUT_PULLUP | MODE2 */ >; }; spi1a_pins: pinmux_spi1a_pins { pinctrl-single,pins = < 0x164 0x34 /* eCAP0_in_PWM0_out.spi1_sclk, INPUT_PULLUP | MODE4 */ /* NOTE: P9.42 is connected to two pads */ // 0x1A0 0x27 /* set the other pad to gpio input */ 0x194 0x33 /* mcasp0_fsx.spi1_d0, INPUT_PULLUP | MODE3 */ 0x198 0x13 /* mcasp0_axr0.spi1_d1, OUTPUT_PULLUP | MODE3 */ 0x178 0x14 /* uart1_ctsn.spi1_cs0, OUTPUT_PULLUP | MODE4 */ >; }; uart0_pins: pinmux_uart0_pins { pinctrl-single,pins = < 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */ 0x174 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */ >; }; uart4_pins_default: pinmux_uart4_pins_default { pinctrl-single,pins = < 0x11C (PIN_INPUT_PULLUP | MUX_MODE3) /* uart4_rxd_mux0 */ 0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* uart4_txd_mux0 */ 0x0D0 (PIN_INPUT | MUX_MODE6) /* lcd_data12.uart4_cts */ 0x0D4 (PIN_OUTPUT_PULLDOWN | MUX_MODE6) /* lcd_data13.uart4_rts */ >; }; uart4_pins_sleep: pinmux_uart4_pins_sleep { pinctrl-single,pins = < 0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* uart4_rxd_mux0 */ 0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* uart4_txd_mux0 */ 0x0D0 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_data12.uart4_cts */ 0x0D4 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* lcd_data13.uart4_rts */ >; }; clkout2_pin: pinmux_clkout2_pin { pinctrl-single,pins = < 0x1b4 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr1.clkout2 */ >; }; cpsw_default: cpsw_default { pinctrl-single,pins = < /* Slave 1 */ 0x10c (INPUT_EN | MUX_MODE1) /* rmii1_crs_dv */ 0x110 (INPUT_EN | MUX_MODE1) /* rmii1_rxer */ 0x114 (MUX_MODE1) /* rmii1_txen */ 0x124 (MUX_MODE1) /* rmii1_td1 */ 0x128 (MUX_MODE1) /* rmii1_td0 */ 0x13c (INPUT_EN | MUX_MODE1) /* rmii1_rd1 */ 0x140 (INPUT_EN | MUX_MODE1) /* rmii1_rd0 */ 0x144 (INPUT_EN | MUX_MODE0) /* rmii1_refclk */ 0x094 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpio2[3] = PWRDOWN_INT_A (out) (active low) */ /* Slave 2 */ 0x040 (MUX_MODE3) /* rmii2_txen */ 0x050 (MUX_MODE3) /* rmii2_td1 */ 0x054 (MUX_MODE3) /* rmii2_td0 */ 0x068 (INPUT_EN |MUX_MODE3) /* rmii2_rd1 */ 0x06c (INPUT_EN |MUX_MODE3) /* rmii2_rd0 */ 0x070 (INPUT_EN | MUX_MODE3) /* rmii2_crs_dv */ 0x074 (INPUT_EN | MUX_MODE3) /* rmii2_rxer */ 0x108 (INPUT_EN | MUX_MODE1) /* rmii2_refclk */ 0x090 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpio2[2] = PWRDOWN_INT_B (out) (active low) */ >; }; cpsw_sleep: cpsw_sleep { pinctrl-single,pins = < /* Slave 1 */ 0x10c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii1_crs_dv */ 0x110 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii1_rxer */ 0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii1_txen */ 0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii1_td1 */ 0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii1_td0 */ 0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii1_rd1 */ 0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii1_rd0 */ 0x144 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii1_refclk */ 0x094 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpio2[3] = PWRDOWN_INT_A (out) (active low) */ /* Slave 2 */ 0x040 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii2_txen */ 0x050 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii2_td1 */ 0x054 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii2_td0 */ 0x068 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii2_rd1 */ 0x06c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii2_rd0 */ 0x070 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii2_crs_dv */ 0x074 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii2_rxer */ 0x108 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* rmii2_refclk */ 0x090 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpio2[2] = PWRDOWN_INT_B (out) (active low) */ >; }; davinci_mdio_default: davinci_mdio_default { pinctrl-single,pins = < /* MDIO */ 0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* mdio_data.mdio_data */ 0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */ >; }; davinci_mdio_sleep: davinci_mdio_sleep { pinctrl-single,pins = < /* MDIO reset value */ 0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7) >; }; mmc1_pins_default: pinmux_mmc1_pins { pinctrl-single,pins = < 0x0F0 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 */ 0x0F4 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 */ 0x0F8 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 */ 0x0FC (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 */ 0x100 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_clk.mmc0_clk */ 0x104 (PIN_INPUT_PULLUP | MUX_MODE0) /* mmc0_cmd.mmc0_cmd */ 0x1A0 (PIN_INPUT_PULLUP | MUX_MODE7) /* mcasp0_aclkr.gpio3_18 */ 0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */ >; }; mmc1_pins_sleep: pinmux_mmc1_pins_sleep { pinctrl-single,pins = < 0x0F0 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x0F4 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x0F8 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x0FC (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x100 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x104 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x1A0 (PIN_INPUT_PULLDOWN | MUX_MODE7) >; }; emmc_pins: pinmux_emmc_pins { pinctrl-single,pins = < 0x080 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */ 0x084 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */ 0x000 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */ 0x004 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */ 0x008 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */ 0x00c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */ 0x010 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad4.mmc1_dat4 */ 0x014 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad5.mmc1_dat5 */ 0x018 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad6.mmc1_dat6 */ 0x01c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad7.mmc1_dat7 */ >; }; emmc_pins_sleep: pinmux_emmc_pins_sleep { pinctrl-single,pins = < 0x080 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_csn1.mmc1_clk */ 0x084 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_csn2.mmc1_cmd */ 0x000 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad0.mmc1_dat0 */ 0x004 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad1.mmc1_dat1 */ 0x008 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad2.mmc1_dat2 */ 0x00c (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad3.mmc1_dat3 */ 0x010 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad4.mmc1_dat4 */ 0x014 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad5.mmc1_dat5 */ 0x018 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad6.mmc1_dat6 */ 0x01c (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad7.mmc1_dat7 */ >; }; mmc3_pins_default: pinmux_mmc3_pins_default { pinctrl-single,pins = < 0x030 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ad12.mmc2_dat0_mux1 */ 0x034 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ad13.mmc2_dat1_mux1 */ 0x038 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ad14.mmc2_dat2_mux1 */ 0x03c (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_ad15.mmc2_dat3_mux1 */ 0x088 (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_csn3.mmc2_cmd_mux0 */ 0x08c (PIN_INPUT_PULLUP | MUX_MODE3) /* gpmc_clk.mmc2_clk_mux0 */ >; }; mmc3_pins_sleep: pinmux_mmc3_pins_sleep { pinctrl-single,pins = < 0x030 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad12.mmc2_dat0_mux1 */ 0x034 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad13.mmc2_dat1_mux1 */ 0x038 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad14.mmc2_dat2_mux1 */ 0x03c (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad15.mmc2_dat3_mux1 */ 0x088 (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_csn3.mmc2_cmd_mux0 */ 0x08c (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_clk.mmc2_clk_mux0 */ >; }; /* wl12xx/wl18xx card enable/irq GPIOs. */ wlan_pins_default: pinmux_wlan_pins_default { pinctrl-single,pins = < 0x028 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad10.gpio0_26 WL_EN*/ 0x02C (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad11.gpio0_27 WL_IRQ*/ 0x020 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad8.gpio0_22 BT_EN*/ 0x0dc (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* lcd_data15.gpio0_11 WL_BT_OE*/ >; }; /* wl12xx/wl18xx card enable/irq GPIOs. */ wlan_pins_sleep: pinmux_wlan_pins_sleep { pinctrl-single,pins = < 0x028 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_ad10.gpio0_26 WL_EN*/ 0x02C (PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_ad11.gpio0_27 WL_IRQ*/ 0x020 (PIN_OUTPUT_PULLUP | MUX_MODE7) /* gpmc_ad8.gpio0_22 BT_EN*/ 0x0dc (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* lcd_data15.gpio0_11 WL_BT_OE*/ >; }; }; &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins>; status = "okay"; }; &uart4 { pinctrl-names = "default", "sleep"; pinctrl-0 = <&uart4_pins_default>; pinctrl-1 = <&uart4_pins_sleep>; status = "okay"; }; &usb { status = "okay"; control@44e10620 { status = "okay"; }; usb-phy@47401300 { status = "okay"; }; usb-phy@47401b00 { status = "okay"; }; usb@47401000 { status = "okay"; }; usb@47401800 { status = "okay"; dr_mode = "host"; }; dma-controller@47402000 { status = "okay"; }; }; &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins>; status = "okay"; clock-frequency = <400000>; tps: tps@24 { reg = <0x24>; }; }; /include/ "tps65217.dtsi" &tps { ti,pmic-shutdown-controller; regulators { dcdc1_reg: regulator@0 { regulator-always-on; }; dcdc2_reg: regulator@1 { /* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */ regulator-name = "vdd_mpu"; regulator-min-microvolt = <912500>; regulator-max-microvolt = <1378000>; regulator-boot-on; regulator-always-on; }; dcdc3_reg: regulator@2 { /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ regulator-name = "vdd_core"; regulator-min-microvolt = <925000>; regulator-max-microvolt = <1150000>; regulator-boot-on; regulator-always-on; }; ldo1_reg: regulator@3 { regulator-always-on; }; ldo2_reg: regulator@4 { regulator-always-on; }; ldo3_reg: regulator@5 { regulator-always-on; }; ldo4_reg: regulator@6 { regulator-always-on; }; rtc@44e3e000 { ti,system-power-controller; }; }; }; &wkup_m3 { ti,scale-data-fw = "am335x-bone-scale-data.bin"; }; &ldo3_reg { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; }; &cpsw_emac0 { phy_id = <&davinci_mdio>, <0>; phy-mode = "rmii"; dual_emac_res_vlan = <1>; }; &cpsw_emac1 { phy_id = <&davinci_mdio>, <1>; phy-mode = "rmii"; dual_emac_res_vlan = <2>; }; &mac { pinctrl-names = "default", "sleep"; pinctrl-0 = <&cpsw_default>; pinctrl-1 = <&cpsw_sleep>; }; &davinci_mdio { pinctrl-names = "default", "sleep"; pinctrl-0 = <&davinci_mdio_default>; pinctrl-1 = <&davinci_mdio_sleep>; }; &mmc1 { status = "okay"; bus-width = <0x4>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&mmc1_pins_default>; pinctrl-1 = <&mmc1_pins_sleep>; cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>; cd-inverted; vmmc-supply = <&vmmcsd_fixed>; }; &mmc2 { vmmc-supply = <&vmmcsd_fixed>; pinctrl-names = "default", "sleep"; pinctrl-0 = <&emmc_pins>; pinctrl-1 = <&emmc_pins_sleep>; bus-width = <8>; status = "okay"; ti,vcc-aux-disable-is-sleep; }; &mmc3 { // pinctrl-names = "default", "sleep"; // pinctrl-0 = <&mmc3_pins_default &wlan_pins_default>; // pinctrl-1 = <&mmc3_pins_sleep &wlan_pins_sleep>; pinctrl-names = "default"; pinctrl-0 = <&mmc3_pins_default &wlan_pins_default>; /* these are on the crossbar and are outlined in the xbar-event-map element */ dmas = <&edma 12 &edma 13>; dma-names = "tx", "rx"; status = "okay"; vmmc-supply = <&wlan_en_reg>; bus-width = <4>; ti,non-removable; ti,needs-special-hs-handling; cap-power-off-card; keep-power-in-suspend; #address-cells = <1>; #size-cells = <0>; wlcore: wlcore@0 { compatible = "ti,wlcore"; reg = <2>; interrupt-parent = <&gpio0>; interrupts = <27 IRQ_TYPE_NONE>; gpio = <27>; /* Bank0, pin27 */ // platform-quirks = <1>; // /* if a 12xx card is there, configure the clock to WL12XX_REFCLOCK_38_XTAL */ // board-ref-clock = <4>; }; }; &edma { ti,edma-xbar-event-map = <1 12 2 13>; }; &sham { status = "okay"; }; &spi0 { pinctrl-names = "default"; pinctrl-0 = <&spi0_pins>; status = "okay"; spidev0: spi@0 { compatible = "spidev"; reg = <0>; spi-max-frequency = <16000000>; spi-cpha; }; spidev1: spi@1 { compatible = "spidev"; reg = <1>; spi-max-frequency = <16000000>; }; }; &spi1 { pinctrl-names = "default"; pinctrl-0 = <&spi1_pins>; status = "okay"; spidev2: spi@0 { compatible = "spidev"; reg = <0>; spi-max-frequency = <16000000>; spi-cpha; }; spidev3: spi@1 { compatible = "spidev"; reg = <1>; spi-max-frequency = <16000000>; }; };
BOOT LOG
My current boot log is attached. Unfortunately, I do not see as much detailed traces as i would like to.
I enabled early printk in my config. Are there other useful config_xxx tag I should enable allowing to see more mmc and wlcore prints?
U-Boot 2014.10 (Sep 01 2015 - 11:52:28) Watchdog enabled I2C: ready DRAM: 512 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Using default environment Board name=NTXLF101 Board rev=revA Net: <ethaddr> not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 gpio: pin 53 (gpio 53) value is 1 switch to partitions #0, OK mmc0 is current device gpio: pin 54 (gpio 54) value is 1 Checking for: /uEnv.txt ... Checking for: /boot.scr ... Checking for: /boot/boot.scr ... Checking for: /boot/uEnv.txt ... gpio: pin 55 (gpio 55) value is 1 39 bytes read in 41 ms (0 Bytes/s) Loaded environment from /boot/uEnv.txt Checking if uname_r is set in /boot/uEnv.txt... gpio: pin 56 (gpio 56) value is 1 Running uname_boot ... loading /boot/vmlinuz-3.14.26-gb9df364-dirty ... 4391432 bytes read in 280 ms (15 MiB/s) loading /boot/dtbs/3.14.26-gb9df364-dirty/ntx-lf101.dtb ... 33329 bytes read in 86 ms (377.9 KiB/s) debug: [console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc] ... debug: [bootz 0x82000000 - 0x88000000] ... Kernel image @ 0x82000000 [ 0x000000 - 0x430208 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8fff4000, end 8ffff230 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.14.26-gb9df364-dirty (patrick@vb) (gcc version 4.8.3 20140401 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) ) #16 SMP Thu Sep 3 11:18:27 EDT 2015 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: TI AM335x BeagleBone [ 0.000000] cma: CMA: reserved 16 MiB at 9e800000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.1 (neon ) [ 0.000000] PERCPU: Embedded 9 pages/cpu @df9d3000 s14720 r8192 d13952 u36864 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129536 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc [ 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: 486592K/522240K available (5703K kernel code, 700K rwdata, 2212K rodata, 402K init, 5521K bss, 35648K 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] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc07c3128 (7917 kB) [ 0.000000] .init : 0xc07c4000 - 0xc0828980 ( 403 kB) [ 0.000000] .data : 0xc082a000 - 0xc08d9198 ( 701 kB) [ 0.000000] .bss : 0xc08d9198 - 0xc0e3d5c0 (5522 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] Total of 128 interrupts on 1 active controller [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns [ 0.000054] OMAP clocksource: timer1 at 24000000 Hz [ 0.000805] Console: colour dummy device 80x30 [ 0.000854] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.000863] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.000870] ... MAX_LOCK_DEPTH: 48 [ 0.000877] ... MAX_LOCKDEP_KEYS: 8191 [ 0.000884] ... CLASSHASH_SIZE: 4096 [ 0.000891] ... MAX_LOCKDEP_ENTRIES: 16384 [ 0.000899] ... MAX_LOCKDEP_CHAINS: 32768 [ 0.000905] ... CHAINHASH_SIZE: 16384 [ 0.000912] memory used by lock dependency info: 3695 kB [ 0.000920] per task-struct memory footprint: 1152 bytes [ 0.000965] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736) [ 0.079168] pid_max: default: 32768 minimum: 301 [ 0.079515] Security Framework initialized [ 0.079629] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.079642] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.099052] CPU: Testing write buffer coherency: ok [ 0.100378] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.100446] Setting up static identity map for 0x8056bbf0 - 0x8056bc60 [ 0.103351] Brought up 1 CPUs [ 0.103368] SMP: Total of 1 processors activated. [ 0.103377] CPU: All CPU(s) started in SVC mode. [ 0.106037] devtmpfs: initialized [ 0.114407] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.149324] omap_hwmod: tptc0 using broken dt data from edma [ 0.149685] omap_hwmod: tptc1 using broken dt data from edma [ 0.150024] omap_hwmod: tptc2 using broken dt data from edma [ 0.157754] omap_hwmod: debugss: _wait_target_disable failed [ 0.216742] pinctrl core: initialized pinctrl subsystem [ 0.221481] regulator-dummy: no parameters [ 0.224701] NET: Registered protocol family 16 [ 0.229873] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.235507] cpuidle: using governor ladder [ 0.235533] cpuidle: using governor menu [ 0.245195] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered [ 0.248974] platform 49000000.edma: alias fck already exists [ 0.249009] platform 49000000.edma: alias fck already exists [ 0.249028] platform 49000000.edma: alias fck already exists [ 0.253267] OMAP GPIO hardware version 0.1 [ 0.288831] No ATAGs? [ 0.288857] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.349250] bio: create slab <bio-0> at 0 [ 0.387414] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver [ 0.390451] vbat: 5000 mV [ 0.391566] vmmcsd_fixed: 3300 mV [ 0.392774] wlan-en-regulator: 1800 mV [ 0.398222] i2c-core: driver [palmas] using legacy suspend method [ 0.398241] i2c-core: driver [palmas] using legacy resume method [ 0.400821] SCSI subsystem initialized [ 0.403051] usbcore: registered new interface driver usbfs [ 0.403462] usbcore: registered new interface driver hub [ 0.404175] usbcore: registered new device driver usb [ 0.406469] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe [ 0.406515] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral [ 0.412372] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.417275] Switched to clocksource timer1 [ 0.566340] NET: Registered protocol family 2 [ 0.568537] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.568717] TCP bind hash table entries: 4096 (order: 5, 147456 bytes) [ 0.570061] TCP: Hash tables configured (established 4096 bind 4096) [ 0.570244] TCP: reno registered [ 0.570271] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.570458] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.571566] NET: Registered protocol family 1 [ 0.572950] RPC: Registered named UNIX socket transport module. [ 0.572970] RPC: Registered udp transport module. [ 0.572980] RPC: Registered tcp transport module. [ 0.572989] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.574150] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available [ 0.582661] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.725429] VFS: Disk quotas dquot_6.5.2 [ 0.725641] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.727792] NFS: Registering the id_resolver key type [ 0.728181] Key type id_resolver registered [ 0.728197] Key type id_legacy registered [ 0.728314] jffs2: version 2.2. (NAND) (SUMMARY) � 2001-2006 Red Hat, Inc. [ 0.728713] msgmni has been set to 982 [ 0.731708] io scheduler noop registered [ 0.731730] io scheduler deadline registered [ 0.731797] io scheduler cfq registered (default) [ 0.735288] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 0.741276] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.748962] omap_uart 44e09000.serial: no wakeirq for uart0 [ 0.749594] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.456531] console [ttyO0] enabled [ 1.462584] omap_uart 481a8000.serial: no wakeirq for uart0 [ 1.468763] 481a8000.serial: ttyO4 at MMIO 0x481a8000 (irq = 61, base_baud = 3000000) is a OMAP UART4 [ 1.482762] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20 [ 1.520866] brd: module loaded [ 1.542009] loop: module loaded [ 1.545820] (stk) :sysfs entries created [ 1.550179] (stk) : debugfs entries created [ 1.555023] (hci_tty): inside hci_tty_init [ 1.561215] (hci_tty): allocated 251, 0 [ 1.571594] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.596369] usbcore: registered new interface driver asix [ 1.603072] usbcore: registered new interface driver ax88179_178a [ 1.610006] usbcore: registered new interface driver cdc_ether [ 1.616538] usbcore: registered new interface driver smsc95xx [ 1.623573] usbcore: registered new interface driver net1080 [ 1.630025] usbcore: registered new interface driver cdc_subset [ 1.636597] usbcore: registered new interface driver zaurus [ 1.643166] usbcore: registered new interface driver cdc_ncm [ 1.651197] usbcore: registered new interface driver cdc_wdm [ 1.657895] usbcore: registered new interface driver usb-storage [ 1.664637] usbcore: registered new interface driver usbtest [ 1.673965] mousedev: PS/2 mouse device common for all mice [ 1.685139] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0 [ 1.694084] i2c /dev entries driver [ 1.698521] Driver for 1-wire Dallas network protocol. [ 1.709006] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 1.835157] mmc0: host does not support reading read-only switch. assuming write-enable. [ 1.845936] mmc0: new high speed SDHC card at address aaaa [ 1.854409] mmcblk0: mmc0:aaaa SU32G 29.7 GiB [ 1.864426] mmcblk0: p1 p2 [ 1.911765] mmc1: BKOPS_EN bit is not set [ 1.924003] mmc1: new high speed MMC card at address 0001 [ 1.930985] ledtrig-cpu: registered to indicate activity on CPUs [ 1.939017] mmcblk1: mmc1:0001 MMC04G 3.65 GiB [ 1.944728] mmcblk1boot0: mmc1:0001 MMC04G partition 1 1.00 MiB [ 1.951780] usbcore: registered new interface driver usbhid [ 1.957742] usbhid: USB HID core driver [ 1.962497] mmcblk1boot1: mmc1:0001 MMC04G partition 2 1.00 MiB [ 1.970334] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral [ 1.981048] mmcblk1: p1 [ 1.988045] oprofile: using arm/armv7 [ 1.992553] TCP: cubic registered [ 1.996021] Initializing XFRM netlink socket [ 2.000700] NET: Registered protocol family 17 [ 2.005422] NET: Registered protocol family 15 [ 2.010486] Key type dns_resolver registered [ 2.019207] mmcblk1boot1: unknown partition table [ 2.025411] PM: bootloader does not support rtc-only! [ 2.030919] ThumbEE CPU extension supported. [ 2.035433] Registering SWP/SWPB emulation handler [ 2.040520] SmartReflex Class3 initialized [ 2.050455] mmcblk1boot0: unknown partition table [ 2.059638] vbat: disabling [ 2.062582] regulator-dummy: disabling [ 2.074712] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range [ 2.091416] DCDC1: at 1350 mV [ 2.097617] vdd_mpu: 925 <--> 1375 mV at 1325 mV [ 2.105029] vdd_core: 925 <--> 1150 mV at 1125 mV [ 2.112743] LDO1: at 1800 mV [ 2.117965] mmc2: error -5 whilst initialising SDIO card [ 2.225451] LDO2: at 3300 mV [ 2.232113] LDO3: 1800 mV [ 2.237050] LDO4: at 3300 mV [ 2.242830] tps65217 0-0024: TPS65217 ID 0xe version 1.2 [ 2.248575] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 2.255853] remoteproc0: wkup_m3 is available [ 2.260607] remoteproc0: Note: remoteproc is still under development and considered experimental. [ 2.270004] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed. [ 2.281869] remoteproc0: Direct firmware load failed with error -2 [ 2.288535] remoteproc0: Falling back to user helper [ 2.357272] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6 [ 2.363660] davinci_mdio 4a101000.mdio: detected phy mask fffffffc [ 2.373694] libphy: 4a101000.mdio: probed [ 2.378017] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown [ 2.386378] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver unknown [ 2.396415] cpsw 4a100000.ethernet: Detected MACID = 7c:66:9d:1d:af:c6 [ 2.408770] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801) [ 2.417916] sr_init: No PMIC hook to init smartreflex [ 2.424083] sr_init: platform driver register failed for SR [ 2.454910] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [ 2.463115] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [ 3.198516] EXT4-fs (mmcblk0p2): recovery complete [ 3.208230] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 3.216838] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 3.226476] devtmpfs: mounted [ 3.230298] Freeing unused kernel memory: 400K (c07c4000 - c0828000) Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory [ 3.557585] random: init urandom read with 76 bits of entropy available [ 3.856718] init: plymouth-upstart-bridge main process (712) terminated with status 1 [ 3.891851] init: plymouth-upstart-bridge main process ended, respawning [ 4.039084] init: plymouth-upstart-bridge main process (722) terminated with status 1 [ 4.047980] init: plymouth-upstart-bridge main process ended, respawning [ 4.065466] init: ureadahead main process (715) terminated with status 5 [ 4.150764] init: plymouth-upstart-bridge main process (727) terminated with status 1 [ 4.170124] init: plymouth-upstart-bridge main process ended, respawning [ 5.674972] random: nonblocking pool is initialized [ 7.297143] remoteproc0: failed to load am335x-pm-firmware.elf [ 7.343814] remoteproc0: request_firmware failed: -2 [ 7.349290] wkup_m3 44d00000.wkup_m3: rproc_boot failed [ 8.597588] (stk) :ldisc installation timeout[ 9.597405] (stk) : timed out waiting for ldisc to be un-installed (stk) :ldisc installation timeout [ 11.707808] (stk) : timed out waiting for ldisc to be un-installed * Starting Mount filesystems on boot [ OK ] * Stopping Send an event to indicate plymouth is up [ OK ] * Starting Fix-up /sys/kernel/debug filesystem [ OK ] * Stopping Fix-up /sys/kernel/debug filesystem [ OK ] * Starting Populate and link to /run filesystem [ OK ] * Stopping Populate and link to /run filesystem [ OK ] * Stopping Track if upstart is running in a container [ OK ] * Starting Initialize or finalize resolvconf [ OK ] * Starting set console keymap [ OK ] * Starting Signal sysvinit that virtual filesystems are mounted [ OK ] * Starting Signal sysvinit that virtual filesystems are mounted [ OK ] * Stopping set console keymap [ OK ] * Starting Bridge udev events into upstart [ OK ] * Starting Signal sysvinit that remote filesystems are mounted [ OK ] * Starting device node and kernel event manager [ OK ] * Starting load modules from /etc/modules [ OK ] * Starting cold plug devices [ OK ] * Starting log initial device creation [ OK ] * Stopping load modules from /etc/modules [ OK ] * Starting configure network device security [ OK ] * Starting Signal sysvinit that the rootfs is mounted [ OK ] * Stopping cold plug devices [ OK ] * Stopping log initial device creation [ OK ] * Starting load fallback graphics devices [ OK ] * Stopping load fallback graphics devices [ OK ] * Starting configure network device security [ OK ] * Starting set console font [ OK ] * Stopping set console font [ OK ] * Starting userspace bootsplash [ OK ] * Stopping userspace bootsplash [ OK ] * Starting Clean /tmp directory [ OK ] * Starting Send an event to indicate plymouth is up [ OK ] * Stopping Clean /tmp directory [ OK ] (stk) :ldisc installation timeout * Starting Mount network filesystems [ OK ] * Stopping Send an event to indicate plymouth is up [ OK ] [ 13.817448] (stk) : timed out waiting for ldisc to be un-installed * Starting Signal sysvinit that local filesystems are mounted [ OK ] * Starting configure network device security [ OK ] * Stopping Mount filesystems on boot [ OK ] Waiting for network configuration... Waiting up to 60 more seconds for network configuration... Booting system without full network configuration... * Starting Failsafe Boot Delay [ OK ] * Starting flush early job output to logs [ OK ] * Starting save udev log and update rules [ OK ] (stk) :ldisc installation timeout * Stopping save udev log and update rules [ OK ] * Starting D-Bus system message bus [ OK ] * Stopping Mount network filesystems [ OK ] * Stopping flush early job output to logs [ OK ] (stk) : timed out waiting for ldisc to be un-installed * Starting configure network device [ OK ] * Starting system logging daemon [ OK ] * Stopping Failsafe Boot Delay [ OK ] * Starting configure virtual network devices [ OK ] * Starting System V initialisation compatibility [ OK ] (stk) :ldisc installation timeout * Starting mDNS/DNS-SD daemon [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote q[ OK ]are populated * Stopping System V initialisation compatibility [ OK ] (stk) : timed out waiting for ldisc to be un-installed * Starting Reload cups, upon starting avahi-daemon to make sure remote q[fail]are populated [ 19.147808] (stk) :ldisc installation timeout * Starting System V runlevel compatibility [ OK ] * Starting save kernel messages [ OK ] * Starting OpenSSH server [ OK ] * Starting ACPI daemon [ OK ] * Starting regular background program processing daemon [ OK ] * Stopping save kernel messages [ OK ] (stk) : timed out waiting for ldisc to be un-installed [ 20.154353] Bluetooth: st_register failed -22 * Loading cpufreq kernel modules... [ OK ] * Starting Bridge file events into upstart [ OK ] * Starting Bridge socket events into upstart [ OK ] * disabled, governor not available... * CPUFreq Utilities: Setting ondemand CPUFreq governor... [ OK ] udhcpd: Disabled. Edit /etc/default/udhcpd to enable it. AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message * Stopping OpenSSH server [ OK ] * * Stopping System V runlevel compatibility [ OK ] * Starting OpenSSH server [ OK ] Ubuntu 14.04.1 LTS arm ttyO0 default username:password is [ubuntu:temppwd] arm login:
INTERESTING OBSERVATION
Wanting to "hard jump" the level shifter buffer enable on the 3,3 V to make sure it is was up in time,
I happened to change the boot mode that shares the same signal.
By forcing the signal to 3,3V, I accidently caused the boot mode to go from BOOT_MODE[15:14] from 01b to 11b,
causing the clock spec to go from 24MHz to 26MHz, thus causing the processor to run slower I assume.
When I do so, the mmc3 and wlcore inits appear to go one step further.
[ 1.984825] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[ 1.996877] mmc2: new high speed SDIO card at address 0001
...And lsmod returns the following, even though we still cannot see wlan0 in ifconfig.
ubuntu@arm:~$ lsmod
Module Size Used by
wl18xx 80483 0
wlcore 176264 2 wl18xx
mac80211 454728 2 wl18xx,wlcore
cfg80211 414003 3 mac80211,wl18xx,wlcore
wlcore_sdio 4139 0
btwilink 3883 0
bluetooth 262665 2 btwilink
6lowpan_iphc 6286 1 bluetooth
I was wondering if mcc clock speed could be the issue here. Especially since our lines are a little longer than on the BBB.
The level shifter is at about 1/2 inch from the WL18 and at about 5 inches from the AM335.
Full boot log for this attempt is attached also.
U-Boot 2014.10 (Sep 01 2015 - 11:52:28) Watchdog enabled I2C: ready DRAM: 512 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Using default environment Board name=NTXLF101 Board rev=revA Net: <ethaddr> not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 gpio: pin 53 (gpio 53) value is 1 switch to partitions #0, OK mmc0 is current device gpio: pin 54 (gpio 54) value is 1 Checking for: /uEnv.txt ... Checking for: /boot.scr ... Checking for: /boot/boot.scr ... Checking for: /boot/uEnv.txt ... gpio: pin 55 (gpio 55) value is 1 39 bytes read in 40 ms (0 Bytes/s) Loaded environment from /boot/uEnv.txt Checking if uname_r is set in /boot/uEnv.txt... gpio: pin 56 (gpio 56) value is 1 Running uname_boot ... loading /boot/vmlinuz-3.14.26-gb9df364-dirty ... 4391432 bytes read in 280 ms (15 MiB/s) loading /boot/dtbs/3.14.26-gb9df364-dirty/ntx-lf101.dtb ... 33329 bytes read in 86 ms (377.9 KiB/s) debug: [console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc] ... debug: [bootz 0x82000000 - 0x88000000] ... Kernel image @ 0x82000000 [ 0x000000 - 0x430208 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8fff4000, end 8ffff230 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.14.26-gb9df364-dirty (patrick@vb) (gcc version 4.8.3 20140401 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) ) #16 SMP Thu Sep 3 11:18:27 EDT 2015 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine model: TI AM335x BeagleBone [ 0.000000] cma: CMA: reserved 16 MiB at 9e800000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.1 (neon ) [ 0.000000] PERCPU: Embedded 9 pages/cpu @df9d3000 s14720 r8192 d13952 u36864 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129536 [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc [ 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: 486592K/522240K available (5703K kernel code, 700K rwdata, 2212K rodata, 402K init, 5521K bss, 35648K 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] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc07c3128 (7917 kB) [ 0.000000] .init : 0xc07c4000 - 0xc0828980 ( 403 kB) [ 0.000000] .data : 0xc082a000 - 0xc08d9198 ( 701 kB) [ 0.000000] .bss : 0xc08d9198 - 0xc0e3d5c0 (5522 kB) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] Total of 128 interrupts on 1 active controller [ 0.000000] OMAP clockevent source: timer2 at 26000000 Hz [ 0.000012] sched_clock: 32 bits at 26MHz, resolution 38ns, wraps every 165191049177ns [ 0.000050] OMAP clocksource: timer1 at 26000000 Hz [ 0.000747] Console: colour dummy device 80x30 [ 0.000793] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.000801] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.000808] ... MAX_LOCK_DEPTH: 48 [ 0.000815] ... MAX_LOCKDEP_KEYS: 8191 [ 0.000821] ... CLASSHASH_SIZE: 4096 [ 0.000828] ... MAX_LOCKDEP_ENTRIES: 16384 [ 0.000834] ... MAX_LOCKDEP_CHAINS: 32768 [ 0.000840] ... CHAINHASH_SIZE: 16384 [ 0.000847] memory used by lock dependency info: 3695 kB [ 0.000854] per task-struct memory footprint: 1152 bytes [ 0.000895] Calibrating delay loop... 1076.42 BogoMIPS (lpj=5382144) [ 0.079208] pid_max: default: 32768 minimum: 301 [ 0.079529] Security Framework initialized [ 0.079635] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.079647] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.097568] CPU: Testing write buffer coherency: ok [ 0.098714] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.098777] Setting up static identity map for 0x8056bbf0 - 0x8056bc60 [ 0.101570] Brought up 1 CPUs [ 0.101586] SMP: Total of 1 processors activated. [ 0.101595] CPU: All CPU(s) started in SVC mode. [ 0.104061] devtmpfs: initialized [ 0.111791] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.143991] omap_hwmod: tptc0 using broken dt data from edma [ 0.144322] omap_hwmod: tptc1 using broken dt data from edma [ 0.144637] omap_hwmod: tptc2 using broken dt data from edma [ 0.151976] omap_hwmod: debugss: _wait_target_disable failed [ 0.209815] pinctrl core: initialized pinctrl subsystem [ 0.213846] regulator-dummy: no parameters [ 0.216797] NET: Registered protocol family 16 [ 0.221586] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.226729] cpuidle: using governor ladder [ 0.226754] cpuidle: using governor menu [ 0.235690] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered [ 0.239148] platform 49000000.edma: alias fck already exists [ 0.239270] platform 49000000.edma: alias fck already exists [ 0.239291] platform 49000000.edma: alias fck already exists [ 0.243113] OMAP GPIO hardware version 0.1 [ 0.275936] No ATAGs? [ 0.275960] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.332221] bio: create slab <bio-0> at 0 [ 0.367019] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver [ 0.369170] vbat: 5000 mV [ 0.371234] vmmcsd_fixed: 3300 mV [ 0.372445] wlan-en-regulator: 1800 mV [ 0.377481] i2c-core: driver [palmas] using legacy suspend method [ 0.377499] i2c-core: driver [palmas] using legacy resume method [ 0.378855] SCSI subsystem initialized [ 0.381126] usbcore: registered new interface driver usbfs [ 0.381521] usbcore: registered new interface driver hub [ 0.382188] usbcore: registered new device driver usb [ 0.384313] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe [ 0.384353] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral [ 0.390448] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.395063] Switched to clocksource timer1 [ 0.532198] NET: Registered protocol family 2 [ 0.533887] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.534055] TCP bind hash table entries: 4096 (order: 5, 147456 bytes) [ 0.535418] TCP: Hash tables configured (established 4096 bind 4096) [ 0.535604] TCP: reno registered [ 0.535630] UDP hash table entries: 256 (order: 2, 20480 bytes) [ 0.535803] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes) [ 0.536752] NET: Registered protocol family 1 [ 0.538013] RPC: Registered named UNIX socket transport module. [ 0.538032] RPC: Registered udp transport module. [ 0.538041] RPC: Registered tcp transport module. [ 0.538049] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.539125] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available [ 0.547067] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.679188] VFS: Disk quotas dquot_6.5.2 [ 0.679383] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.681135] NFS: Registering the id_resolver key type [ 0.681468] Key type id_resolver registered [ 0.681484] Key type id_legacy registered [ 0.681591] jffs2: version 2.2. (NAND) (SUMMARY) � 2001-2006 Red Hat, Inc. [ 0.681959] msgmni has been set to 982 [ 0.684645] io scheduler noop registered [ 0.684666] io scheduler deadline registered [ 0.684731] io scheduler cfq registered (default) [ 0.688077] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 0.693477] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.700593] omap_uart 44e09000.serial: no wakeirq for uart0 [ 0.701173] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0 [ 1.357407] console [ttyO0] enabled [ 1.362973] omap_uart 481a8000.serial: no wakeirq for uart0 [ 1.368711] 481a8000.serial: ttyO4 at MMIO 0x481a8000 (irq = 61, base_baud = 3000000) is a OMAP UART4 [ 1.381694] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20 [ 1.416692] brd: module loaded [ 1.436046] loop: module loaded [ 1.439578] (stk) :sysfs entries created [ 1.443503] (stk) : debugfs entries created [ 1.448553] (hci_tty): inside hci_tty_init [ 1.453877] (hci_tty): allocated 251, 0 [ 1.463340] mtdoops: mtd device (mtddev=name/number) must be supplied [ 1.486767] usbcore: registered new interface driver asix [ 1.492401] usbcore: registered new interface driver ax88179_178a [ 1.499383] usbcore: registered new interface driver cdc_ether [ 1.505595] usbcore: registered new interface driver smsc95xx [ 1.511543] usbcore: registered new interface driver net1080 [ 1.517689] usbcore: registered new interface driver cdc_subset [ 1.523782] usbcore: registered new interface driver zaurus [ 1.529728] usbcore: registered new interface driver cdc_ncm [ 1.537274] usbcore: registered new interface driver cdc_wdm [ 1.543224] usbcore: registered new interface driver usb-storage [ 1.549638] usbcore: registered new interface driver usbtest [ 1.558333] mousedev: PS/2 mouse device common for all mice [ 1.568680] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0 [ 1.577005] i2c /dev entries driver [ 1.580741] Driver for 1-wire Dallas network protocol. [ 1.590654] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 1.712809] mmc0: host does not support reading read-only switch. assuming write-enable. [ 1.722945] mmc0: new high speed SDHC card at address aaaa [ 1.730807] mmcblk0: mmc0:aaaa SU32G 29.7 GiB [ 1.740219] mmcblk0: p1 p2 [ 1.789412] mmc1: BKOPS_EN bit is not set [ 1.800707] mmc1: new high speed MMC card at address 0001 [ 1.808442] ledtrig-cpu: registered to indicate activity on CPUs [ 1.814539] mmcblk1: mmc1:0001 MMC04G 3.65 GiB [ 1.820113] mmcblk1boot0: mmc1:0001 MMC04G partition 1 1.00 MiB [ 1.827086] usbcore: registered new interface driver usbhid [ 1.832494] usbhid: USB HID core driver [ 1.837010] mmcblk1boot1: mmc1:0001 MMC04G partition 2 1.00 MiB [ 1.844950] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral [ 1.852962] mmcblk1: p1 [ 1.861787] oprofile: using arm/armv7 [ 1.866148] TCP: cubic registered [ 1.869374] Initializing XFRM netlink socket [ 1.873601] NET: Registered protocol family 17 [ 1.878198] NET: Registered protocol family 15 [ 1.882802] Key type dns_resolver registered [ 1.887857] mmcblk1boot1: unknown partition table [ 1.896106] PM: bootloader does not support rtc-only! [ 1.901029] ThumbEE CPU extension supported. [ 1.905383] Registering SWP/SWPB emulation handler [ 1.910034] SmartReflex Class3 initialized [ 1.917048] mmcblk1boot0: unknown partition table [ 1.925966] vbat: disabling [ 1.928696] regulator-dummy: disabling [ 1.938803] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range [ 1.955104] DCDC1: at 1350 mV [ 1.960711] vdd_mpu: 925 <--> 1375 mV at 1325 mV [ 1.967688] vdd_core: 925 <--> 1150 mV at 1125 mV [ 1.974453] LDO1: at 1800 mV [ 1.979966] LDO2: at 3300 mV [ 1.984825] mmc2: queuing unknown CIS tuple 0x91 (3 bytes) [ 1.992582] LDO3: 1800 mV [ 1.996877] mmc2: new high speed SDIO card at address 0001 [ 2.008025] LDO4: at 3300 mV [ 2.013296] tps65217 0-0024: TPS65217 ID 0xe version 1.2 [ 2.018720] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 2.025429] remoteproc0: wkup_m3 is available [ 2.029750] remoteproc0: Note: remoteproc is still under development and considered experimental. [ 2.038483] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed. [ 2.049991] remoteproc0: Direct firmware load failed with error -2 [ 2.056160] remoteproc0: Falling back to user helper [ 2.125061] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6 [ 2.130990] davinci_mdio 4a101000.mdio: detected phy mask fffffffc [ 2.140325] libphy: 4a101000.mdio: probed [ 2.144235] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown [ 2.152092] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver unknown [ 2.161416] cpsw 4a100000.ethernet: Detected MACID = 7c:66:9d:1d:af:c6 [ 2.172577] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801) [ 2.181118] sr_init: No PMIC hook to init smartreflex [ 2.187049] sr_init: platform driver register failed for SR [ 2.216242] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [ 2.223350] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [ 2.964339] EXT4-fs (mmcblk0p2): recovery complete [ 2.974414] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 2.982498] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 2.991503] devtmpfs: mounted [ 2.994945] Freeing unused kernel memory: 400K (c07c4000 - c0828000) Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory [ 3.337311] random: init urandom read with 73 bits of entropy available [ 3.621113] init: plymouth-upstart-bridge main process (715) terminated with status 1 [ 3.639479] init: plymouth-upstart-bridge main process ended, respawning [ 3.774471] init: plymouth-upstart-bridge main process (725) terminated with status 1 [ 3.782418] init: plymouth-upstart-bridge main process ended, respawning [ 3.793074] init: ureadahead main process (718) terminated with status 5 [ 3.896118] init: plymouth-upstart-bridge main process (728) terminated with status 1 [ 3.903819] init: plymouth-upstart-bridge main process ended, respawning [ 6.817791] remoteproc0: failed to load am335x-pm-firmware.elf [ 6.871239] remoteproc0: request_firmware failed: -2 [ 6.876339] wkup_m3 44d00000.wkup_m3: rproc_boot failed [ 8.165474] (stk) :ldisc installation timeout[ 9.165197] (stk) : timed out waiting for ldisc to be un-installed [ 10.275290] (stk) :ldisc installation timeout [ 11.275227] (stk) : timed out waiting for ldisc to be un-installed * Stopping Send an event to indicate plymouth is up [ OK ] * Starting Mount filesystems on boot [ OK ] * Starting Fix-up /sys/kernel/debug filesystem [ OK ] * Stopping Fix-up /sys/kernel/debug filesystem [ OK ] * Starting Populate and link to /run filesystem [ OK ] * Stopping Populate and link to /run filesystem [ OK ] * Stopping Track if upstart is running in a container [ OK ] * Starting Initialize or finalize resolvconf [ OK ] * Starting set console keymap [ OK ] * Starting Signal sysvinit that virtual filesystems are mounted [ OK ] * Starting Signal sysvinit that virtual filesystems are mounted [ OK ] * Stopping set console keymap [ OK ] * Starting Signal sysvinit that remote filesystems are mounted [ OK ] * Starting Bridge udev events into upstart [ OK ] * Starting device node and kernel event manager [ OK ] * Starting load modules from /etc/modules [ OK ] * Starting cold plug devices [ OK ] * Starting log initial device creation [ OK ] * Stopping load modules from /etc/modules [ OK ] * Starting configure network device security [ OK ] * Starting Signal sysvinit that the rootfs is mounted [ OK ] * Stopping cold plug devices [ OK ] * Stopping log initial device creation [ OK ] * Starting configure network device security [ OK ] * Starting set console font [ OK ] * Stopping set console font [ OK ] * Starting userspace bootsplash [ OK ] * Stopping userspace bootsplash [ OK ] * Starting Mount network filesystems [ OK ] * Starting Send an event to indicate plymouth is up [ OK ] (stk) :ldisc installation timeout * Starting Clean /tmp directory [ OK ] * Stopping Clean /tmp directory [ OK ] * Stopping Send an event to indicate plymouth is up [ OK ] * Stopping Mount network filesystems [ OK ] [ 13.385384] (stk) : timed out waiting for ldisc to be un-installed Waiting for network configuration... Waiting up to 60 more seconds for network configuration... Booting system without full network configuration... * Starting Signal sysvinit that local filesystems are mounted [ OK ] * Starting configure network device security [ OK ] * Stopping Mount filesystems on boot [ OK ] * Starting Failsafe Boot Delay [ OK ] * Starting flush early job output to logs [ OK ] * Starting configure network device [ OK ] (stk) :ldisc installation timeout * Starting D-Bus system message bus [ OK ] * Stopping flush early job output to logs [ OK ] * Stopping Failsafe Boot Delay [ OK ] * Starting system logging daemon [ OK ] (stk) : timed out waiting for ldisc to be un-installed * Starting System V initialisation compatibility [ OK ] * Starting configure virtual network devices [ OK ] * Starting mDNS/DNS-SD daemon [ OK ] * Starting Reload cups, upon starting avahi-daemon to make sure remote q[ OK ]are populated * Stopping System V initialisation compatibility [ OK ] (stk) :ldisc installation timeout * Starting Reload cups, upon starting avahi-daemon to make sure remote q[fail]are populated [ 17.605157] (stk) : timed out waiting for ldisc to be un-installed * Starting System V runlevel compatibility [ OK ] * Starting save kernel messages [ OK ] * Starting OpenSSH server [ OK ] * Starting ACPI daemon [ OK ] * Starting regular background program processing daemon [ OK ] * Stopping save kernel messages [ OK ] * Loading cpufreq kernel modules... (stk) :ldisc installation timeout [ OK ] * disabled, governor not available... * Starting Bridge file events into upstart [ OK ] * CPUFreq Utilities: Setting ondemand CPUFreq governor... * Starting Bridge socket events into upstart [ OK ] (stk) : timed out waiting for ldisc to be un-installed [ 19.721750] Bluetooth: st_register failed -22 [ OK ] udhcpd: Disabled. Edit /etc/default/udhcpd to enable it. AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message * * Stopping System V runlevel compatibility [ OK ] Ubuntu 14.04.1 LTS arm ttyO0 default username:password is [ubuntu:temppwd] arm login: ubuntu Password: Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.14.26-gb9df364-dirty armv7l) * Documentation: https://help.ubuntu.com/ The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@arm:~$ lsmod Module Size Used by wl18xx 80483 0 wlcore 176264 2 wl18xx mac80211 454728 2 wl18xx,wlcore cfg80211 414003 3 mac80211,wl18xx,wlcore wlcore_sdio 4139 0 btwilink 3883 0 bluetooth 262665 2 btwilink 6lowpan_iphc 6286 1 bluetooth ubuntu@arm:~$ ifconfig eth0 Link encap:Ethernet HWaddr 7c:66:9d:1d:af:c6 UP 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) Interrupt:56 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 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) ubuntu@arm:~$
Thanks for any help & pointers you can provide!
Cheers
-Patrick