X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=util%2Fgetpir%2FREADME;h=651458583b13931687de412ce069644e26f2fd7f;hb=18b02360b9dba6ca61538923e27b5ba68a2b3299;hp=6c5d6e2b53aacd4eda3408f42caf9e4fe8671818;hpb=997afe6ca576dcc0117891294b5f51f29864f354;p=coreboot.git diff --git a/util/getpir/README b/util/getpir/README index 6c5d6e2b5..651458583 100644 --- a/util/getpir/README +++ b/util/getpir/README @@ -1,28 +1,30 @@ ABOUT: -This utility will help to create irq_table.c file, that is very hard to create manually, -specialy when you are testing new motherboards, changing your hardware often, placing new cards, etc.. +This utility will help to create irq_table.c file, that is very hard to create +manually, specialy when you are testing new motherboards, changing your +hardware often, placing new cards, etc.. +USAGE: -INSTALL: - -edit Makefile, define the root to coreboot tree -make +Steps +1. make distclean; +2. make getpir +3. ./getpir -USAGE: + Will dump irq table to the file called irq_tables.c, ready to use with + coreboot. Just move the file to corresponding place in the coreboot tree. -./getpir -Will dump irq table to the file called irq_tables.c, ready to use with coreboot. Just move the -file to corresponding place in the linux bios tree. +4. CHECKING CUSTOM irq_tables.c: + make checkpir + ./checkpir -CHECKING CUSTOM irq_tables.c: + checkpir.c Will verify the irq_tables.c, currently it only checks the + checksum. In case of wrong checksum, a good value is proposed, so you can + edit irq_tables.c manualy and replace checksum. -checkpir.c Will verify the irq_tables.c, currently it only checks the checksum. In case of wrong -checksum, a good value is proposed, so you can edit irq_tables.c manualy and replace checksum. -Run the command like this: -make test +Do not run make checkpir and ./checkpir directly because it needs to be linked +to irq_table.o first. -Do not run ./checkpir directly because it needs to be linked to irq_table.o first.