Searched refs:model (Results 1 - 25 of 43) sorted by relevance

12

/openwrt/target/linux/ppc40x/base-files/lib/
H A Dppc40x.sh7 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 Dlantiq.sh5 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 Dbrcm2708.sh7 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 Darc.sh12 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 Darc.sh12 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 Dmpc85xx.sh10 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 Dar71xx.sh40 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 Dsunxi.sh9 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 Dadm6996-gpio.h27 enum adm6996_model model; member in struct:adm6996_gpio_platform_data
/openwrt/target/linux/brcm63xx/base-files/lib/
H A Dbrcm63xx.sh276 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 Dmcs814x.sh13 machine=$(cat /proc/device-tree/model)
32 echo "$MCS814X_MODEL" > /tmp/sysinfo/model
/openwrt/target/linux/mediatek/base-files/lib/
H A Dmediatek.sh10 machine=$(cat /proc/device-tree/model)
29 echo "$machine" > /tmp/sysinfo/model
/openwrt/target/linux/mxs/base-files/lib/
H A Dmxs.sh13 machine=$(cat /proc/device-tree/model)
32 echo "$MXS_MODEL" > /tmp/sysinfo/model
/openwrt/target/linux/oxnas/base-files/lib/
H A Doxnas.sh13 machine=$(cat /proc/device-tree/model)
41 echo "$OXNAS_MODEL" > /tmp/sysinfo/model
/openwrt/target/linux/brcm47xx/base-files/etc/board.d/
H A D01_detect120 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 Dmkdapimg.c13 // 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 Dedimax_fw_header.c33 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 Dmkcameofw.c41 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 Dat91.sh13 machine=$(cat /proc/device-tree/model)
80 echo "$AT91_MODEL" > /tmp/sysinfo/model
/openwrt/target/linux/imx6/base-files/lib/
H A Dimx6.sh13 machine=$(cat /proc/device-tree/model)
62 echo "$IMX6_MODEL" > /tmp/sysinfo/model
/openwrt/target/linux/ipq806x/base-files/lib/
H A Dipq806x.sh14 machine=$(cat /proc/device-tree/model)
51 echo "$IPQ806X_MODEL" > /tmp/sysinfo/model
/openwrt/target/linux/kirkwood/base-files/lib/
H A Dkirkwood.sh13 machine=$(cat /proc/device-tree/model)
75 echo "$KIRKWOOD_MODEL" > /tmp/sysinfo/model
/openwrt/target/linux/mvebu/base-files/lib/
H A Dmvebu.sh13 machine=$(cat /proc/device-tree/model)
68 echo "$MVEBU_MODEL" > /tmp/sysinfo/model
/openwrt/target/linux/socfpga/base-files/lib/
H A Dsocfpga.sh13 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 Dnetlogic.sh38 echo "$NETLOGIC_MODEL" > /tmp/sysinfo/model

Completed in 169 milliseconds

12