1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
openwrt/target/linux
David Bauer 97e4311fca mpc85xx: add support for Sophos RED 15w Rev.1
Hardware
========
CPU:  Freescale P1010 PowerPC
RAM:  128M DDR3
NAND: 128MiB
ETH:  RTL8211F SGMII PHY
      RTL8367B 5-port RGMII switch
      (not connected to SoC - unmanaged)
WiFi: SparkLan WPEA-121N
       - Atheros AR9382 2T2R abgn
USB:  1x USB 2.0
LED:  System, Router, Internet, Tunnel controllable
      LAN1-4, WAN, Power non-controllable
BTN:  None

Installation
============
1. Power on the device while attached to the Console port.

2. Halt the U-Boot by pressing Enter when prompted.

3. Set the correct bootcmd for booting OpenWRT:
 > setenv bootargs_owrt "setenv bootargs console=ttyS0,115200"
 > setenv bootcmd "run bootargs_owrt;
   nand read 0x1000000 0x300000 0x800000;
   bootm 0x1000000;"
 > saveenv

5. Rename OpenWRT initramfs image to 'kernel.bin' and place it in a
   TFTP server root-directory served on 192.168.1.2/24. Connect your
   computer to one of the LAN-ports.

4. Boot OpenWRT initramfs image with
 > run bootargs_owrt; tftpboot 0x1000000 192.168.1.2:kernel.bin;
   bootm 0x1000000;

6. (Optional)
   Make a Backup of 'sophos-os1', 'sophos-os2' and 'sophos-data' in case
   you ever want to go back to the vendor firmware.

7. Create Ubi Volume on mtd4 by executing
 > ubiformat /dev/mtd4 -y

8. Transfer OpenWRT sysupgrade image to the device via SCP and install it
   with
 > sysupgrade -n <openwrt-image-file>

Back to Stock
=============
If you want to go back to the stock firmware, here is the bootcmd of the
vendor firmware:
 > setenv bootargs console=ttyS0,115200 root=/dev/mtdblock5;
   nand read 0xc00000 0x00300000  0x100000;
   nand read 0x1000000 0x00400000 0x00800000;
   bootm 0x1000000 - 0xc00000

Set it via 'setenv' from the U-Boot shell and don't forget to save it
using 'saveenv'!

After this, boot the OpenWRT initramfs image just like you would for
installation. Write back the three vendor partitions using mtd. Reboot
the device afterwards.

Signed-off-by: David Bauer <mail@david-bauer.net>
[refresh and reorder patches]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2019-01-13 11:31:43 +01:00
..
adm5120
adm8668
apm821xx apm821xx: 4.14: sync config 2019-01-13 11:31:43 +01:00
ar7
ar71xx build: move seama commands to image-commands.mk 2018-12-30 20:08:13 +01:00
arc770
archs38
armvirt
at91 kernel: Deactivate CONFIG_COMPAT_BRK 2018-12-26 17:32:48 +01:00
ath25
ath79 ath79: add support for devolo WiFi pro 1200i 2019-01-05 21:55:22 +01:00
au1000
bcm53xx kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
brcm47xx kernel: add bcma fix for subdevices DMA parameters 2019-01-11 07:33:56 +01:00
brcm63xx brcm63xx: remove broken DSP platform device code 2018-12-30 13:22:13 +01:00
brcm2708 brcm2708: Add feature flag rootfs-part 2018-12-27 14:06:38 +01:00
cns3xxx kernel: bump 4.14 to 4.14.90 2018-12-24 15:06:33 +00:00
gemini kernel: Deactivate CONFIG_COMPAT_BRK 2018-12-26 17:32:48 +01:00
generic kernel/modules: add kmod-pmbus-zl6100 module 2019-01-13 11:07:37 +01:00
imx6
ipq40xx kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
ipq806x kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
ixp4xx
kirkwood
lantiq treewide: dts: Remove default-state=off property from all gpio LED nodes 2018-12-17 08:16:28 +01:00
layerscape kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
malta
mcs814x
mediatek kernel: bump 4.14 to 4.14.89 2018-12-18 14:24:57 +01:00
mpc85xx mpc85xx: add support for Sophos RED 15w Rev.1 2019-01-13 11:31:43 +01:00
mvebu
mxs
octeon octeon: fix typo in platform.sh 2019-01-12 19:40:13 +01:00
octeontx
omap
omap24xx
orion
oxnas kernel: Deactivate CONFIG_COMPAT_BRK 2018-12-26 17:32:48 +01:00
pistachio kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
ppc40x
ppc44x
ramips kernel: bump 4.14 to 4.14.91 2019-01-07 17:09:06 +01:00
rb532
samsung kernel: Deactivate CONFIG_COMPAT_BRK 2018-12-26 17:32:48 +01:00
sunxi
uml
x86 x86: Add support for kernel 4.19 2019-01-12 22:40:36 +01:00
xburst
zynq kernel: Deactivate CONFIG_COMPAT_BRK 2018-12-26 17:32:48 +01:00
Makefile