Hi  Ollie,
I just find a strang thing, if I change my ROM_IAMGE_SIZE as the range
from 0x1c000 to 0x20000  (below 0x1c000 I didn't test)

the error is always as follow:
linuxbios image is X bytes; only Y allowed
Linuxbios input file larger than alllowed size
:Success
make[1]: *** [linuxbios.rom] Error 2
make[1]: Leaving directory '/root/freebios2/targets/arima/hdama/hdama/fallback'
make: *** [fallback/linuxbios.rom] Error 1

and X-Y=15

if I change ROM_IMAGE_SIZE above 0x20000  the error is

nostdlib -fno-builtin  -Wall -o rom_stream.o
/root/freebios2/src/stream/rom_stream.c
/root/freebios2/src/stream/rom_stream.c:13: invalid suffix on integer constant
make[1]: *** [rom_stream.o] Error 1
make[1]: Leaving directory '/root/freebios2/targets/arima/hdama/hdama/normal'
make[1]: *** [normal/linuxbios.rom] Error 1

Is there something wrong in my settings?













On 4/22/05, Huang-Jen Wang <[EMAIL PROTECTED]> wrote:
> .
> .
> .
> 
> DCONFIG_ROM_STREAM='1' -DCONFIG_ROM_STREAM_START='0xfffe0000'
> -DCONFIG_FS_STREAM='0' -DCONFIG_FS_EXT2='0' -DCONFIG_FS_ISO9660='0'
> -DCONFIG_FS_FAT='0' -DAUTOBOOT_DELAY='2'
> -DAUTOBOOT_CMDLINE='"hdc1:/vmlinuz root=/dev/hdc3 console=tty0
> console=ttyS0,115200"' -DCONFIG_IDE='0' -DIDE_BOOT_DRIVE='0'
> -DIDE_OFFSET='0' -DCONFIG_CHIP_NAME='0' -DHAVE_INIT_TIMER='1'
> -DHARD_RESET_BUS='1' -DHARD_RESET_DEVICE='4' -DHARD_RESET_FUNCTION='0'
> -DMAX_REBOOT_CNT='3' -DFAKE_SPDROM='0' -DHAVE_ACPI_TABLES='0'
> -DCONFIG_PCI_ROM_RUN='1' -DHAVE_MP_TABLE='1' -DHAVE_PIRQ_TABLE='1'
> -DUSE_FALLBACK_IMAGE='1' -DHAVE_HARD_RESET='1' -DIRQ_SLOT_COUNT='9'
> -DCONFIG_IOAPIC='1' -DFALLBACK_SIZE='0x20000' -DROM_SIZE='0x80000'
> -DROM_SECTION_SIZE='0x20000' -DROM_SECTION_OFFSET='0x60000'
> -DXIP_ROM_SIZE='0x10000' -DXIP_ROM_BASE='0xffff0000'
> -DLINUXBIOS_EXTRA_VERSION='".0Fallback"'
> -DMAINBOARD_POWER_ON_AFTER_POWER_FAIL='MAINBOARD_POWER_ON'
> -DCONFIG_GDB_STUB='0' -DCONFIG_USE_INIT='0' -
> DCONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2='0' -Os -nostdinc -
> nostdlib -fno-builtin  -Wall -o rom_stream.o
> /root/freebios2/src/stream/rom_stream.c
> /root/freebios2/src/stream/rom_stream.c:13: invalid suffix on integer constant
> make[1]: *** [rom_stream.o] Error 1
> make[1]: Leaving directory '/root/freebios2/targets/arima/hdama/hdama/normal'
> make[1]: *** [normal/linuxbios.rom] Error 1
> 
> It should be line 13...
> 
> On 4/22/05, Li-Ta Lo <[EMAIL PROTECTED]> wrote:
> > On Thu, 2005-04-21 at 15:42 +0800, Huang-Jen Wang wrote:
> > > Dear all,
> > > I use HDAMA mainboad, if I am  trying to make VGA work
> > > if I add
> > > uses CONFIG_CONSOLE_VGA
> > > uses CONFIG_PCI_ROM_RUN
> > > default CONFIG_CONSOLE_VGA=1
> > > default CONFIG_PCI_ROM_RUN=1
> > > to src/mainboards/arima/hdama/Options.lb
> > >
> > > and then build it  , it will has error like:
> > >
> > > linuxbios image is 114703 bytes; only 114688 allowed
> > > Linuxbios input file larger than alllowed size
> > > :Success
> > > make[1]: *** [linuxbios.rom] Error 2
> > > make[1]: Leaving directory 
> > > '/root/freebios2/targets/arima/hdama/hdama/fallback'
> > > make: *** [fallback/linuxbios.rom] Error 1
> > >
> > > I guess it tell me my ROM_IMAGE_SIZE is too small, actually I set my
> > > ROM_IMAGE_SIZE=0x1c000 , it looks like large enough
> > >
> > > ok....and then I set ROM_IMAGE_SIZE larger, it has another error:
> > >
> > > in -Wall -o rom_stream.o /root/freebios2/src/stream/rom_stream.c
> > > /root/freebios2/src/stream/rom_stream.c: invalid suffix on integer 
> > > constant
> > > make[1]: *** [rom_stream.o] Error 1
> > > make[1]: Leaving directory 
> > > '/root/freebios2/targets/arima/hdama/hdama/normal'
> > > make[1]: *** [normal/linuxbios.rom] Error 1
> > >
> >
> > Which line is it? Can you send the whole error message?
> >
> > > could anyone help me solve the problems?
> > > _______________________________________________
> > > Linuxbios mailing list
> > > Linuxbios@clustermatic.org
> > > http://www.clustermatic.org/mailman/listinfo/linuxbios
> > --
> > Li-Ta Lo <[EMAIL PROTECTED]>
> > Los Alamos National Lab
> >
> >
>
_______________________________________________
Linuxbios mailing list
Linuxbios@clustermatic.org
http://www.clustermatic.org/mailman/listinfo/linuxbios

Reply via email to