svn@openbios.org wrote:
Author: cozzie Date: 2007-12-19 09:07:37 +0100 (Wed, 19 Dec 2007) New Revision: 3018
Modified: trunk/LinuxBIOSv2/targets/amd/serengeti_cheetah_fam10/Config.lb Log: Small fix to make the abuild happy, add ROM_SIZE to target/*/Config.lb, using the default from src/mainboard/*/Options.lb (trivial)
Signed-off-by: Corey Osgood corey.osgood@gmail.com Acked-by: Corey Osgood corey.osgood@gmail.com
Thanks Corey. Marc
Marc Jones wrote:
svn@openbios.org wrote:
Author: cozzie Date: 2007-12-19 09:07:37 +0100 (Wed, 19 Dec 2007) New Revision: 3018
Modified: trunk/LinuxBIOSv2/targets/amd/serengeti_cheetah_fam10/Config.lb Log: Small fix to make the abuild happy, add ROM_SIZE to target/*/Config.lb, using the default from src/mainboard/*/Options.lb (trivial)
Signed-off-by: Corey Osgood corey.osgood@gmail.com Acked-by: Corey Osgood corey.osgood@gmail.com
Thanks Corey. Marc
You're welcome, but it didn't work :( I tested the change with the wrong serengheti_cheetah. Still trying to figure out where the problem is.
-Corey
Corey Osgood wrote:
Marc Jones wrote:
svn@openbios.org wrote:
Author: cozzie Date: 2007-12-19 09:07:37 +0100 (Wed, 19 Dec 2007) New Revision: 3018
Modified: trunk/LinuxBIOSv2/targets/amd/serengeti_cheetah_fam10/Config.lb Log: Small fix to make the abuild happy, add ROM_SIZE to target/*/Config.lb, using the default from src/mainboard/*/Options.lb (trivial)
Signed-off-by: Corey Osgood corey.osgood@gmail.com Acked-by: Corey Osgood corey.osgood@gmail.com
Thanks Corey. Marc
You're welcome, but it didn't work :( I tested the change with the wrong serengheti_cheetah. Still trying to figure out where the problem is.
-Corey
It is just abuild? The normal build works for you? Marc
Marc Jones wrote:
Corey Osgood wrote:
Marc Jones wrote:
svn@openbios.org wrote:
Author: cozzie Date: 2007-12-19 09:07:37 +0100 (Wed, 19 Dec 2007) New Revision: 3018
Modified: trunk/LinuxBIOSv2/targets/amd/serengeti_cheetah_fam10/Config.lb Log: Small fix to make the abuild happy, add ROM_SIZE to target/*/Config.lb, using the default from src/mainboard/*/Options.lb (trivial)
Signed-off-by: Corey Osgood corey.osgood@gmail.com Acked-by: Corey Osgood corey.osgood@gmail.com
Thanks Corey. Marc
You're welcome, but it didn't work :( I tested the change with the wrong serengheti_cheetah. Still trying to figure out where the problem is.
-Corey
It is just abuild? The normal build works for you? Marc
Right, normal build works fine, abuild fails:
Processing mainboard/amd/serengeti_cheetah_fam10 (i386: ok, we're amd64) Creating config file...which: no lzma in (/opt/kde3/bin:/home/corey/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin) ok Creating builddir...ok Compiling image ..FAILED after 15s! Log excerpt: gcc -m32 -c -I/home/corey/LinuxBIOSv2/src/include -I/home/corey/LinuxBIOSv2/src/arch/i386/include -I/usr/lib64/gcc/x86_64-suse-linux/4.2.1/include -DARCH='i386' -DHAVE_MOVNTI='1' -DCROSS_COMPILE -DCC='gcc -m32' -DHOSTCC='gcc' -DOBJCOPY='objcopy --gap-fill 0xff' -DLINUXBIOS_VERSION='"2.0.0"' -DLINUXBIOS_BUILD='"Wed Dec 19 12:35:45 EST 2007"' -DLINUXBIOS_COMPILE_TIME='"12:35:45"' -DLINUXBIOS_COMPILE_BY='"corey"' -DLINUXBIOS_COMPILE_HOST='"mobulus"' -DLINUXBIOS_COMPILE_DOMAIN='"soundroom"' -DLINUXBIOS_COMPILER='"gcc version 4.2.1 (SUSE Linux)"' -DLINUXBIOS_LINKER='"the GNU General Public License version 3 or (at your option) a later version."' -DLINUXBIOS_ASSEMBLER='"GNU assembler version 2.17.50 (x86_64-suse-linux) using BFD version (GNU Binutils) 2.17.50.20070726-14 (SUSE Linux)"' -DCONFIG_USE_INIT='0' -DHAVE_FALLBACK_BOOT='1' -DHAVE_FAILOVER_BOOT='1' -DROM_IMAGE_SIZE='0x17000' -DPAYLOAD_SIZE='0x-17000' -D_ROMBASE='0xfff69000' -D_RESET='0xfff69000' -D_EXCEPTION_VECTORS='0xfff69100' -DSTACK_SIZE='0x2000' -DHEAP_SIZE='0xc0000' -D_RAMBASE='0x200000' -DUSE_DCACHE_RAM='1' -DCAR_FAM10='1' -DDCACHE_RAM_BASE='0xc4000' -DDCACHE_RAM_SIZE='0xc000' -DDCACHE_RAM_GLOBAL_VAR_SIZE='0x4000' -DCONFIG_AP_CODE_IN_CAR='0' -DMEM_TRAIN_SEQ='2' -DWAIT_BEFORE_CPUS_INIT='0' -DCONFIG_COMPRESS='1' -DCONFIG_UNCOMPRESSED='0' -DCONFIG_LB_MEM_TOPK='16384' -DHAVE_OPTION_TABLE='1' -DUSE_OPTION_TABLE='1' -DLB_CKS_RANGE_START='49' -DLB_CKS_RANGE_END='122' -DLB_CKS_LOC='123' -DCRT0='/home/corey/LinuxBIOSv2/src/arch/i386/init/crt0.S.lb' -DDEBUG='1' -DCONFIG_CONSOLE_VGA='1' -DCONFIG_CONSOLE_VGA_MULTI='0' -DCONFIG_CONSOLE_VGA_ONBOARD_AT_FIRST='0' -DCONFIG_CONSOLE_BTEXT='0' -DCONFIG_CONSOLE_LOGBUF='0' -DCONFIG_CONSOLE_SROM='0' -DCONFIG_CONSOLE_SERIAL8250='1' -DCONFIG_USBDEBUG_DIRECT='0' -DDEFAULT_CONSOLE_LOGLEVEL='8' -DMAXIMUM_CONSOLE_LOGLEVEL='8' -DCONFIG_SERIAL_POST='0' -DTTYS0_BASE='0x3f8' -DTTYS0_BAUD='115200' -DTTYS0_LCS='0x3' -DCONFIG_USE_PRINTK_IN_CAR='1' -DMAINBOARD='/home/corey/LinuxBIOSv2/src/mainboard/amd/serengeti_cheetah_fam10' -DMAINBOARD_PART_NUMBER='"Cheetah Fam10"' -DMAINBOARD_VENDOR='"AMD"' -DMAINBOARD_PCI_SUBSYSTEM_VENDOR_ID='4130' -DMAINBOARD_PCI_SUBSYSTEM_DEVICE_ID='0x2b80' -DCONFIG_MAX_PCI_BUSES='255' -DCONFIG_SMP='1' -DCONFIG_MAX_CPUS='8' -DCONFIG_MAX_PHYSICAL_CPUS='2' -DCONFIG_LOGICAL_CPUS='1' -DSERIAL_CPU_INIT='1' -DAPIC_ID_OFFSET='0' -DENABLE_APIC_EXT_ID='1' -DLIFT_BSP_APIC_ID='1' -DCONFIG_IDE_PAYLOAD='0' -DCONFIG_ROM_PAYLOAD='1' -DCONFIG_ROM_PAYLOAD_START='0xfff80000' -DCONFIG_COMPRESSED_PAYLOAD_NRV2B='0' -DCONFIG_COMPRESSED_PAYLOAD_LZMA='0' -DCONFIG_PRECOMPRESSED_PAYLOAD='0' -DCONFIG_SERIAL_PAYLOAD='0' -DCONFIG_FS_PAYLOAD='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"' -DUSE_WATCHDOG_ON_BOOT='0' -DCONFIG_HYPERTRANSPORT_PLUGIN_SUPPORT='1' -DCONFIG_AGP_PLUGIN_SUPPORT='1' -DCONFIG_CARDBUS_PLUGIN_SUPPORT='1' -DCONFIG_PCIX_PLUGIN_SUPPORT='1' -DCONFIG_PCIEXP_PLUGIN_SUPPORT='1' -DCONFIG_IDE='0' -DIDE_BOOT_DRIVE='0' -DIDE_OFFSET='0' -DPCI_IO_CFG_EXT='1' -DCONFIG_CHIP_NAME='1' -DHAVE_INIT_TIMER='1' -DMAX_REBOOT_CNT='3' -DFAKE_SPDROM='0' -DHAVE_ACPI_TABLES='1' -DACPI_SSDTX_NUM='31' -DHT_CHAIN_UNITID_BASE='10' -DHT_CHAIN_END_UNITID_BASE='6' -DSB_HT_CHAIN_UNITID_OFFSET_ONLY='1' -DSB_HT_CHAIN_ON_BUS0='2' -DPCI_BUS_SEGN_BITS='0' -DMMCONF_SUPPORT='0' -DMMCONF_SUPPORT_DEFAULT='0' -DHW_MEM_HOLE_SIZEK='1048576' -DHW_MEM_HOLE_SIZE_AUTO_INC='0' -DCONFIG_VAR_MTRR_HOLE='1' -DK8_HT_FREQ_1G_SUPPORT='0' -DK8_REV_F_SUPPORT='0' -DCBB='0' -DCDB='24' -DHT3_SUPPORT='1' -DEXT_RT_TBL_SUPPORT='0' -DEXT_CONF_SUPPORT='0' -DDIMM_SUPPORT='0x104' -DCPU_SOCKET_TYPE='16' -DCPU_ADDR_BITS='48' -DCONFIG_PCI_ROM_RUN='1' -DCONFIG_PCI_64BIT_PREF_MEM='0' -DCONFIG_AMDMCT='1' -DHAVE_MP_TABLE='1' -DHAVE_PIRQ_TABLE='1' -DUSE_FALLBACK_IMAGE='0' -DUSE_FAILOVER_IMAGE='0' -DHAVE_HARD_RESET='1' -DIRQ_SLOT_COUNT='11' -DCONFIG_IOAPIC='1' -DFALLBACK_SIZE='0x7f000' -DFAILOVER_SIZE='0x1000' -DROM_SIZE='0x80000' -DROM_SECTION_SIZE='0x0' -DROM_SECTION_OFFSET='0x0' -DXIP_ROM_SIZE='0x10000' -DXIP_ROM_BASE='0xfff70000' -DLINUXBIOS_EXTRA_VERSION='".0-normal"' -DMAINBOARD_POWER_ON_AFTER_POWER_FAIL='MAINBOARD_POWER_ON' -DCONFIG_GDB_STUB='0' -DCONFIG_UDELAY_IO='0' -DCONFIG_UDELAY_TSC='0' -DCONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2='0' -DAGP_APERTURE_SIZE='0x4000000' -Os -nostdinc -nostdlib -fno-builtin -Wall -o rom_stream.o /home/corey/LinuxBIOSv2/src/stream/rom_stream.c /home/corey/LinuxBIOSv2/src/stream/rom_stream.c:47:90: error: invalid suffix "x" on integer constant make[1]: *** [rom_stream.o] Error 1 make[1]: Leaving directory `/home/corey/LinuxBIOSv2/util/abuild/linuxbios-builds/amd_serengeti_cheetah_fam10/normal' make: *** [normal/linuxbios.rom] Error 1
On Wed, Dec 19, 2007 at 12:36:51PM -0500, Corey Osgood wrote:
-Wall -o rom_stream.o /home/corey/LinuxBIOSv2/src/stream/rom_stream.c /home/corey/LinuxBIOSv2/src/stream/rom_stream.c:47:90: error: invalid suffix "x" on integer constant make[1]: *** [rom_stream.o] Error 1 make[1]: Leaving directory `/home/corey/LinuxBIOSv2/util/abuild/linuxbios-builds/amd_serengeti_cheetah_fam10/normal' make: *** [normal/linuxbios.rom] Error 1
Looks like this is the old version before your commit?
I now get:
Compiling image ..FAILED after 14s! Log excerpt: mv dsdt_lb.hex dsdt.c mv: cannot stat `dsdt_lb.hex': No such file or directory make[1]: *** [dsdt.c] Error 1
Uwe.
Uwe Hermann wrote:
On Wed, Dec 19, 2007 at 12:36:51PM -0500, Corey Osgood wrote:
-Wall -o rom_stream.o /home/corey/LinuxBIOSv2/src/stream/rom_stream.c /home/corey/LinuxBIOSv2/src/stream/rom_stream.c:47:90: error: invalid suffix "x" on integer constant make[1]: *** [rom_stream.o] Error 1 make[1]: Leaving directory `/home/corey/LinuxBIOSv2/util/abuild/linuxbios-builds/amd_serengeti_cheetah_fam10/normal' make: *** [normal/linuxbios.rom] Error 1
Looks like this is the old version before your commit?
I now get:
Compiling image ..FAILED after 14s! Log excerpt: mv dsdt_lb.hex dsdt.c mv: cannot stat `dsdt_lb.hex': No such file or directory make[1]: *** [dsdt.c] Error 1
Uwe.
Working on the fix.
-Corey
Corey Osgood wrote:
Marc Jones wrote:
Corey Osgood wrote:
Marc Jones wrote:
svn@openbios.org wrote:
`/home/corey/LinuxBIOSv2/util/abuild/linuxbios-builds/amd_serengeti_cheetah_fam10/normal' make: *** [normal/linuxbios.rom] Error 1
It looks like abuild tries to do a failover/fallback/normal build. Right now I have the target set to only do failover/fallback to fit it into a 512KB image. The ROM image would need to be increased to 1MB to put normal in. Also, I haven't tested normal so there could be something funny in the mainboard options.lb or caonfig.lb.
Marc
Marc Jones wrote:
Corey Osgood wrote:
Marc Jones wrote:
Corey Osgood wrote:
Marc Jones wrote:
svn@openbios.org wrote:
`/home/corey/LinuxBIOSv2/util/abuild/linuxbios-builds/amd_serengeti_cheetah_fam10/normal'
make: *** [normal/linuxbios.rom] Error 1
It looks like abuild tries to do a failover/fallback/normal build. Right now I have the target set to only do failover/fallback to fit it into a 512KB image. The ROM image would need to be increased to 1MB to put normal in. Also, I haven't tested normal so there could be something funny in the mainboard options.lb or caonfig.lb.
Marc
Thanks, that did the trick. Still not sure why the odd error, but by either nuking normal or increasing ROM_SIZE, it works. Chose the former, to more closely mimic the default build.
-Corey