octeon/generic: ubnt,erlite: define profile
Currently the erlite install shows Model as EBNT_E100, uses eth0 as lan, eth1 as wan, and doesn't use eth2. - define dts for this device, such that we get a cleaner naming here - fix handing of this device to inlude eth2 - change eth0 to wan, like er-4/usg/etc as it once was intended Fixes: https://github.com/openwrt/openwrt/issues/14946 Signed-off-by: Fabian Groffen <grobian@gentoo.org> Link: https://github.com/openwrt/openwrt/pull/17758 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
committed by
Hauke Mehrtens
parent
b4e6fd7b76
commit
26d43b039d
@@ -47,7 +47,7 @@ platform_copy_config_helper() {
|
||||
|
||||
platform_copy_config() {
|
||||
case "$(board_name)" in
|
||||
erlite|\
|
||||
ubnt,erlite|\
|
||||
ubnt,usg)
|
||||
platform_copy_config_helper /dev/sda1 vfat
|
||||
;;
|
||||
@@ -132,7 +132,7 @@ platform_do_upgrade() {
|
||||
ubnt,edgerouter-6p)
|
||||
kernel=/dev/mmcblk0p1
|
||||
;;
|
||||
erlite|\
|
||||
ubnt,erlite|\
|
||||
ubnt,usg)
|
||||
kernel=/dev/sda1
|
||||
;;
|
||||
@@ -161,10 +161,10 @@ platform_check_image() {
|
||||
|
||||
case "$board" in
|
||||
er | \
|
||||
erlite | \
|
||||
itus,shield-router | \
|
||||
ubnt,edgerouter-4 | \
|
||||
ubnt,edgerouter-6p | \
|
||||
ubnt,erlite | \
|
||||
ubnt,usg | \
|
||||
cisco,vedge1000)
|
||||
local kernel_length=$(tar xf $tar_file $board_dir/kernel -O | wc -c 2> /dev/null)
|
||||
|
||||
Reference in New Issue
Block a user