3 [ -e /lib
/firmware
/$FIRMWARE ] && exit 0
5 .
/lib
/functions
/caldata.sh
12 mac
=$
(mtd_get_mac_binary u-boot
0x4fc00)
13 mac
=$
(macaddr_add
$mac $offset)
15 macaddr_2bin
$mac |
dd bs
=1 count
=6 seek
=2 conv
=notrunc of
=/lib
/firmware
/$FIRMWARE 2>/dev
/null
24 caldata_extract
"caldata" 0x1000 0x800
25 tpl_set_wireless_mac
0
28 caldata_die
"board $board is not supported yet"
36 caldata_extract
"caldata" 0x5000 0x800
37 tpl_set_wireless_mac
-1
40 caldata_die
"board $board is not supported yet"