You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/brcm47xx
Jo-Philipp Wich d7d10f2c1e brcm47xx: rework model detection
On brcm47xx boards, the model ID is the combination of the "boardtype" nvram
variable and an optional supplemental "boardnum" variable while the human
readable model name is usually exposed in the "machine" field of the
/proc/cpuinfo file.

Move the extraction of the board nvram variables and model name string into
the 01_sysinfo file and rework the 01_detect board configuration script to
solely use the prepared sysinfo values without performing own detection
logic.

As a consequence, we can drop the ucidef_set_board_id() and
ucidef_set_model_name() invocations in favor to the generic behaviour
which copies the /tmp/sysinfo/{board_name,model} values into the board.json
"id" and "name" fields respectively.

Since "01_detect" only contains network configuration logic after this
change, move it to "01_network" and rename the contained "detect_by_xxx"
functions to "configure_by_xxx" instead, to avoid potential confusion.

Fixes FS#1576
Acked-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
6 years ago
..
base-files brcm47xx: rework model detection 6 years ago
generic brcm47xx: drop some personal profiles 8 years ago
image brcm47xx: image: build firmware for Asus WL-500g Deluxe 7 years ago
legacy brcm47xx: drop some personal profiles 8 years ago
mips74k build: remove mips16 feature flag from target makefiles 8 years ago
patches-4.9 kernel: bump 4.9 to 4.9.111 6 years ago
patches-4.14 brcm47xx: revert upstream commit breaking BCM4718A1 6 years ago
Makefile brcm47xx: switch to the kernel 4.14 6 years ago
config-4.9 brcm47xx: Add support for kernel 4.9 7 years ago
config-4.14 kernel: enable THIN_ARCHIVES by default 6 years ago
modules.mk brcm47xx: fix bgmac package 8 years ago