How to add new boot option on uboot?

by frodo1986 on Wed Nov 28, 2012 3:29 am

I followed this tutorial to setup wifi adapter for beaglebone (angstrom),
but when everything done, I input "reboot" and return. putty is stop and no reboot.
It's looks like this following problem.
This is a solution from this tutorial, but I do not know how to add boot option on U-Boot.

"
Tutorial link http://learn.adafruit.com/beaglebone/wifi
Troubleshooting
If you get an error device descriptor read/64, error -71, reboot and stop the boot process with the space bar. Then add the following boot option with the follow at the U-Boot prompt

setenv bootargs irqpoll RETURN

boot RETURN
"
frodo1986
 
Posts: 8
Joined: Wed Sep 12, 2012 12:06 am

Re: How to add new boot option on uboot?

by adafruit on Wed Nov 28, 2012 1:02 pm

sorry, not sure we understand, does it boot if you unplug the wifi adapter?
User avatar
adafruit
 
Posts: 11666
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: How to add new boot option on uboot?

by frodo1986 on Fri Nov 30, 2012 4:02 am

Thank you ,adafruit.
Beaglebone still disconnect after input "reboot" command even unplug the wifi adapter.
frodo1986
 
Posts: 8
Joined: Wed Sep 12, 2012 12:06 am

Re: How to add new boot option on uboot?

by frodo1986 on Fri Nov 30, 2012 4:28 am

I use putty, when reboot beaglebone, putty said "connection abort".
And then

First, I restarted putty and log in to beagle-bone again,

edited " /var/lib/connman/settings" wifi = true,

then edited " /var/lib/connman/wifi.config" likes following,
[service_home]
Type = wifi
Name = WIFI_NAME_HERE
Security = wpa2
Passphrase = WIFI_PASS_HERE

and then "root@beaglebone:~# systemctl restart connman.service"
after more than 40 seconds, input "ifconfig wlan0", it's still a lot of 0's and no inet addr(means wifi adapter dose not connect)
Please help me.
frodo1986
 
Posts: 8
Joined: Wed Sep 12, 2012 12:06 am

Re: How to add new boot option on uboot?

by adafruit on Fri Nov 30, 2012 11:13 am

check the name, password and password type - also get close to the router. try iwlist to list all networks available
User avatar
adafruit
 
Posts: 11666
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: How to add new boot option on uboot?

by frodo1986 on Sat Dec 01, 2012 7:26 pm

This is my wifi.config setting

[service_home]
Type = wifi
Name = "NETGEAR03"
Security = wpa2-psk
Passphrase = "slowcheese156"

I checked them couple times, all of the information are correct, but still can not use wifi adapter
frodo1986
 
Posts: 8
Joined: Wed Sep 12, 2012 12:06 am

Re: How to add new boot option on uboot?

by frodo1986 on Sat Dec 01, 2012 7:49 pm

This is wifi adapter's information(wlan0)
It seems not support WPA2-PSK
Image

But my router does not have WPA2 mode,
Image

Is that meaning I need change an old router or return wifi adapter?
frodo1986
 
Posts: 8
Joined: Wed Sep 12, 2012 12:06 am

Re: How to add new boot option on uboot?

by adafruit on Tue Dec 11, 2012 9:57 pm

well, we've never had anyone with this problem. you can return the wifi module for a refund by emailing support@adafruit if you dont think it works but we suggest trying a different non-adafruit wifi module as all the ones in the shop use the same chipset - you may want to try a different one from a different store.
User avatar
adafruit
 
Posts: 11666
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: How to add new boot option on uboot?

by frodo1986 on Sun Dec 16, 2012 5:00 am

I tried every Security type including wpa wpa2 wpa2-psk. Password and username are all correct.
"we've never had anyone with this problem"???
frodo1986
 
Posts: 8
Joined: Wed Sep 12, 2012 12:06 am

Re: How to add new boot option on uboot?

by adafruit on Mon Dec 24, 2012 12:34 pm

we can't reproduce this problem. you can return the wifi module for a refund by emailing support@adafruit if you dont think it works but we suggest trying a different non-adafruit wifi module as all the ones in the shop use the same chipset - you may want to try a different one from a different store.
User avatar
adafruit
 
Posts: 11666
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc