immortalwrt/package/boot
Peter Adkins 73fcf3c23d
ipq40xx: add support for Linksys WHW01 v1
This patch adds support for Linksys WHW01 v1 ("Velop") [FCC ID Q87-03331].

Specification
-------------

SOC:             Qualcomm IPQ4018
WiFi 1:          Qualcomm QCA4019 IEEE 802.11b/g/n
WiFi 2:          Qualcomm QCA4019 IEEE 802.11a/n/ac
Bluetooth:       Qualcomm CSR8811 (A12U)
Ethernet:        Qualcomm QCA8072 (2-port)
SPI Flash 1:     Mactronix MX25L1605D (2MB)
SPI Flash 2:     Winbond W25M02GV (256MB)
DRAM:            Nanya NT5CC128M16IP-DI (256MB)
LED Controller:  NXP PCA963x (I2C)
Buttons:         Single reset button (GPIO).

Notes
-----

There does not appear to be a way to trigger TFTP recovery without entering
U-Boot. The device must be opened to access the serial console in order to
first flash OpenWrt onto a device from factory.

The device has automatic recovery backed by a second set of partitions on
the larger of the two SPI flash ICs. Both the primary and secondary must
be flashed to prevent accidental rollback to "factory" after 3 failed boot
attempts.

Serial console
--------------

A serial console is available on the following pins of the populated J2
connector on the device mainboard (115200 8n1).

(<-- Top of PCB / Device)

  J2
  [o o o o o o]
       |   | |
       |   |  `-- GND
       |    `---- TX
       `--------- RX

Installation instructions
-------------------------

1. Setup TFTP server with server IP set to 192.168.1.236.
2. Copy compiled `...squashfs-factory.bin` to `nodes-jr.img` in tftp root.
3. Connect to console using pinout detailed in the serial console section.
4. Power on device and press enter when prompted to drop into U-Boot.
5. Flash first partition device via `run flashimg`.
6. Once complete, reset device and allow to power up completely.
7. Once comfortable with device upgrade reboot and drop back into U-Boot.
8. Flash the second partition (recovery) via `run flashimg2`.

Revert to "factory"
-------------------

1. Download latest firmware update from vendor support site.
2. Copy extracted `.img` file to `nodes-jr.img` in tftp root.
3. Connect to console using pinout detailed in the serial console section.
4. Power on device and press enter when prompted to drop into U-Boot.
5. Flash first partition device via `run flashimg`.
6. Once complete, reset device and allow to power up completely.
7. Once comfortable with device upgrade reboot and drop back into U-Boot.
8. Flash the second partition (recovery) via `run flashimg2`.

Link: https://github.com/openwrt/openwrt/pull/3682
Signed-off-by: Peter Adkins <peter@sunkenlab.com>
(calibration from nvmem, updated to 5.10+5.15)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(cherry picked from commit b4184c666c)
2022-06-06 18:21:08 +08:00
..
arm-trusted-firmware-mediatek arm-trusted-firmware-mediatek: remove no longer needed Configure step 2022-05-10 14:29:29 +08:00
arm-trusted-firmware-mvebu arm-trusted-firmware-mvebu: Add hash for aarch64 cm3-gcc 2021-09-21 23:50:49 +08:00
arm-trusted-firmware-rockchip atf-rockchip: update to 2.3 2020-07-18 13:24:44 +08:00
arm-trusted-firmware-rockchip-vendor arm-trusted-firmware-rockchip-vendor: workaround for VARIANT issue 2021-08-13 00:36:15 +08:00
arm-trusted-firmware-sunxi sunxi: remove h6 pcie support 2022-04-02 23:54:26 +08:00
arm-trusted-firmware-tools arm-trusted-firmware-tools: add patch to pass LDFLAGS 2021-02-11 12:09:41 +08:00
at91bootstrap at91: add support for sam9x60-ek board 2022-03-17 11:23:53 +08:00
aw-el2-barebone sunxi: add support for OrangePi 3 2021-06-20 13:12:45 +08:00
fconfig treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-08 12:11:32 +08:00
grub2 x86: grub2: search for the "kernel" filesystem on all disks 2022-04-12 03:03:57 +08:00
imx-bootlets imx-bootlets: refresh patches 2021-02-25 12:02:55 +08:00
kexec-tools kexec-tools: add patch to fix issue with appended DTB and zImage on ARM 2021-05-23 23:28:54 +08:00
kobs-ng kobs-ng: update dependencies after 'imx6' -> 'imx' rename 2021-12-22 11:26:10 +08:00
mt7623n-preloader mediatek: mt7623n-preloader: add preloader for Banana Pi R64 2020-09-20 11:36:49 +08:00
tfa-layerscape layerscape: use semantic versions for LSDK 2022-05-07 12:23:26 +08:00
uboot-at91 at91: add support for sam9x60-ek board 2022-03-17 11:23:53 +08:00
uboot-envtools ipq40xx: add support for Linksys WHW01 v1 2022-06-06 18:21:08 +08:00
uboot-fritz4040 treewide: use AUTORELEASE on all uboot-* packages 2021-10-09 00:13:30 +08:00
uboot-imx uboot-imx: set BUILD_SUBTARGET to 'cortexa9' 2021-12-22 11:31:14 +08:00
uboot-kirkwood uboot-kirkwood: refresh patches 2021-06-07 23:25:28 +08:00
uboot-lantiq uboot-lantiq: danube: fix hanging lzma kernel uncompression #2 2021-12-17 18:23:33 +08:00
uboot-layerscape layerscape: use semantic versions for LSDK 2022-05-07 12:23:26 +08:00
uboot-mediatek uboot-mediatek: update to version 2022.01 2022-02-14 18:33:31 +08:00
uboot-mvebu uboot-mvebu: backport patch to fix eMMC 2022-03-24 16:49:22 +08:00
uboot-mxs u-boot.mk: always link host libraries static 2021-10-28 23:57:23 +08:00
uboot-omap uboot-omap: Remove omap3_overo configuration 2021-12-01 23:48:09 +08:00
uboot-oxnas treewide: use AUTORELEASE on all uboot-* packages 2021-10-09 00:13:30 +08:00
uboot-rockchip uboot-rockchip: add OrangePi R1 Plus LTS support 2022-02-14 21:46:47 +08:00
uboot-sunxi sunxi: fix mac address for h6 devices 2022-04-08 11:28:31 +08:00
uboot-tegra treewide: use AUTORELEASE on all uboot-* packages 2021-10-09 00:13:30 +08:00
uboot-zynq u-boot.mk: always link host libraries static 2021-10-28 23:57:23 +08:00