<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/neocturne/package/boot, branch main</title>
<subtitle>Staging tree of Nora Schiffer</subtitle>
<id>https://git.openwrt.org/openwrt/staging/neocturne/atom?h=main</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/neocturne/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/'/>
<updated>2024-06-08T12:08:38Z</updated>
<entry>
<title>kexec-tools: fix multiple compile errors</title>
<updated>2024-06-08T12:08:38Z</updated>
<author>
<name>Tony Ambardar</name>
</author>
<published>2024-06-08T05:03:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=1cb489c7849843116d365f727cec4c1e34c426ba'/>
<id>urn:sha1:1cb489c7849843116d365f727cec4c1e34c426ba</id>
<content type='text'>
Add two patches to fix compile errors being repeatedly seen on OpenWrt CI.

The first is an upstream backport to fix this i386-related error:

  x86_64-openwrt-linux-musl-gcc  -mcmodel=large -I./purgatory/include
  -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude
  -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-x86_64_gcc-13.3.0_musl/lib/gcc/x86_64-openwrt-linux-musl/13.3.0/include
  -c -MD -o purgatory/arch/i386/entry32-16.o purgatory/arch/i386/entry32-16.S
  purgatory/arch/i386/entry32-16.S: Assembler messages:
  purgatory/arch/i386/entry32-16.S:23: Error: 64bit mode not supported on `i386'.

The second addresses an error using basename() on musl libc:

  kexec/arch/i386/x86-linux-setup.c: In function 'add_edd_entry':
  kexec/arch/i386/x86-linux-setup.c:332:20: warning: implicit declaration of function 'basename' [-Wimplicit-function-declaration]
    332 |         if (sscanf(basename(sysfs_name), "int13_dev%hhx", &amp;devnum) != 1) {
        |                    ^~~~~~~~
  kexec/arch/i386/x86-linux-setup.c:332:20: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast [-Wint-conversion]
    332 |         if (sscanf(basename(sysfs_name), "int13_dev%hhx", &amp;devnum) != 1) {
        |                    ^~~~~~~~~~~~~~~~~~~~
        |                    |
        |                    int
  ...

Fixes: #14621
Signed-off-by: Tony Ambardar &lt;itugrok@yahoo.com&gt;
</content>
</entry>
<entry>
<title>mediatek: fix wps button for nokia ea0326gmp</title>
<updated>2024-06-07T12:19:39Z</updated>
<author>
<name>Tianling Shen</name>
</author>
<published>2024-06-07T11:28:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=4edde987684cd81ec55d12f69a97233087030ac0'/>
<id>urn:sha1:4edde987684cd81ec55d12f69a97233087030ac0</id>
<content type='text'>
The gpio is actually low active, fix it.

Fixes: 40e7fab9e4a2 ("mediatek: add Nokia EA0326GMP support")
Signed-off-by: Tianling Shen &lt;cnsztl@immortalwrt.org&gt;
Link: https://github.com/openwrt/openwrt/pull/15651
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>mediatek: add Nokia EA0326GMP support</title>
<updated>2024-06-06T17:56:32Z</updated>
<author>
<name>Tianling Shen</name>
</author>
<published>2024-03-24T13:26:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=40e7fab9e4a294882f198cb7fb5bc5eecee26ac8'/>
<id>urn:sha1:40e7fab9e4a294882f198cb7fb5bc5eecee26ac8</id>
<content type='text'>
Hardware specification:
  SoC: MediaTek MT7981B 2x A53
  Flash: 128 MB SPI-NAND
  RAM: 256MB
  Ethernet: 4x 10/100/1000 Mbps
  Switch: MediaTek MT7531AE
  WiFi: MediaTek MT7976C
  Button: Reset, WPS/Mesh
  Power: DC 12V 1A

Gain SSH access:
1. Login into web interface, and download the configuration.
2. Download the configration utilities:
   https://firmware.download.immortalwrt.eu.org/cnsztl/mediatek/filogic/openwrt-mediatek-mt7981-nokia-ea0326gmp-config-utils.tar.gz
     These binaries are extraced from the factory firmware, which are
     dynamically linked with aarch64 musl 1.1.24. To use them, you
     must run them under the same runtime environment, otherwise the
     binaries will not work properly!
3. Upload the configuration and utilities to a suitable environment.
4. Uncompress the utilities, move them to '/bin' and give them executable permisison:
   tar -zxf openwrt-mediatek-mt7981-nokia-ea0326gmp-config-utils.tar.gz
   mv mkconfig seama /bin
   chmod +x /bin/mkconfig
   chmod +x /bin/seama
5. Decrypt and uncompress the configuration:
     Enter fakeroot if you are not login as root.
   mkconfig -a de-enca -m EA0326GMP_3FE79221BAAA -i EA0326GMP_3FE79221BAAA-xxxxxxxx-backup.tar.gz -o backup.tar.gz
   tar -zxf backup.tar.gz
6. Edit 'etc/config/dropbear', set 'enable' to '1'.
7. Edit 'etc/passwd', remove root password: 'root::1:0:99999:7:::'.
8. Repack the configuration:
   tar -zcf backup.tar.gz etc/
   mkconfig -a enca -m EA0326GMP_3FE79221BAAA -i backup.tar.gz -o EA0326GMP_3FE79221BAAA-xxxxxxxx-backup.tar.gz
9. Upload new configuration via web interface, now you can SSH to EA0326GMP.

A minimum configuration which enabled SSH access is also provided
to simplify the process:
https://firmware.download.immortalwrt.eu.org/cnsztl/mediatek/filogic/openwrt-mediatek-mt7981-nokia-ea0326gmp-enable-ssh.tar.gz

Flash instructions:
1. SSH to EA0326GMP, backup everything, especially 'Factory' part.
2. Write new BL2:
   mtd write openwrt-mediatek-filogic-nokia_ea0326gmp-preloader.bin BL2
3. Write new FIP:
   mtd write openwrt-mediatek-filogic-nokia_ea0326gmp-bl31-uboot.fip FIP
4. Set static IP on your PC:
   IP 192.168.1.254/24, GW 192.168.1.1
5. Serve OpenWrt initramfs image using TFTP server.
6. Cut off the power and re-engage, wait for TFTP recovery to complete.
7. After OpenWrt has booted, perform sysupgrade.

Signed-off-by: Tianling Shen &lt;cnsztl@immortalwrt.org&gt;
</content>
</entry>
<entry>
<title>uboot-mediatek: snfi: FM35Q1GA is x4-only</title>
<updated>2024-06-05T20:05:52Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2024-04-08T18:35:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=a6487e393b1b073ba0895e10f00d0fbb2a5e88d9'/>
<id>urn:sha1:a6487e393b1b073ba0895e10f00d0fbb2a5e88d9</id>
<content type='text'>
Dont allow x2 read and cache read operations on FM35Q1GA as they seem
to be unstable. Also the Linux drivers does not allow x2 ops.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>arm-trusted-firmware-mediatek: import patchset for Fidelix flash on SNFI</title>
<updated>2024-06-05T20:05:52Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2024-04-08T20:43:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=24bf241f8c5ea3aaae92802810841c3e41f93467'/>
<id>urn:sha1:24bf241f8c5ea3aaae92802810841c3e41f93467</id>
<content type='text'>
Import pending patches to set pinconf settings for SPI-NAND pins on
MT7622 identical to what the old proprietary preloader did.

Should further increase the reliability of some SNFI-attached SPI-NAND
flash chips.

Link: https://github.com/mtk-openwrt/arm-trusted-firmware/pull/7
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>arm-trusted-firmware-mediatek: update to MediaTek-patched v2.10.0</title>
<updated>2024-06-05T20:05:52Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2024-04-08T20:40:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=4a2908f3bccf771b7a854a56ed73a75c8f83c6a0'/>
<id>urn:sha1:4a2908f3bccf771b7a854a56ed73a75c8f83c6a0</id>
<content type='text'>
Update ARM TrustedFirmware-A to the most recent release of
MediaTek downstream patched version released 2024-01-17.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>uboot-tegra: Set UBOOT_USE_INTREE_DTC</title>
<updated>2024-06-02T16:06:39Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2024-05-31T12:15:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=e4f323ed56c0a37c85ea7fcf7b65f4dbd5af7de0'/>
<id>urn:sha1:e4f323ed56c0a37c85ea7fcf7b65f4dbd5af7de0</id>
<content type='text'>
U-Boot 2024.04 for tegra needs swig installed on the host, this
dependency is only checked if UBOOT_USE_INTREE_DTC is set. add the
missing definition.

Fixes: 6832faf3407e ("uboot-tegra: bump version to 2024.04")
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>kirkwood: add D-Link DNS-320L support</title>
<updated>2024-05-31T23:29:09Z</updated>
<author>
<name>Zoltan HERPAI</name>
</author>
<published>2024-01-05T17:42:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=8619d7af67c28ff974373c9a2937da1025cd81e5'/>
<id>urn:sha1:8619d7af67c28ff974373c9a2937da1025cd81e5</id>
<content type='text'>
Dual-slot NAS based on Marvell Kirkwood.

Specifications:
 - Marvell 88F6702 @1GHz
 - 256Mb RAM
 - 128Mb NAND
 - 1x GbE LAN (Marvell 88E1318R)
 - 1x USB 2.0
 - 2x SATA
 - Weltrend WT69P3 ("supervisor" MCU chip)
 - Serial on J2 (115200,8n1)
 - Newer bootROM so kwboot-ing via serial is possible

Notes:
 - The Weltrend MCU is controlled by the package added in utils/dns320l-mcu.
 - The original MAC address is stored in the "mini firmware" image's first
   17 bytes.
 - Compared to the original MTD layout, the uImage+rootfs are now stored in
   a common ubi partition.

Installation:
1. Serial console
 - Connect your levelshifter to the serial console
   on J2 (refer to the wiki page for pinout)
2. Update u-boot
 - Download the u-boot.kwb image for the device
 - Powercycle the NAS
 - Run "kwboot -b u-boot-dns320l/u-boot.kwb /dev/ttyUSB0 -p"
 - Connect to the serial console with minicom
 - tftp 0x0800000 u-boot-dns320l/u-boot.kwb
   (Please note that "PHY reset timed out" seems to be customary
    on kirkwood devices, the egiga0 interface works regardless.)
 - nand erase 0x0 100000
 - nand write 0x0800000 0x0 0x100000
 - reset
3. Install OpenWrt
 - Boot up the initramfs image
 - tftpboot 0x800000 openwrt-kirkwood-generic-dlink_dns320l-initramfs-uImage; bootm 0x800000
 - Download the sysupgrade image and perform sysupgrade

Signed-off-by: Zoltan HERPAI &lt;wigyori@uid0.hu&gt;
Reviewed-by: Pawel Dembicki &lt;paweldembicki@gmail.com&gt;
</content>
</entry>
<entry>
<title>packages: refresh patches</title>
<updated>2024-05-31T09:30:06Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2024-05-18T20:45:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=2f4bb69664d2b4d3a2d21200240a4cf5cd25f183'/>
<id>urn:sha1:2f4bb69664d2b4d3a2d21200240a4cf5cd25f183</id>
<content type='text'>
CI is supposed to catch all of these. Some of these predate CI.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>ath79: add support for Dell SonicPoint ACe APL26-0AE</title>
<updated>2024-05-26T22:32:57Z</updated>
<author>
<name>Tomasz Maciej Nowak</name>
</author>
<published>2024-04-17T15:01:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/neocturne/commit/?id=f7f8099aa3ae551df14b3b2bac332a80e861a690'/>
<id>urn:sha1:f7f8099aa3ae551df14b3b2bac332a80e861a690</id>
<content type='text'>
Dell/SonicWall APL26-0AE (marketed as SonicPoint ACe) is a dual band
wireless access point. End of life as of 2022-07-31.

Specification
SoC: QualcommAtheros QCA9550
RAM: 256 MB DDR2
Flash: 32 MB SPI NOR
WIFI: 2.4 GHz 3T3R integrated
      5 GHz 3T3R QCA9890 oversized Mini PCIe card
Ethernet: 2x 10/100/1000 Mbps QCA8334
          port labeled lan1 is PoE capable (802.3at)
USB: 1x 2.0
LEDs: LEDs: 6x which 5 are GPIO controlled and two of them are dual color
Buttons: 2x GPIO controlled
Serial: RJ-45 port, SonicWall pinout
        baud: 115200, parity: none, flow control: none

Before flashing, be sure to have a copy of factory firmware, in case You
wish to revert to original firmware.
All described procedures were done in following environment:
ROM Version: SonicROM (U-Boot) 8.0.0.0-11o
SafeMode Firmware Version: SonicOS 8.0.0.0-14o
Firmware Version: SonicOS 9.0.1.0
In case of other versions, following installation instructions might be
ineffective.

Installation
1. Prepare TFTP server with OpenWrt sysupgrade image and rename that
   image to "sp_fw.bin".
2. Connect to one of LAN ports.
3. Connect to serial port.
4. Hold the reset button (small through hole on side of the unit),
   power on the device and when prompted to stop autoboot, hit any key.
   The held button can now be released.
5. Alter U-Boot environment with following commands:
    setenv bootcmd bootm 0x9F110000
    saveenv
6. Adjust "ipaddr" (access point, default is 192.168.1.1) and "serverip"
   (TFTP server, default is 192.168.1.10) addresses in U-Boot
   environment, then run following commands:
    tftp 0x80060000 sp_fw.bin
    erase 0x9F110000 +0x1EF0000
    cp.b 0x80060000 0x9F110000 $filesize
7. After successful flashing, execute:
    boot
8. The access point will boot to OpenWrt. Wait few minutes, until the
    wrench LED will stop blinking, then it's ready for configuration.

Known issues
Initramfs image can't be bigger than specified kernel size, otherwise
bootloader will throw LZMA decompressing error. Switching to lzma-loader
should workaround that.
This device has Winbond 25Q256FVFG and doesn't have reliable reset, which
causes hang on reboot, thus broken-flash-reset needs to be added. This
property addition causes dispaly of "scary" warning on each boot, take
this warnig into consideration.

Signed-off-by: Tomasz Maciej Nowak &lt;tmn505@gmail.com&gt;
</content>
</entry>
</feed>
