It seems that the file include/linux/of.h gets modified during the kernel
configuration process. If after configuring the kernel I change the
problem functions to be static inline, the 4.1 kernel builds fine for the
am335x.
$(SED) 's/int of_changeset_add_property_copy(/static inline int
of_changeset_add_property_copy(/' $(@D)/include/linux/of.h
$(SED) 's/int of_changeset_add_property_string(/static inline int
of_changeset_add_property_string(/' $(@D)/include/linux/of.h
$(SED) 's/int of_changeset_add_property_string_list(/static inline
int of_changeset_add_property_string_list(/' $(@D)/include/linux/of.h
$(SED) 's/int of_changeset_add_property_u32(/static inline int
of_changeset_add_property_u32(/' $(@D)/include/linux/of.h
$(SED) 's/int of_changeset_add_property_bool(/static inline int
of_changeset_add_property_bool(/' $(@D)/include/linux/of.h
On Friday, July 3, 2015 at 11:26:53 PM UTC-5, William Hermans wrote:
>
> Have you read this yet ?
> http://inspire.logicsupply.com/2014/07/beaglebone-wifi-installation.html
>
> Comments I've read in the past indicate that problem related to this wifi
> adapter range from non working drivers for distro's other than Angstrom (
> until you compile your own ), and USB power not being enough when using one
> of these adapters.
>
> The link above recommends a 2A barrel jack power supply. But please do
> read for yourself if you have not yet.
>
> On Fri, Jul 3, 2015 at 8:54 PM, <[email protected] <javascript:>> wrote:
>
>> Found a mistake in my info below, I copied a testing
>> /etc/network/interfaces file, here is the real one:
>>
>> =========================================================================
>> root@bbb-greenbox2:/etc/network# cat interfaces
>> # This file describes the network interfaces available on your system
>> # and how to activate them. For more information, see interfaces(5).
>>
>> # The loopback network interface
>> auto lo
>> iface lo inet loopback
>>
>> # The primary network interface
>> # auto eth0
>> #iface eth0 inet dhcp
>> # Example to keep MAC address between reboots
>> #hwaddress ether DE:AD:BE:EF:CA:FE
>>
>> # The secondary network interface
>> #auto eth1
>> #iface eth1 inet dhcp
>>
>> auto ra0
>> iface ra0 inet dhcp
>> wireless-essid any
>> wireless-mode managed
>> wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
>>
>> # WiFi Example
>> #auto wlan0
>> #iface wlan0 inet dhcp
>> # wpa-ssid "essid"
>> # wpa-psk "password"
>>
>> ======================================================================
>>
>> Quoting [email protected] <javascript:>:
>>
>> Hi all and happy 4th to my US colleagues.
>>>
>>> root@bbb-greenbox2:~# cat /etc/dogtag
>>> BeagleBoard.org Debian Image 2015-06-29
>>>
>>> root@bbb-greenbox2:~# uname -a
>>> Linux bbb-greenbox2 4.1.0-bone9 #1 Wed Jun 24 03:18:08 UTC 2015 armv7l
>>> GNU/Linux
>>>
>>> I'm trying to get a Logic Supply USB UWN200 WiFi adapter running on my
>>> BBB. I've installed the latest console testing image 4.1 Debian on a uSD
>>> card. Everything is working except when the request for a DHCP address is
>>> sent, no address is returned.
>>>
>>> root@bbb-greenbox2:~# ifup ra0
>>>
>>> Internet Systems Consortium DHCP Client 4.3.1
>>> Copyright 2004-2014 Internet Systems Consortium.
>>> All rights reserved.
>>> For info, please visit https://www.isc.org/software/dhcp/
>>>
>>> Listening on LPF/ra0/00:0c:43:00:00:38
>>> Sending on LPF/ra0/00:0c:43:00:00:38
>>> Sending on Socket/fallback
>>> DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 4
>>> DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 4
>>> DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 8
>>> DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 10
>>> DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 20
>>> DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 15
>>> No DHCPOFFERS received.
>>> No working leases in persistent database - sleeping.
>>> root@bbb-greenbox2:~#
>>>
>>>
>>> here are the contents of my /etc/network/interfaces file:
>>>
>>> =============================================================================
>>> root@bbb-greenbox2:~# cat /etc/network/interfaces
>>> # This file describes the network interfaces available on your system
>>> # and how to activate them. For more information, see interfaces(5).
>>>
>>> # The loopback network interface
>>> auto lo
>>> iface lo inet loopback
>>>
>>> # The primary network interface
>>> # auto eth0
>>> #iface eth0 inet dhcp
>>> # Example to keep MAC address between reboots
>>> #hwaddress ether DE:AD:BE:EF:CA:FE
>>>
>>> # The secondary network interface
>>> #auto eth1
>>> #iface eth1 inet dhcp
>>>
>>> auto ra0
>>> iface ra0 inet dhcp
>>> wpa-ssid "WORKSHOP"
>>> wpa-psk "xxxxxxxxxxxxxx"
>>>
>>>
>>> # WiFi Example
>>> #auto wlan0
>>> #iface wlan0 inet dhcp
>>> # wpa-ssid "essid"
>>> # wpa-psk "password"
>>> ======================================================================
>>>
>>>
>>>
>>> here are the contents of my /etc/wpa_supplicant/wpa_supplicant.conf file:
>>> the psk="xxxxxx" is set appropriately
>>>
>>> =============================================================================
>>> root@bbb-greenbox2:~# cat /etc/wpa_supplicant/wpa_supplicant.conf
>>> ctrl_interface=/var/run/wpa_supplicant GROUP=netdev
>>> ctrl_interface_group=0
>>> ap_scan=1
>>> update_config=1
>>> network={
>>> ssid="WORKSHOP"
>>> psk="xxxxxxxx"
>>> proto=RSN
>>> key_mgmt=WPA-PSK
>>> pairwise=CCMP TKIP
>>> group=CCMP TKIP WEP104 WEP40
>>> auth_alg=OPEN
>>> eap=TTLS PEAP TLS
>>> }
>>>
>>> ========================================================================
>>>
>>> Any ideas would certainly be appreciated in resolving this.
>>> I'm booting with the ethernet cable removed
>>>
>>> Thanks,
>>> Ross
>>>
>>>
>>>
>>> --
>>> For more options, visit http://beagleboard.org/discuss
>>> ---You received this message because you are subscribed to the Google
>>> Groups "BeagleBoard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected] <javascript:>.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---You received this message because you are subscribed to the Google
>> Groups "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.