<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/aparcar/package/boot, branch master</title>
<subtitle>Staging tree of Paul Spooren</subtitle>
<id>https://git.openwrt.org/openwrt/staging/aparcar/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/aparcar/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/'/>
<updated>2023-02-18T15:55:35Z</updated>
<entry>
<title>ramips: add support for Senao Engenius EPG600</title>
<updated>2023-02-18T15:55:35Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2021-04-19T19:45:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=4ef86c620f03b3b8b3220d11f77948e7a10469d8'/>
<id>urn:sha1:4ef86c620f03b3b8b3220d11f77948e7a10469d8</id>
<content type='text'>
FCC ID: A8J-EPG600

Engenius EPG600 is an indoor wireless router with
1 Gb ethernet switch, dual-band wireless,
internal antenna plates, USB, and phone lines (not supported)

this board is a Senao device:
the hardware is equivalent to EnGenius ESR600 (except for phone lines)
the software is Senao SDK which is based on openwrt and uboot
which uses the legacy Senao header with Vendor / Product IDs
to verify the firmware upgrade image.

**Specification:**

  - MT7620 SOC		MIPS 24kec, 2.4 GHz WMAC, 2x2
  - RT5592N WLAN	PCI chip, 5 GHz, 2x2
  - QCA8337N Gb SW	RGMII GbE, SW P0 -- SOC P5, 5 LEDs
  - 40 MHz clock
  - 16 MB FLASH		MX25L12845EMI-10G
  - 64 MB RAM		NT5TU32M16
  - UART console	J2, populated
  - USB 2.0 port	direct to SOC
  - 6 GPIO LEDs		power, 2G, 5G, wps2g, wps5g, line
  - 3 buttons		reset, wps, "reg" (registeration)
  - 4 antennas		internal omni-directional plates

NOT YET SUPPORTED: VoIP

  - Si3050-FT + Si3019-FT	Voice DAA, SPI control, PCM data
  - Phone Ports "TEL", "LINE"	RJ11, 4P2C (2 pins)

**MAC addresses:**

  MAC address labeled as MAC ADDRESS
  MACs present in both wifi cal data and uboot environment

  eth0.1/phy1	----	*:82	rf 0x4
  phy0		----	*:83	factory 0x4
  eth0.2	MAC	*:b8	"wanaddr"

**Installation:**

  Method 1: Firmware upgrade page:

    (if you cannot access the APs webpage)
    factory reset with the reset button
    connect ethernet to a computer
    OEM webpage at 192.168.0.1
    username and password 'admin'

    Navigate to gear icon, "Device Management", "Tools"
    select the factory.dlf image
    Upload and verify checksum

  Method 2: Serial to upload initramfs:

    Follow directions for TFTP recovery
    upload and boot initramfs and do a sysupgrade

**TFTP recovery:**

  Requires UART serial console, reset button does nothing

  rename initramfs-kernel.bin to 'uImageEPG600'
  make available on TFTP server at 192.168.99.8
  power board, interrupt boot with "4"
  execute `tftpboot` and `bootm` (with the load address)

**Return to OEM:**

  Images from OEM are provided, but not compatible
  with openwrt sysupgrade. So it must be modified.

  Alternatively, back up all mtd partitions before flashing

**Note on switch registers:**

  The necessary registers needed for the QCA8337 switch
  can be read from interrupted boot (tftpboot, bootm)
  by using the following lines in the switch driver ar8327.c
  in the function 'ar8327_hw_config_of'
  where 'qca,ar8327-initvals' is parsed from DTS
  before the new register values are written:

    pr_info("0x04 %08x\n", ar8xxx_read(priv, AR8327_REG_PAD0_MODE));
    pr_info("0x08 %08x\n", ar8xxx_read(priv, AR8327_REG_PAD5_MODE));
    pr_info("0x0c %08x\n", ar8xxx_read(priv, AR8327_REG_PAD6_MODE));
    pr_info("0x10 %08x\n", ar8xxx_read(priv, AR8327_REG_POWER_ON_STRAP));

Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>uboot-envtools: add support for APRESIA ApresiaLightGS120GT-SS</title>
<updated>2023-02-13T11:22:17Z</updated>
<author>
<name>INAGAKI Hiroshi</name>
</author>
<published>2022-10-09T08:43:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=54c5f33b3099256eaac31cad0e407ca87623e3a4'/>
<id>urn:sha1:54c5f33b3099256eaac31cad0e407ca87623e3a4</id>
<content type='text'>
This patch adds support for APRESIA ApresiaLightGS120GT-SS to
uboot-envtools.

Signed-off-by: INAGAKI Hiroshi &lt;musashino.open@gmail.com&gt;
</content>
</entry>
<entry>
<title>ramips: add support for ASUS RT-AX54</title>
<updated>2023-02-12T17:27:45Z</updated>
<author>
<name>Karl Chan</name>
</author>
<published>2023-01-29T05:37:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=92276eef704af0d74d067676de7e8b9966de91ca'/>
<id>urn:sha1:92276eef704af0d74d067676de7e8b9966de91ca</id>
<content type='text'>
Specifications:
- Device: ASUS RT-AX54 (AX1800S/HP,AX54HP)
- SoC: MT7621AT
- Flash: 128MB
- RAM: 256MB
- Switch: 1 WAN, 4 LAN (10/100/1000 Mbps)
- WiFi: MT7905 2x2 2.4G + MT7975 2x2 5G
- LEDs: 1x POWER (blue, configurable)
        1x LAN (blue, configurable)
        1x WAN (blue, configurable)
	1x 2.4G (blue, not configurable)
	1x 5G (blue, not configurable)

Flash by U-Boot TFTP method:
- Configure your PC with IP 192.168.1.2
- Set up TFTP server and put the factory.bin image on your PC
- Connect serial port(rate:115200) and turn on AP, then interrupt "U-Boot Boot Menu" by hitting any key
   Select "2. Upgrade firmware"
   Press enter when show "Run firmware after upgrading? (Y/n):"
   Select 0 for TFTP method
   Input U-Boot's IP address: 192.168.1.1
   Input TFTP server's IP address: 192.168.1.2
   Input IP netmask: 255.255.255.0
   Input file name: openwrt-ramips-mt7621-asus_rt-ax1800hp-squashfs-factory.bin
- Restart AP aftre see the log "Firmware upgrade completed!"

Signed-off-by: Karl Chan &lt;exkc@exkc.moe&gt;
</content>
</entry>
<entry>
<title>uboot-envtools: filogic: bpi-r3: fix env selection</title>
<updated>2023-01-29T03:43:58Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2023-01-29T03:42:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=90dbdb4941ba79055cc9327c6f7d503583020c96'/>
<id>urn:sha1:90dbdb4941ba79055cc9327c6f7d503583020c96</id>
<content type='text'>
Selecting the environment when booting from SD card has been broken by
a previous commit. Fix it.

Fixes: f46355b4d7 ("uboot-envtools: mediatek_filogic: fix BPi-R3 when no OS is installed")
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>uboot-envtools: mt7622: bpi-r64: fix env selection</title>
<updated>2023-01-29T03:43:58Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2023-01-29T03:40:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=e51a57e1924176afe60cd6e76b7ee4eec3e6f6a2'/>
<id>urn:sha1:e51a57e1924176afe60cd6e76b7ee4eec3e6f6a2</id>
<content type='text'>
Selecting the environment when booting from SD card has been broken by
a previous commit. Fix it.

Fixes: 84b5b0f88c ("uboot-envtools: mediatek/mt7622: don't rely on mapped rootfs")
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>ath79: add support for Senao Engenius EWS660AP</title>
<updated>2023-01-28T19:34:00Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2023-01-13T05:37:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=52992efc345b693486e102a631953600ee7c0ba8'/>
<id>urn:sha1:52992efc345b693486e102a631953600ee7c0ba8</id>
<content type='text'>
FCC ID: A8J-EWS660AP

Engenius EWS660AP is an outdoor wireless access point with
2 gigabit ethernet ports, dual-band wireless,
internal antenna plates, and 802.3at PoE+

**Specification:**

  - QCA9558 SOC		2.4 GHz, 3x3
  - QCA9880 WLAN	mini PCIe card, 5 GHz, 3x3, 26dBm
  - AR8035-A PHY	RGMII GbE with PoE+ IN
  - AR8033 PHY		SGMII GbE with PoE+ OUT
  - 40 MHz clock
  - 16 MB FLASH		MX25L12845EMI-10G
  - 2x 64 MB RAM
  - UART at J1		populated, RX grounded
  - 6 internal antenna plates (5 dbi, omni-directional)
  - 5 LEDs, 1 button (power, eth0, eth1, 2G, 5G) (reset)

**MAC addresses:**

  Base MAC addressed labeled as "MAC"
  Only one Vendor MAC address in flash

  eth0 *:d4 MAC art 0x0
  eth1 *:d5 --- art 0x0 +1
  phy1 *:d6 --- art 0x0 +2
  phy0 *:d7 --- art 0x0 +3

**Serial Access:**

  the RX line on the board for UART is shorted to ground by resistor R176
  therefore it must be removed to use the console
  but it is not necessary to remove to view boot log

  optionally, R175 can be replaced with a solder bridge short

  the resistors R175 and R176 are next to the UART RX pin

**Installation:**

  2 ways to flash factory.bin from OEM:

  Method 1: Firmware upgrade page:

    OEM webpage at 192.168.1.1
    username and password "admin"
    Navigate to "Firmware Upgrade" page from left pane
    Click Browse and select the factory.bin image
    Upload and verify checksum
    Click Continue to confirm and wait 3 minutes

  Method 2: Serial to load Failsafe webpage:

    After connecting to serial console and rebooting...
    Interrupt uboot with any key pressed rapidly
    execute `run failsafe_boot` OR `bootm 0x9fd70000`
    wait a minute
    connect to ethernet and navigate to
    "192.168.1.1/index.htm"
    Select the factory.bin image and upload
    wait about 3 minutes

**Return to OEM:**

  If you have a serial cable, see Serial Failsafe instructions
  otherwise, uboot-env can be used to make uboot load the failsafe image

  ssh into openwrt and run
  `fw_setenv rootfs_checksum 0`
  reboot, wait 3 minutes
  connect to ethernet and navigate to 192.168.1.1/index.htm
  select OEM firmware image from Engenius and click upgrade

**TFTP recovery:**

  Requires serial console, reset button does nothing

  rename initramfs.bin to '0101A8C0.img'
  make available on TFTP server at 192.168.1.101
  power board, interrupt boot
  execute tftpboot and bootm 0x81000000

**Format of OEM firmware image:**

  The OEM software of EWS660AP is a heavily modified version
  of Openwrt Kamikaze. One of the many modifications
  is to the sysupgrade program. Image verification is performed
  simply by the successful ungzip and untar of the supplied file
  and name check and header verification of the resulting contents.
  To form a factory.bin that is accepted by OEM Openwrt build,
  the kernel and rootfs must have specific names...

    openwrt-ar71xx-generic-ews660ap-uImage-lzma.bin
    openwrt-ar71xx-generic-ews660ap-root.squashfs

  and begin with the respective headers (uImage, squashfs).
  Then the files must be tarballed and gzipped.
  The resulting binary is actually a tar.gz file in disguise.
  This can be verified by using binwalk on the OEM firmware images,
  ungzipping then untaring.

  Newer EnGenius software requires more checks but their script
  includes a way to skip them, otherwise the tar must include
  a text file with the version and md5sums in a deprecated format.

  The OEM upgrade script is at /etc/fwupgrade.sh.

  OKLI kernel loader is required because the OEM software
  expects the kernel to be no greater than 1536k
  and the factory.bin upgrade procedure would otherwise
  overwrite part of the kernel when writing rootfs.

Note on PLL-data cells:

  The default PLL register values will not work
  because of the external AR8035 switch between
  the SOC and the ethernet port.

  For QCA955x series, the PLL registers for eth0 and eth1
  can be see in the DTSI as 0x28 and 0x48 respectively.
  Therefore the PLL registers can be read from uboot
  for each link speed after attempting tftpboot
  or another network action using that link speed
  with `md 0x18050028 1` and `md 0x18050048 1`.

  The clock delay required for RGMII can be applied
  at the PHY side, using the at803x driver `phy-mode`.
  Therefore the PLL registers for GMAC0
  do not need the bits for delay on the MAC side.
  This is possible due to fixes in at803x driver
  since Linux 5.1 and 5.3

Tested-by: Niklas Arnitz &lt;openwrt@arnitz.email&gt;
Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>ath79: consolidate Netgear EX7300 series images</title>
<updated>2023-01-24T23:42:52Z</updated>
<author>
<name>Wenli Looi</name>
</author>
<published>2022-11-22T18:34:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=f0eb73a888e2ed980b0943d4a2e4d19ad0af183a'/>
<id>urn:sha1:f0eb73a888e2ed980b0943d4a2e4d19ad0af183a</id>
<content type='text'>
This change consolidates Netgear EX7300 series devices into two images
corresponding to devices that share the same manufacturer firmware
image. Similar to the manufacturer firmware, the actual device model is
detected at runtime. The logic is taken from the netgear GPL dumps in a
file called generate_board_conf.sh.

Hardware details for EX7300 v2 variants
---------------------------------------
SoC: QCN5502
Flash: 16 MiB
RAM: 128 MiB
Ethernet: 1 gigabit port
Wireless 2.4GHz (currently unsupported due to lack of ath9k support):
- EX6250 / EX6400 v2 / EX6410 / EX6420: QCN5502 3x3
- EX7300 v2 / EX7320: QCN5502 4x4
Wireless 5GHz:
- EX6250: QCA9986 3x3 (detected by ath10k as QCA9984 3x3)
- EX6400 v2 / EX6410 / EX6420 / EX7300 v2 / EX7320: QCA9984 4x4

Signed-off-by: Wenli Looi &lt;wlooi@ucalgary.ca&gt;
</content>
</entry>
<entry>
<title>ipq807x: Add ZyXEL NBG7815</title>
<updated>2023-01-19T12:26:15Z</updated>
<author>
<name>André Valentin</name>
</author>
<published>2023-01-03T18:23:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=5dee5965012e788f06e4d095e8cfb73200d818cb'/>
<id>urn:sha1:5dee5965012e788f06e4d095e8cfb73200d818cb</id>
<content type='text'>
ZyXEL NBG7815 is a premium 802.11ax "tri"-band router/AP.
Specifications:
* CPU: Qualcomm IPQ8072A Quad core Cortex-A53 2.2GHz
* RAM: 1 GB 2x Nanya NT5CC256M16ER-EK
* Storage:
        * 8MB serial flash Winbond W25Q64DW
        * 4GB eMMC flash Kingston EMMC04G-M627
* Ethernet:
        * 4x1G RJ45 ports (QCA8074A) with 1x status LED per port
        * 1x2.5G RJ45 port (QCA8081) with 1x status LED
        * 1x10G RJ45 port (AQR113C) with 1x status LED
* Switch: Qualcomm Atheros QCA8075
* WLAN:
        * 2.4GHz: Qualcomm QCN5024 4x4@40MHz 802.11b/g/n/ax 1147 Mbps PHY rate
        * 2x 5GHz: Qualcomm QCN5054 4x4 802.11a/b/g/n/ac/ax 2402 PHY rate
* Bluetooth CSR8811 using HSUART, currently unsupported
* USB: 1x USB3.0 Type-A port
* LED-s currently not supported:
        * White
        * Dark Blu
        * Amber
        * Purple
        * Purple and dark blue
        * Red
* Buttons:
        * 1x Soft reset
* Power: 12V DC Jack

Installation instructions:
* Disconnect WAN
* Reset device to factory defaults by pushing reset button 15 sec,
  LEDs should lit orange color.
* After 5-10 minutes, when the LEDs turn constant dark blue,
  put your LAN cable and connect at address 192.168.123.1 by telnet on port 23
* Login with
  NBG7815 login: root
  password: nbg7815@2019
* cd /tmp/ApplicationData
* wget -O openwrt-ipq807x-generic-zyxel_nbg7815-squashfs-sysupgrade.bin http://...
* wget https://github.com/itorK/nbg7815_tools/blob/main/flash_to_openwrt.sh
* run flash_to_openwrt.sh
If you can't use wget, you can transfer the files via nc.
See https://openwrt.org/inbox/toh/zyxel/nbg7815_armor_g5 for installation details.

Bluetooth usage:
* you need at least package bluez-utils, recommended bluez-daemon
* run following commands to enable and start
  hciattach  /dev/ttyMSM1 bcsp
  hciconfig hci0 up

Many thanks to itorK for his work on this device:
https://github.com/itorK/openwrt/tree/nbg7815

Reviewed-by: Robert Marko &lt;robimarko@gmail.com&gt;
Signed-off-by: André Valentin &lt;avalentin@marcant.net&gt;
</content>
</entry>
<entry>
<title>uboot-mediatek: Fix ramips/mt76x8 buildbot</title>
<updated>2023-01-18T20:26:39Z</updated>
<author>
<name>Jo Deisenhofer</name>
</author>
<published>2023-01-17T18:46:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=ef9acfb68bb4e3dbddbd19d2333147a935bcda0e'/>
<id>urn:sha1:ef9acfb68bb4e3dbddbd19d2333147a935bcda0e</id>
<content type='text'>
Move defines from header to defconfig
The package build and the Buildbot hang in 'make syncconfig' for
u-boot-ravpower_rp-wd009 because CONFIG_SYS_MIPS_TIMER_FREQ is not in
the .config, causing a console prompt. Also moved two other defines in
defconfig causing duplicate definition warnings.

Fixes: 3d5c5427e17a ("uboot-mediatek: update to U-Boot 2023.01")
Signed-off-by: Jo Deisenhofer &lt;jo.deisenhofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>uboot-envtools: ipq40xx: fix WHW03V2 mtd partition</title>
<updated>2023-01-17T23:07:30Z</updated>
<author>
<name>Vincent Tremblay</name>
</author>
<published>2023-01-17T14:02:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=afcf1a4de4599a371f14db170b8456da915088bf'/>
<id>urn:sha1:afcf1a4de4599a371f14db170b8456da915088bf</id>
<content type='text'>
The configured u_env partition for the Linksys WHW03 V2 was not correct.
It should have been set to mtd6.

This fix allow to flash the OEM firmware from OpenWRT and to change the
boot partition using fw_setenv.

Fixes: 9e4ede8344d6 ("ipq40xx: add support for Linksys WHW03 V2")
Signed-off-by: Vincent Tremblay &lt;vincent@vtremblay.dev&gt;
</content>
</entry>
</feed>
