make newlog
authorBernhard Urban <lewurm@gmail.com>
Thu, 2 Feb 2012 16:41:08 +0000 (17:41 +0100)
committerBernhard Urban <lewurm@gmail.com>
Thu, 2 Feb 2012 16:41:08 +0000 (17:41 +0100)
2012-02-02_17:40_coreboot.log [new file with mode: 0644]
Makefile

diff --git a/2012-02-02_17:40_coreboot.log b/2012-02-02_17:40_coreboot.log
new file mode 100644 (file)
index 0000000..56c513f
Binary files /dev/null and b/2012-02-02_17:40_coreboot.log differ
index 79e809f27822b1d78208921813570e7a3a3540bd..700c022af3d1c46ae1f989ef57126f97e15a964f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,17 @@
 DATE := $(shell date "+%F_%R")
 
+PROGRAMMER :=-p ft2232_spi:type=2232H,port=A
 
 .PHONY: all readrom
 
 all: readrom
 
 readrom:
-       sudo flashrom -r $(DATE)_m5a99xevo.rom
+       sudo flashrom $(PROGRAMMER) -r $(DATE)_m5a99xevo.rom
 
 writerom:
-       sudo flashrom -w 2012-01-24_21:28_m5a99xevo.rom
+       sudo flashrom $(PROGRAMMER) -n -w 2012-01-24_21:28_m5a99xevo.rom
+
+newlog:
+       stty -F /dev/ttyS0 115200 nl
+       cat /dev/ttyS0 | tee $(DATE)_coreboot.log