<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/ansuel/package/boot, branch master</title>
<subtitle>Staging tree of Christian Marangi</subtitle>
<id>https://git.openwrt.org/openwrt/staging/ansuel/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/ansuel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/'/>
<updated>2022-06-29T11:08:59Z</updated>
<entry>
<title>mvebu: add Methode euroDPU support</title>
<updated>2022-06-29T11:08:59Z</updated>
<author>
<name>Robert Marko</name>
</author>
<published>2022-03-30T12:04:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=57a38c8d3e85dd94d4912febc3906db77a855b43'/>
<id>urn:sha1:57a38c8d3e85dd94d4912febc3906db77a855b43</id>
<content type='text'>
Add support for Methode euroDPU which is based on uDPU but does not
have a second SFP cage, instead of which a Maxlinear G.hn IC is used.

PHY mode is set to 1000Base-X despite Maxlinear IC being capable of
2500Base-X since until 5.15 support for mvebu is available trying to use
2500Base-X will cause buffer overruns for which the fix is not easily
backportable.

Installation instructions:
1. Boot the FIT initramfs image (openwrt-mvebu-cortexa53-methode_edpu-initramfs.itb)
2. sysupgrade using the openwrt-mvebu-cortexa53-methode_edpu-firmware.tgz

Signed-off-by: Robert Marko &lt;robert.marko@sartura.hr&gt;
</content>
</entry>
<entry>
<title>mvebu: update and refactor uDPU DTS</title>
<updated>2022-06-29T11:08:59Z</updated>
<author>
<name>Robert Marko</name>
</author>
<published>2022-03-28T12:26:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=7f73acade0cde61341cb77e0dc74de51ac059d4f'/>
<id>urn:sha1:7f73acade0cde61341cb77e0dc74de51ac059d4f</id>
<content type='text'>
uDPU DTS has pending upstream fixups, so backport those as well as split
the DTS into a DTSI and DTS in preparation for euroDPU support which
uses uDPU as the base.

Ethernet aliases have not yet been sent upstream but will be soon in order
for U-boot to set the correct MAC on both ethernet interfaces instead of
just one.

Since U-boot environment now has its own partition, update the envtools
config script to search for it instead.

Patch hardcoding PHY mode is also not applicable anymore, so drop it and
set in the uDPU DTS directly.

Signed-off-by: Robert Marko &lt;robert.marko@sartura.hr&gt;
</content>
</entry>
<entry>
<title>kexec-tools: add kdump scripts util</title>
<updated>2022-06-25T08:14:18Z</updated>
<author>
<name>Chen Minqiang</name>
</author>
<published>2022-04-30T15:28:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=e0d8f7ef1ff8ff93b8b55006f2f29749cdcc0aec'/>
<id>urn:sha1:e0d8f7ef1ff8ff93b8b55006f2f29749cdcc0aec</id>
<content type='text'>
This add back kdump scripts to save crashlog or vmcore to disk

Signed-off-by: Chen Minqiang &lt;ptpt52@gmail.com&gt;
</content>
</entry>
<entry>
<title>ath79: add support for Netgear PGZNG1</title>
<updated>2022-06-19T10:31:02Z</updated>
<author>
<name>Chris Blake</name>
</author>
<published>2022-06-12T19:47:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=949e8ba521ed7b7fd5b02e34e6706b02c17d0ae3'/>
<id>urn:sha1:949e8ba521ed7b7fd5b02e34e6706b02c17d0ae3</id>
<content type='text'>
This adds support for the Netgear PGZNG1, also known as the ADT Pulse
Gateway.

Hardware:
CPU: Atheros AR9344
Memory: 256MB
Storage: 256MB NAND Hynix H27U2G8F2CTR-BC
USB: 1x USB 2.0
Ethernet: 2x 100Mb/s
WiFi: Atheros AR9340 2.4GHz 2T2R
Leds: 8 LEDs
Button: 1x Reset Button
UART:
Header marked JPE1. Pinout is VCC, TX, RX, GND. The marked pin, closest
to the JPE1 marking, is VCC. Note VCC isn't required to be connected
for UART to work.

Enable Stock Firmware Shell Access:
1. Interrupt u-boot and run the following commands
setenv console_mode 1
saveenv
reset

This will enable a UART shell in the firmware. You can then login using
the root password of `icontrol`. If that doesn't work, the device is
running a firmware based on OpenWRT where you can drop into failsafe to
mount the FS and then modify /etc/passwd.

Installation Instructions:
1. Interupt u-boot and run the following commands
setenv active_image 0
setenv stock_bootcmd nboot 0x81000000 0 \${kernel_offset}
setenv openwrt_bootcmd nboot 0x82000000 0 \${kernel_offset}
setenv bootcmd run openwrt_bootcmd
saveenv

2. boot initramfs image via TFTP u-boot
tftpboot 0x82000000 openwrt-ath79-nand-netgear_pgzng1-initramfs-kernel.bin; bootm 0x82000000

3. Once booted, use LuCI sysupgrade to
flash openwrt-ath79-nand-netgear_pgzng1-squashfs-sysupgrade.bin

MAC Table:
WAN (eth0): xx:xa - caldata 0x0
LAN (eth1): xx:xb - caldata 0x6
WLAN (phy0): xx:xc - burned into ath9k caldata

Not Working:
Z-Wave
RS422

Signed-off-by: Chris Blake &lt;chrisrblake93@gmail.com&gt;
(added more hw-info, fixed file permissions)
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
</content>
</entry>
<entry>
<title>uboot-rockchip: drop CONFIG_IDENT_STRING</title>
<updated>2022-06-19T10:31:02Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2022-06-06T19:55:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=2e0afef246ef7128b982e02688d357269d9c7a6e'/>
<id>urn:sha1:2e0afef246ef7128b982e02688d357269d9c7a6e</id>
<content type='text'>
This row is no longer necessary as it was replaced by LOCALVERSION in
uboot.mk, which explicitly sets OpenWrt version to all U-boot packages accross
OpenWrt. [1]

[1] https://github.com/openwrt/openwrt/commit/d6aa9d9e071d9f23ed26f5142991bc66aefe20f5

Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
</content>
</entry>
<entry>
<title>apm821xx: MBL: make mtd chip work</title>
<updated>2022-06-19T10:31:02Z</updated>
<author>
<name>Christian Lamparter</name>
</author>
<published>2022-06-12T09:48:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=5f7828fcc274ec7c381298c92cf3a946182168a0'/>
<id>urn:sha1:5f7828fcc274ec7c381298c92cf3a946182168a0</id>
<content type='text'>
The MBL has a 512KiB Microchip SST39VF040 chip for uboot and
not much else.

Thanks to Ewald who figured out that the "jedec-probe" vs.
"jedec-flash" was the wrong binding. With this information
and the jedec-probe support enabled =&gt; the chip works.

| physmap-flash 4fff80000.nor_flash: physmap platform flash device: [mem 0x4fff80000-0x4ffffffff]
| Found: SST 39LF040
| 4fff80000.nor_flash: Found 1 x8 devices at 0x0 in 8-bit bank

Suggested-by: Ewald Comhaire &lt;e.comhaire@gmail.com&gt;
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
</content>
</entry>
<entry>
<title>realtek: add support for D-Link DGS-1210-20</title>
<updated>2022-06-19T06:36:21Z</updated>
<author>
<name>Markus Stockhausen</name>
</author>
<published>2022-06-16T09:41:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=6153c530cc2ae139c6cdde68a4ba53bd2f82bf68'/>
<id>urn:sha1:6153c530cc2ae139c6cdde68a4ba53bd2f82bf68</id>
<content type='text'>
 Hardware specification
 ----------------------

 * RTL8382M SoC, 1 MIPS 4KEc core @ 500MHz
 * 128MB DRAM
 * 32MB NOR Flash
 * 16 x 10/100/1000BASE-T ports
    - Internal PHY with 8 ports (RTL8218B)
    - External PHY with 8 ports (RTL8218B)
 * 4 x Gigabit RJ45/SFP Combo ports
    - External PHY with 4 SFP ports (RTL8214FC)
 * Power LED
 * Reset button on front panel
 * UART (115200 8N1) via unpopulated standard 0.1" pin header marked J6

 UART pinout
 -----------

  [o]ooo|J6
   | ||`------ GND
   | |`------- RX
   | `-------- TX
   `---------- Vcc (3V3)

 Boot initramfs image from U-Boot
 --------------------------------

  1. Press Escape key during `Hit Esc key to stop autoboot` prompt
  2. Press CTRL+C keys to get into real U-Boot prompt
  3. Init network with `rtk network on` command
  4. Load image with `tftpboot 0x8f000000 openwrt-realtek-rtl838x-d-link_dgs-1210-20-initramfs-kernel.bin` command
  5. Boot the image with `bootm` command

To install, upload the sysupgrade image to the OEM webpage or sysupgrade
from the system running from initramfs image.

It has been developed and tested on device with F1 revision.

Signed-off-by: Markus Stockhausen &lt;markus.stockhausen@gmx.de&gt;
[correct initramfs image name]
Signed-off-by: Sander Vanheule &lt;sander@svanheule.net&gt;
</content>
</entry>
<entry>
<title>uboot-mediatek: update UniFi 6 LR board name</title>
<updated>2022-06-16T18:56:12Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2022-06-16T18:55:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=2caa03ec8607fb38e11ac1ce3c7b698f80191b49'/>
<id>urn:sha1:2caa03ec8607fb38e11ac1ce3c7b698f80191b49</id>
<content type='text'>
Select matching U-Boot for both v1 and v2 variants.

Fixes: 15a02471bb ("mediatek: new target mt7622-ubnt-unifi-6-lr-v1")
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>ramips: add support for MTS WG430223</title>
<updated>2022-06-13T07:26:23Z</updated>
<author>
<name>Mikhail Zhilkin</name>
</author>
<published>2022-05-04T15:16:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=498c15376bae109bfe130cc5581f83e4cc52c0f9'/>
<id>urn:sha1:498c15376bae109bfe130cc5581f83e4cc52c0f9</id>
<content type='text'>
MTS WG430223 is a wireless AC1300 (WiFi 5) router manufactured by
Arcadyan company. It's very similar to Beeline Smartbox Flash (Arcadyan
WG443223).

Device specification
--------------------
SoC Type: MediaTek MT7621AT
RAM: 128 MiB
Flash: 128 MiB (Winbond W29N01HV)
Wireless 2.4 GHz (MT7615DN): b/g/n, 2x2
Wireless 5 GHz (MT7615DN): a/n/ac, 2x2
Ethernet: 3xGbE (WAN, LAN1, LAN2)
USB ports: No
Button: 1 (Reset/WPS)
LEDs: 2 (Red, Green)
Power: 12 VDC, 1 A
Connector type: Barrel
Bootloader: U-Boot (Ralink UBoot Version: 5.0.0.2)
OEM: Arcadyan WG430223

Installation
------------
1. Login to the router web interface (superadmin:serial number)
2. Navigate to Administration -&gt; Miscellaneous -&gt; Access control lists &amp;
   enable telnet &amp; enable "Remote control from any IP address"
3. Connect to the router using telnet (default admin:admin)
4. Place *factory.trx on any web server (192.168.1.2 in this example)
5. Connect to the router using telnet shell (no password required)
6. Save MAC adresses to U-Boot environment:
   uboot_env --set --name eth2macaddr --value $(ifconfig | grep eth2 | \
    awk '{print $5}')
   uboot_env --set --name eth3macaddr --value $(ifconfig | grep eth3 | \
    awk '{print $5}')
   uboot_env --set --name ra0macaddr --value $(ifconfig | grep ra0 | \
    awk '{print $5}')
   uboot_env --set --name rax0macaddr --value $(ifconfig | grep rax0 | \
    awk '{print $5}')
7. Ensure that MACs were saved correctly:
   uboot_env --get --name eth2macaddr
   uboot_env --get --name eth3macaddr
   uboot_env --get --name ra0macaddr
   uboot_env --get --name rax0macaddr
8. Download and write the OpenWrt images:
   cd /tmp
   wget http://192.168.1.2/factory.trx
   mtd_write erase /dev/mtd4
   mtd_write write factory.trx /dev/mtd4
9. Set 1st boot partition and reboot:
   uboot_env --set --name bootpartition --value 0

Back to Stock
-------------
1. Run in the OpenWrt shell:
   fw_setenv bootpartition 1
   reboot
2. Optional step. Upgrade the stock firmware with any version to
   overwrite the OpenWrt in Slot 1.

MAC addresses
-------------
+-----------+-------------------+----------------+
| Interface | MAC               | Source         |
+-----------+-------------------+----------------+
| label     | A4:xx:xx:51:xx:F4 | No MACs was    |
| LAN       | A4:xx:xx:51:xx:F6 | found on Flash |
| WAN       | A4:xx:xx:51:xx:F4 | [1]            |
| WLAN_2g   | A4:xx:xx:51:xx:F5 |                |
| WLAN_5g   | A6:xx:xx:21:xx:F5 |                |
+-----------+-------------------+----------------+
[1]:
a. Label wasb't found neither in factory nor in other places.
b. MAC addresses are stored in encrypted partition "glbcfg". Encryption
   key hasn't known yet. To ensure the correct MACs in OpenWrt, a hack
   with saving of the MACs to u-boot-env during the installation was
   applied.
c. Default Ralink ethernet MAC address (00:0C:43:28:80:A0) was found in
   "Factory" 0xfff0. It's the same for all MTS WG430223 devices. OEM
   firmware also uses this MAC when initialazes ethernet driver. In
   OpenWrt we use it only as internal GMAC (eth0), all other MACs are
   unique. Therefore, there is no any barriers to the operation of several
   MTS WG430223 devices even within the same broadcast domain.

Stock firmware image format
---------------------------
The same as Beeline Smartbox Flash but with another trx magic
+--------------+---------------+----------------------------------------+
| Offset       |               | Description                            |
+==============+===============+========================================+
| 0x0          | 31 52 48 53   | TRX magic "1RHS"                       |
+--------------+---------------+----------------------------------------+

Signed-off-by: Mikhail Zhilkin &lt;csharper2005@gmail.com&gt;
</content>
</entry>
<entry>
<title>realtek: add support for ZyXEL GS1900-24E</title>
<updated>2022-06-06T08:30:50Z</updated>
<author>
<name>Raylynn Knight</name>
</author>
<published>2022-05-17T03:15:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ansuel/commit/?id=b515ad10a6e1bd5c5da0ea95366fb19c92a75dea'/>
<id>urn:sha1:b515ad10a6e1bd5c5da0ea95366fb19c92a75dea</id>
<content type='text'>
The ZyXEL GS1900-24E is a 24 port gigabit switch similar to other GS1900
switches.

Specifications
--------------
* Device:    ZyXEL GS1900-24E
* SoC:       Realtek RTL8382M 500 MHz MIPS 4KEc
* Flash:     16 MiB Macronix MX25L12835F
* RAM:       128 MiB DDR2 SDRAM Nanya NT5TU128M8GE
* Ethernet:  24x 10/100/1000 Mbps
* LEDs:      1 PWR LED (green, not configurable)
             1 SYS LED (green, configurable)
             24 ethernet port link/activity LEDs (green, SoC controlled)
* Buttons:   1 "RESET" button on front panel
* Switch:    1 Power switch on rear of device
* Power      120-240V AC C13
* UART:      1 serial header (JP2) with populated standard pin connector on
             the left side of the PCB.
             Pinout (front to back):
             + Pin 1 - VCC marked with white dot
             + Pin 2 - RX
             + Pin 3 - TX
             + PIn 4 - GND

Serial connection parameters:  115200 8N1.

Installation
------------

OEM upgrade method:

* Log in to OEM management web interface
* Navigate to Maintenance &gt; Firmware
* Select the HTTP radio button
* Select the Active radio button
* Use the browse button to locate the
realtek-rtl838x-zyxel_gs1900-24e-initramfs-kernel.bin
file and select open so File Path is updated with filename.
* Select the Apply button. Screen will display "Prepare
for firmware upgrade ...".
*Wait until screen shows "Do you really want to reboot?"
then select the OK button
* Once OpenWrt has booted, scp the sysupgrade image to /tmp and flash it:
   &gt; sysupgrade -n /tmp/realtek-rtl838x-zyxel_gs1900-24e-squashfs-sysupgrade.bin
   it may be necessary to restart the network (/etc/init.d/network restart) on
   the running initramfs image.

U-Boot TFTP method:

* Configure your client with a static 192.168.1.x IP (e.g. 192.168.1.10).
* Set up a TFTP server on your client and make it serve the initramfs image.
* Connect serial, power up the switch, interrupt U-boot by hitting the
  space bar, and enable the network:
   &gt; rtk network on
* Since the GS1900-24E is a dual-partition device, you want to keep the OEM
  firmware on the backup partition for the time being. OpenWrt can only boot
  from the first partition anyway (hardcoded in the DTS). To make sure we are
  manipulating the first partition, issue the following commands:
  &gt; setsys bootpartition 0
  &gt; savesys
* Download the image onto the device and boot from it:
   &gt; tftpboot 0x84f00000 192.168.1.10:openwrt-realtek-rtl838x-zyxel_gs1900-24e-initramfs-kernel.bin
   &gt; bootm
* Once OpenWrt has booted, scp the sysupgrade image to /tmp and flash it:
   &gt; sysupgrade -n /tmp/openwrt-realtek-rtl838x-zyxel_gs1900-24e-squashfs-sysupgrade.bin
   it may be necessary to restart the network (/etc/init.d/network restart) on
   the running initramfs image.

Signed-off-by: Raylynn Knight &lt;rayknight@me.com&gt;
</content>
</entry>
</feed>
