aboutsummaryrefslogtreecommitdiff
path: root/util/getpir/README
blob: 6c5d6e2b53aacd4eda3408f42caf9e4fe8671818 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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.. 


INSTALL:

edit Makefile, define the root to coreboot tree
make

USAGE:

./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.


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.
Run the command like this:

make test

Do not run ./checkpir directly because it needs to be linked to irq_table.o first.