From 6a7a64bb4d4f3f943160807979f8426037126a79 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Thu, 2 Feb 2012 17:41:08 +0100 Subject: [PATCH 1/1] make newlog --- 2012-02-02_17:40_coreboot.log | Bin 0 -> 638 bytes Makefile | 9 +++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 2012-02-02_17:40_coreboot.log diff --git a/2012-02-02_17:40_coreboot.log b/2012-02-02_17:40_coreboot.log new file mode 100644 index 0000000000000000000000000000000000000000..56c513f1aaa0070bbe0ec42a47660671223a1c5c GIT binary patch literal 638 zcmcJNPix#T5XE~o_&ZE)ZHeviX45u?9-4F)dRPc`QVOLQSsHsqy^^Xw$@<%OyeWb7 zULC}s_j^y$Ft73~&!qL#TN{gYiA8;Nbyqc&q%mP^=mdkb4}(9_)QtfHv_L{1t6LY}=1bI@k6;Ds5ffggw{C2!|T zFd=c|ZL<_>XX?{ZaBZ&R*0!>Z{eiAVG>^kNCg#kj6 zl0rDO+NGA_r`_jW`xUldzV9|?aC3VP-^d4T4J7l+*hd4_gRzmF&RNgtXZ*|mi-WR; z@@!)wc@PKH?c=HEuix3{)iiG?$XW QkzyBmWw>mYk>P3i18VxjO#lD@ literal 0 HcmV?d00001 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 -- 2.25.1