Eric,
From my understanding, the device.link for bridge device does not
include the up stream bus. The up stream bus is the device.bus field. So for 'normal' PCI bridges, with one up stream and one down stream buses, its device.links = 1. Am I correct ?
Ollie
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
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.
- 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?
- 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 Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
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=0x10000 option LINUXBIOS_EXTRA_VERSION=".0Normal" payload /opt/filo/normal/filo.elf end
romimage "fallback" option USE_FALLBACK_IMAGE=1 option ROM_IMAGE_SIZE=0x10000 option LINUXBIOS_EXTRA_VERSION=".0Fallback" payload /opt/filo/fallback/filo.elf end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
Thanks for the file. But would it work if I specify the ROM_IMAGE_SIZE larger than 0x10000?
-----Original Message----- From: linuxbios-admin@clustermatic.org [mailto:linuxbios-admin@clustermatic.org] 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=0x10000 option LINUXBIOS_EXTRA_VERSION=".0Normal" payload /opt/filo/normal/filo.elf end
romimage "fallback" option USE_FALLBACK_IMAGE=1 option ROM_IMAGE_SIZE=0x10000 option LINUXBIOS_EXTRA_VERSION=".0Fallback" payload /opt/filo/fallback/filo.elf end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
_______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios
Not sure why this is happening. When I specify the ROM_IMAGE_SIZE to be larger than 64k. The file linuxbios.strip is larger than linuxbios, which is the file before the objcopy. This doesn't happen to the rom_image_size that is 64k. Here is the file size info.
[root@localhost fallback]# ls -l linuxbios* -rwxr-xr-x 1 root root 126425 Nov 19 11:28 linuxbios -rw-r--r-- 1 root root 155892 Nov 19 11:28 linuxbios.a -rw-r--r-- 1 root root 39445 Nov 19 11:28 linuxbios.map -rwxr-xr-x 1 root root 149179 Nov 19 11:28 linuxbios_ram -rwxr-xr-x 1 root root 77008 Nov 19 11:28 linuxbios_ram.bin -rw-r--r-- 1 root root 13331 Nov 19 11:28 linuxbios_ram.map -rw-r--r-- 1 root root 36353 Nov 19 11:28 linuxbios_ram.nrv2b -rw-r--r-- 1 root root 114373 Nov 19 11:28 linuxbios_ram.o -rw-r--r-- 1 root root 36353 Nov 19 11:28 linuxbios_ram.rom -rw-r--r-- 1 root root 262144 Nov 19 09:58 linuxbios.rom -rwxr-xr-x 1 root root 131087 Nov 19 11:28 linuxbios.strip -rw-r--r-- 1 root root 4872 Nov 17 19:19 linuxbios_table.o
Gin
On Fri, 19 Nov 2004, Gin wrote:
Thanks for the file. But would it work if I specify the ROM_IMAGE_SIZE larger than 0x10000?
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
Li-Ta Lo ollie@lanl.gov writes:
Eric,
From my understanding, the device.link for bridge device does not
include the up stream bus.
Correct it only includes the device itself. device.link.dev == device
The up stream bus is the device.bus field.
Correct.
So for 'normal' PCI bridges, with one up stream and one down stream buses, its device.links = 1. Am I correct ?
Yes.
Eric