Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Progress with the Netra X1 and a mini-root




All :

    After a great deal of flailing around in circles and other strange
curves I managed to netboot Solaris 10 and follow the steps THANKFULLY
documented at :

https://cdn.netbsd.org/pub/NetBSD/NetBSD-11.1/sparc64/INSTALL.html#Installing%20NetBSD%20by%20using%20the%20NetBSD%20miniroot

    I went searching high and low for that miniroot thing.

    Found this :

https://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-11/20261115144749Z/sparc64/installation/miniroot/

    I have no idea where the "sets" or other stuff is buried and hidden.

    However this procedure is working !

( 0 ) from a netboot Solaris 10 instance :

# prtvtoc /dev/rdsk/c0t2d0s0
* /dev/rdsk/c0t2d0s0 partition map
*
* Dimensions:
*     512 bytes/sector
*     255 sectors/track
*      16 tracks/cylinder
*    4080 sectors/cylinder
*   19158 cylinders
*   19156 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector
*    18882240  59274240  78156479
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      0    00          0  16781040  16781039
       1      3    01   16781040   2101200  18882239
       2      5    01          0  78156480  78156479


( 1 ) the miniroot thing is on NFS and previously de-compressed because I do not trust the gzip stuff on ancient Solaris :


# ls -l /cdrom/netbsd/m*
-rw-r--r-- 1 nobody nobody 19922944 Nov 17 2026 /cdrom/netbsd/miniroot.fs
#
# echo '8k 19922944 4096 / p q' | dc
4864.00000000

# dd if=/cdrom/netbsd/miniroot.fs of=/dev/rdsk/c0t2d0s1 bs=4096
4864+0 records in
4864+0 records out

( 2 ) drop the machine with a hammer

# uadmin 2 0
syncing file systems... done
Program terminated
ok

( 3 ) reset the hardware because WHY NOT ?

ok reset-all
Res
LOM event: +1h32m27s host reset
etting ...


Processor Speed = [Speed Jumper = 5] 500 MHz
Baud rate is 9600
8 Data bits, 1 stop bits, no parity (configured from lom)

Firmware CORE  Sun Microsystems, Inc.
@(#) core 1.0.18 2002/05/23 18:22
Software Power ON
Verifying NVRAM...Done
Bootmode is 0
MCR0 = 36a0bc04
MCR1 = c0804000
MCR2 = ff0bbbb
MCR3 = 3ff
Ecache Size = 256 KB
Clearing E$ Tags Done
Clearing I/D TLBs Done
Probing memory
Done
MEMBASE=0x60000000
MEMSIZE=0x10000000
Clearing memory...Done
Turning ON MMUs Done
Copy ROM to RAM (154720 bytes) Done
Orig PC=0x1fff0007edc  New PC=0xf0f07f34
Processor Speed=500MHz
Looking for Dropin FVM ... found
Decompressing Client Done
Transferring control to Client...
Reset Control: BXIR:0 BPOR:0 SXIR:0 SPOR:1 POR:0
Probing upa at 1f,0 pci
Probing upa at 0,0 SUNW,UltraSPARC-IIe (256 Kb)
Loading Support Packages: kbd-translator
Loading onboard drivers:
Probing /pci@1f,0 Device 7  isa dma rtc power SUNW,lomh serial serial
   flashprom
Probing /pci@1f,0 Device 3  pmu i2c temperature dimm dimm dimm dimm
   i2c-nvram idprom motherboard-fru ppm beep fan-control
lomp
Probing Memory Bank #0 256 Megabytes
Probing Memory Bank #1 256 Megabytes
Probing Memory Bank #2 256 Megabytes
Probing Memory Bank #3 256 Megabytes
ChassisSerialNumber 51592229
Probing /pci@1f,0 Device 7
Probing /pci@1f,0 Device 3
Probing /pci@1f,0 Device c  ethernet
Probing /pci@1f,0 Device 5  ethernet
Probing /pci@1f,0 Device a  usb
Probing /pci@1f,0 Device d  ide disk cdrom
todm5819 Sun Netra X1 (UltraSPARC-IIe 500MHz), No Keyboard
OpenBoot 4.0, 1024 MB memory installed, Serial #51592229.
Ethernet address 0:3:ba:13:3c:25, Host ID: 83133c25.



Environment monitoring: disabled

ok devalias
disk                     /pci@1f,0/ide@d/disk@0,0
rtc                      /pci@1f,0/isa@7/rtc@0,70
usb                      /pci@1f,0/usb@a
flash                    /pci@1f,0/isa@7/flashprom@1f,0
lom                      /pci@1f,0/isa@7/SUNW,lomh@0,8010
i2c-nvram                /pci@1f,0/pmu@3/i2c@0,0/i2c-nvram@0,aa
net1                     /pci@1f,0/ethernet@5
dload1                   /pci@1f,0/ethernet@5:,
dload                    /pci@1f,0/ethernet@c:,
net0                     /pci@1f,0/ethernet@c
net                      /pci@1f,0/ethernet@c
cdrom                    /pci@1f,0/ide@d/cdrom@3,0:f
disk3                    /pci@1f,0/ide@d/disk@3,0
disk2                    /pci@1f,0/ide@d/disk@2,0
disk1                    /pci@1f,0/ide@d/disk@1,0
disk0                    /pci@1f,0/ide@d/disk@0,0
ide                      /pci@1f,0/ide@d
floppy                   /pci@1f,0/isa@7/dma/floppy
ttyb                     /pci@1f,0/isa@7/serial@0,2e8
ttya                     /pci@1f,0/isa@7/serial@0,3f8


( 4 ) with mindless and reckless abandon we punch it Chewie :

ok boot /pci@1f,0/ide@d/disk@2,0:b netbsd
Boot device: /pci@1f,0/ide@d/disk@2,0:b  File and args: netbsd
NetBSD IEEE 1275 Multi-FS Bootblock
Version $NetBSD: bootblk.fth,v 1.18 2025/02/28 09:07:12 andvar Exp $
>> NetBSD/sparc64 OpenFirmware Boot, Revision 1.20 (Sun Nov 15 14:47:49 UTC 2026)
=0xbbc890
Loading netbsd: 12306512+515160+330408 [753000+495291]=0xeffca0
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024, 2025, 2026
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.

[   1.0000000] NetBSD 11.1_STABLE (GENERIC) #0: Sun Nov 15 14:47:49 UTC 2026
[ 1.0000000] mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc64/compile/GENERIC
[   1.0000000] total memory = 1024 MB
[   1.0000000] avail memory = 983 MB
[ 1.0000000] mainbus0 (root): SUNW,UltraAX-i2 (Sun Netra X1): hostid 83133c25
[   1.0000000] cpu0 at mainbus0: SUNW,UltraSPARC-IIe @ 500 MHz, CPU id 0
[   1.0000000] cpu0: manuf 17, impl 13, mask 14
[   1.0000000] cpu0: system tick frequency 5.555 MHz
[ 1.0000000] cpu0: 16K instruction (32 b/l), 16K data (32 b/l), 256K external (64 b/l)
[   1.0000000] psycho0 at mainbus0
[ 1.0000000] psycho0: SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 0; PCI bus 0
[   1.0000000] pci0 at psycho0
[ 1.0000000] ebus0 at pci0 dev 7 function 0: Acer Labs M1533 PCI-ISA Bridge, revision 0x00
[   1.0000000] dma at ebus0 addr 0-ffff ipl 2a not configured
[ 1.0000000] rtc0 at ebus0 addr 70-71: mc146818 compatible time-of-day clock: m5819
[   1.0000000] power at ebus0 addr 2000-2007 ipl 23 not configured
[ 1.0000000] lom0 at ebus0 addr 8010-8011 ipl 2a: SUNW,lomh: LOMlite2 rev 3.10
[   1.0000000] com0 at ebus0 addr 3f8-3ff ipl 2b: ns16550a, 16-byte FIFO
[   1.0000000] com0: console
[   1.0000000] com1 at ebus0 addr 2e8-2ef ipl 2b: ns16550a, 16-byte FIFO
[   1.0000000] flashprom at ebus0 addr 0-7ffff not configured
[   1.0000000] alipm0 at pci0 dev 3 function 0: 74KHz clock
[   1.0000000] iic0 at alipm0: I2C bus
[ 1.0000000] admtemp0 at iic0 addr 0x18: MAX1617A temperature sensor: id. 0x41, rev. 0x34
[   1.0000000] spdmem0 at iic0 addr 0x54
[   1.0000000] spdmem0: SDRAM (registered), data ECC, 256MB, 133MHz (PC-133)
[   1.0000000] spdmem1 at iic0 addr 0x55
[   1.0000000] spdmem1: SDRAM (registered), data ECC, 256MB, 133MHz (PC-133)
[   1.0000000] spdmem2 at iic0 addr 0x56
[   1.0000000] spdmem2: SDRAM (registered), data ECC, 256MB, 133MHz (PC-133)
[   1.0000000] spdmem3 at iic0 addr 0x57
[   1.0000000] spdmem3: SDRAM (registered), data ECC, 256MB, 133MHz (PC-133)
[   1.0000000] seeprom0 at iic0 addr 0x50: i2c-nvram: size 8192
[   1.0000000] seeprom1 at iic0 addr 0x51: motherboard-fru: size 8192
[ 1.0000000] tlp0 at pci0 dev 12 function 0: Davicom DM9102A Ethernet, pass 3.1
[   1.0000000] tlp0: interrupting at ivec 3006
[   1.0000000] tlp0: Ethernet address 00:03:ba:13:3c:25
[   1.0000000] dmphy0 at tlp0 phy 1: DM9102 10/100 media interface, rev. 0
[   1.0000000] dmphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[ 1.0000000] tlp1 at pci0 dev 5 function 0: Davicom DM9102A Ethernet, pass 3.1
[   1.0000000] tlp1: interrupting at ivec 301c
[   1.0000000] tlp1: Ethernet address 00:03:ba:13:3c:26
[   1.0000000] dmphy1 at tlp1 phy 1: DM9102 10/100 media interface, rev. 0
[   1.0000000] dmphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
[ 1.0000000] ohci0 at pci0 dev 10 function 0: Acer Labs M5237 USB 1.1 Host Controller (rev. 0x03)
[   1.0000000] ohci0: interrupting at ivec 24
[   1.0000000] ohci0: OHCI version 1.0, legacy support
[   1.0000000] usb0 at ohci0: USB revision 1.0
[ 1.0000000] aceride0 at pci0 dev 13 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc3)
[   1.0000000] aceride0: using ivec 280c for native-PCI interrupt
[   1.0000000] atabus0 at aceride0 channel 0
[   1.0000000] atabus1 at aceride0 channel 1
[   1.0000000] pcons at mainbus0 not configured
[   1.0000000] WARNING: system needs entropy for security; see entropy(7)
[   1.0000394] No counter-timer -- using STICK at 5.555MHz as system clock.
[ 1.1100430] uhub0 at usb0: NetBSD (0x0000) OHCI root hub (0x0000), class 9/0, rev 1.00/1.00, addr 1
[   4.2899876] wd0 at atabus0 drive 0
[   4.3311291] wd0: <ST340016A>
[ 4.3680171] wd0: 38166 MB, 77545 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
[   4.4799859] wd1 at atabus1 drive 0
[   4.5207624] wd1: <ST340014A>
[ 4.5564002] wd1: 38166 MB, 77545 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
[   4.6799907] swwdog0: software watchdog initialized
[   4.7399858] root on wd1b dumps on wd1b
[   4.7999798] root file system type: ffs
[   4.8514949] kern.module.path=/stand/sparc64/11.1/modules
erase ^?, werase ^W, kill ^U, intr ^C

You are using a serial console, we do not know your terminal emulation.
Please select one, typical values are:

        vt100
        ansi
        xterm

Terminal type (just hit ENTER for 'vt220'): [ 5.7599698] entropy: best effort
xterm


I think this is progress where I have no clue where anything else is
hidden and buried but let me see what happens.


--
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken



Home | Main Index | Thread Index | Old Index