openwrt/package/boot
Sven Eckelmann 8143709c90 ath79: Add support for OpenMesh OM2P v1
Device specifications:
======================

* Qualcomm/Atheros AR7240 rev 2
* 350/350/175 MHz (CPU/DDR/AHB)
* 32 MB of RAM
* 16 MB of SPI NOR flash
  - 2x 7 MB available; but one of the 7 MB regions is the recovery image
* 2x 10/100 Mbps Ethernet
* 1T1R 2.4 GHz Wi-Fi
* 6x GPIO-LEDs (3x wifi, 2x ethernet, 1x power)
* 1x GPIO-button (reset)
* external h/w watchdog (enabled by default)
* TTL pins are on board (arrow points to VCC, then follows: GND, TX, RX)
* 2x fast ethernet
  - eth0
    + 18-24V passive POE (mode B)
    + used as WAN interface
  - eth1
    + builtin switch port 4
    + used as LAN interface
* 12-24V 1A DC
* external antenna

The device itself requires the mtdparts from the uboot arguments to
properly boot the flashed image and to support dual-boot (primary +
recovery image). Unfortunately, the name of the mtd device in mtdparts is
still using the legacy name "ar7240-nor0" which must be supplied using the
Linux-specfic DT parameter linux,mtd-name to overwrite the generic name
"spi0.0".

Flashing instructions:
======================

Various methods can be used to install the actual image on the flash.
Two easy ones are:

ap51-flash
----------

The tool ap51-flash (https://github.com/ap51-flash/ap51-flash) should be
used to transfer the image to the u-boot when the device boots up.

initramfs from TFTP
-------------------

The serial console must be used to access the u-boot shell during bootup.
It can then be used to first boot up the initramfs image from a TFTP server
(here with the IP 192.168.1.21):

   setenv serverip 192.168.1.21
   setenv ipaddr 192.168.1.1
   tftpboot 0c00000 <filename-of-initramfs-kernel>.bin && bootm $fileaddr

The actual sysupgrade image can then be transferred (on the LAN port) to the
device via

  scp <filename-of-squashfs-sysupgrade>.bin root@192.168.1.1:/tmp/

On the device, the sysupgrade must then be started using

  sysupgrade -n /tmp/<filename-of-squashfs-sysupgrade>.bin

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-01-16 21:42:19 +01:00
..
arm-trusted-firmware-bcm63xx arm-trusted-firmware-bcm63xx: add ATF for Broadcom devices 2021-12-24 22:42:03 +01:00
arm-trusted-firmware-mediatek arm-trusted-firmware-mediatek: update to git HEAD 2021-05-08 23:27:38 +01:00
arm-trusted-firmware-mvebu arm-trusted-firmware-mvebu: bump mv-ddr-marvell to current version 2021-11-27 19:36:36 +01:00
arm-trusted-firmware-rockchip atf-rockchip: update to 2.3 2020-07-28 15:52:44 +02:00
arm-trusted-firmware-sunxi sunxi: add support for H6 boards and OrangePiOnePlus 2021-04-11 23:14:55 +02:00
arm-trusted-firmware-tools arm-trusted-firmware-tools: add patch to pass LDFLAGS 2021-02-10 19:19:18 +00:00
at91bootstrap at91: add support for sam9x60-ek board 2021-10-24 18:52:29 +02:00
fconfig treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-05 12:00:24 -10:00
grub2 grub2: update to 2.06 2021-06-21 09:02:26 -10:00
imx-bootlets imx-bootlets: refresh patches 2021-02-24 16:15:02 +01:00
kexec-tools kexec-tools: add patch to fix issue with appended DTB and zImage on ARM 2021-05-23 15:11:38 +02:00
kobs-ng kobs-ng: update dependencies after 'imx6' -> 'imx' rename 2021-11-03 12:45:40 +01:00
mt7623n-preloader mt7623n-preloader: remove mt7622-preloader 2021-02-28 04:12:23 +00:00
tfa-layerscape tfa-layerscape: fix build on systems without openssl headers 2021-12-28 18:04:13 +01:00
uboot-at91 at91: add support for sam9x60-ek board 2021-10-24 18:52:29 +02:00
uboot-envtools ath79: Add support for OpenMesh OM2P v1 2022-01-16 21:42:19 +01:00
uboot-fritz4040 treewide: use AUTORELEASE on all uboot-* packages 2021-10-02 21:26:12 +02:00
uboot-imx uboot-imx: set BUILD_SUBTARGET to 'cortexa9' 2021-11-03 12:45:40 +01:00
uboot-kirkwood uboot-kirkwood: refresh patches 2021-06-06 19:06:29 +02:00
uboot-lantiq uboot-lantiq: danube: fix hanging lzma kernel uncompression #2 2021-11-27 21:49:10 +01:00
uboot-layerscape uboot-layerscape: bump to LSDK-21.08 2021-12-13 23:22:29 +01:00
uboot-mediatek u-boot.mk: fix pkg-config usage 2021-10-24 18:00:49 +02:00
uboot-mvebu uboot-mvebu: update to v2021.10 2021-11-27 19:39:17 +01:00
uboot-mxs u-boot.mk: always link host libraries static 2021-10-24 18:00:49 +02:00
uboot-omap uboot-omap: Remove omap3_overo configuration 2021-11-28 22:26:27 +01:00
uboot-oxnas treewide: use AUTORELEASE on all uboot-* packages 2021-10-02 21:26:12 +02:00
uboot-ramips treewide: use AUTORELEASE on all uboot-* packages 2021-10-02 21:26:12 +02:00
uboot-rockchip rockchip: rename "Rock Pi 4" to "Rock Pi 4A" 2021-10-10 00:57:56 +02:00
uboot-sunxi uboot-sunxi: add support for FriendlyARM NanoPi R1S H5 2021-10-30 21:17:20 +02:00
uboot-tegra treewide: use AUTORELEASE on all uboot-* packages 2021-10-02 21:26:12 +02:00
uboot-zynq u-boot.mk: always link host libraries static 2021-10-24 18:00:49 +02:00