/openwrt/target/linux/ppc40x/base-files/lib/ |
H A D | ppc40x.sh | 7 local model 9 model=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /model/ {print $2}' /proc/cpuinfo) 10 echo $model
|
/openwrt/target/linux/lantiq/base-files/lib/functions/ |
H A D | lantiq.sh | 5 model=`grep "^machine" /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/.* - \(.*\)/\1/g"` 7 [ -z "$model" ] && model="unknown" 10 echo $model > /tmp/sysinfo/model 14 local model 16 [ -f /tmp/sysinfo/model ] && model=$(cat /tmp/sysinfo/model) 17 [ -z "$model" ] [all...] |
/openwrt/target/linux/brcm2708/base-files/lib/ |
H A D | brcm2708.sh | 7 local board_name model 9 model=$(cat /proc/device-tree/model) 10 case "$model" in 38 echo "$model" > /tmp/sysinfo/model
|
/openwrt/target/linux/arc770/base-files/lib/ |
H A D | arc.sh | 12 local model 17 model="$( cat /proc/device-tree/model )" 33 if [ "$model" != "" ]; then 34 ARC_BOARD_MODEL="$model" 38 echo "$ARC_BOARD_MODEL" > /tmp/sysinfo/model
|
/openwrt/target/linux/archs38/base-files/lib/ |
H A D | arc.sh | 12 local model 17 model="$( cat /proc/device-tree/model )" 33 if [ "$model" != "" ]; then 34 ARC_BOARD_MODEL="$model" 38 echo "$ARC_BOARD_MODEL" > /tmp/sysinfo/model
|
/openwrt/target/linux/mpc85xx/base-files/lib/ |
H A D | mpc85xx.sh | 10 local model 13 model=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /model/ {print $2}' /proc/cpuinfo) 15 case "$model" in 24 [ -z "$MPC85XX_MODEL" ] && MPC85XX_MODEL="$model" 29 echo "$MPC85XX_MODEL" > /tmp/sysinfo/model
|
/openwrt/target/linux/ar71xx/base-files/lib/ |
H A D | ar71xx.sh | 40 model="$(ar71xx_get_mtd_offset_size_format art 41 32 %c)" 43 case $model in 45 if [ "${model:24:1}" = 'N' ]; then 95 local model="$1" 106 model="EasyLink EL-M150" 109 model="EasyLink EL-MINI" 112 model="ANTMINER-S1" 115 model="ANTMINER-S3" 118 model="ANTROUTER-R1" 121 model [all...] |
/openwrt/target/linux/sunxi/base-files/lib/ |
H A D | sunxi.sh | 9 local model 13 model="$( cat /proc/device-tree/model )" 15 case "$model" in 137 if [ "$model" != "" ]; then 138 SUNXI_BOARD_MODEL="$model" 143 echo "$SUNXI_BOARD_MODEL" > /tmp/sysinfo/model
|
/openwrt/target/linux/generic/files/include/linux/platform_data/ |
H A D | adm6996-gpio.h | 27 enum adm6996_model model; member in struct:adm6996_gpio_platform_data
|
/openwrt/target/linux/brcm63xx/base-files/lib/ |
H A D | brcm63xx.sh | 276 local board_name model 281 model=$(cat /proc/device-tree/model) 282 board_name=$(brcm63xx_dt_detect "$model") 284 model="Unknown bcm63xx board" 291 echo "$model" > /tmp/sysinfo/model
|
/openwrt/target/linux/mcs814x/base-files/lib/ |
H A D | mcs814x.sh | 13 machine=$(cat /proc/device-tree/model) 32 echo "$MCS814X_MODEL" > /tmp/sysinfo/model
|
/openwrt/target/linux/mediatek/base-files/lib/ |
H A D | mediatek.sh | 10 machine=$(cat /proc/device-tree/model) 29 echo "$machine" > /tmp/sysinfo/model
|
/openwrt/target/linux/mxs/base-files/lib/ |
H A D | mxs.sh | 13 machine=$(cat /proc/device-tree/model) 32 echo "$MXS_MODEL" > /tmp/sysinfo/model
|
/openwrt/target/linux/oxnas/base-files/lib/ |
H A D | oxnas.sh | 13 machine=$(cat /proc/device-tree/model) 41 echo "$OXNAS_MODEL" > /tmp/sysinfo/model
|
/openwrt/target/linux/brcm47xx/base-files/etc/board.d/ |
H A D | 01_detect | 120 local model="$1" 131 case "$model" in 178 local model="$(sed -ne 's/^machine[ \t]*: //p' /proc/cpuinfo)" 185 ucidef_set_model_name "$model" 187 detect_by_model "$model" "$boardtype" "$boardnum"
|
/openwrt/tools/firmware-utils/src/ |
H A D | mkdapimg.c | 13 // Usage: mkdapimg [-p] [-m <model>] -s <sig> -i <input> -o <output> 17 // If the model string <model> is not given, we will assume that 18 // the leading characters upto the first "-" is the model. 21 // specified model and signature. 35 char model[MAX_MODEL_NAME_LEN]; member in struct:img_hdr_struct 56 fprintf(stderr, "usage: %s [-p] [-m model] [-r region] [-v version] -s signature -i input -o output\n", progname); 63 char model[MAX_MODEL_NAME_LEN+1]; local 77 memset(model, 0, sizeof(model)); [all...] |
H A D | edimax_fw_header.c | 33 char model[MAX_MODEL_LEN]; member in struct:edimax_header 52 static char *model; variable 95 " -m <model> set model to <model>\n" 204 CHKSTRLEN(model, "model"); 286 strncpy(hdr->model, model, sizeof(hdr->model)); [all...] |
H A D | mkcameofw.c | 41 char model[MAX_MODEL_LEN]; member in struct:img_header 56 static char *model; variable 96 " -M <model> set model to <model>\n" 195 CHKSTRLEN(model, "model"); 346 strncpy(hdr->model, model, sizeof(hdr->model)); [all...] |
/openwrt/target/linux/at91/base-files/lib/ |
H A D | at91.sh | 13 machine=$(cat /proc/device-tree/model) 80 echo "$AT91_MODEL" > /tmp/sysinfo/model
|
/openwrt/target/linux/imx6/base-files/lib/ |
H A D | imx6.sh | 13 machine=$(cat /proc/device-tree/model) 62 echo "$IMX6_MODEL" > /tmp/sysinfo/model
|
/openwrt/target/linux/ipq806x/base-files/lib/ |
H A D | ipq806x.sh | 14 machine=$(cat /proc/device-tree/model) 51 echo "$IPQ806X_MODEL" > /tmp/sysinfo/model
|
/openwrt/target/linux/kirkwood/base-files/lib/ |
H A D | kirkwood.sh | 13 machine=$(cat /proc/device-tree/model) 75 echo "$KIRKWOOD_MODEL" > /tmp/sysinfo/model
|
/openwrt/target/linux/mvebu/base-files/lib/ |
H A D | mvebu.sh | 13 machine=$(cat /proc/device-tree/model) 68 echo "$MVEBU_MODEL" > /tmp/sysinfo/model
|
/openwrt/target/linux/socfpga/base-files/lib/ |
H A D | socfpga.sh | 13 machine=$(cat /proc/device-tree/model) 30 echo "$SOCFPGA_MODEL" > /tmp/sysinfo/model 39 # Name is too generic, use model
|
/openwrt/target/linux/netlogic/base-files/lib/ |
H A D | netlogic.sh | 38 echo "$NETLOGIC_MODEL" > /tmp/sysinfo/model
|