.
[cbimages.git] / Makefile
index 6a88d5adfc0c1123a93cdf9101d8a601e4ce8688..89015a292fdad1777061b3f45fc19cfddae54686 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,11 +10,18 @@ readrom:
        flashrom $(PROGRAMMER) -r $(DATE)_m5a99xevo.rom
 
 writerom:
-       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 ../seabios/out/bios.bin.elf $(DATE).seabios
+       cp ../seabios/.config $(DATE).seabios.config
+       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`
+
+difflog:
+       vimdiff `ls *.log | sort -rn | head -n2 | tr '\n' ' '`