aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* rockchip: enable testing kernel version with 6.1 versionTianling Shen2023-05-29
| | | | | | Enable testing kernel version with 6.1 kernel version. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: 6.1: refresh config and add missing symbolsTianling Shen2023-05-29
| | | | | | Refresh config for kernel 6.1 and add missing symbols Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: 6.1: refresh kernel patchesTianling Shen2023-05-29
| | | | | | Refresh kernel patches for version 6.1. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: 6.1: copy patches, config from 5.15Tianling Shen2023-05-29
| | | | | | Copy patches and config from 5.15 kernel version. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* kernel: 6.1: add missing Kconfig symbolsTianling Shen2023-05-29
| | | | | | Add missing symbol found during refreshing rockchip Kconfigs. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* ipq40xx: e2600ac-c1 remove KERNEL_SIZE张 鹏2023-05-29
| | | | | | | | | Currently, e2600ac-c1 cannot be built as the kernel is larger than the defined KERNEL_SIZE, however, there is no bootloader limit for the kernel size so remove KERNEL_SIZE completely. Signed-off-by: 张 鹏 <sd20@qxwlan.com> [ improve commit title, fix merge conflict ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq40xx: add e2600ac c2 to dsa张 鹏2023-05-29
| | | | | | | | Convert E2600ac c2 to DSA and enable it. Signed-off-by: 张 鹏 <sd20@qxwlan.com> [ rename port to more generic name ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq40xx: add e2600ac c1 to dsa张 鹏2023-05-29
| | | | | | | | Convert E2600ac c1 to DSA and enable it. Signed-off-by: 张 鹏 <sd20@qxwlan.com> [ rename port to more generic name ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* firmware-utils: package oseamaRafał Miłecki2023-05-29
| | | | | | | It's required by bcm53xx. This allows dropping separated oseama package and avoids some code duplication. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* firmware-utils: new package replacing otrxRafał Miłecki2023-05-29
| | | | | | | | | | | | | Some of firmware utils may be required on target devices. It's useful e.g. for dealing with some firmware formats. That is often required (supporting specific format) to provide an option to revert to original firmware. So far we had packaged "otrx" util only for use on Broadcom targets. Refactor that to package the whole firmware-utils project so we can package any single util needed. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* base-files: x86 fix 01_leds Syntax errorStan Grishin2023-05-28
| | | | | | | | | | | Cezary Jackiewicz reported: | Syntax error in line /etc/board.d/01_leds#L22 - missing "\" Fixes: c191c2d46f00 ("x86: base-files add support for Sophos 135r3/135r3w") Reported-by: Cezary Jackiewicz <cezary@eko.one.pl> Signed-off-by: Stan Grishin <stangri@melmac.ca> (buffed up commit message) Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* layerscape: kernel: enable MC userspace supportPawel Dembicki2023-05-28
| | | | | | | | | | | | | | | | | | | | Management Complex (MC) userspace support is required for userspace helpers working with DPAA2 objects exported by the Management Complex BUS. Without it, there is the error: ``` root@OpenWrt:/# ls-addni dpmac.1 error: Did not find a device file Restool wrapper scripts only support the latest major MC version that currently is MC10.x. Use with caution. error: Did not find a device file ``` This patch fixes it. Suggested-by: Alexandra Alth <alexandra@alth.de> Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* package: layerscape: change loadaddr addressPawel Dembicki2023-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At this moment loadaddr in most layerscape boards are configured to 0x81000000. 5.15 kernel on some boards is bigger than 5.10 and it cause error: Loading kernel from FIT Image at 81000000 ... Using 'config-1' configuration Trying 'kernel-1' kernel subimage Description: ARM64 OpenWrt Linux-5.15.112 Created: 2023-05-21 17:39:35 UTC Type: Kernel Image Compression: gzip compressed Data Start: 0x810000ec Data Size: 7513944 Bytes = 7.2 MiB Architecture: AArch64 OS: Linux Load Address: 0x80000000 Entry Point: 0x80000000 Hash algo: crc32 Hash value: 6fd69550 Hash algo: sha1 Hash value: ee34c753ffb615e199a428762824ad4a0aaef90a Verifying Hash Integrity ... crc32+ sha1+ OK Loading fdt from FIT Image at 81000000 ... Using 'config-1' configuration Trying 'fdt-1' fdt subimage Description: ARM64 OpenWrt fsl_ls1088a-rdb-sdboot device tree blob Created: 2023-05-21 17:39:35 UTC Type: Flat Device Tree Compression: uncompressed Data Start: 0x8172a98c Data Size: 19794 Bytes = 19.3 KiB Architecture: AArch64 Hash algo: crc32 Hash value: 59792ba3 Hash algo: sha1 Hash value: 135585a49f86cd85acea559b78b0098ae99d5e12 Verifying Hash Integrity ... crc32+ sha1+ OK Booting using the fdt blob at 0x8172a98c Uncompressing Kernel Image ERROR: new format image overwritten - must RESET the board to recover resetting ... This patch changes loadaddr to 0x88000000 (like LS1012A-FRDM board) to avoid overlapping for bigger images (like initramfs) too. Tested-by: Alexandra Alth <alexandra@alth.de> [LS1088ARDB] Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* netfilter: add kmod-nft-dup-inetMichał Kwiatek2023-05-28
| | | | | | Add kmod-nft-dup-inet package to allow packet duplication in ip/ip6/inet nftables family Signed-off-by: Michał Kwiatek <michal@kwiatek.it>
* uml: add Kernel 6.1 support via testingChristian Lamparter2023-05-28
| | | | | | | | | Add the latest default Kernel for testing. There is no uml_watchdog userspace daemon available, hence CONFIG_UML_WATCHDOG is disabled. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* pcre2: fix host compilation of libselinux by enabling PICPetr Štetiar2023-05-28
| | | | | | | | | | | | | | libselinux-3.5 fails to compile in Fedora 38 container due to the following: cc -O2 -I/openwrt/staging_dir/host/include -I/openwrt/staging_dir/hostpkg/include -I/openwrt/staging_dir/target-x86_64_musl/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -DUSE_PCRE2 -DPCRE2_CODE_UNIT_WIDTH=8 -I/openwrt/staging_dir/hostpkg/include -L/openwrt/staging_dir/host/lib -L/openwrt/staging_dir/hostpkg/lib -L/openwrt/staging_dir/target-x86_64_musl/host/lib -Wl,-rpath=/openwrt/staging_dir/hostpkg/lib -shared -o libselinux.so.1 avc.lo avc_internal.lo avc_sidtab.lo booleans.lo callbacks.lo canonicalize_context.lo checkAccess.lo check_context.lo checkreqprot.lo compute_av.lo compute_create.lo compute_member.lo compute_relabel.lo compute_user.lo context.lo deny_unknown.lo disable.lo enabled.lo fgetfilecon.lo freecon.lo freeconary.lo fsetfilecon.lo get_context_list.lo get_default_type.lo get_initial_context.lo getenforce.lo getfilecon.lo getpeercon.lo init.lo is_customizable_type.lo label.lo label_db.lo label_file.lo label_media.lo label_support.lo label_x.lo lgetfilecon.lo load_policy.lo lsetfilecon.lo mapping.lo matchmediacon.lo matchpathcon.lo policyvers.lo procattr.lo query_user_context.lo regex.lo reject_unknown.lo selinux_check_securetty_context.lo selinux_config.lo selinux_internal.lo selinux_restorecon.lo sestatus.lo setenforce.lo setexecfilecon.lo setfilecon.lo setrans_client.lo seusers.lo sha1.lo stringrep.lo validatetrans.lo -L/openwrt/staging_dir/hostpkg/lib -lpcre2-8 -lfts -ldl -Wl,-soname,libselinux.so.1,--version-script=libselinux.map,-z,defs,-z,relro /usr/bin/ld: /openwrt/staging_dir/hostpkg/lib/libpcre2-8.a(pcre2_compile.c.o): relocation R_X86_64_32S against symbol `_pcre2_ucd_stage1_8' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: failed to set dynamic section sizes: bad value So lets fix it by enabling build of host static library with the position independent code option enabled. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* prereq-build: add missing check for Perl IPC::CmdPetr Štetiar2023-05-28
| | | | | | | | | | | | | | | OpenSSL fails to compile in Fedora 38 container due to the following: Can't locate IPC/Cmd.pm in @INC (you may need to install the IPC::Cmd module) (@INC contains: /openwrt/build_dir/target-x86_64_musl/openssl-3.0.8/util/perl /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /openwrt/build_dir/target-x86_64_musl/openssl-3.0.8/external/perl/Text-Template-1.56/lib) at /openwrt/build_dir/target-x86_64_musl/openssl-3.0.8/util/perl/OpenSSL/config.pm line 19. BEGIN failed--compilation aborted at /openwrt/build_dir/target-x86_64_musl/openssl-3.0.8/util/perl/OpenSSL/config.pm line 19. Compilation failed in require at ./Configure line 23. BEGIN failed--compilation aborted at ./Configure line 23. Seems like `dnf install -y perl-IPC-Cmd` fixes the issue. So lets fix it by checking for Perl IPC::Cmd host module availability. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* ipq807x: enable selecting 6.1 as testing kernelRobert Marko2023-05-28
| | | | | | Allow selecting 6.1 as the testing kernel on ipq807x. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq807x: 6.1: fix remoteproc bootingRobert Marko2023-05-28
| | | | | | | | | | | | | In 6.1 booting the remoteprocessor that is actually running the WLAN unfortunatelly broke, so after a long time bisecting we managed to track it down to commit ("soc: qcom: mdt_loader: Always invoke PAS mem_setup"). Luckily adding back the relocation check and not making an SCM call qcom_scm_pas_mem_setup() restored the functionality. Ansuel has sent the patch upstream. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq807x: 6.1: refresh kernel configRobert Marko2023-05-28
| | | | | | Refresh kernel config by running kernel_menuconfig. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq807x: 6.1: refresh patchesRobert Marko2023-05-28
| | | | | | | Manually refresh tsens, PCI and CPR patches to apply and compile. Then run automatic refresh on rest of the patches. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq807x: drop upstreamed patchesRobert Marko2023-05-28
| | | | | | Drop all of the patches that have been already been included in kernel 6.1. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq807x: 6.1: copy patches and config from 5.15Robert Marko2023-05-28
| | | | | | | Copy patches and config from kernel 5.15 to start preparing kernel 6.1 support. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq807x: mark merged patches as backportsRobert Marko2023-05-28
| | | | | | | These 3 patches have been merged upstream, so mark them as backports along with the kernel version they have been merged into. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: qca-nss-dp: add kernel 6.1 supportRobert Marko2023-05-28
| | | | | | Add the required changes for kernel 6.1 support. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: qca-ssdk: add kernel 6.1 supportRobert Marko2023-05-28
| | | | | | | Add kernel 6.1 support to SSDK, it was just a case of adding the kernel version identification and fixing up get_random_u32. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ath10k-ct: drop spectral fix for 5.10Robert Marko2023-05-28
| | | | | | | This was needed when we had 5.10 kernel as well, but now that all targets are running 5.15 or 6.1 we can safely drop it. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ath10k-ct: use 6.2 versionRobert Marko2023-05-28
| | | | | | | | | | | ath10k-ct now offers 6.2 and 6.4 versions, so lets update to use 6.2 so we can get rid of the API update patch as well as NVMEM as that is already present in the newer driver. Ben merged the debug compilation patch so we can remove that one as well. Update patches to point to 6.2 version and refresh them. Signed-off-by: Robert Marko <robimarko@gmail.com>
* sifiveu: add new target for SiFive U-based boardsZoltan HERPAI2023-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RISC-V is a new CPU architecture aimed to be fully free and open. This target will add support for it, based on 5.15. Supports running on: - HiFive Unleashed - FU540, first generation - HiFive Unmatched - FU740, current latest generation, PCIe SD-card images are generated, where the partitions are required to have specific type codes. As it is commonplace nowadays, OpenSBI is used as the first stage, with U-boot following as the proper bootloader. Specifications: HiFive Unleashed: - CPU: SiFive FU540 quad-core RISC-V (U54, RV64IMAFDC or RV64GC) - Memory: 8Gb - Ethernet: 1x 10/100/1000 - Console: via microUSB HiFive Unmatched: - CPU: SiFive FU740 quad-core RISC-V (U74, RV64IMAFDCB or RV64GCB) - Memory: 16Gb - Ethernet: 1x 10/100/1000 - USB: 4x USB 3.2 - PCIe: - 1x PCIe Gen3 x8 - 1x M.2 key M (PCIe x4) - 1x M.2 Key E (PCIe x1 / USB2.0) - Console: via microUSB Installation: Standard SD-card installation via dd-ing the generated image to an SD-card of at least 256Mb. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* uboot-sifiveu: add bootloader package for SiFive Ux40 boardsZoltan HERPAI2023-05-28
| | | | | | | Add new package for building bootloader for the SiFive U-series boards. Supported boards at this stage are the HiFive Unleashed and HiFive Unmatched. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* firmware-utils: ptgen: add SiFive-related GUID typesZoltan HERPAI2023-05-28
| | | | | | | | | | | | | | | | | | Add patch until it gets accepted in firmware-utils upstream. The SiFive RISC-V SoCs use two special partition types in the boot process. As a first step, the ZSBL (zero-stage bootloader) in the CPU looks for a partition with a GUID of 5B193300-FC78-40CD-8002-E86C45580B47 to load the first-stage bootloader - which in OpenWrt's case is an SPL image. The FSBL (SPL) then looks for a partition with a GUID of 2E54B353-1271-4842-806F-E436D6AF6985 to load the SSBL which is usually an u-boot. With ptgen already supporting GPT partition creation, add the required GUID types and name them accordingly to be invoked with the '-T <GPT partition type>' parameter. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* openssl: add linux-riscv64 into the targets listZoltan HERPAI2023-05-28
| | | | | | | Add "linux-riscv64-openwrt" into openssl configurations to enable building on riscv64. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* opensbi: add package for RISC-VZoltan HERPAI2023-05-28
| | | | | | | | | | | | | | OpenSBI is a form of a first-stage bootloader, which initializes certain parts of an SoC and then passes on control to the second stage bootloader i.e. an u-boot image. We're introducing the package with release v1.2, which provides SBI v0.3 and the SBI SRST extensions which helps to gracefully reboot/shutdown various HiFive-U SoCs. Tested on SiFive Unleashed and Unmatched boards. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* generic: groundwork for RISC-VZoltan HERPAI2023-05-28
| | | | | | Add build infrastructure for RISC-V. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* armvirt: 6.1: enable kernel for testingTony Ambardar2023-05-28
| | | | | | Build and run-tested on QEMU/armvirt32 and QEMU/armvirt64. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* armvirt: 6.1: update kernel configsTony Ambardar2023-05-28
| | | | | | | | | | | | | | | | | | | | The following new common symbols are defined: CONFIG_ARCH_FORCE_MAX_ORDER=11 # CONFIG_NET_9P_FD is not set Removed symbols for armvirt/32 include: CONFIG_ARM_CRYPTO=y New symbols for armvirt/64 include: CONFIG_ARM64_SME=y CONFIG_CRYPTO_POLYVAL_ARM64_CE=y # CONFIG_CRYPTO_SM4_ARM64_CE_BLK is not set # CONFIG_CRYPTO_SM4_ARM64_NEON_BLK is not set Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* armvirt: 6.1: copy config from kernel 5.15Tony Ambardar2023-05-28
| | | | | | Copy config files for kernel 5.15 to kernel 6.1. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* malta: 6.1: enable kernel for testingTony Ambardar2023-05-28
| | | | | | Build and run-tested on QEMU/malta-be32 and QEMU/malta-le64. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* malta: 6.1: update kernel configTony Ambardar2023-05-28
| | | | | | | | | | The following new symbols are defined: CONFIG_ARCH_FORCE_MAX_ORDER=11 CONFIG_CLOCKSOURCE_WATCHDOG_MAX_SKEW_US=100 CONFIG_ZBOOT_LOAD_ADDRESS=0x0 Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* malta: 6.1: copy config from kernel 5.15Tony Ambardar2023-05-28
| | | | | | Copy config files for kernel 5.15 to kernel 6.1. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel: 6.1: add missing config symbolsTony Ambardar2023-05-28
| | | | | | Add generic config symbols found updating the malta and armvirt targets. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel: kmod-rxrpc: add missing dependenciesTony Ambardar2023-05-28
| | | | | | | | | | | | | | | | From commit dc0e6056de ("rxrpc: Fix missing dependency on NET_UDP_TUNNEL") upstream, kmod-rxrpc uses functions enabled by CONFIG_NET_UDP_TUNNEL. Add package dependencies on kmod-udptunnel4 and kmod-udptunnel6 to avoid build errors like: Package kmod-rxrpc is missing dependencies for the following libraries: ip6_udp_tunnel.ko udp_tunnel.ko This change applies to both kernels 5.15 and 6.1. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* CI: use toolchain container for label workflowChristian Marangi2023-05-28
| | | | | | | | Use toolchain container for label workflow to skip downloading external toolchain from openwrt servers. Fixes: 0fe5776f4a79 ("CI: build: Add support to use container included external toolchain") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* mediatek: sync MT7988 USXGMII with SDK driverDaniel Golle2023-05-27
| | | | | | | | | The USXGMII driver in SDK was heavily refactored, some bugs have been fixed and it has switched to use phylink_pcs. Follow up with changes in SDK driver and sync our on-top-of-mainline driver with the SDK driver. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: follow-up with renamed Build/bl2 and Build/bl31-ubootDaniel Golle2023-05-27
| | | | | | | | | Use renamed build step names for all boards which were not handled by commit c620409d58 ("mediatek: filogic: add uboot build for mt7981") and now breaking the build. Fixes: c620409d58 ("mediatek: filogic: add uboot build for mt7981") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ca-certificates: Update to version 20230311Tianling Shen2023-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the ca-certificates and ca-bundle package from version 20211016 to version 20230311. Use TAR_OPTIONS instead of hacking Build/Prepare, refresh patches. Debian change-log entry [1]: |[...] |[ Đoàn Trần Công Danh ] |* ca-certificates: compat with non-GNU mktemp (closes: #1000847) | |[ Ilya Lipnitskiy ] |* certdata2pem.py: use UTC time when checking cert validity | |[ Julien Cristau ] |* Update Mozilla certificate authority bundle to version 2.60 | The following certificate authorities were added (+): | + "Autoridad de Certificacion Firmaprofesional CIF A62634068" | + "Certainly Root E1" | + "Certainly Root R1" | + "D-TRUST BR Root CA 1 2020" | + "D-TRUST EV Root CA 1 2020" | + "DigiCert TLS ECC P384 Root G5" | + "DigiCert TLS RSA4096 Root G5" | + "E-Tugra Global Root CA ECC v3" | + "E-Tugra Global Root CA RSA v3" | + "HARICA TLS ECC Root CA 2021" | + "HARICA TLS RSA Root CA 2021" | + "HiPKI Root CA - G1" | + "ISRG Root X2" | + "Security Communication ECC RootCA1" | + "Security Communication RootCA3" | + "Telia Root CA v2" | + "TunTrust Root CA" | + "vTrus ECC Root CA" | + "vTrus Root CA" | The following certificate authorities were removed (-): | - "Cybertrust Global Root" (expired) | - "EC-ACC" | - "GlobalSign Root CA - R2" (expired) | - "Hellenic Academic and Research Institutions RootCA 2011" | - "Network Solutions Certificate Authority" | - "Staat der Nederlanden EV Root CA" (expired) |* Drop trailing space from debconf template causing misformatting | (closes: #980821) | |[ Wataru Ashihara ] |* Make certdata2pem.py compatible with cryptography >= 35 (closes: #1008244) |[...] [1]: https://metadata.ftp-master.debian.org/changelogs/main/c/ca-certificates/ca-certificates_20230311_changelog Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* CI: don't add "" in target and subtarget for label workflowChristian Marangi2023-05-27
| | | | | | | | | Don't add "" in target and subtarget for label workflow from label detection as it does cause problem in build workflow on container target/subtarget matching. Fixes: bf8187d5dc4d ("CI: use split target and subtarget in label workflow") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* mediatek: filogic: add Qihoo 360T7 supportChukun Pan2023-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware specification: SoC: MediaTek MT7981B 2x A53 Flash: ESMT F50L1G41LB 128MB RAM: MT5CC128M16JR-EK 256MB Ethernet: 4x 10/100/1000 Mbps Switch: MediaTek MT7531AE WiFi: MediaTek MT7976C Button: Reset, WPS Power: DC 12V 1A Flash instructions: 1. Attach UART, boot the stock firmware until the message about failsafe mode appears. 2. Enter failsafe mode by pressing "f" and "Enter" 3. Type "mount_root", then run "fw_setenv bootmenu_delay 3" 4. Back up all mtd partitions before flashing. 5. Reboot, U-Boot now presents a menu. 6. Connect to your PC via the Gigabit port of the router, set a static ip on the ethernet interface of your PC. (ip 192.168.1.254, gateway 192.168.1.1) 7. Select "Upgrade ATF BL2", then use this file: openwrt-mediatek-filogic-qihoo_360t7-preloader.bin 8. Select "Upgrade ATF FIP", then use this file: openwrt-mediatek-filogic-qihoo_360t7-bl31-uboot.fip 9. Download the initramfs image, and type "reset", waiting for tftp recovery to complete. a. After openwrt boots up, perform sysupgrade. Note: 1. Since NMBM is disabled, we must back up all partitions. 2. Flash instructions is based on commit 28df7f7. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* uboot-mediatek: add Qihoo 360T7 supportChukun Pan2023-05-27
| | | | | | | The vendor uboot will verify firmware at boot. So add a custom uboot build for this device. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* arm-trusted-firmware-mediatek: add build for MT7981 DDR3Chukun Pan2023-05-27
| | | | | | | | Add new build option BOARD_QFN/BOARD_BGA. This option is only useful for MT7981 device. MT7981A/B: BOARD_BGA, MT7981C: BOARD_QFN. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>