RE: boot from ide

2004-11-19 Thread Ronald G. Minnich


On Fri, 19 Nov 2004, Gin wrote:

> Thanks for the file. But would it work if I specify the ROM_IMAGE_SIZE
> larger than 0x1?

good question. 

I just found this out: there is a bug in the new build that has crept in. 

If I build linuxbios from this file, and flash a 512KB flash, it won't 
boot. 

If I do this:
cat linuxbios.rom linuxbios.rom > 1M
flash_rom 1M

to a 1M part, to boots fine. 

I'm tracking it down.

ron
___
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios


RE: boot from ide

2004-11-18 Thread Gin
Thanks for the file. But would it work if I specify the ROM_IMAGE_SIZE
larger than 0x1?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ronald G. Minnich
Sent: Thursday, November 18, 2004 11:11 PM
To: Gin
Cc: 'LinuxBIOS'
Subject: Re: boot from ide

Here is my filo-using config

# Sample config file for the Arima HDAMA

target hdama.filo
mainboard arima/hdama
option DEFAULT_CONSOLE_LOGLEVEL=5
option MAXIMUM_CONSOLE_LOGLEVEL=5


romimage "normal"
option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=0x1
option LINUXBIOS_EXTRA_VERSION=".0Normal"
payload /opt/filo/normal/filo.elf
end

romimage "fallback" 
option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0x1
option LINUXBIOS_EXTRA_VERSION=".0Fallback"
payload /opt/filo/fallback/filo.elf
end

buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"

___
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios

___
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: boot from ide

2004-11-18 Thread Ronald G. Minnich
Here is my filo-using config

# Sample config file for the Arima HDAMA

target hdama.filo
mainboard arima/hdama
option DEFAULT_CONSOLE_LOGLEVEL=5
option MAXIMUM_CONSOLE_LOGLEVEL=5


romimage "normal"
option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=0x1
option LINUXBIOS_EXTRA_VERSION=".0Normal"
payload /opt/filo/normal/filo.elf
end

romimage "fallback" 
option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0x1
option LINUXBIOS_EXTRA_VERSION=".0Fallback"
payload /opt/filo/fallback/filo.elf
end

buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"

___
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios


Re: boot from ide

2004-11-17 Thread Gin
Thanks, 
I got an error while specifying the fall back rom image size of larger
than 64K. See below: 

1. When ROM_IMAGE_SIZE = 0x2000
./buildrom linuxbios.strip linuxbios.rom /opt/filo/fallback/filo.elf
0x2 0x4
linuxbios image is 131087 bytes; only 131072 allowed
Linuxbios input file larger than allowed size!
: Success
make: *** [linuxbios.rom] Error 2

2.When ROM_IMAGE_SIZE = 0x3000
./buildrom linuxbios.strip linuxbios.rom /opt/filo/fallback/filo.elf
0x3 0x4
linuxbios image is 196623 bytes; only 196608 allowed
Linuxbios input file larger than allowed size!
: Success
make: *** [linuxbios.rom] Error 2 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Greg Watson
Sent: Thursday, November 18, 2004 10:21 AM
To: Gin
Cc: 'LinuxBIOS'
Subject: Re: boot from ide

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 in the Config.lb file to make it use filo? I
> know CONFIG_FS_STREAM should be set to true. What else?
>
> 2. I remembered linuxbios supports ROM image size larger than 64K now.
> But when got compiler errors when specifies it as 128K. Do I miss
> anything?
>
>
> Gin
>
> ___
> Linuxbios mailing list
> [EMAIL PROTECTED]
> http://www.clustermatic.org/mailman/listinfo/linuxbios
>

___
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios

___
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios


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 in the Config.lb file to make it use filo? I
know CONFIG_FS_STREAM should be set to true. What else?
2. I remembered linuxbios supports ROM image size larger than 64K now.
But when got compiler errors when specifies it as 128K. Do I miss
anything?
Gin
___
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios
___
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios