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@gmx.net
Quoting Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net:
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@gmx.net
Great work!! I really like the Idea:)
Thanks - Joe
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@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-200711... 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
On 03.03.2008 16:19, Paul Menzel wrote:
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@gmx.net
Great idea.
Thanks.
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. [...]
I adapted your code somewhat, but it is not finished. Thanks for the code.
An other thing is, whether the script should use sudo and compile the programs with the right of the normal user.
Indeed. I'd even say we could split the script in two scripts, one privileged and one unprivileged.
New version attached.
Regards, Carl-Daniel
On Mon, Mar 03, 2008 at 06:23:21PM +0100, Carl-Daniel Hailfinger wrote:
test -z "$ACPIDUMP" && for a in /usr/bin /bin /usr/local/bin /usr/sbin /sbin /usr/local/sbin; do test -f $a/acpidump && IASL="$a/acpidump" done test -z "$ACPIDUMP" && { echo acpidump not found.; exit 1; }
ACPIDUMP vs IASL ?
DMIDECODE=`which dmidecode 2>/dev/null` test -z "$DMIDECODE" && for a in /usr/bin /bin /usr/local/bin /usr/sbin /sbin /usr/local/sbin; do test -f $a/dmidecode && IASL="$a/dmidecode" done test -z "$DMIDECODE" && { echo dmidecode not found.; exit 1; }
DMIDECODE vs IASL ?
dumps@coreboot.org
Does this exist? Who reads it?
//Peter