Alexander Couzens
07469c59e3
detect flash chips by jedec ids instead of using hardcoded values
2015-06-02 11:38:54 +02:00
Alexander Couzens
37e46a66f3
fix indention
...
2 space indention was used. Using tabs
2015-05-20 14:24:19 +02:00
Alexander Couzens
b5cd30559c
cmd_setmac/showserial: use value not the pointer as output
2015-04-06 18:52:39 +02:00
Alexander Couzens
fa2f0a886c
cmd_setmac/setserial: fix incompatible pointer warning + unused variable
2015-04-06 18:30:52 +02:00
Alexander Couzens
ac606588bb
cmd_setmac/setserial: use simple_stroul instead of skip_atoi
2015-04-06 18:28:06 +02:00
Alexander Couzens
14586c76a0
cmd_setmac: remove unused include <stdlib.h>
2015-04-06 18:25:20 +02:00
Alexander Couzens
a32bdf95de
setserial: fix error message and rename var serialnumber -> serial_number
2015-04-06 18:23:11 +02:00
Alexander Couzens
2a21e331db
use skip_atoi instead of atoi
...
atoi requires a stdlib. skip_atoi is much simpler
2015-04-06 18:19:14 +02:00
Alexander Couzens
0e514396fa
add command setserial and showserial
2015-04-06 17:14:40 +02:00
Alexander Couzens
72e548d4c5
add setmac/showmac commands to setmac or showmac
...
setmac <eth0> <eth1> <wlan0> [nobackup]
setmac first do a backup of the calibration sector. It copys the
sector to the sector before itself. This behavious can be overwritten by
adding `nobackup`.
showmac - show mac addreses.
2015-03-12 01:42:22 +01:00