Add a tool to work on i915 hardware in user mode
This is the beginning of a tool that transforms the i9x5 code to user mode code. Consider this a very early stage although it does produce two programs. Requires spatch 1.0 or greater. To try it out, assuming you have an up-to-date spatch, sh transform make make broken Please don't fall to the temptation to auto-magicize this process. It's primitive for a reason. That said, suggestions welcome of course. Change-Id: I0188e36637b198b06c17f6d3c714d990e88bd57d Signed-off-by: Ronald G. Minnich <rminnich@chromium.org> Reviewed-on: http://review.coreboot.org/1003 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
committed by
Stefan Reinauer
parent
44a89b34f8
commit
564e90f571
20
util/i915tool/Makefile
Normal file
20
util/i915tool/Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
source=main.c pci.c final/intel_bios.c final/drm_modes.c final/i915_drv.c
|
||||
|
||||
all: probe
|
||||
|
||||
broken: video
|
||||
|
||||
video: $(source) final/intel_display.c
|
||||
cc -include video.h -Iinputs -static -g -o video $(source) \
|
||||
-lpci final/intel_display.c
|
||||
|
||||
probe: $(source)
|
||||
cc -include video.h -Iinputs -static -g -o probe $(source) -lpci
|
||||
clean:
|
||||
rm -f *.o video probe
|
||||
|
||||
moreclean: clean
|
||||
rm final/* per-file-changes/* tmp/*
|
||||
|
||||
superclean: moreclean
|
||||
rm inputs/*
|
Reference in New Issue
Block a user