2 # based on gabors ralink wisoc implementation
5 echo "rt2x00 eeprom: " "$*"
9 rt2x00_eeprom_extract
() {
17 mtd
=$
(find_mtd_part
$part)
19 rt2x00_eeprom_die
"no mtd device found for partition $part"
21 dd if=$mtd of
=/lib
/firmware
/$FIRMWARE bs
=1 skip
=$offset count
=$count || \
22 rt2x00_eeprom_die
"failed to extract from $mtd"
25 [ -e /lib
/firmware
/$FIRMWARE ] && exit 0
29 local board
=$
(grep ^machine
/proc
/cpuinfo |
sed "s/machine.*: \(.*\) - .*/\1/g")
32 rt2x00_eeprom_extract
"board_config" 1040 272
35 rt2x00_eeprom_die
"board $board is not supported yet"
This page took 0.040231 seconds and 5 git commands to generate.