Commit Graph

3 Commits (7c306ae640feb4d42b352175de27b034bd917938)

Author SHA1 Message Date
Mathias Kresin ac3e05c5d7 treewide: populate boardname and model earlier
For targets using the generic board detection and board specific
settings in diag.sh, the board name is still unset at the time the
set_state() provided by diag.sh is called by 10_indicate_preinit.

Change the execution order to ensure the boardname is populated before
required the first time. Do the target specific board detection as
early as possible, directly followed by the generic one to allow a
seamless switch to the generic function for populating /tmp/sysinfo/.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years ago
Florian Fainelli ad576d262d at91: add Device Tree based board detection
Set up eth0 as LAN interface by default.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 46174
9 years ago
Hauke Mehrtens fe38dcf8f3 at91: Add AT91 board and model name to /tmp/sysinfo
From 9158e3282db592e78fb32a2c8a0903ef21b97f5c Mon Sep 17 00:00:00 2001
 From: Owen Kirby <osk@exegin.com>
 Date: Fri, 11 Apr 2014 18:28:56 -0700
 Subject: [PATCH 3/3] [at91] Add AT91 board and model name to /tmp/sysinfo.

This patch extracts the board name and model information from the /proc/device-tree
node in order to provide something a little more friendly on the LuCI sysinfo page
than just "AT91SAM9 (Device Tree)"

Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 40598
10 years ago