aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rb532/base-files
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-08-07 16:08:28 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-02 16:29:22 +0200
commit94198e2a1c26b75cc1b349f758273bc678569ce9 (patch)
treea1891b8b9d1474484b7faed35a8955203ccdc039 /target/linux/rb532/base-files
parent7d29a557140381ef1815329f6843b88b4126d490 (diff)
downloadupstream-94198e2a1c26b75cc1b349f758273bc678569ce9.tar.gz
upstream-94198e2a1c26b75cc1b349f758273bc678569ce9.tar.bz2
upstream-94198e2a1c26b75cc1b349f758273bc678569ce9.zip
rb532: drop target
This target is still on kernel 4.14, and recent attempts to move it to kernel 5.4 have not led to success. The device tester reported that it wouldn't boot with the following messages: From sysupgrade: Press any key within 4 seconds to enter setup.... loading kernel from nand... OK setting up elf image... OK jumping to kernel code At this point the system hangs. From CompactFlash: Press any key within 4 seconds to enter setup.... Booting CF Loading kernel... done setting up elf image... kernel out of range kernel loading failed The tester reported that the same was observed with current master (kernel 4.14) as well. This looks like some kernel size restriction. Since this target is quite old and only supports one device, and since nobody else seemed interested in working on this for quite some time, I decided to not put further work into analyzing the problem and drop this together with the other 4.14-only targets. Patchwork series: https://patchwork.ozlabs.org/project/openwrt/list/?series=197066&state=* Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/rb532/base-files')
-rw-r--r--target/linux/rb532/base-files/etc/config/network26
-rw-r--r--target/linux/rb532/base-files/etc/diag.sh17
-rw-r--r--target/linux/rb532/base-files/lib/preinit/01_sysinfo11
-rw-r--r--target/linux/rb532/base-files/lib/upgrade/platform.sh17
4 files changed, 0 insertions, 71 deletions
diff --git a/target/linux/rb532/base-files/etc/config/network b/target/linux/rb532/base-files/etc/config/network
deleted file mode 100644
index c689d63278..0000000000
--- a/target/linux/rb532/base-files/etc/config/network
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright (C) 2006 OpenWrt.org
-
-config interface loopback
- option ifname lo
- option proto static
- option ipaddr 127.0.0.1
- option netmask 255.0.0.0
-
-config interface wan
- option ifname eth0
- option proto dhcp
-
-config interface lan
- option type bridge
- option ifname eth2
- option proto static
- option ipaddr 192.168.1.1
- option netmask 255.255.255.0
- option ip6assign 60
-
-config interface wan6
- option ifname eth0
- option proto dhcpv6
-
-config globals globals
- option ula_prefix auto
diff --git a/target/linux/rb532/base-files/etc/diag.sh b/target/linux/rb532/base-files/etc/diag.sh
deleted file mode 100644
index 482b8e9953..0000000000
--- a/target/linux/rb532/base-files/etc/diag.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2007-2013 OpenWrt.org
-
-. /lib/functions/leds.sh
-
-status_led="rb500led:amber"
-
-set_state() {
- case "$1" in
- preinit)
- status_led_on
- ;;
- done)
- status_led_off
- ;;
- esac
-}
diff --git a/target/linux/rb532/base-files/lib/preinit/01_sysinfo b/target/linux/rb532/base-files/lib/preinit/01_sysinfo
deleted file mode 100644
index 4c932fde19..0000000000
--- a/target/linux/rb532/base-files/lib/preinit/01_sysinfo
+++ /dev/null
@@ -1,11 +0,0 @@
-get_model_rb532() {
- grep system\ type /proc/cpuinfo | awk -F ": " '{print $2}'
-}
-
-do_sysinfo_rb532() {
- mkdir -p /tmp/sysinfo
- echo rb532 > /tmp/sysinfo/board_name
- get_model_rb532 > /tmp/sysinfo/model
-}
-
-boot_hook_add preinit_main do_sysinfo_rb532
diff --git a/target/linux/rb532/base-files/lib/upgrade/platform.sh b/target/linux/rb532/base-files/lib/upgrade/platform.sh
deleted file mode 100644
index 334d6e2ff6..0000000000
--- a/target/linux/rb532/base-files/lib/upgrade/platform.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-REQUIRE_IMAGE_METADATA=1
-RAMFS_COPY_BIN='nandwrite'
-CI_KERNPART=none
-
-platform_check_image() {
- [ -e /dev/ubi0 ] || {
- ubiattach -m 1
- sleep 1
- }
- return 0;
-}
-
-platform_do_upgrade() {
- mtd erase kernel
- tar xf "$1" "sysupgrade-$(board_name)/kernel" -O | nandwrite -o /dev/mtd0 -
- nand_do_upgrade "$1"
-}