Re: linuxbios and solaris

2005-03-21 Thread Greg Watson
You might be able to use something like ADLO to emulate the interrupt. Greg On Mar 21, 2005, at 4:01 AM, jfaslist wrote: Hi, I was wondering if linuxbios would boot and work with solaris x86? From the following link, it seems that the BIOS INT 13 is required by the first stage boot: http://devel

Re: totalimpact briq?

2005-02-14 Thread Greg Watson
Hi Stefan, I did it this way because the JTAG debugger understands elf headers, so can automatically work out where to program the image in rom. I guess it should really be called linuxbios.elf. Feel free to change things if you feel the need. Greg On Feb 13, 2005, at 3:55 PM, Stefan Reinauer w

problem with PPC

2005-01-20 Thread Greg Watson
Well, I have a problem. The PPC code, which was working in November, is now no longer working. I rebuilt the Sandpoint image using the same configuration file, but now I just get garbage on the screen. To help me track this down, can anyone who has made changes that are likely to have cause this

Re: V2 questions

2005-01-20 Thread Greg Watson
On Jan 20, 2005, at 9:19 AM, Richard Smith wrote: well, I am supposed to put my filo in there RSN, should I do that? My mistake ... What about fs_stream? What's fs_stream? It enables an embedded version of FILO, rather than using FILO as a payload. Greg ___

Re: [PROPOSAL] enhanced table dumping

2005-01-18 Thread Greg Watson
On Jan 18, 2005, at 1:19 PM, Eric W. Biederman wrote: Greg Watson <[EMAIL PROTECTED]> writes: On Jan 18, 2005, at 4:51 AM, Eric W. Biederman wrote: The only issue really is what format to use for serialization. I'm leaning towards s-expressions for use with openbios. However, it

Re: [PROPOSAL] enhanced table dumping

2005-01-18 Thread Greg Watson
On Jan 18, 2005, at 11:47 AM, Ronald G. Minnich wrote: On Tue, 18 Jan 2005, Stefan Reinauer wrote: Those platforms rather offer an IEEE 1275-1994 interface (which is binary+callback, all evil combined, but it is well proven) the consensus seems to be that we make the tree contain what we need, an

Re: [PROPOSAL] enhanced table dumping

2005-01-18 Thread Greg Watson
On Jan 18, 2005, at 4:51 AM, Eric W. Biederman wrote: Stefan Reinauer <[EMAIL PROTECTED]> writes: * ACPI tables need information on the Apics as well. Now the ACPI implementation I wrote a longer while ago is completely static and basically only works for systems with a single IOAPIC and not ve

Re: work linuxbios with openbios

2005-01-10 Thread Greg Watson
This is a work-in-progress, so there is no documentation. The major issue that needs to be addressed is that there is currently no mechanism for passing the linuxbios discovered device information to openbios. This is on my todo list. Openbios is an implementation of the IEEE-1275 standard for

Re: VGABIOS is working under LinuxBIOS

2005-01-06 Thread Greg Watson
On Jan 5, 2005, at 9:40 PM, Ronald G. Minnich wrote: On Wed, 5 Jan 2005, Li-Ta Lo wrote: No. The do_vgabios is depreciated and is removed from the CVS. It uses a real mode switch which is very difficult to to debug and not portable. The prefered way now is to use the emulator to execut the VBIOS.

Re: RFC: linuxbios table fix

2004-12-10 Thread Greg Watson
On Dec 9, 2004, at 10:49 PM, Eric W. Biederman wrote: "Ronald G. Minnich" <[EMAIL PROTECTED]> writes: On Thu, 9 Dec 2004, Eric W. Biederman wrote: I am still worried about ppc, and big endian architectures in general. But I don't think we currently have any users there. we do. I think I'd like to

Re: jump to boot code

2004-12-02 Thread Greg Watson
If you do an 'objdump -f' on the executable, what does it say is the start address? 0x1092e4 seems a bit strange. Greg On Dec 1, 2004, at 11:17 PM, Gin wrote: I tested my payload(FILO.elf) with linux loader Grub. It has no problem at all. So something must go wrong when linuxbios jumps to the p

Re: Alignment of LinuxBIOS table structures

2004-11-29 Thread Greg Watson
On Nov 28, 2004, at 9:34 PM, Ronald G. Minnich wrote: On Fri, 26 Nov 2004, Stefan Reinauer wrote: The problem is that different compilers handle structure alignment differently, ie 2.95.x and 3.x have fundamental differences here: stepan, from the point of view of Plan 9, these are the same compil

Re: pnp_enable_resource not being called

2004-11-26 Thread Greg Watson
, .ops_pci = &lops_pci, }; So I guess you need to add the device driver for the lpc in SB. Then the scan_static_bus and enable_childrens_resources(dev) will be called. Regards YH -Original Message- From: Greg Watson [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 24, 20

Re: boot linux from an ide

2004-11-25 Thread Greg Watson
If FILO is a payload in flash, then you need to set CONFIG_ROM_STREAM=1 and CONFIG_ROM_STREAM_START to the address you want to start looking for the payload ELF header (usually just after the LinuxBIOS image). CONFIG_IDE_STREAM is used to load a payload (such as FILO) from an attached IDE devic

pnp_enable_resource not being called

2004-11-24 Thread Greg Watson
The sandpoint has the following structure: Northbridge MPC107 --> Southbridge W83C553 --> Superio PC97307 The config file looks like: chip northbridge/motorola/mpc107 device pci_domain 0 on device pci 0.0 on end device pci b.0 on chip

Re: ppc targets

2004-11-18 Thread Greg Watson
On Nov 18, 2004, at 6:13 AM, Eric W. Biederman wrote: Just a progress update before I go to bed. I have the totalimpact/briq building now. There are a couple of things that are not quite right but nothing architectural. Looking at where the code is I should be able to get the sandpointx3+pmc/altim

Re: boot from ide

2004-11-17 Thread Greg Watson
Actually, don't set CONFIG_FS_STREAM if you're using Filo as a payload. Use the CONFIG_IDE_STREAM instead. Greg On Nov 17, 2004, at 7:05 PM, Gin wrote: Hello, I've got my linuxbios run to the point it tries to load the image from an IDE drive. I use FILO as the payload. 1. What do I have to add i

recent changes

2004-11-15 Thread Greg Watson
We now seem to have a chip keyword, in addition to config, device, driver and object keywords. We have a device_operations structure, a cpu_device_id structure and a cpu_driver structure as well as a pci_driver structure. The cpu tree has been reorganized to include vendor directories as well a

recent changes

2004-11-15 Thread Greg Watson
We now seem to have a chip keyword, in addition to config, device, driver and object keywords. We have a device_operations structure, a cpu_device_id structure and a cpu_driver structure as well as a pci_driver structure. The cpu tree has been reorganized to include vendor directories as well a

Re: ppc targets

2004-11-11 Thread Greg Watson
Let me have a look. I'm back from travel tomorrow Greg On Nov 11, 2004, at 8:42 AM, Stefan Reinauer wrote: The ppc targets fail because of src/cpu/ppc/ppc4xx/mem.c struct mem_range is never ever defined. Is it struct lb_memory?! I have a bunch of other patches lying around that I will commit if

Re: 2 questions

2004-10-06 Thread Greg Watson
On Oct 5, 2004, at 2:12 PM, Ronald G. Minnich wrote: i855GM/GMCH. I set up the registers, set up the MODE for a NOP, and on the first read, the whole thing hangs. Suggestions for what to do next, anyone :-0) Anybody seen good PC/104 or biscuit format Power PC systems? I'm getting a little tired

Re: cvs freebios locked? [PMX:#]

2004-06-15 Thread Greg Watson
Strange. I just tried to co both freebios and freebios2 using pserver:anonymous and they both worked fine. Try removing the entire tree and start from scratch. Greg On Jun 14, 2004, at 10:34 PM, John Usher (Maptek) wrote: Hello from Gregg C Levine Check your CVS command string. SF updated to a

Re: [PROPOSAL] extended payload handling

2004-06-08 Thread Greg Watson
On Jun 8, 2004, at 7:59 AM, Stefan Reinauer wrote: * Greg Watson <[EMAIL PROTECTED]> [040608 15:22]: I think this is a reasonable idea, particularly your suggestion of making linuxbios more modular. One of my main beefs with the payload strategy is that each payload has to provide it's

Re: [PROPOSAL] extended payload handling

2004-06-08 Thread Greg Watson
Stefan, I think this is a reasonable idea, particularly your suggestion of making linuxbios more modular. One of my main beefs with the payload strategy is that each payload has to provide it's own set of, potentially buggy, driver code. If we have 5 payloads then we have 5 sets of drivers that

briQ status

2004-06-04 Thread Greg Watson
For those interested in PPC boards, I just managed to get the briQ talking over serial console. (More on the board at http://www.totalimpact.com/products/the_briq/the_briq.html). Output below. Hopefully we'll demo this board running Clustermatic at the USENIX BOF. Greg Board initialized... Linu

Re: Enable v.s. Enabled

2004-04-29 Thread Greg Watson
Was it annoying you or something :-) Greg On 29/04/2004, at 2:28 PM, Li-Ta Lo wrote: Hi, I changed the device:enable and chip_device_path::enable to device:enabled and chip_device_path::enabled because they are acutally verbs describe the status of the devices. I also change all the affected co

Re: LinuxBios "official" requirements.

2004-04-13 Thread Greg Watson
versions and "use conventions". Enough bla-bla'ing, as soon as I got it compiled and proven work on my SuSE 6.2 modified (from tail to head), I post the enumeration soft-components, I'am sure it will be appreciated. mathieu Le lun 12/04/2004 à 14:44, Greg Watson a écrit : Ye

Re: XScale Port

2004-04-12 Thread Greg Watson
On 12/04/2004, at 8:44 AM, ron minnich wrote: On Mon, 12 Apr 2004, Bari Ari wrote: they have nvidia working with the x86 emulator, so I'll be trying that next. x86 emulator will probably be to ugly a path to use on an ARM platform. I'm not sure I agree. I think it is doable. ron Yes, I thin

Re: FILO 0.4 [PMX:#]

2004-04-12 Thread Greg Watson
Stefan, I think this is a great idea. I'll talk it over with Ron and Ollie this week and look at how it might be implemented. Greg On 05/04/2004, at 6:46 AM, Stefan Reinauer wrote: * Eric W. Biederman <[EMAIL PROTECTED]> [040405 05:02]: If we want to take a snapshot of the source tree of FILO

Re: LinuxBios and Openbios's dev/bios capacity

2004-04-12 Thread Greg Watson
This seems like an openbios issue to me. Greg On 08/04/2004, at 7:23 AM, Mathieu Deschamps wrote: I've found in OpenBios dev/bios a good reason to hope i could spare the cost of a "physical" flashing device , and a ease using. That is to say getting LinuxBios building the .bin and flash the o

Re: LinuxBios "official" requirements.

2004-04-12 Thread Greg Watson
Yes, most of us are too busy getting LinuxBIOS working to spare the time to write much documentation. I can say that I've built most of the targets successfully using a stock RH9 (YD3.0.1 for PPC) machine. That's probably as good a base-line as any. Greg On 09/04/2004, at 7:53 AM, Mathieu Desc

Re: Newbie with epia M-II

2004-04-12 Thread Greg Watson
Not sure what the biggest PLCC is, but it's probably not much over 1MB. We use a 64MB IDE FLASH on some of our EPIA's which is easily big enough for a kernel and RAM disk. The nice thing about the IDE FLASH is that it can easily be replaced by a disk if you want. It seems the main difference be

Re: VIA EPIA Build Error MAX_REBOOT_CT

2004-04-08 Thread Greg Watson
Check the Makefile.settings in the fallback directory and see if MAX_REBOOT_CNT is defined. If it isn't then there's some problem with the configuration. If it is, then it's not getting passed to the gcc command line. Greg On 08/04/2004, at 10:23 AM, Mathieu Deschamps wrote: I'am building a n

Clustermatic 4 wins ClusterWorld Award

2004-04-08 Thread Greg Watson
Hi all, I'm pleased to announce that yesterday Clustermatic 4 won the ClusterWorld Excellence in Cluster Technology Award for Open Source Software. I'd like to thank everyone who worked so hard to achieve this outstanding result. Thanks also to Daniel Gruner and Jim Phillips for agreeing to ac

Re: FILO 0.4 [PMX:#]

2004-04-04 Thread Greg Watson
On 04/04/2004, at 9:02 PM, Eric W. Biederman wrote: Greg Watson <[EMAIL PROTECTED]> writes: Correct. I haven't included linux_load, though it would probably be easy to do. FILO simply calls elfboot to load the image from a filesystem. Feature bloat. No, it's functionality that i

Re: FILO 0.4 [PMX:#]

2004-04-04 Thread Greg Watson
n HD. And it doesn't support linux_load. So it is some kind of boot loader you said. It is really enhancement to ide_stream.c Regards YH -éäåä- åää: Eric W. Biederman [mailto:[EMAIL PROTECTED] äè Eric W. Biederman åéæé: 2004å4æ3æ 20:33 æää: Greg Watson æé: Yinghai Lu; 'SONE Takeshi

Re: 答复: FILO 0.4 [PMX:#]

2004-04-03 Thread Greg Watson
Yeah sorry, I kind of did that by stealth. Ron and I get lots of requests from people wanting to use LB but who don't know how to deal with the payload issue. We decided that it would be really nice to have a simple bootloader that understands some basic filesystems built into LB. That way peop

Re: EPIA "always-on" system

2004-03-24 Thread Greg Watson
San Jose, 6-8 April. Greg On 24/03/2004, at 8:56 PM, ron minnich wrote: On Wed, 24 Mar 2004, Greg Watson wrote: I'll have 15 or so EPIA's running LinuxBIOS at Clusterworld if you want to take a look :-) oh yeah, reference that, we're in a booth at clusterworld in san francisco.

Re: EPIA "always-on" system

2004-03-24 Thread Greg Watson
I'll have 15 or so EPIA's running LinuxBIOS at Clusterworld if you want to take a look :-) Greg On 24/03/2004, at 8:35 PM, Joshua Wise wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I am considering building a "backpack computer" that does MP3 playing, etcetera... I was planning

Re: EPIA "always-on" system

2004-03-24 Thread Greg Watson
usable for such activity? I believe so. Greg Watson just built linuxbios images today and they are working fine. If you need help just let us know. We can also just send you some 'epia+filo' images which load linux from an attached ext2 formatted CF. Of course, this doesn't

Re: No output on EPIA-M serial port

2004-03-24 Thread Greg Watson
Does the EPIA-M have a 256KB flash or a 512KB flash? I just ran into this problem with the EPIA. If you flash the wrong size image then nothing works at all. Greg On 24/03/2004, at 3:02 PM, Shawn Perkin wrote: Hello all,   I’m currently in the process of trying to get Linuxbios to work on my

Re: All K8 builds now broken

2004-03-23 Thread Greg Watson
On 23/03/2004, at 12:50 AM, Eric W. Biederman wrote: Ok I suspect that code came early on and never got cleaned up. What this sounded like was a bug in existing code that caused things to work incorrectly. So at least on the Opteron things worked correctly. We need to go in and add better cpu

Re: two changes to make building EPIA work

2004-03-22 Thread Greg Watson
Close, but no banana. The new rules for options are as follows: 1. Options declared as 'default none' and 'export always' MUST have a value set or a default value assigned. Any options of this type that are still undefined when processing of config files is finished will result in a fatal erro

Re: AMD64+FILO -> Detected floating bus

2004-03-22 Thread Greg Watson
Good. That means it wasn't my fault :-). I updated the IDE support in LinuxBIOS recently, so I thought it may have been that. Looks like something must have changed in Filo. Greg On 22/03/2004, at 10:04 AM, Stefan Reinauer wrote: * Greg Watson <[EMAIL PROTECTED]> [040322 18:01]:

Re: AMD64+FILO -> Detected floating bus

2004-03-22 Thread Greg Watson
Stefan, Is the floating bus message coming from Filo or LinuxBIOS? Greg On 22/03/2004, at 8:26 AM, Stefan Reinauer wrote: Hi, with LinuxBIOS 1.1.6 and Filo 0.4.1 I am getting a floating IDE bus on the Solo machines now. This has worked before with older versions, but I am not sure what might c

Re: Updated PPC support

2004-01-28 Thread Greg Watson
At 10:25 AM -0700 1/28/04, Li-Ta Lo wrote: On Wed, 2004-01-28 at 10:03, Greg Watson wrote: For those interested in PPC issues, I have updated support for the Motorola Sandpoint (G4 processor) in the V2 tree. Over the next few days I will tidy up a few remaining things, but as of now I have the

Updated PPC support

2004-01-28 Thread Greg Watson
For those interested in PPC issues, I have updated support for the Motorola Sandpoint (G4 processor) in the V2 tree. Over the next few days I will tidy up a few remaining things, but as of now I have the Sandpoint booting a 2.4.24-pre2 kernel. Regards, Greg ___

Re: IDEA: Linux kernel and pcbios compatibility...

2003-12-21 Thread Greg Watson
At 2:02 PM -0700 12/19/03, Eric W. Biederman wrote: Any interest in porting kexec to the ppc? It is not strictly required if you can get your kernel to avoid the memory problem but it is quite useful. Yes. I want to do the two kernel monte thing on the PPC. Another thing on the todo list. Greg

Re: IDEA: Linux kernel and pcbios compatibility...

2003-12-19 Thread Greg Watson
At 11:20 AM -0700 12/19/03, Eric W. Biederman wrote: Stefan Reinauer <[EMAIL PROTECTED]> writes: * Eric W. Biederman <[EMAIL PROTECTED]> [031219 01:36]: > > Brainstorming earlier today I think I have found a way to use > an linux kernel for the boot loader and to implement pcbios > compatibil

Re: config -> default

2003-12-02 Thread Greg Watson
I'm looking at it. Greg At 2:27 PM -0700 12/2/03, Eric W. Biederman wrote: ron minnich <[EMAIL PROTECTED]> writes: this fixup is at the top of next week's list now that sc '03 is over. sc '03 is a major event that pretty much eats up nov. for us, so sorry for the inconvenience. Any head way

SC03

2003-11-14 Thread Greg Watson
If any LinuxBIOS'ers are planning to attend Supercomputing'03 in Phoenix next week, please drop by the LANL booth. Ron, Ollie and I will be there with various bits and pieces of hardware to look at, and it would be great to meet some of you in person. If there is enough interest, we could even

Re: config -> default

2003-11-06 Thread Greg Watson
Stefan, Which builds are broken? I thought I checked all configurations built after the change (apart from the VIA which Ron was working on.) and modified any that had problems. My hope was that this change would make the use of options more logical and consistent. The intention is that parts

device configuration

2003-11-03 Thread Greg Watson
Hi, Can someone please provide some assistance on the new device configuration setup? For example, how do I configure the IDE controller on a Winbond chip? I used to do this through the enable routine in the chip_control structure but this is no longer used. I've tried using the enable_dev rou

Fwd: via datasheets

2003-10-20 Thread Greg Watson
Can anyone help this guy out? Greg Status: U To: [EMAIL PROTECTED] Subject: via datasheets From: Yugesh <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Date: Mon, 20 Oct 2003 13:07:38 -0700 X-Spam-Score: 0.0 (/) X-Spam-Report: 0.0/5.0 Spam Filtering performed by sourceforge.net. See http://spamass

Re: V2 Epia report

2003-10-10 Thread Greg Watson
In the interests of moving forward here, I will see if I can get this to work with dynamic device tree. Greg At 7:25 PM -0600 9/10/03, Eric W. Biederman wrote: > On the PPC, much of what must be done in assembly or romcc on Intel/AMD, can be done in C in hardwaremain. The architecture needs t

Re: V2 Epia report

2003-10-09 Thread Greg Watson
At 12:11 PM -0600 9/10/03, Eric W. Biederman wrote: Greg Watson <[EMAIL PROTECTED]> writes: Yes, I have a similar problem with the current setup. I need to be able to do static initialization on entry to hardwaremain, but before console_init(), and also prior to pci enumeration. The or

Re: V2 Epia report

2003-10-09 Thread Greg Watson
At 8:45 AM -0600 9/10/03, ron minnich wrote: On 8 Oct 2003, Eric W. Biederman wrote: The current device resource assignment code should cope with static resource assignments, so hopefully it should be a matter of plugging hard codes into the device tree. no, greg and I will be talking to you ab

Re: ep405pc

2003-10-04 Thread Greg Watson
Update on the ep405pc: getting close! Fixed hardwired address and byte ordering issue with the low-level PIC routines. Now I see: LinuxBIOS-1.1.4 Sat Oct 4 16:54:15 MDT 2003 rebooting... Finding PCI configuration type. Enumerating: Winbond W83C553 Enumerating buses...PCI: pci_scan_bus for bus 0

Re: Patch for V2 new config

2003-10-02 Thread Greg Watson
At 10:18 PM -0600 1/10/03, ron minnich wrote: On 1 Oct 2003, Eric W. Biederman wrote: The one pass algorithm of the current config tool, already does not work 100% of the time, the evidence is some options that do not work properly if I move them. So we might as well rework the code so it ope

ep405pc

2003-10-02 Thread Greg Watson
I've started a port to the EmbeddedPlanet ep405pc board. This uses a PPC405GPr processor, which is sufficiently different to the Sandpoint 74xx to make it interesting. First step was to set up the source tree and sort out some of the PPC processor differences. First problem: I/O is memory map

serial.{c,inc}

2003-10-02 Thread Greg Watson
Does anyone know why we have serial.c and serial.inc files in the V2 pc80 directory, in addition to the console/uart8250_console.c and lib/uart8250.c files? Are they needed? Greg ___ Linuxbios mailing list [EMAIL PROTECTED] http://www.clustermatic.org/

Re: Patch for V2 new config

2003-10-01 Thread Greg Watson
At 10:20 AM -0600 1/10/03, ron minnich wrote: On Wed, 1 Oct 2003, Greg Watson wrote: If my understanding is correct, you want to have an option value that has a mainboard specific default value, but that can be overridden in the target configuration file? If this is the case, then my

Re: Patch for V2 new config

2003-10-01 Thread Greg Watson
ednesday 01 Oct 2003 16:25, Greg Watson wrote: If my understanding is correct, you want to have an option value that has a mainboard specific default value, but that can be overridden in the target configuration file? Not quite, Ron (I assume it was Ron) already added a line like default ROM_SIZE

Re: Patch for V2 new config

2003-10-01 Thread Greg Watson
If my understanding is correct, you want to have an option value that has a mainboard specific default value, but that can be overridden in the target configuration file? If this is the case, then my preference would be to do something like the following in the mainboard file: if ~ ROM_IMAGE_S

Re: V2 VIA EPIA

2003-10-01 Thread Greg Watson
Oh, I can see what is going to happen to buildrom now that Ron has discovered it... :-) Greg At 11:44 PM -0600 30/9/03, ron minnich wrote: Changes: new epia target for 512k: targets/via/epia/Config.512kflash.lb epia defaults to 256k flash buildtarget now takes either a directory, and uses dir

Re: A limit in V2 for PCI setup

2003-09-30 Thread Greg Watson
in V1 I used to call the pci ops directly, e.g. extern pci_ops pci_direct; pci_direct.read_dword(...); Presumably this will work in V2 as well. Greg At 12:16 PM -0600 30/9/03, ron minnich wrote: In v2, it is pretty much impossible to do PCI setup BEFORE the PCI scan is called and device trees ar

Re: why are we still doing this?

2003-09-25 Thread Greg Watson
No need, since it's done automatically now. Greg At 11:26 AM -0600 25/9/03, ron minnich wrote: in arima/hdama/Config.lb ## ## Clean up the motherboard id strings ## option MAINBOARD_PART_NUMBER="HDAMA" option MAINBOARD_VENDOR="ARIMA" OK, the config tool will create this by default: MAINBOARD_P

Re: Any story to boot from Hard Disk

2003-09-18 Thread Greg Watson
Title: Re: Any story to boot from Hard Disk I've used the IDE stream code to boot Linux from and IDE flash. This should also work from any IDE device, though I've not tested it. See freebios2/src/ide_stream.c. Greg At 11:19 AM + 18/9/03, gimyung han wrote: Is anyone tried to boot LinuxBIOS

Re: nested description of chains

2003-09-12 Thread Greg Watson
Stefan, This should be a relatively straight forward change to config.g. I would prefer to see the config format maintained, so I would suggest using: htlink 0 "mc1" speed = 200 width = 8 end htlink 0 "amd8131-1" end rather than htlink 0 "mc1" speed=200 width=8

Re: [COMMIT] Infrastructure Updates 4

2003-09-08 Thread Greg Watson
Any inconsistencies you find in the options are most certainly real. :-) Much of the confusion comes from the configuration setup in the old tree which allowed options to be specified and set in any config file. The result was that many options were duplicated because their definition was burie

init_timer()

2003-09-03 Thread Greg Watson
K8 developers: I've moved init_timer() from hardwaremain.c to the static initialization code in cpu/k8/cpufixup.c as it prevents PPC code from building. Please check that everything still works ok. Greg ___ Linuxbios mailing list [EMAIL PROTECTED] htt

Re: coding

2003-09-02 Thread Greg Watson
At 1:32 PM -0600 2/9/03, ron minnich wrote: anybody object to anonymous enums? I've gotten used to them in Plan 9 and like them. Instead of this: #define FLOPPY_DEVICE 0 #define PARALLEL_DEVICE 1 #define COM2_DEVICE 2 #define COM1_DEVICE 3 #define SWC_DEVICE 4 #define MOUSE_DEVICE

Re: linking static to dynamic devices

2003-08-14 Thread Greg Watson
I forgot to add to my suggestion that enable() is only called if the 'present' flag is set. In this model you should be able to do the cpu fixups at the appropriate pass in enable(). Greg At 11:34 AM -0600 5/8/03, ron minnich wrote: On Tue, 5 Aug 2003, YhLu wrote: If you want cpufixup called

Re: Supporting extension ROMs and beyond...

2003-08-14 Thread Greg Watson
At 6:04 PM -0600 10/8/03, ron minnich wrote: so, in the config file, we have something like: extension pcbios extension vgabios extension elfboot and the system linkes these in via src/extionsions/whatever. They are each run in turn. reasonable? Sounds good, but what does the 'extension' keywor

new config version skew problem

2003-08-14 Thread Greg Watson
I found the problem that was causing the error with python 2.1. Please test new version. Greg ___ Linuxbios mailing list [EMAIL PROTECTED] http://www.clustermatic.org/mailman/listinfo/linuxbios

Re: linking static to dynamic devices

2003-08-07 Thread Greg Watson
I'm not on the plane yet... :-) My suggestion was to add an 'optional' keyword to the cpu device. So you would declare something like: cpu k8 "cpu0" ... end cpu k8 "cpu1" optional ... end cpu k8 "cpu2" optional ... end cpu k8 "cpu3" optional

Re: Weird behaviour with new config method

2003-08-04 Thread Greg Watson
At 2:56 PM -0600 4/8/03, ron minnich wrote: On 4 Aug 2003, Eric W. Biederman wrote: Previously when we had this conversation we tried for a minimum python of 1.5 and the old config tool manages that. We may need to bump the python requirement but we this needs investigation to see why the earl

static initialization

2003-07-28 Thread Greg Watson
Stefan, I've added the ability to name parts. This means that you can do the following: cpu k8 "cpu0" register "south" = "&sb0" register "east" = "&cpu1" end cpu k8 "cpu1" register "south" = ... register "east" = ... end southbridge / "sb0" end In the k8 directory

AMD package/part numbers

2003-07-24 Thread Greg Watson
Any idea how to translate an AMD package number to an AMD part number? I have a flash part that is marked D323GB90V1 but I can't find anything on the AMD site that helps translate this to a part number, short of reading every data sheet. Thanks, Greg ___

Re: new config tool, static and dynamic trees

2003-07-24 Thread Greg Watson
Stefan, Sorry about that. I'll #define this better so that it's not required with the old configuration system. The 'register' directive has changed slightly, but hasn't been updated in the tree. I've checked in the new version now. Greg At 3:54 PM +0200 24/7/03, Stefan Reinauer wrote: * ron

Re: static and dynamic devices (again)

2003-07-23 Thread Greg Watson
At 2:54 PM +0800 23/7/03, ollie lho wrote: On Wed, 2003-07-23 at 12:08, ron minnich wrote: We thus have a static tree (representing the static resources) with links at certain places to the dynamic tree (representing dynamic resources). LinuxBIOS can do device-specific operations on devices in

Re: static and dynamic devices (again)

2003-07-22 Thread Greg Watson
Thanks Ron, post this tome at 10pm so I have to stay up late... As Ron points out, I spent some time today seeing if it was possible to unify the static and dynamic device code. It certainly is possible, but it turns out that we're trying to do things in two fundamentally different ways. The re

Re: Please do not fork.

2003-07-21 Thread Greg Watson
At 4:11 PM -0600 21/7/03, Eric W. Biederman wrote: ron minnich <[EMAIL PROTECTED]> writes: On Mon, 21 Jul 2003, Stefan Reinauer wrote: we're not going to fork. That was more of a warning about what could happen. We have lots of committers out there and more are going to join. We may not alwa

Re: Assembly code errors [PMX:#]

2003-07-18 Thread Greg Watson
This is what the new configuration scheme in freebios2 does. Greg At 2:25 PM -0700 18/7/03, Dave Ashley wrote: When I write some assembly code and I've got the syntax wrong, the build fails but the line numbers reported in error messages don't relate to the source I'm working on. I'm wondering co

Re: ppc linuxbios support

2003-07-13 Thread Greg Watson
Title: Re: ppc linuxbios support Hi Ramkumar, Ports to new boards, or suggestions on how to make the PPC code more modular and robust are always appreciated. You might want to start by getting linuxbios booting a linux kernel on the 755. This shouldn't be too difficult, as the 755 appears to us

RE: LinuxBios PPC-support.. U-Boot project

2003-06-24 Thread Greg Watson
Yes, and the nice thing about the linuxbios architecture is that the CLI can just be a payload, so you can have any CLI that you want - forth, tcl, whatever. No changes are required to linuxbios at all. Greg At 6:03 PM -0700 24/6/03, Frank wrote: As I said before, If you want to convert the u-b

Re: LinuxBios PPC-support.. U-Boot project

2003-06-23 Thread Greg Watson
At 3:47 PM -0600 23/6/03, ron minnich wrote: On Tue, 3 Jun 2003, David Eliasson wrote: I read on the linuxbios webpage about PPC-support.. Aren t you guys aware of the U-boot project? Sure. They've been running the GNU Linux kernel 2.4.19 and 2.4 21 in firmware for a while now.. Maybe I m jus

Re: timer.h - No such file or directory

2003-06-08 Thread Greg Watson
Actually there was some other stuff that was PPC dependent. Hopefully the version I've just checked in isn't. Greg At 3:03 PM -0600 8/6/03, Greg Watson wrote: Sorry, my fault. This a new version of ide.c (and .h) which I've backported from Etherboot 5.1.8. You can just remo

Re: timer.h - No such file or directory

2003-06-08 Thread Greg Watson
Sorry, my fault. This a new version of ide.c (and .h) which I've backported from Etherboot 5.1.8. You can just remove the #include. I'll check in the new version now. Greg At 1:19 PM -0700 8/6/03, roger wrote: Using the smartcore-p5 tree: gcc ... -o ide.o /home/roger/src/linuxbios/freebios/src

Re: PPC

2003-06-07 Thread Greg Watson
Andrew, Current version is checked in. I'll be making some changes to the startup code over the next few days though. Cheers, Greg At 3:49 PM +0800 6/6/03, Andrew Ip wrote: Hi Greg, Just thought you might like to know that I booted a linux kernel using linuxbios on a PPC yesterday. There ar

PPC

2003-06-06 Thread Greg Watson
Just thought you might like to know that I booted a linux kernel using linuxbios on a PPC yesterday. There are still a few issues to sort out, but it's looking very promising. For those that are attending USENIX next week, I'll have the machine at the BOF so you can see it really works! Cheers

Re: Information about BIOS and the boot process

2003-03-28 Thread Greg Watson
Other people probably know much more about this than me, but here's my experience. There seem to be two main parts to linuxbios. The first is arch/{arch}/config/ctr0.base which does the very low level initialization, like turning on memory, etc. The second is arch/{arch}/lib/c_start.S which do