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
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>
6 years ago
..
adm5120 kernel: Replace ledtrig-netdev with upstream backport 6 years ago
adm8668 treewide: use wpad-basic for not small flash targets 6 years ago
apm821xx apm821xx: 4.14: sync config 6 years ago
ar7 treewide: use wpad-basic for not small flash targets 6 years ago
ar71xx build: move seama commands to image-commands.mk 6 years ago
arc770 treewide: use wpad-basic for not small flash targets 6 years ago
archs38 treewide: use wpad-basic for not small flash targets 6 years ago
armvirt kernel: bump 4.14 to 4.14.77 6 years ago
at91 kernel: Deactivate CONFIG_COMPAT_BRK 6 years ago
ath25 kernel: bump 4.14 to 4.14.79 6 years ago
ath79 ath79: add support for devolo WiFi pro 1200i 6 years ago
au1000 treewide: use wpad-basic for not small flash targets 6 years ago
bcm53xx kernel: bump 4.14 to 4.14.91 6 years ago
brcm47xx kernel: add bcma fix for subdevices DMA parameters 6 years ago
brcm63xx brcm63xx: remove broken DSP platform device code 6 years ago
brcm2708 brcm2708: Add feature flag rootfs-part 6 years ago
cns3xxx kernel: bump 4.14 to 4.14.90 6 years ago
gemini kernel: Deactivate CONFIG_COMPAT_BRK 6 years ago
generic kernel/modules: add kmod-pmbus-zl6100 module 6 years ago
imx6 imx6: image: ventana: Add missing BOOT_SCRIPT variable 6 years ago
ipq40xx kernel: bump 4.14 to 4.14.91 6 years ago
ipq806x kernel: bump 4.14 to 4.14.91 6 years ago
ixp4xx treewide: use wpad-basic for not small flash targets 6 years ago
kirkwood treewide: use wpad-basic for not small flash targets 6 years ago
lantiq treewide: dts: Remove default-state=off property from all gpio LED nodes 6 years ago
layerscape kernel: bump 4.14 to 4.14.91 6 years ago
malta treewide: use wpad-basic for not small flash targets 6 years ago
mcs814x kernel: bump 3.18 to 3.18.119 6 years ago
mediatek kernel: bump 4.14 to 4.14.89 6 years ago
mpc85xx mpc85xx: add support for Sophos RED 15w Rev.1 6 years ago
mvebu kernel: bump 4.14 to 4.14.81 6 years ago
mxs mxs: use generic sysinfo board detection 6 years ago
octeon octeon: fix typo in platform.sh 6 years ago
octeontx kernel: enable memory compaction 6 years ago
omap kernel: bump 4.14 to 4.14.77 6 years ago
omap24xx omap24xx: remove referece to not existing kmod-usb-musb-tusb6010 7 years ago
orion treewide: use wpad-basic for not small flash targets 6 years ago
oxnas kernel: Deactivate CONFIG_COMPAT_BRK 6 years ago
pistachio kernel: bump 4.14 to 4.14.91 6 years ago
ppc40x kernel: only optimized for size if small_flash 6 years ago
ppc44x kernel: only optimized for size if small_flash 6 years ago
ramips kernel: bump 4.14 to 4.14.91 6 years ago
rb532 kernel: bump 4.14 to 4.14.86 6 years ago
samsung kernel: Deactivate CONFIG_COMPAT_BRK 6 years ago
sunxi kernel: bump 4.14 to 4.14.77 6 years ago
uml treewide: use wpad-basic for not small flash targets 6 years ago
x86 x86: Add support for kernel 4.19 6 years ago
xburst kernel: bump 3.18 to 3.18.119 6 years ago
zynq kernel: Deactivate CONFIG_COMPAT_BRK 6 years ago
Makefile