All of lore.kernel.org
 help / color / mirror / Atom feed
* Flashing of an Ultra2?
@ 2005-07-09 18:45 Ulrich Teichert
  2005-07-09 20:24 ` Baurzhan Ismagulov
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Ulrich Teichert @ 2005-07-09 18:45 UTC (permalink / raw)
  To: sparclinux

Hi,

I recently bought 2 300 Mhz UltraSparcII modules on Ebay to put into
my Ultra2. After setting the jumper, the box boots fine with the
CPUs and I am able to start the kernel (2.4.25, SMP).

However, I have to update the PROM, the CPUs are only running at
180 Mhz. OK, understandable, because SUN says 3.11.2 or later and
I have 3.1.5. So, I tried to netboot the flash binary (I have no
Solaris) after I popped in the old CPUs:

Sun Ultra 2 UPA/SBus (2 X UltraSPARC 168MHz), No Keyboard
OpenBoot 3.1.5, 384 MB memory installed, Serial #8585685.
Ethernet address 8:0:20:83:1:d5, Host ID: 808301d5.
                                                                      
{0} ok boot net flash-update-Ultra2-09
Boot device: /sbus/SUNW,hme@e,8c00000  File and args: flash-update-Ultra2-09
Using Onboard Transceiver - Link Up. 
d3000 
Server  IP address: 192.168.22.1 
Client  IP address: 192.168.22.27 
Fast Instruction Access MMU Miss

Ugh. I tried this in various ways, but never succeeded. But after unpacking
104169-08.tar.Z, I ended up with this directory:

arbas:~/hardware/sun/firmware/104169-08> ls
802-3233-20.ps*              flash-update-Ultra2-05*
README.104169-08             flash-update-Ultra2-06*
flash-update-Ultra2-01*      flash-update-Ultra2-07*
flash-update-Ultra2-02*      flash-update-Ultra2-08*
flash-update-Ultra2-03*      flash-update-Ultra2-09*
flash-update-Ultra2-04*      flash-update-Ultra2-latest@

So, the binary in question is flash-update-Ultra2-09, or what?

Now, more questions: would it be possible to use the PROM flashing module
from Linux? I can load the necessary modules just fine:

Module                  Size  Used by    Not tainted
flash                   2304   0  (unused)
openpromfs             12864   1 
openprom                5140   0  (unused)
vfat                   11600   0  (unused)
nfsd                   76472   0  (unused)
msdos                   6056   0  (unused)
fat                    37480   0  [vfat msdos]
lp                      8616   0  (unused)
parport                35664   0  [lp]
nbd                    21392   0  (unused)

Or should I first upgrade the kernel? 2.4.25 is pretty old.
And what would be the magic lines to start the flashing? How should
I prepare the data for flashing?

Thanks a lot for any pointer,
Uli
-- 
Dipl. Inf. Ulrich Teichert|e-mail: Ulrich.Teichert@gmx.de
Stormweg 24               |listening to: Suicide Drive (The Deep Eynde)
24539 Neumuenster, Germany|Public Pervert (Interpol) Cauchemar (Opération S)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Flashing of an Ultra2?
  2005-07-09 18:45 Flashing of an Ultra2? Ulrich Teichert
@ 2005-07-09 20:24 ` Baurzhan Ismagulov
  2005-07-09 23:17 ` Ulrich Teichert
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Baurzhan Ismagulov @ 2005-07-09 20:24 UTC (permalink / raw)
  To: sparclinux

Hello Ulrich,

On Sat, Jul 09, 2005 at 08:45:58PM +0200, Ulrich Teichert wrote:
> So, the binary in question is flash-update-Ultra2-09, or what?

Seems so, if you want the latest revision.


> Now, more questions: would it be possible to use the PROM flashing module
> from Linux?

I would try creating a partition with a ufs filesystem, copying the
binary to that filesystem and booting from that partition.


With kind regards,
Baurzhan.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Flashing of an Ultra2?
  2005-07-09 18:45 Flashing of an Ultra2? Ulrich Teichert
  2005-07-09 20:24 ` Baurzhan Ismagulov
@ 2005-07-09 23:17 ` Ulrich Teichert
  2005-07-10  2:35 ` Morey Roof
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Ulrich Teichert @ 2005-07-09 23:17 UTC (permalink / raw)
  To: sparclinux

Hi Baurzhan,

[del]
>> Now, more questions: would it be possible to use the PROM flashing module
>> from Linux?
>
>I would try creating a partition with a ufs filesystem, copying the
>binary to that filesystem and booting from that partition.
[del]

Why should the outcome differ from booting the same file from the network?
Anyway, I'll try it out tomorrow,

CU,
Uli
-- 
Dipl. Inf. Ulrich Teichert|e-mail: Ulrich.Teichert@gmx.de
Stormweg 24               |listening to: Suicide Drive (The Deep Eynde)
24539 Neumuenster, Germany|Public Pervert (Interpol) Cauchemar (Opération S)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Flashing of an Ultra2?
  2005-07-09 18:45 Flashing of an Ultra2? Ulrich Teichert
  2005-07-09 20:24 ` Baurzhan Ismagulov
  2005-07-09 23:17 ` Ulrich Teichert
@ 2005-07-10  2:35 ` Morey Roof
  2005-07-10 17:45 ` Ulrich Teichert
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Morey Roof @ 2005-07-10  2:35 UTC (permalink / raw)
  To: sparclinux

I had the same problem and tried about everything I could think of to
work around it, but I couldn't get it to work over the network.  So,
the only way to do it was off of a ufs partition.  I have no idea why
it seems to only work there.

On 7/9/05, Ulrich Teichert <krypton@ulrich-teichert.org> wrote:
> Hi Baurzhan,
> 
> [del]
> >> Now, more questions: would it be possible to use the PROM flashing module
> >> from Linux?
> >
> >I would try creating a partition with a ufs filesystem, copying the
> >binary to that filesystem and booting from that partition.
> [del]
> 
> Why should the outcome differ from booting the same file from the network?
> Anyway, I'll try it out tomorrow,
> 
> CU,
> Uli
> --
> Dipl. Inf. Ulrich Teichert|e-mail: Ulrich.Teichert@gmx.de
> Stormweg 24               |listening to: Suicide Drive (The Deep Eynde)
> 24539 Neumuenster, Germany|Public Pervert (Interpol) Cauchemar (Opération S)
> -
> To unsubscribe from this list: send the line "unsubscribe sparclinux" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Flashing of an Ultra2?
  2005-07-09 18:45 Flashing of an Ultra2? Ulrich Teichert
                   ` (2 preceding siblings ...)
  2005-07-10  2:35 ` Morey Roof
@ 2005-07-10 17:45 ` Ulrich Teichert
  2005-07-11  8:29 ` Baurzhan Ismagulov
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Ulrich Teichert @ 2005-07-10 17:45 UTC (permalink / raw)
  To: sparclinux

Hi Baurzhan, Morey & all,

>I had the same problem and tried about everything I could think of to
>work around it, but I couldn't get it to work over the network.  So,
>the only way to do it was off of a ufs partition.  I have no idea why
>it seems to only work there.
[del]

You've been right. Only that I had to install Solaris just to get an UFS
filesystem where I could boot that file from. I just didn't found any
Linux UFS tools and thought that would be the quickest way of doing it -
I think that was my first and last Solaris install.....

Anyway, now my Ultra2 is happly running my new CPUs:

PROMLIB: Sun IEEE Boot Prom 3.25.0 1999/12/03 11:35
Linux version 2.4.25 (root@ceteol) (gcc version egcs-2.92.11 19980921 (gcc2 ss-980609 experimental)) #1 SMP Fri Feb 20 00:34:37 CET 2004
ARCH: SUN4U
Ethernet address: 08:00:20:83:01:d5
On node 0 totalpages: 48615
zone(0): 212898 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Found CPU 0 (nodeð065b90,mid=0)
Found CPU 1 (nodeð065efc,mid=1)
Found 2 CPU prom device tree node(s).
Kernel command line: root=/dev/sda4 ro
Calibrating delay loop... 591.46 BogoMIPS
Memory: 368888k available (1768k kernel code, 328k data, 360k init) [fffff80000000000,0000000067f44000]
Dentry cache hash table entries: 65536 (order: 7, 1048576 bytes)
Inode cache hash table entries: 32768 (order: 6, 524288 bytes)
Mount cache hash table entries: 512 (order: 0, 8192 bytes)
Buffer cache hash table entries: 16384 (order: 4, 131072 bytes)
Page-cache hash table entries: 65536 (order: 6, 524288 bytes)
POSIX conformance testing by UNIFIX
Entering UltraSMPenguin Mode...
Calibrating delay loop... 591.46 BogoMIPS
Total of 2 processors activated (1182.92 BogoMIPS).
CPU 1: synchronized TICK with master CPU (last diff -5 cycles,maxerr 522 cycles)
Waiting on wait_init_idle (map = 0x2)
All processors have done init_idle
....

:-))))

Thanks to all,

CU,
Uli
-- 
Dipl. Inf. Ulrich Teichert|e-mail: Ulrich.Teichert@gmx.de
Stormweg 24               |listening to: Suicide Drive (The Deep Eynde)
24539 Neumuenster, Germany|Public Pervert (Interpol) Cauchemar (Opération S)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Flashing of an Ultra2?
  2005-07-09 18:45 Flashing of an Ultra2? Ulrich Teichert
                   ` (3 preceding siblings ...)
  2005-07-10 17:45 ` Ulrich Teichert
@ 2005-07-11  8:29 ` Baurzhan Ismagulov
  2005-07-11  8:40 ` Christian Joensson
  2005-07-11 13:54 ` Baurzhan Ismagulov
  6 siblings, 0 replies; 8+ messages in thread
From: Baurzhan Ismagulov @ 2005-07-11  8:29 UTC (permalink / raw)
  To: sparclinux

On Sun, Jul 10, 2005 at 07:45:38PM +0200, Ulrich Teichert wrote:
> You've been right. Only that I had to install Solaris just to get an UFS
> filesystem where I could boot that file from. I just didn't found any
> Linux UFS tools and thought that would be the quickest way of doing it -
> I think that was my first and last Solaris install.....

One can boot cdrom -s and use mkfs to create the filesystem and copy the
file, without installing Solaris.

With kind regards,
Baurzhan.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Flashing of an Ultra2?
  2005-07-09 18:45 Flashing of an Ultra2? Ulrich Teichert
                   ` (4 preceding siblings ...)
  2005-07-11  8:29 ` Baurzhan Ismagulov
@ 2005-07-11  8:40 ` Christian Joensson
  2005-07-11 13:54 ` Baurzhan Ismagulov
  6 siblings, 0 replies; 8+ messages in thread
From: Christian Joensson @ 2005-07-11  8:40 UTC (permalink / raw)
  To: sparclinux

On 7/11/05, Baurzhan Ismagulov <ibr@radix50.net> wrote:
> On Sun, Jul 10, 2005 at 07:45:38PM +0200, Ulrich Teichert wrote:
> > You've been right. Only that I had to install Solaris just to get an UFS
> > filesystem where I could boot that file from. I just didn't found any
> > Linux UFS tools and thought that would be the quickest way of doing it -
> > I think that was my first and last Solaris install.....
> 
> One can boot cdrom -s and use mkfs to create the filesystem and copy the
> file, without installing Solaris.


would you pls elaborate a little on that? I would greatly appreciate
something like a HOWTO-Upgrade-Sun-SPARC-PROM :) that is, with a linux
system, not a solaris one... but I am not saying I expect that from
you, rather that if you could document your experience, eventually
someone may pick it up and put a link to it from the
http://auroralinux.org web page maybe... that'd be nice to have

-- 
Cheers,

/ChJ

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Flashing of an Ultra2?
  2005-07-09 18:45 Flashing of an Ultra2? Ulrich Teichert
                   ` (5 preceding siblings ...)
  2005-07-11  8:40 ` Christian Joensson
@ 2005-07-11 13:54 ` Baurzhan Ismagulov
  6 siblings, 0 replies; 8+ messages in thread
From: Baurzhan Ismagulov @ 2005-07-11 13:54 UTC (permalink / raw)
  To: sparclinux

On Mon, Jul 11, 2005 at 10:40:05AM +0200, Christian Joensson wrote:
> would you pls elaborate a little on that?

http://wiki.debian.net/?SparcUpdateOBP

Comments welcome.

With kind regards,
Baurzhan.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-07-11 13:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-09 18:45 Flashing of an Ultra2? Ulrich Teichert
2005-07-09 20:24 ` Baurzhan Ismagulov
2005-07-09 23:17 ` Ulrich Teichert
2005-07-10  2:35 ` Morey Roof
2005-07-10 17:45 ` Ulrich Teichert
2005-07-11  8:29 ` Baurzhan Ismagulov
2005-07-11  8:40 ` Christian Joensson
2005-07-11 13:54 ` Baurzhan Ismagulov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.