Bootloader Beta
Moderators: adafruit_support_bill, adafruit

Re: Bootloader Beta

by darco on Sun Apr 19, 2009 12:33 am

I just added a new beta bootloader, build 804. You can now erase passwords without doing a reset. It also has more robust EEPROM reads and writes. I'd especially like to get feedback from people who own WRT54G access points, to see if this build alleviates their DHCP issues.

http://www.deepdarc.com/bootloader_v804.binary
User avatar
darco
 
Posts: 118
Joined: Wed Jun 04, 2008 7:54 pm
Location: Campbell, CA

Re: Bootloader Beta

by InsanePyros on Sun Apr 19, 2009 1:22 pm

I haven't had a chance to try out the new bootloader yet, but I do have a feature request: the ability to start stage2 using a sony controller. I actually wrote this into the bootloader myself, but through a long chain of confusing events I bricked my ybox by doing it. Haven't had a chance to try and fix it with my ttl cable yet, but if I can get it working again I'll gladly try out the new bootloader.
User avatar
InsanePyros
 
Posts: 11
Joined: Sat Mar 14, 2009 1:48 am

Re: Bootloader Beta

by darco on Sun Apr 19, 2009 1:52 pm

Have you just tried using autoboot? I personally just use autoboot and I usually have a way to disable autoboot from the widget itself if I need to get to the bootloader (usually something like http://ybox2/reboot?bootloader)
User avatar
darco
 
Posts: 118
Joined: Wed Jun 04, 2008 7:54 pm
Location: Campbell, CA

Re: Bootloader Beta

by InsanePyros on Sun Apr 19, 2009 6:09 pm

darco wrote:Have you just tried using autoboot? I personally just use autoboot and I usually have a way to disable autoboot from the widget itself if I need to get to the bootloader (usually something like http://ybox2/reboot?bootloader)

I meant for use during development. I was writing a program to control the led with a sony remote and I felt kind of silly standing up and pressing a button in order to try out a program entirely controlled with a remote. It really only took a couple lines of code but it wasn't a big deal either.
User avatar
InsanePyros
 
Posts: 11
Joined: Sat Mar 14, 2009 1:48 am

Re: Bootloader Beta

by abysmal on Mon Apr 20, 2009 4:42 pm

I haven't looked yet, but seeing that you posted a binary, are you going to update code in the SVN library as well??
User avatar
abysmal
 
Posts: 48
Joined: Sun Apr 12, 2009 11:52 pm
Location: Toronto Canada

Re: Bootloader Beta

by darco on Mon Apr 20, 2009 6:18 pm

Code is already updated on SVN. I updated SVN right before I posted the binary.
User avatar
darco
 
Posts: 118
Joined: Wed Jun 04, 2008 7:54 pm
Location: Campbell, CA

Re: Bootloader Beta

by abysmal on Tue Apr 21, 2009 9:12 am

Thanks Darco.. Did you see Harrison updated the network drivers on his site..
User avatar
abysmal
 
Posts: 48
Joined: Sun Apr 12, 2009 11:52 pm
Location: Toronto Canada

Re: Bootloader Beta

by abysmal on Thu Apr 23, 2009 7:51 pm

How can I get this onto my YBOX2 without a programming cable?

And without bricking it..

Abysmal
User avatar
abysmal
 
Posts: 48
Joined: Sun Apr 12, 2009 11:52 pm
Location: Toronto Canada

Re: Bootloader Beta

by darco on Thu Apr 23, 2009 8:17 pm

Instructions are in the first message on this thread.

If you are testing the WRT54G stuff, then keep in mind that you will need to use some other DHCP server to get the old bootloader booted first. After it is booted, you can then upload the new bootloader and go from there.

Keep in mind that my original disclaimer still applies. If you don't have a serial adapter, then installing this bootloader may not be the best idea. (I haven't had any problems, but that does necessarily n't mean that you won't)
User avatar
darco
 
Posts: 118
Joined: Wed Jun 04, 2008 7:54 pm
Location: Campbell, CA

Re: Bootloader Beta

by abysmal on Thu Apr 23, 2009 8:48 pm

darco wrote:Instructions are in the first message on this thread.

If you are testing the WRT54G stuff, then keep in mind that you will need to use some other DHCP server to get the old bootloader booted first. After it is booted, you can then upload the new bootloader and go from there.

Keep in mind that my original disclaimer still applies. If you don't have a serial adapter, then installing this bootloader may not be the best idea. (I haven't had any problems, but that does necessarily n't mean that you won't)



Sweet.. worked like a charm.. now I can test if i wired the led correct..

Yeah... all working..
User avatar
abysmal
 
Posts: 48
Joined: Sun Apr 12, 2009 11:52 pm
Location: Toronto Canada

Re: Bootloader Beta

by darco on Tue Apr 28, 2009 9:58 pm

So, just to be clear, you are saying that you are using a WRT54G, and with 804/806 bootloader you can successfully get a DHCP address?
User avatar
darco
 
Posts: 118
Joined: Wed Jun 04, 2008 7:54 pm
Location: Campbell, CA

Re: Bootloader Beta

by abysmal on Tue Apr 28, 2009 10:16 pm

darco wrote:So, just to be clear, you are saying that you are using a WRT54G, and with 804/806 bootloader you can successfully get a DHCP address?

no but I can plug in my wrt54g tommorow and try.. its not running stock firmware though.. i runn dd-wrt, would that matter?
User avatar
abysmal
 
Posts: 48
Joined: Sun Apr 12, 2009 11:52 pm
Location: Toronto Canada

Re: Bootloader Beta

by darco on Wed Apr 29, 2009 12:32 am

Yes, that would matter. But, nonetheless, it would be good to know if it ran from dd-wrt as well.
User avatar
darco
 
Posts: 118
Joined: Wed Jun 04, 2008 7:54 pm
Location: Campbell, CA

Re: Bootloader Beta

by presence on Sat May 02, 2009 10:13 pm

darco wrote:Yes, that would matter. But, nonetheless, it would be good to know if it ran from dd-wrt as well.

For what its worth, I originally had the stock YBox2 wired to a DD-WRT-converted Linksys WRT54G, but the router was set in "Bridge" mode. The DD-WRT box bridged the wireless from an Apple Airport Extreme NAT/DHCP router and provided the YBox2 wired ethernet. The YBox2 nabbed a DHCP address without any problems in THAT particular setup.

With the updated bootloader (1.01a806) on the YBox2, and my DD-WRT Linksys WRT54GS at work that does NAT/DCHP itself, the YBox2 easily grabs DHCP from the DD-WRT router.
User avatar
presence
 
Posts: 11
Joined: Wed Apr 29, 2009 8:37 pm
Location: Las Vegas, NV

Re: Bootloader Beta

by Coniferous on Fri May 08, 2009 10:25 pm

Just updated to bootloader v1.1a806. I used the Curl method and had no problems. Static IP works perfect.
User avatar
Coniferous
 
Posts: 50
Joined: Fri Jul 07, 2006 12:44 am