Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Tue Sep 16, 2014 8:40 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Sun Mar 02, 2008 4:46 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
1. Anyone exact diffs between lspro U-Boot for v1 & v2 ?

Are the differences of real consequence just in the env vars?

[if this is the case, it would mean that someone who had mistakenly flash the v1 uboot to their v2 LSPro during a FreeLink install could just adjust their env vars...as long as the env var(s) in question had 16 or fewer arguments]

2. WIll a V2 Uboot in a V1 LSPro still provide normal operation?
(We know that the V1 Uboot in a V2 LSPro causes problems. What about the other way around? )



After building with the Buff109 sources a few times now, I just now notice that it yields a V2 Uboot, not a V1, it seems. Did jonli447 and company test that uboot that he built in a V1 or V2 box? ( my V1 doesn't have jtag headers on it, at least for now)

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
 Profile  
 
PostPosted: Sun Mar 02, 2008 4:56 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
When did V2s appear. Jon tested this UBoot a long time ago. JUL I think looking back on my e-mails.

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Sun Mar 02, 2008 5:19 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
Not sure when they appeared on the market ... I noticed the timestamps on the stock U-Boots:
V1
Code:
U-Boot 1.1.1 (Jun 12 2006 - 10:32:00) Marvell version: 1.10.8

V2
Code:
U-Boot 1.1.1 (Apr 18 2007 - 18:35:44) Marvell version: 1.12.1 - TINY


...and there must be some considerable time-lag between building the bootloader/OS and the things actually getting into the buyers' hands.

I'll go back and re-read the jtag on LSPro thread... I think someone (besides jonli) may have tested the one that jon built... that seems to be alluded to, but not sure the machine version is mentioned explicitly.

EDIT:
Jonli447 flashed his image of UBoot to his LS Pro on or perhaps shortly before May 10, 2007, it would appear from the posts in the thread. Since that is less than a month after the V2 UBoot was built by Buffalo (April18) I'd bet a small amount that he flashed it to a V1.

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
 Profile  
 
PostPosted: Sat Mar 29, 2008 2:58 am 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
OK, for kicks I tried it ... flashed the V2 stock uboot to a V1 machine and it will boot, but it misbehaves a bit ... it seems like one behavior is that changes to the env vars, important ones, like changing bootcmd, are not persistent.

There is some code in UBoot that switches these under certain conditions, and it is my guess that since something isn't quite a perfect match, it reverts these settings to the defaults.

No joy here, as this means that we likely can't use the newly patched V2 UBoot w/ Netconsole in the V1 machines (without further modification).

While this feels a bit disappointing, maybe it is not so bad as it gives a few of us a really good reason to go ahead and cut to the chase for a cleaner uboot.

Or we can try to get the Marvell version: 1.10.8 and patch them the same way that the Marvell 1.12.1 sources have been patched for Netconsole.

I tried this w/ my foonas lsarm system (LSProV1). It seems like since the stock settings are hardcoded in, it might work fine w/ stock firmware, but since I don't have an extra SATA hdd lying around, I didn't want to have to go and reinstall my foonas installation.

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
 Profile  
 
PostPosted: Tue Apr 22, 2008 3:21 am 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
for the record, I've had my netconsole-uboot in my LSProV1 for a little over a week, used it to install test builds of foonas 10 times or so and it seems to work great for me (thus far). There are some difference betweent the hardware, but at least for foonas, these are minor enough that they can be worked around with a few minor changes to the env vars. The exact same uboot is in my V2, as well.

I'd like to include some LSProV1-specific scripts (as executable env vars) in the next build of the netconsole uboot.

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
 Profile  
 
PostPosted: Tue Apr 22, 2008 8:46 am 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
How well tested now is the V1 UBoot? Have you now managed to get to a common source now for both the V1 and V2 hardware platforms?

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Tue Apr 22, 2008 12:46 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
Identical source ... it been tested by booting and reflashing ...

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
 Profile  
 
PostPosted: Wed Apr 23, 2008 12:17 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
Is this good to go then?

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Wed Apr 23, 2008 12:28 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
well, it still needs testing (always best to have independent confirmation that stuff works) ... http://buffalo.nas-central.org/index.ph ... e_commands pretty much sums it up ... there is a README in the tarball, and 2 images (really identical ... a smaller 240kb one & a full 256kb one [for jtag] ). The limitations are listed there, at the bottom ... and also the commands (a few different from the PPC uboot). Its in the dev/beta download section that mindbender set up.

I know it works fine for me, but a 2nd (or 3rd, or 4th :) ) pair of eyes may spot something I've missed...

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
 Profile  
 
PostPosted: Wed Apr 23, 2008 12:32 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
tar. I will give it a go then :)

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Wed Apr 23, 2008 1:26 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
done ;) link is in my above post ... I think I was editting as you posted your message above ... if you have a v1, you may have to change the bootcmd to look for 1:1 instead of 0:1 ... also, if you have a v1 you should either send a keep-alive via micon or make sure it can find the initrd ...

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
 Profile  
 
PostPosted: Thu Apr 24, 2008 12:08 pm 
Offline
Site Admin
User avatar

Joined: Tue Jul 12, 2005 11:26 am
Posts: 3701
Location: JAPAN
Was a keep alive added to V2 then? I would have modified UBoot so that it disabled the watchdog until the boot has started. Can we change this? I can tell you what to set if so.

_________________
LS used as PVR and streaming source


Top
 Profile  
 
PostPosted: Thu Apr 24, 2008 12:27 pm 
Offline
Site Admin
User avatar

Joined: Mon Aug 28, 2006 1:15 am
Posts: 2606
lb_worm wrote:
Was a keep alive added to V2 then? I would have modified UBoot so that it disabled the watchdog until the boot has started. Can we change this? I can tell you what to set if so.


Well, the micon command set is there now in the V2 uboot... I'm game to try to change it. :) bbradley and I had talked about it, and he'd made some suggestions, but I was unsure of how and where...

EDIT:

here is the micon command in uboot, as it appears in a snippet from the help output in uboot:
Code:
...
md      - memory display
micon -command(2byte hex) -data(witin 32byte hex)
mm      - memory modify (auto-incrementing)
...

_________________
LS1 (foonas, nfs, Tranmission & p910nd print server, Firefly for my Roku)
LS-HG500 (Lenny)
Various LS-Pros v1,v2 (unbricked w/ serial & jtag)
KuroPro, LS2 & KuroHG (foonas)
Working on davysweather.dyndns.org lately...

=> wooohooo!
wooohooo!
Unknown command 'wooohooo!' - try 'help'


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Protected by Anti-Spam ACP
Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group