X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=Makefile;h=622764c9bbec54702b0c887700740e406eeb1bc5;hb=7a166709bfe0c72a76b65ad5efb2984d83a734a8;hp=7e10a56d9579de07653b6cab0df9ea5497f653c5;hpb=128f9feabdf2e3651be03578971c26c44b962cca;p=cbimages.git diff --git a/Makefile b/Makefile index 7e10a56..622764c 100644 --- a/Makefile +++ b/Makefile @@ -7,14 +7,19 @@ PROGRAMMER :=-p ft2232_spi:type=2232H,port=A all: readrom readrom: - sudo flashrom $(PROGRAMMER) -r $(DATE)_m5a99xevo.rom + flashrom $(PROGRAMMER) -r $(DATE)_m5a99xevo.rom writerom: - sudo flashrom $(PROGRAMMER) -n -w 2012-01-24_21:28_m5a99xevo.rom + flashrom $(PROGRAMMER) -w 2012-01-24_21:28_m5a99xevo.rom newlog: + cp ../repo/build/coreboot.rom $(DATE)_rom + cp ../repo/.config $(DATE)_config stty -F /dev/ttyS0 115200 nl - cat /dev/ttyS0 | tee $(DATE)_coreboot.log + cat /dev/ttyS0 | tee $(DATE)_log lastlog: - vim `ls *.log | sort -rn | head -n1` + vim `ls *_log | sort -rn | head -n1` + +difflog: + vimdiff `ls *_log | sort -rn | head -n2 | tr '\n' ' '`