util/ renames
[coreboot.git] / util / getpir / README
1 ABOUT:
2
3 This utility will help to create irq_table.c file, that is very hard to create manually, 
4 specialy when you are testing new motherboards, changing your hardware often, placing new cards, etc.. 
5
6
7 INSTALL:
8
9 edit Makefile, define the root to coreboot tree
10 make
11
12 USAGE:
13
14 ./getpir
15
16 Will dump irq table to the file called irq_tables.c, ready to use with coreboot. Just move the 
17 file to corresponding place in the linux bios tree.
18
19
20 CHECKING CUSTOM irq_tables.c:
21
22 checkpir.c Will verify the irq_tables.c, currently it only checks the checksum. In case of wrong
23 checksum, a good value is proposed, so you can edit irq_tables.c manualy and replace checksum.
24 Run the command like this:
25
26 make test
27
28 Do not run ./checkpir directly because it needs to be linked to irq_table.o first.