Weird behaviour with new config method

Eric W. Biederman ebiederman at lnxi.com
Mon Aug 4 14:30:01 CEST 2003


ron minnich <rminnich at lanl.gov> writes:

> interesting. I am loading linux direct from flash and it works fine with 
> the new config method. Now I'll have to try etherboot and see what's up.
> 
> this is complicated as my tree is in an intermediate state, but I hope to 
> work it out monday.

Something very peculiar is going on at the moment as I can't even get
a configuration to build.

Eric


bash-2.05a$ ./buildtarget arima/hdama/
make: `config.py' is up to date.
Configuring TARGET hdama
Creating directory arima/hdama/hdama
Will place Makefile, crt0.S, etc. in arima/hdama/hdama
Configuring ROMIMAGE fallback
Configuring DIR /config/Config.lb
Configuring DIR /lib/Config.lb
Configuring DIR /console/Config.lb
Configuring DIR /stream/Config.lb
Configuring DIR /devices/Config.lb
Configuring DIR /pc80/Config.lb
Configuring DIR /boot/Config.lb
Configuring PART mainboard, path arima/hdama
Configuring PART arch, path i386
Adding init file: config/crt0.base
Configuring DIR lib/Config.lb
Configuring DIR boot/Config.lb
Configuring DIR smp/Config.lb
End PART arch
WARNING: Option CONFIG_SMP using default value 0
Configuring PART northbridge, path amd/amdk8
End PART northbridge
Configuring PART southbridge, path amd/amd8111
End PART southbridge
Configuring PART southbridge, path amd/amd8131
End PART southbridge
Configuring PART superio, path NSC/pc87360
End PART superio
Configuring DIR /pc80/Config.lb
Warning, object/driver mc146818rtc previously defined
Configuring PART cpu, path p5
End PART cpu
Configuring PART cpu, path p6
End PART cpu
Configuring PART cpu, path k7
End PART cpu
Configuring PART cpu, path k8
End PART cpu
End PART mainboard
WARNING: Option AMD8111_DEV using default value 0x3800
WARNING: Option CONFIG_IDE_STREAM using default value 0
Traceback (most recent call last):
  File "/home/eric/projects/linuxbios/checkin/freebios2/util/newconfig/config.py", line 2137, in ?
    if (not parse('board', fp.read())):
  File "/home/eric/projects/linuxbios/checkin/freebios2/util/newconfig/config.py", line 1782, in parse
    return wrap_error_reporter(P, rule)
  File "/home/eric/projects/linuxbios/checkin/freebios2/util/newconfig/yappsrt.py", line 162, in wrap_error_reporter
    try: return getattr(parser, rule)()
  File "/home/eric/projects/linuxbios/checkin/freebios2/util/newconfig/config.py", line 1716, in board
    romstmts = self.romstmts()
  File "/home/eric/projects/linuxbios/checkin/freebios2/util/newconfig/config.py", line 1701, in romstmts
    romimage = self.romimage()
  File "/home/eric/projects/linuxbios/checkin/freebios2/util/newconfig/config.py", line 1680, in romimage
    romstmt = self.romstmt(1)
  File "/home/eric/projects/linuxbios/checkin/freebios2/util/newconfig/config.py", line 1671, in romstmt
    mainboard = self.mainboard(C)
  File "/home/eric/projects/linuxbios/checkin/freebios2/util/newconfig/config.py", line 1650, in mainboard
    if (C): mainboard(PATH)
  File "/home/eric/projects/linuxbios/checkin/freebios2/util/newconfig/config.py", line 1034, in mainboard
    partpop()
  File "/home/eric/projects/linuxbios/checkin/freebios2/util/newconfig/config.py", line 1087, in partpop
    print "WARNING: Option %s using default value %s" % (i, getformated(i, curpart.image))
  File "/home/eric/projects/linuxbios/checkin/freebios2/util/newconfig/config.py", line 884, in getformated
    return (f % v.contents())
TypeError: an integer is required




More information about the coreboot mailing list