From: Bernhard Urban Date: Thu, 2 Feb 2012 16:41:08 +0000 (+0100) Subject: make newlog X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=6a7a64bb4d4f3f943160807979f8426037126a79;hp=6cfdb3111ff9d4a8a700583243c926feda95263c;p=cbimages.git make newlog --- diff --git a/2012-02-02_17:40_coreboot.log b/2012-02-02_17:40_coreboot.log new file mode 100644 index 0000000..56c513f Binary files /dev/null and b/2012-02-02_17:40_coreboot.log differ diff --git a/Makefile b/Makefile index 79e809f..700c022 100644 --- 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