[LinuxBIOS] Trying to build all available targets.

Jonathan McDowell noodles at earth.li
Thu Aug 4 18:51:55 CEST 2005


On Thu, Aug 04, 2005 at 10:17:03AM -0600, Li-Ta Lo wrote:
> On Thu, 2005-08-04 at 16:59 +0100, Jonathan McDowell wrote:
> > I've been playing about with trying to autobuild all the available
> > targets, to catch regressions, or more relevantly to convince myself
> > that when things are broken it's not just EPIA-M that's affected.
> > 
> > http://the.earth.li/~noodles/lb/
> > 
> > is what I've got so far.
> > 
> > 1987/ is pre gcc4 fix, so 1989/ is more interesting.
> > 
> > All 12 Tyan boards built, leaving 18 that didn't.
> > 
> > amd-quartet, amd-solo, arima-hdama & ibm-e325 all look like they'd build
> > with elf payloads (the directories they look for the payload in aren't
> > convenient for an enclosed build - does anyone object if I clean this
> > up?).
> > 
> 
> Do you mean I left "payload /home/ollie/xxxx" there ?

Yes. The attached patch cleans up the payload bits (put them in
targets/<vendor>/payloads like the Tyan boards do) and also fixes
island-aruma to put itself in the same format of directory as everything
else. With it I get PASSes for amd-quartet, amd-solo, arima-hdama,
ibm-e325 & island-aruma, in addition to the Tyan boards. That brings us
up to 17 images building fine and 13 failing.

> > embeddedplanet-ep405pc & motorola-sandpoint are both PPC so won't build
> > anyway.
> > 
> > via-epia-m, Iwill-dk8s2, totalimpact-briq, technologic-ts5300 and
> > newisys-khepri all failed to have a config file that buildtarget was
> > happy with.
> > 
> totalimpac-briq should be PPC. technologic-ts5300 is never finished.

buildtarget can't even parse their config files, so my test rig never
even tries to compile them.

> > via-epia, digitallogic-adl855pc, digitallogic-msm586seg, eaglelion-5bcm
> > & emulation-qemu-i386 all have problems with udelay.
> I have a quick fix to the udelay but I am not sure it is the correct
> way to do it.

Can you show me your quick fix even to give me an idea of where the
issue is?

J.

-- 
/-\                             |    noodles is not a sign of poor
|@/  Debian GNU/Linux Developer |            table manners
\-                              |
-------------- next part --------------
Index: targets/arima/hdama/Config.lb
===================================================================
--- targets/arima/hdama/Config.lb	(revision 1989)
+++ targets/arima/hdama/Config.lb	(working copy)
@@ -13,7 +13,7 @@
 	option USE_FALLBACK_IMAGE=0
 	option ROM_IMAGE_SIZE=0x16000
 	option LINUXBIOS_EXTRA_VERSION=".0Normal"
-	payload /home/ollie/work/filo-0.4.1/filo.elf
+	payload ../../../payloads/filo.elf
 #	payload /etc/hosts
 end
 
@@ -21,7 +21,7 @@
 	option USE_FALLBACK_IMAGE=1
 	option ROM_IMAGE_SIZE=0x16000
 	option LINUXBIOS_EXTRA_VERSION=".0Fallback"
-	payload /home/ollie/work/filo-0.4.1/filo.elf
+	payload ../../../payloads/filo.elf
 #	payload /etc/hosts
 end
 
Index: targets/amd/quartet/Config.lb
===================================================================
--- targets/amd/quartet/Config.lb	(revision 1989)
+++ targets/amd/quartet/Config.lb	(working copy)
@@ -7,14 +7,14 @@
 	option USE_FALLBACK_IMAGE=0
 	option ROM_IMAGE_SIZE=0x14000
 	option LINUXBIOS_EXTRA_VERSION=".0-Normal"
-	payload /usr/share/LinuxBIOS/tg3--ide_disk.zelf
+	payload ../../../payloads/tg3--ide_disk.zelf
 end
 
 romimage "fallback" 
 	option USE_FALLBACK_IMAGE=1
 	option ROM_IMAGE_SIZE=0x14000
 	option LINUXBIOS_EXTRA_VERSION=".0-Fallback"
-	payload /usr/share/LinuxBIOS/tg3--ide_disk.zelf
+	payload ../../../payloads/tg3--ide_disk.zelf
 end
 
 buildrom ./quartet.rom ROM_SIZE "normal" "fallback"
Index: targets/amd/solo/Config.lb
===================================================================
--- targets/amd/solo/Config.lb	(revision 1989)
+++ targets/amd/solo/Config.lb	(working copy)
@@ -9,14 +9,14 @@
 	option USE_FALLBACK_IMAGE=0
 	option ROM_IMAGE_SIZE=0x14000
 	option LINUXBIOS_EXTRA_VERSION=".0-Normal"
-	payload /usr/share/LinuxBIOS/tg3--ide_disk.zelf
+	payload ../../../payloads/tg3--ide_disk.zelf
 end
 
 romimage "fallback" 
 	option USE_FALLBACK_IMAGE=1
 	option ROM_IMAGE_SIZE=0x14000
 	option LINUXBIOS_EXTRA_VERSION=".0-Fallback"
-	payload /usr/share/LinuxBIOS/tg3--ide_disk.zelf
+	payload ../../../payloads/tg3--ide_disk.zelf
 end
 
 buildrom ./solo.rom ROM_SIZE "normal" "fallback"
Index: targets/ibm/e325/Config.lb
===================================================================
--- targets/ibm/e325/Config.lb	(revision 1989)
+++ targets/ibm/e325/Config.lb	(working copy)
@@ -18,7 +18,7 @@
 	option ROM_IMAGE_SIZE=0x12000
 	option LINUXBIOS_EXTRA_VERSION=".0Normal"
 #	payload ../../filo.elf
-        payload /home/ollie/work/filo-0.4.1/filo.elf
+	payload ../../../payloads/filo.elf
 end
 
 romimage "fallback" 
@@ -26,7 +26,7 @@
 	option ROM_IMAGE_SIZE=0x12000
 	option LINUXBIOS_EXTRA_VERSION=".0Fallback"
 #	payload ../../filo.elf
-        payload /home/ollie/work/filo-0.4.1/filo.elf
+	payload ../../../payloads/filo.elf
 # use this to test a build if you don't have the etherboot
 #	payload /etc/hosts
 end
Index: targets/island/aruma/Config.lb
===================================================================
--- targets/island/aruma/Config.lb	(revision 1989)
+++ targets/island/aruma/Config.lb	(working copy)
@@ -1,6 +1,6 @@
-# This will make a target directory of ./island_aruma
+# This will make a target directory of ./aruma
 
-target island_aruma
+target aruma
 mainboard island/aruma
 
 option DEFAULT_CONSOLE_LOGLEVEL=8
@@ -21,7 +21,7 @@
 	option ROM_IMAGE_SIZE=0x1c000
 	option XIP_ROM_SIZE=0x20000
 	option LINUXBIOS_EXTRA_VERSION=".0-normal"
-	payload /home/stepan/agami/build/filo-0.4.2/filo.elf
+	payload ../../../payloads/filo.elf
 end
 
 romimage "fallback" 
@@ -29,7 +29,7 @@
 	option ROM_IMAGE_SIZE=0x1c000
 	option XIP_ROM_SIZE=0x20000
 	option LINUXBIOS_EXTRA_VERSION=".0-fallback"
-	payload /home/stepan/agami/build/filo-0.4.2/filo.elf
+	payload ../../../payloads/filo.elf
 end
 
 buildrom ./island_aruma.rom ROM_SIZE "normal" "fallback"


More information about the coreboot mailing list