<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/noltari/package/boot, branch master</title>
<subtitle>Staging tree of Alvaro Fernandez Rojas</subtitle>
<id>https://git.openwrt.org/openwrt/staging/noltari/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/noltari/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/noltari/'/>
<updated>2023-03-08T22:44:59Z</updated>
<entry>
<title>ramips: add support for SNR-CPE-ME2-SFP</title>
<updated>2023-03-08T22:44:59Z</updated>
<author>
<name>Aleksey Nasibulin</name>
</author>
<published>2023-03-06T10:49:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/noltari/commit/?id=d45659a571645f98674845e5efd07f447de337ed'/>
<id>urn:sha1:d45659a571645f98674845e5efd07f447de337ed</id>
<content type='text'>
SNR-CPE-ME2-SFP is a wireless router with SFP cage manufactured by SNR/NAG company.

Specification:
- SoC: MediaTek MT7621A
- CPU: 880MHz
- Flash: 16 MB (GD25Q127CSIG)
- RAM:  256 MB
- WLAN: 2.4 GHz, 5 GHz (MediaTek MT7615DN)
- Ethernet: 4x 10/100/1000 Mbps
- SFP cage (using RTL8211FS-CG)
- USB 3.0 port
- Power: 12 VDC, 2 A

Flash instruction via TFTP:
1. Boot SNR-CPE-ME2 to recovery mode
  (press reset button and power on device, hold button for ~10 seconds)
2. Send firmware via TFTP client:
 TFTP Server address: 192.168.1.1
 TFTP Client address: 192.168.1.131
3. Wait ~120 seconds to complete flashing
4. Do sysupgrade using web-interface

MAC Addresses(stock)
--------------------
+----------+------------------+-------------------+
| use      | address          | example           |
+----------+------------------+-------------------+
| Device   | label            | 6A:C4:DD:xx:xx:28 |
| Ethernet | + 1              | 6A:C4:DD:xx:xx:29 |
| 2g       | + 2              | 6A:C4:DD:xx:xx:2A |
| 5g       | + 3              | 6A:C4:DD:xx:xx:2B |
+----------+------------------+-------------------+

Notes:
- Reading sfp eeprom is not supported [1] (driver issue). Stock image has the same situation.

References:
1. https://forum.openwrt.org/t/mt7621-and-reading-sfp-eeprom/152249

Signed-off-by: Aleksey Nasibulin &lt;alealexpro100@ya.ru&gt;
</content>
</entry>
<entry>
<title>mpc85xx: add support for Watchguard Firebox T10</title>
<updated>2023-03-07T13:05:02Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2023-02-18T01:06:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/noltari/commit/?id=35f6d795134e9b089c4e763a7f58cba7d4e15e42'/>
<id>urn:sha1:35f6d795134e9b089c4e763a7f58cba7d4e15e42</id>
<content type='text'>
Hardware
--------
SoC:    Freescale P1010
RAM:    512MB
FLASH:  1 MB SPI-NOR
        512 MB NAND
ETH:    3x Gigabite Ethernet (Atheros AR8033)
SERIAL: Cisco RJ-45 (115200 8N1)
RTC:    Battery-Backed RTC (I2C)

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

1. Patch U-Boot by dumping the content of the SPI-Flash using a SPI
   programmer. The SHA1 hash for the U-Boot password is currently
   unknown.

   A tool for patching U-Boot is available at
   https://github.com/blocktrron/t10-uboot-patcher/

   You can also patch the unknown password yourself. The SHA1 hash is
   E597301A1D89FF3F6D318DBF4DBA0A5ABC5ECBEA

2. Interrupt the bootmenu by pressing CTRL+C. A password prompt appears.
   The patched password is '1234' (without quotation marks)

3. Download the OpenWrt initramfs image. Copy it to a TFTP server
   reachable at 10.0.1.13/24 and rename it to uImage.

4. Connect the TFTP server to ethernet port 0 of the Watchguard T10.

5. Download and boot the initramfs image by entering "tftpboot; bootm;"
   in U-Boot.

6. After OpenWrt booted, create a UBI volume on the old data partition.
   The "ubi" mtd partition should be mtd7, check this using

   $ cat /proc/mtd

   Create a UBI partition by executing

   $ ubiformat /dev/mtd7 -y

7. Increase the loadable kernel-size of U-Boot by executing

   $ fw_setenv SysAKernSize 800000

8. Transfer the OpenWrt sysupgrade image to the Watchguard T10 using
   scp. Install the image by using sysupgrade:

   $ sysupgrade -n &lt;path-to-sysupgrade&gt;

   Note: The LAN ports of the T10 are 1 &amp; 2 while 0 is WAN. You might
   have to change the ethernet-port.

9. OpenWrt should now boot from the internal NAND. Enjoy.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
</content>
</entry>
<entry>
<title>uboot-mediatek: mark all packages as hidden</title>
<updated>2023-03-04T15:27:25Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2023-03-04T15:26:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/noltari/commit/?id=b934c6351819aa330725bcbbbe91286e68618af5'/>
<id>urn:sha1:b934c6351819aa330725bcbbbe91286e68618af5</id>
<content type='text'>
They are enabled by selecting devices. Fixes build errors when enabling extra
devices without creating a new config from scratch.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>kexec-tools: update to 2.0.26</title>
<updated>2023-03-01T21:13:27Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-08-28T04:57:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/noltari/commit/?id=7ce266767ca10e62b10c7b80389f3884760e8d7e'/>
<id>urn:sha1:7ce266767ca10e62b10c7b80389f3884760e8d7e</id>
<content type='text'>
Release Notes:
- 2.0.22: https://www.spinics.net/lists/kexec/msg26864.html
- 2.0.23: https://www.spinics.net/lists/kexec/msg27693.html
- 2.0.24: https://www.spinics.net/lists/kexec/msg28922.html
- 2.0.25: https://lore.kernel.org/all/YuYl22cyGldQQc5m@vergenet.net/
- 2.0.26: https://www.spinics.net/lists/kexec/msg30743.html

Remove upstreamed patch:
- 001-arm-do-not-copy-magic-4-bytes-of-appended-DTB-in-zIm.patch

Tested-by: Linhui Liu &lt;liulinhui36@gmail.com&gt; # x86_64
Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>grub2: re-add test module</title>
<updated>2023-02-26T21:22:48Z</updated>
<author>
<name>Tomasz Maciej Nowak</name>
</author>
<published>2023-01-23T13:44:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/noltari/commit/?id=bdd78897c33b25a4954f6e41e26f57bab5284129'/>
<id>urn:sha1:bdd78897c33b25a4954f6e41e26f57bab5284129</id>
<content type='text'>
It seems more hardware needs early load of firmware when initialised
to work properly (at least Intel hardware). One of previous case is CPU
microcode, which this series[1] tried to change. The second one is Intel
graphics IC, which needs firmware for controlling DMC circuit (switch
conncted display to DC6 power state). As it stands, the i915 module is
built-in and it seems the hardware can't cope with firmware loaded
later from rootfs, it needs to be supplied when the module is loaded.
Unfortunately we need bootloader to handle the load of firmware in this
case, but as previously mentioned series[1], there was an error when
initrd was hardcoded, instead of testing existence for it and then
loading. To remedy this in later the 55b808e0c4be ('x86: image: add test
module to bootloader') was commited. Which was later accidentally
dropped when grub2 image creation was moved to packages. Therefore bring
back test module, so we can test for cases of existing firmware in
grub.cfg.

1. https://patchwork.ozlabs.org/project/openwrt/cover/20181120162044.16371-1-tomek_n@o2.pl

Fixes: 5a5df62d95f5 ("x86/grub2: move grub2 image creation to package")
Signed-off-by: Tomasz Maciej Nowak &lt;tmn505@gmail.com&gt;
</content>
</entry>
<entry>
<title>mvebu: add support for Buffalo LinkStation LS220DE</title>
<updated>2023-02-26T21:22:48Z</updated>
<author>
<name>Daniel González Cabanelas</name>
</author>
<published>2023-02-20T23:43:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/noltari/commit/?id=be0f1c1b268a99ea25c9797a4ed725835ca79fea'/>
<id>urn:sha1:be0f1c1b268a99ea25c9797a4ed725835ca79fea</id>
<content type='text'>
The Buffalo LinkStation LS220DE is a dual bay NAS, based on Marvell
Armada 370

Hardware:
   SoC:         Marvell Armada 88F6707
   CPU:         Cortex-A9 800 MHz, 1 core
   Flash 1:     SPI-NOR 1 MiB (U-Boot)
   Flash 2:     NAND 512 MiB (OS)
   RAM:         DDR3 256 MiB
   Ethernet:    1x 1GbE
   USB:         1x 2.0
   SATA:        2x 3Gb/s
   LEDs/Input:  5x / 2x (1x button, 1x slide-switch)
   Fan:         1x casing

Flash instructions, from hard drive:
  1. Get access to the "boot" partition at the hard drive where the stock
     firmware is installed. It can be done with acp-commander or by
     plugging the hard drive to a computer.
  2. Backup the stock uImage:
         mv /boot/uImage.buffalo /boot/uImage.buffalo.bak
  3. Move and rename the Openwrt initramfs image to the boot partition:
         mv openwrt-initramfs-kernel.bin /boot/uImage.buffalo
  4. Power on the Linkstation with the hardrive inside. Now Openwrt will
     boot, but still not installed.
  5. Connect via ssh to OpenWrt:
         ssh root@192.168.1.1
  6. Rename boot files inside boot partition
         mount -t ext3 /dev/sda1 /mnt
         mv /mnt/uImage.buffalo /mnt/uImage.buffalo.openwrt.bak
         mv /mnt/initrd.buffalo /mnt/initrd.buffalo.bak
  7. Format ubi partitions at the NAND flash ("kernel_ubi" and "ubi"):
         ubiformat /dev/mtd0 -y
         ubidetach -p /dev/mtd1
         ubiformat /dev/mtd1 -y
  8. Flash the sysupgrade image:
         sysupgrade -n openwrt-squashfs-sysupgrade.bin
  9. Wait until it finish, the device will reboot with OpenWrt installed
     on the NAND flash.

Restore the stock firmware:
  1. Take the hard drive used for the installation and restore boot backup
     files to their original names:
         mount -t ext3 /dev/sda1 /mnt
         mv /mnt/uImage.buffalo.bak /mnt/uImage.buffalo
         mv /mnt/initrd.buffalo.bak /mnt/initrd.buffalo
  2. Boot from the hard drive and perform a stock firmware update using
     the Buffalo utility. The NAND will be restored to the original
     state.

Signed-off-by: Daniel González Cabanelas &lt;dgcbueu@gmail.com&gt;
</content>
</entry>
<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/noltari/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/noltari/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/noltari/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/noltari/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>
</feed>
