Cromwell Buildsystem Update

Timothy Fontaine <[email protected]> Thu, 17 Nov 2005 18:55:24 -0500
Newsgroups gmane.linux.ports.xbox.devel
Message-ID <[email protected]>
Attached is a patch that mostly deprecates cromwell/include/config.h and
moves most of that to cromwell/Makefile.env . Such a move enables developers
to more finely tune what is and isn't included in their cromwell image. The
resulting images are largely untested, and turning everything off may make
the wrong assumption about where the config entry is, but such things are
fixable. The main goal was for me to strip out as much as possible for my
own purposes of embedding a kernel directly in with cromwell. Below are some
test results. I would greatly appreciate feedback, and if anyone wants to
test the resulting images it would be fantastic.

Thanks,
tjfontaine

Here are the results for a cromwell build with all options enabled (exactly
the way CVS HEAD is currently)

bin/imagebld -rom obj/2blimage.bin
obj/image-crom.bin.tmp.gzimage/cromwell.bin image/cromwell_1024.bin
ImageBLD Hasher by XBL Project (c) hamtitampti
ROM Mode
BootLoaderPos : 00001113
Size2blRamcopy : 0000355f
ROM Image Start : 00004780
ROM Image Size : 0001fdbd (130493 Byte)
ROM compressed image size: 0001fdbd (130493 Byte)
Available space in ROM : 0003b880 (243840 Byte)
Percentage of ROM used : 53.52
2bl Hash 256Kb image : C0E8B7E319295A81E0CAC900A83DB4CEA7A6168D
2bl Hash 1MB image : 17570BEBF744C55F7481AD353C314AA0F03E93D9
ROM Hash 1MB : 884895C41B5238A7C8240EDAE4A3EB794CCB6228
Binary 256k File Created : image/cromwell.bin
Binary 1MB File Created : image/cromwell_1024.bin

And here are the results for turning everything but ext2 support off

ImageBLD Hasher by XBL Project (c) hamtitampti
ROM Mode
BootLoaderPos : 00001113
Size2blRamcopy : 0000355f
ROM Image Start : 00004780
ROM Image Size : 00009e2e (40494 Byte)
ROM compressed image size: 00009e2e (40494 Byte)
Available space in ROM : 0003b880 (243840 Byte)
Percentage of ROM used : 16.61
2bl Hash 256Kb image : B24BC24F6EADA106AF86DE69D1DA20647C42FFF0
2bl Hash 1MB image : 9A2B307CCC89FE159571616F658944A010C442E1
ROM Hash 1MB : DF7E150EC179552D26D4E484CE1277156C095C2D
Binary 256k File Created : image/cromwell.bin
Binary 1MB File Created : image/cromwell_1024.bin
bin/imagebld -xbe xbe/xromwell.xbe obj/image-crom.bin
cromwell-buildsystem.diff.gz (application/x-gzip, 4.8 KB) - not displayed