How to add new boot option on uboot?

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
frodo1986
 
Posts: 8
Joined: Wed Sep 12, 2012 1:06 am

How to add new boot option on uboot?

Post by frodo1986 »

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
"

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: How to add new boot option on uboot?

Post by adafruit »

sorry, not sure we understand, does it boot if you unplug the wifi adapter?

frodo1986
 
Posts: 8
Joined: Wed Sep 12, 2012 1:06 am

Re: How to add new boot option on uboot?

Post by frodo1986 »

Thank you ,adafruit.
Beaglebone still disconnect after input "reboot" command even unplug the wifi adapter.

frodo1986
 
Posts: 8
Joined: Wed Sep 12, 2012 1:06 am

Re: How to add new boot option on uboot?

Post by frodo1986 »

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.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: How to add new boot option on uboot?

Post by adafruit »

check the name, password and password type - also get close to the router. try iwlist to list all networks available

frodo1986
 
Posts: 8
Joined: Wed Sep 12, 2012 1:06 am

Re: How to add new boot option on uboot?

Post by frodo1986 »

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 1:06 am

Re: How to add new boot option on uboot?

Post by frodo1986 »

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?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: How to add new boot option on uboot?

Post by adafruit »

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.

frodo1986
 
Posts: 8
Joined: Wed Sep 12, 2012 1:06 am

Re: How to add new boot option on uboot?

Post by frodo1986 »

I tried every Security type including wpa wpa2 wpa2-psk. Password and username are all correct.
"we've never had anyone with this problem"???

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: How to add new boot option on uboot?

Post by adafruit »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “Beagle Bone & Adafruit Beagle Bone products”