openwrt/target/linux/mvebu/image
Pawel Dembicki 9149ed4f05 mvebu: cortexa9: Add support for Ctera C200-V2
2-Bay NAS - maximum two 3.5" Harddisks

Hardware:
  - SoC: Marvell 88F6707-A1 ARMv7 Processor 1,2GHz (ARMADA 370 SoC)
  - Ram: 1GB (2x Nanya NT5CC512M8DN-D1)
  - NAND Flash: 256MB (ESMT F59L2G81A-25T)
  - Lan: 1x GBE (Marvell 88E1318-NNB2)
  - Storage: 2x SATA HDD 3.5" Slot
  - USB: 2x USB 3.0 port (Renesas uPD720202)
  - Console: Internal J3 connector (1: Vcc, 2: Rx, 3: Tx, 4: GND)
  - LEDs: 13x GPIO controlled
  - Buttons: 2x GPIO controlled

Known issues:
  - Buzzer is unused due lack of proper driver
  - USB1/2 usbport ledtrigger won't work (through DT)
  - Renesas uPD720202 requires firmware file. It's possible to find
    non-free binary. Please look for 'UPDATE.mem' file and put in into
    '/lib/firmware/renesas_usb_fw.mem' file.

Installation:
  - Apply factory initramfs image via stock web-gui.
  - Do sysupgrade to make installation complete.

Back to stock:
  - OpenWrt rootfs partition use unused space after stock firmware.
  - Full revert is possible.
  - Login via ssh and run:

 ## ctera_c200-v2_back_to_factory start ##
 . /lib/functions.sh
 part=$(find_mtd_part "active_bank")
 active_bank=$(strings "$part" | grep bank)
 if [ "$active_bank" = "bank1" ]; then
 	echo "bank2" > /tmp/change_bank
 else
 	echo "bank1" > /tmp/change_bank
 fi
 mtd write /tmp/change_bank active_bank
 reboot
 ## ctera_c200-v2_back_to_factory end ##

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
(put back-to-stock script into commit message, removed dup. SUBPAGESIZE var,
added 01_leds for non-working dt-usb-port trigger)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2022-01-15 17:41:19 +01:00
..
clearfog.bootscript mvebu: image: introduce BOOT_SCRIPT variable 2019-05-11 23:11:04 +02:00
cortexa9.mk mvebu: cortexa9: Add support for Ctera C200-V2 2022-01-15 17:41:19 +01:00
cortexa53.mk treewide: rename IMAGE_PREFIX/IMAGE_NAME to DEVICE_IMG_* 2021-02-25 18:11:06 +01:00
cortexa72.mk mvebu: add Globalscale MOCHAbin 2021-10-02 16:45:35 +02:00
espressobin.bootscript mvebu: Add bootscript for espressobin to support mainline firmware 2020-10-11 16:53:20 +02:00
gen_mvebu_sdcard_img.sh target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
generic-arm64.bootscript mvebu: image: add check for fdt_add_r and kernel_addr_r variables 2020-09-17 21:09:51 +02:00
Makefile mvebu: cortexa9: Add support for Ctera C200-V2 2022-01-15 17:41:19 +01:00
turris-omnia.bootscript mvebu: Turris Omnia: use SFP module, if present 2021-08-08 19:50:45 +02:00
udpu.bootscript mvebu: uDPU: add sysupgrade support 2019-08-24 23:11:15 +02:00