[coreboot] coreboot system analyzer
Paul Menzel
paulepanter at users.sourceforge.net
Mon Mar 3 16:19:51 CET 2008
Hi,
Am Donnerstag, den 28.02.2008, 15:21 +0100 schrieb Carl-Daniel
Hailfinger:
> This is a ready-made script which gathers all information about a system
> we could want to evaluate whether porting is possible and/or easy.
>
> The idea behind it is to get loads of people to run the script and help
> us analyze coverage of flashrom and superiotool, together with board
> distribution among willing testers.
> In the future, this could include the ICH GPIO dumper, the K8 resource
> dumper, the MCP55 configuration dumper and a few other utilities.
>
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Great idea.
> acpidump >acpidump.txt
The problem is, that it is not certain, that acpidump is installed on
the system (It is not on mine). So maybe we should test for the
existence. I do not know of a better way to check, whether a program is
in the path.
if [ -f /usr/bin/acpidump ]
then
acpidump > acpidump.txt
else
echo "Please install acpidump of the pmtools package."
echo "Debian-based: sudo aptitude install acpidump ."
fi
or
else
wget http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/pmtools-20071116.tar.bz2
tar xjvf pmtools-20071116.tar.bz2
cd pmtools-20071116/acpidump/
make
./acpidump > acpidump.txt
fi
An other thing is, whether the script should use sudo and compile the
programs with the right of the normal user.
Regards,
Paul
More information about the coreboot
mailing list