[Nook Color Android Development] fattire:
Some progress...

Hey, sorry I was out for a few hours...

Tried the 1113 byte one...

logcat:

D/CommandListener( 98): multicast flag ignored

D/wpa_supplicant( 504): wpa_supplicant v0.8.x

D/wpa_supplicant( 504): Initializing interface 'wlan0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'

D/wpa_supplicant( 504): Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'

D/wpa_supplicant( 504): Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'

D/wpa_supplicant( 504): update_config=1

D/wpa_supplicant( 504): ctrl_interface='wlan0'

D/wpa_supplicant( 504): ap_scan=1

D/wpa_supplicant( 504): fast_reauth=1

D/wpa_supplicant( 504): nl80211: interface wlan0 in phy phy0

I/wpa_supplicant( 504): rfkill: Cannot open RFKILL control device

D/wpa_supplicant( 504): nl80211: RFKILL status not available

D/wpa_supplicant( 504): nl80211: Set mode ifindex 3 iftype 2 (STATION)

dmesg:

<6>wl12xx: open_count=0, add=1, current_fw=0

<6>wl12xx: state: 0

<3>wl12xx: ERROR nvs size is not as expected: 1113 != 912

<3>wl12xx: ERROR nvs size is not as expected: 1113 != 912

<3>wl12xx: ERROR nvs size is not as expected: 1113 != 912

<3>wl12xx: ERROR firmware boot failed despite 3 retries

Yeah, we want 912 as you pointed out. So I renamed the wl127x-nvs.bin in this repo to wl1271-nvs.bin...

logcat:

I/SystemServer( 161): SamplingProfiler Service

I/wpa_supplicant( 235): wpa_driver_nl80211_driver_cmd: Unsupported command RXFILTER-STOP

I/wpa_supplicant( 235): wpa_driver_nl80211_driver_cmd: Unsupported command RXFILTER-REMOVE 2

I/wpa_supplicant( 235): wpa_driver_nl80211_driver_cmd: Unsupported command RXFILTER-START

I/wpa_supplicant( 235): wpa_driver_nl80211_driver_cmd: Unsupported command SETBAND 0

I/wpa_supplicant( 235): wpa_driver_nl80211_driver_cmd: Unsupported command SCAN-ACTIVE

D/wpa_supplicant( 235): WPS: Building WPS IE for Probe Request

D/wpa_supplicant( 235): WPS: * Version (hardcoded 0x10)

D/wpa_supplicant( 235): WPS: * Request Type

D/wpa_supplicant( 235): WPS: * Config Methods (2388)

D/wpa_supplicant( 235): WPS: * UUID-E

D/wpa_supplicant( 235): WPS: * Primary Device Type

D/wpa_supplicant( 235): WPS: * RF Bands (3)

D/wpa_supplicant( 235): WPS: * Association State

D/wpa_supplicant( 235): WPS: * Configuration Error (0)

D/wpa_supplicant( 235): WPS: * Device Password ID (0)

D/wpa_supplicant( 235): WPS: * Manufacturer

D/wpa_supplicant( 235): WPS: * Model Name

D/wpa_supplicant( 235): WPS: * Model Number

D/wpa_supplicant( 235): WPS: * Device Name

D/wpa_supplicant( 235): WPS: * Version2 (0x20)

D/wpa_supplicant( 235): P2P: * P2P IE header

D/wpa_supplicant( 235): P2P: * Capability dev=23 group=00

D/wpa_supplicant( 235): P2P: * Listen Channel: Regulatory Class 81 Channel 11

Better! But it still got scanning errors:

D/wpa_supplicant( 235): Scan requested (ret=0) - scan timeout 30 seconds

D/wpa_supplicant( 235): nl80211: Event message available

D/wpa_supplicant( 235): nl80211: Scan trigger

I/wpa_supplicant( 235): wpa_driver_nl80211_driver_cmd: Unsupported command SCAN-PASSIVE

D/CommandListener( 98): Clearing all IP addresses on wlan0

D/ConnectivityService( 161): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED

D/ConnectivityService( 161): Attempting to switch to BLUETOOTH_TETHER

This also killed bluetooth.

So then I tried going back to the first repo, and noticed there was a 912 byte file..

renamed it: wl1271-nvs_127x.bin -> wl1271-nvs.bin

And got this in logcat:

D/wpa_supplicant( 236): Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'

D/wpa_supplicant( 236): Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'

D/wpa_supplicant( 236): update_config=1

D/wpa_supplicant( 236): ctrl_interface='wlan0'

D/wpa_supplicant( 236): ap_scan=1

D/wpa_supplicant( 236): fast_reauth=1

D/wpa_supplicant( 236): nl80211: interface wlan0 in phy phy0

I/wpa_supplicant( 236): rfkill: Cannot open RFKILL control device

D/wpa_supplicant( 236): nl80211: RFKILL status not available

D/wpa_supplicant( 236): nl80211: Set mode ifindex 3 iftype 2 (STATION)

D/wpa_supplicant( 236): netlink: Operstate: linkmode=1, operstate=5

D/wpa_supplicant( 236): nl80211: Using driver-based off-channel TX

D/wpa_supplicant( 236): nl80211: driver param='(null)'

D/wpa_supplicant( 236): wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0

D/wpa_supplicant( 236): wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0

D/wpa_supplicant( 236): wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0

D/wpa_supplicant( 236): wpa_driver_nl80211_set_key: ifindex=3 alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0

D/wpa_supplicant( 236): nl80211: Flush PMKIDs

D/wpa_supplicant( 236): WPS: Set UUID for interface wlan0

D/wpa_supplicant( 236): EAPOL: SUPP_PAE entering state DISCONNECTED

D/wpa_supplicant( 236): EAPOL: Supplicant port status: Unauthorized

D/wpa_supplicant( 236): EAPOL: KEY_RX entering state NO_KEY_RECEIVE

D/wpa_supplicant( 236): EAPOL: SUPP_BE entering state INITIALIZE

D/wpa_supplicant( 236): EAP: EAP entering state DISABLED

D/wpa_supplicant( 236): EAPOL: Supplicant port status: Unauthorized

D/wpa_supplicant( 236): EAPOL: Supplicant port status: Unauthorized

D/wpa_supplicant( 236): P2P: Own listen channel: 1

D/wpa_supplicant( 236): P2P: Random operating channel: 81:6

D/wpa_supplicant( 236): nl80211: Regulatory information - country=00

D/wpa_supplicant( 236): nl80211: 2402-2472 @ 40 MHz

D/wpa_supplicant( 236): nl80211: 2457-2482 @ 20 MHz

D/wpa_supplicant( 236): nl80211: 2474-2494 @ 20 MHz

D/wpa_supplicant( 236): nl80211: 5170-5250 @ 40 MHz

D/wpa_supplicant( 236): nl80211: 5735-5835 @ 40 MHz

D/wpa_supplicant( 236): nl80211: Added 802.11b mode based on 802.11g information

D/wpa_supplicant( 236): P2P: Add operating class 81

D/wpa_supplicant( 236): RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])

D/wpa_supplicant( 236): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added

D/wpa_supplicant( 236): RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])

D/wpa_supplicant( 236): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added

E/WifiConfigStore( 164): Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)

I/wpa_supplicant( 236): wpa_driver_nl80211_driver_cmd: Unsupported command BTCOEXSCAN-STOP

I/wpa_supplicant( 236): wpa_driver_nl80211_driver_cmd: Unsupported command RXFILTER-ADD 3

I/wpa_supplicant( 236): wpa_driver_nl80211_driver_cmd: Unsupported command RXFILTER-START

I/wpa_supplicant( 236): wpa_driver_nl80211_driver_cmd: Unsupported command RXFILTER-STOP

I/wpa_supplicant( 236): wpa_driver_nl80211_driver_cmd: Unsupported command RXFILTER-REMOVE 2

I/wpa_supplicant( 236): wpa_driver_nl80211_driver_cmd: Unsupported command RXFILTER-START

D/dalvikvm( 164): GC_CONCURRENT freed 554K, 15% free 5743K/6723K, paused 3ms+4ms

I/wpa_supplicant( 236): wpa_driver_nl80211_driver_cmd: Unsupported command SETBAND 0

I/wpa_supplicant( 236): wpa_driver_nl80211_driver_cmd: Unsupported command SCAN-ACTIVE

D/wpa_supplicant( 236): WPS: Building WPS IE for Probe Request

D/wpa_supplicant( 236): WPS: * Version (hardcoded 0x10)

D/wpa_supplicant( 236): WPS: * Request Type

D/wpa_supplicant( 236): WPS: * Config Methods (2388)

D/wpa_supplicant( 236): WPS: * UUID-E

D/wpa_supplicant( 236): WPS: * Primary Device Type

D/wpa_supplicant( 236): WPS: * RF Bands (3)

D/wpa_supplicant( 236): WPS: * Association State

D/wpa_supplicant( 236): WPS: * Configuration Error (0)

D/wpa_supplicant( 236): WPS: * Device Password ID (0)

D/wpa_supplicant( 236): WPS: * Manufacturer

D/wpa_supplicant( 236): WPS: * Model Name

D/wpa_supplicant( 236): WPS: * Model Number

D/wpa_supplicant( 236): WPS: * Device Name

D/wpa_supplicant( 236): WPS: * Version2 (0x20)

D/wpa_supplicant( 236): P2P: * P2P IE header

D/wpa_supplicant( 236): P2P: * Capability dev=23 group=00

D/wpa_supplicant( 236): P2P: * Listen Channel: Regulatory Class 81 Channel 1

That's got... stuff! dmesg looks even better:

<6>wl12xx: open_count=0, add=1, current_fw=0

<6>wl12xx: state: 0

<6>wl12xx: firmware booted (Rev 6.3.8.0.111)

<6>ADDRCONF(NETDEV_UP): wlan0: link is not ready

...followed y some really weird scan info which I'll abbreviate, cuz i don't know what it means..

it looked like this:

<7>wl12xx: SCAN: 000001c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<7>wl12xx: SCAN: 000001d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<7>wl12xx: SCAN: 000001e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<7>wl12xx: SCAN: 000001f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

<7>wl12xx: SCAN: 00000200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

# netcfg

lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00

sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00

wlan0 UP 0.0.0.0/0 0x00001003 xx:xx:xx:xx:xx:xx [modified]

wpa_cli is showing it's trying to scan... ALMOST.

<3>CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00:00:00:00:00:00

<3>CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:00:00:00:00:00

<3>CTRL-EVENT-SCAN-RESULTS

but not coming up with anything. I tried rming /data/misc/wifi on a hunch, but it still gave me:

D/wpa_supplicant( 234): Scan requested (ret=0) - scan timeout 30 seconds

D/wpa_supplicant( 234): nl80211: Event message available

D/wpa_supplicant( 234): nl80211: Scan trigger

I/wpa_supplicant( 234): wpa_driver_nl80211_driver_cmd: Unsupported command SCAN-PASSIVE

D/wpa_supplicant( 234): nl80211: Event message available

D/wpa_supplicant( 234): nl80211: New scan results available

I guess i'll try making my own calibration for the fun of it and will report back...