On 2/17/06, Matt Sealey <matt at genesi-usa.com> wrote: > > > Answers: > > 1) load-base, auto-boot? works. What's real-mode? :) >
read-mode set the address as physical one, not the virtual address. but seems this env is not much used. 2) telnet not yet but disk and tftp is okay (dhcp broken in 1.2, specify > the ip etc. manually - devices are "eth" and "geth") > that is enough as long as tftp is good. 3) you need 1.3 to use usb mass storage devices > > Sven? These guys should have new firmwares.. > The user interface should be enough. but the main concern is there are so many methods (words in firmware terms) and properties that a firmware client program will call. solaris promif (usr/src/psm/promif) calls the client handler to request the properties or just call the word. the code in promif assmue that the firmware is compliant with IEEE1275 core, ppc and chrp binding. so how much does the smartfirmware implement those standard? they are enough for grub2 and linux which call firmware client handler booting up, but it seems the solaris promif implements (and need?) most of the standard, much more than needed as in grub2 and linux. For referrence, I copy the dev tree of a powermac g4 machine for reference. Friendly! Noah -bash-3.00$ telnet 192.168.1.12 Trying 192.168.1.12... Connected to 192.168.1.12. Escape character is '^]'. ok 1 > dev / ok 1 > ls ff83d620: /cpus ff83d8d0: /PowerPC,G4 at 0 ff83dcc8: /l2-cache ff83e928: /PowerPC,G4 at 1 ff83ed20: /l2-cache ff83efc8: /chosen ff83f1e0: /memory at 0 ff83f480: /openprom ff83f628: /client-services ff840918: /rom at ff800000 ff840b18: /boot-rom at fff00000 ff840d48: /macos ff840e50: /options ff840f58: /aliases ff841aa8: /packages ff841b88: /deblocker ff842520: /disk-label ff842fe8: /obp-tftp ff84c8c8: /telnet ff84d1c8: /mac-parts ff84e970: /mac-files ff851828: /hfs-plus-files ff856648: /fat-files ff858440: /iso-9660-files ff8592a0: /bootinfo-loader ff85af78: /xcoff-loader ff85ba10: /pe-loader ff85c460: /elf-loader ff85db08: /usb-hid-class ff860648: /usb-ms-class ff863298: /usb-audio-class ff8d0e10: /sbp2-disk ff8d37b0: /ata-disk ff8d5518: /atapi-disk ff8d7460: /bootpath-search ff8dddf0: /terminal-emulator ff8ddf00: /firewire-disk-mode ff8f27b8: /pseudo-hid ff8f28b8: /keyboard ff8f2fb0: /mouse ff8f3548: /eject-key ff8f3a18: /pseudo-sound ff8f3d48: /multiboot ff906d38: /diagnostics ff906e18: /nvram at fff04000 ff907a18: /uni-n at f8000000 ff907ce0: /i2c at f8001000 ff9085a8: /cereal ff908cd8: /pci at f0000000 ff997728: /uni-north-agp at b ff997a10: /ATY,Rage128Pd at 10 ff909e80: /pci at f2000000 ff90afe8: /pci-bridge at d ff90d2a0: /mac-io at 7 ff911258: /interrupt-controller at 40000 ff9114a8: /gpio at 50 ff911610: /extint-gpio1 ff911830: /programmer-switch ff9119e0: /escc-legacy at 12000 ff911c50: /ch-a at 12004 ff911e50: /ch-b at 12000 ff912050: /escc at 13000 ff9122d8: /ch-a at 13020 ff912d00: /ch-b at 13000 ff913698: /davbus at 14000 ff9139d0: /sound ff914150: /timer at 15000 ff914360: /via-pmu at 16000 ff917938: /rtc ff9180a8: /power-mgt ff9bb468: /usb-power-mgt ff918390: /i2c at 18000 ff918c98: /cereal ff9193e0: /ata-4 at 1f000 ff91bc50: /disk ff91c3b0: /ata-3 at 20000 ff91ec20: /disk ff91f380: /ata-3 at 21000 ff921bf0: /disk ff928708: /ADPT,2930CU at 2 ff95c518: /disk ff95d460: /tape ff95e630: /ATY,Rage128y at 3 ff974210: /usb at 8 ff9ba0a8: /device at 1 ff9ba220: /keyboard at 0 ff9ba5b0: /mouse at 1 ff97be98: /usb at 9 ff983b20: /firewire at a ff90c128: /pci at f4000000 ff992d60: /ethernet at f ff9bb708: /ethernet-phy ok 1 > -- > Matt Sealey <matt at genesi-usa.com> > Manager, Genesi, Developer Relations > > ------------------------------ > *From:* powerpc-discuss-bounces at opensolaris.org [mailto: > powerpc-discuss-bounces at opensolaris.org] *On Behalf Of *Noah yan > *Sent:* Thursday, February 16, 2006 3:13 PM > *To:* Ken Mays > *Cc:* powerpc-discuss at opensolaris.org > *Subject:* Re: [powerpc-discuss] Re: Re: Re: Status update > > > > > On 2/16/06, Ken Mays <maybird1776 at yahoo.com > wrote: > > > Noah, > > > > I've uploaded grub2_cvs021606_kmays.tar.bz2 to > > http://www.blastwave.org/testing > > which is the work I'll also use for this test along with Dennis' build > > listed in his article. > > > Regarding grub2 and firmware bootstrap (also to Jeremy, Thanks for update > PolarisBootstrap wiki), the boot conf call (notes > http://www.opensolaris.org/jive/thread.jspa?threadID=4992&tstart=15 > ) summerize them. But we do need grub2 when we have a self-hosting polaris > installed. > > Using SmartFirmware v1.2 [20050602111451] > > Welcome to SmartFirmware(tm) for bplan Pegasos2 version 1.2(20050602111451) > > ok devalias > Alias Device Path > ----------------------------------------------------------- > eth /pci at 80000000/ethernet at D > geth /ethernet/port1 > ide /pci@ 80000000/ide at C,1/disk at 0,0 > hd /pci at 80000000/ide at C,1/disk at 0,0 > ide0 /pci@ 80000000/ide at C,1/cdrom at 1,0 > cd /pci at 80000000/ide at C,1/cdrom at 1,0 > screen /bootconsole > keyboard /pci at 80000000/isa at C/keyboard at i60 > > are those variable such as load-base, real-mode, auto-boot works in > smartfirmware? they are ieee1275 standard. Can you setup smartfirmware as a > telnet server (like " enet:telnet,<server-ip>" io) and telnet to it? If so, > can you printout a list of env and dev list? > Thanks > > > > > ok printenv boot-device > > boot-device hd:0 (eth) > > > > ok boot cd boot.img > > ISO-9960 filesystem: System-ID: "SOLARIS" Volume-ID: "Solaris 5.11 ppc" > > ... > > no such file boot.img > > > > ok show-devs > > /pci at 800000000/usb5,1 (usb) > > /pci at 800000000/usb5,2 > > /pci at 800000000/usb at C,2 (usb) > > /pci at 800000000/usb at C,3 (usb) > > /pci at 800000000/ethernet at D (network) > > > > ok ls cpus > > PowerPC 74x7 > > --- > > >From here I usually can see all of the devices and there is the tftp > > package. > > > On my power mac G4, I load the elf from ofw by a command like "load > enet:<tftp-server-ip>,inetboot.elf" , I am sure this should work for > smartfirmware. I begin to hate the powermac g4, it seems not allow me to > change the load-base and auto-boot. > > > > > We thought of booting Solaris from a USB stick instead of CD so we > > didn't have to worry about the CD burning (and we get to use 1GB USB > > sticks). > > usb boot is great, but I still prefer tftp boot. :) > > Noah > > > I'll revisit this later today. > > > > ~K > > This message posted from opensolaris.org > > _______________________________________________ > > powerpc-discuss mailing list > > powerpc-discuss at opensolaris.org > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/powerpc-discuss/attachments/20060217/e7897ff0/attachment.html>