generate etherm10g firmware hexdumps in mkfile

This commit is contained in:
cinap_lenrek 2011-05-04 10:33:59 +00:00
parent 0d5f9b0741
commit ed32b79e26
5 changed files with 7 additions and 22045 deletions

BIN
sys/src/9/pc/etherm10g2k.fw Normal file

Binary file not shown.

File diff suppressed because it is too large Load diff

BIN
sys/src/9/pc/etherm10g4k.fw Normal file

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -157,6 +157,13 @@ uartaxp.i: a100p.cp
echo '};'
} > $target
etherm10g%.i: etherm10g%.fw
{echo 'static char fw'^$stem^'[] = {'
xd -1x $prereq |
sed -e 's/^[0-9a-f]+ //' -e '/^$/d' -e 's/ ([0-9a-f][0-9a-f])/0x\1,/g'
echo '};'
} > $target
acid:V:
8c -a -w -I. i8253.c>acid