Difference between revisions of "User:GNUtoo"

From coreboot
Jump to: navigation, search
Line 2: Line 2:
 
* I've an x60
 
* I've an x60
 
* I've an alix.1C
 
* I've an alix.1C
 +
 +
== getting rid of the vbios of the x60 ==
 +
  ,s/\[ *[0-9]+\..[0-9]+\]//g
 +
  ,s/^ *//g
 +
y/^[RWU]/s/^/M /g
 +
  ,s/\nU/ ;;;UDELAY/g
 +
  ,|uniq -c
 +
  ,s/^ *//g
 +
  ,s/(^[0-9]+) ([MRW])/\2 \1/g
 +
  ,s/"/\\"/g
 +
  ,s/^M ([0-9]+) *(\[.*)/{M, \1, "\2"},/g
 +
  ,s/^M ([0-9]+) *(.*)/{M, \1, "\2"},/g
 +
  ,s/:  */:/g
 +
  ,s/...UDELAY *([0-9]+)/\1/g
 +
  ,s/^([RW]) ([0-9]+) (.*):0x([0-9a-f]+)(.*)/{\1, \2, "", \3, 0x\4, \5},/g
 +
 +
cat dmesg| ./ssam  -f ssamfix > foo.c

Revision as of 22:58, 23 February 2013

  • I did the port to the M4A785T-M
  • I've an x60
  • I've an alix.1C

getting rid of the vbios of the x60

 ,s/\[ *[0-9]+\..[0-9]+\]//g
 ,s/^ *//g
y/^[RWU]/s/^/M /g
 ,s/\nU/ ;;;UDELAY/g
 ,|uniq -c
 ,s/^ *//g
 ,s/(^[0-9]+) ([MRW])/\2 \1/g
 ,s/"/\\"/g
 ,s/^M ([0-9]+) *(\[.*)/{M, \1, "\2"},/g
 ,s/^M ([0-9]+) *(.*)/{M, \1, "\2"},/g
 ,s/:  */:/g
 ,s/...UDELAY *([0-9]+)/\1/g
 ,s/^([RW]) ([0-9]+) (.*):0x([0-9a-f]+)(.*)/{\1, \2, "", \3, 0x\4, \5},/g

cat dmesg| ./ssam -f ssamfix > foo.c