Hi Folks,
Patrick and I were talking about current mainboard config distribution within the coreboot tree. Patrick informed me of the -C option for abuild which generates all the configs (without doing the build) for all the devices. Good pointer to remember.
We were talking about the CONFIG_ROM_SIZE and CONFIG_CBFS_SIZE distribution. Please excuse my hacky script, but here's the current breakdown:
$ for d in coreboot-builds/*; do if [ "$d" == "coreboot-builds/sharedutils" ]; then continue; fi; if [ "$d" == "coreboot-builds/abuild" ]; then continue; fi; awk '$2 ~ "CONFIG_ROM_SIZE" { romsize=$3 } $2 ~ "CONFIG_CBFS_SIZE" { cbfssize=$3 } END { print romsize,cbfssize} ' $d/config.h; done | sed -e 's/0x[0]{1,}/0x/' | sort | uniq -c | sort -k 1 -r -n 78 0x80000 0x80000 37 0x100000 0x100000 34 0x400000 0x400000 31 0x40000 0x40000 27 0x800000 0x100000 24 0x200000 0x200000 8 0x800000 0x800000 2 0xc00000 0x100000 2 0x800000 0x200000 1 0x800000 0x300000 1 0x400000 0x100000 1 0x20000 0x20000 1 0x1000000 0xe00000 1 0x1000000 0x1000000 1 0x1000000 0x100000
That's 15 unique tuples with with 6 of those being one-offs.
-Aaron