Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
commit
01189fab53
@ -1,2 +1,2 @@
|
|||||||
LINUX_VERSION-5.15 = .125
|
LINUX_VERSION-5.15 = .126
|
||||||
LINUX_KERNEL_HASH-5.15.125 = 150f3846b76cd23a6135f49cef71372bade5a06e851cb4f8558df8b862d8fec7
|
LINUX_KERNEL_HASH-5.15.126 = adf4aab9840f89ee151b837defbe16e9f388e8eef20df7ee94bf63be33b3ed6f
|
||||||
|
|||||||
@ -32,28 +32,30 @@ $(eval $(call TestHostCommand,proper-umask, \
|
|||||||
|
|
||||||
ifndef IB
|
ifndef IB
|
||||||
$(eval $(call SetupHostCommand,gcc, \
|
$(eval $(call SetupHostCommand,gcc, \
|
||||||
Please install the GNU C Compiler (gcc) 6 or later, \
|
Please install the GNU C Compiler (gcc) 8 or later, \
|
||||||
$(CC) -dumpversion | grep -E '^([6-9]\.?|1[0-9]\.?)', \
|
$(CC) -dumpversion | grep -E '^([8-9]\.?|1[0-9]\.?)', \
|
||||||
gcc -dumpversion | grep -E '^([6-9]\.?|1[0-9]\.?)', \
|
gcc -dumpversion | grep -E '^([8-9]\.?|1[0-9]\.?)', \
|
||||||
|
gcc-8 -dumpversion | grep -E '^([8-9]\.?|1[0-9]\.?)', \
|
||||||
gcc --version | grep -E 'Apple.(LLVM|clang)' ))
|
gcc --version | grep -E 'Apple.(LLVM|clang)' ))
|
||||||
|
|
||||||
$(eval $(call TestHostCommand,working-gcc, \
|
$(eval $(call TestHostCommand,working-gcc, \
|
||||||
Please reinstall the GNU C Compiler (6 or later) - \
|
Please reinstall the GNU C Compiler (8 or later) - \
|
||||||
it appears to be broken, \
|
it appears to be broken, \
|
||||||
echo 'int main(int argc, char **argv) { return 0; }' | \
|
echo 'int main(int argc, char **argv) { return 0; }' | \
|
||||||
gcc -x c -o $(TMP_DIR)/a.out -))
|
$(STAGING_DIR_HOST)/bin/gcc -x c -o $(TMP_DIR)/a.out -))
|
||||||
|
|
||||||
$(eval $(call SetupHostCommand,g++, \
|
$(eval $(call SetupHostCommand,g++, \
|
||||||
Please install the GNU C++ Compiler (g++) 6 or later, \
|
Please install the GNU C++ Compiler (g++) 8 or later, \
|
||||||
$(CXX) -dumpversion | grep -E '^([6-9]\.?|1[0-9]\.?)', \
|
$(CXX) -dumpversion | grep -E '^([8-9]\.?|1[0-9]\.?)', \
|
||||||
g++ -dumpversion | grep -E '^([6-9]\.?|1[0-9]\.?)', \
|
g++ -dumpversion | grep -E '^([8-9]\.?|1[0-9]\.?)', \
|
||||||
|
g++-8 -dumpversion | grep -E '^([8-9]\.?|1[0-9]\.?)', \
|
||||||
g++ --version | grep -E 'Apple.(LLVM|clang)' ))
|
g++ --version | grep -E 'Apple.(LLVM|clang)' ))
|
||||||
|
|
||||||
$(eval $(call TestHostCommand,working-g++, \
|
$(eval $(call TestHostCommand,working-g++, \
|
||||||
Please reinstall the GNU C++ Compiler (6 or later) - \
|
Please reinstall the GNU C++ Compiler (8 or later) - \
|
||||||
it appears to be broken, \
|
it appears to be broken, \
|
||||||
echo 'int main(int argc, char **argv) { return 0; }' | \
|
echo 'int main(int argc, char **argv) { return 0; }' | \
|
||||||
g++ -x c++ -o $(TMP_DIR)/a.out - -lstdc++ && \
|
$(STAGING_DIR_HOST)/bin/g++ -x c++ -o $(TMP_DIR)/a.out - -lstdc++ && \
|
||||||
$(TMP_DIR)/a.out))
|
$(TMP_DIR)/a.out))
|
||||||
|
|
||||||
$(eval $(call RequireCHeader,ncurses.h, \
|
$(eval $(call RequireCHeader,ncurses.h, \
|
||||||
|
|||||||
@ -106,6 +106,10 @@ snr,cpe-w4n-mt)
|
|||||||
[ -n "$idx" ] && \
|
[ -n "$idx" ] && \
|
||||||
ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x1000" "0x1000"
|
ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x1000" "0x1000"
|
||||||
;;
|
;;
|
||||||
|
xiaomi,miwifi-mini)
|
||||||
|
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x10000"
|
||||||
|
ubootenv_add_uci_sys_config "/dev/mtd9" "0x0" "0x4000" "0x10000"
|
||||||
|
;;
|
||||||
xiaomi,mi-router-3g-v2|\
|
xiaomi,mi-router-3g-v2|\
|
||||||
xiaomi,mi-router-4a-gigabit|\
|
xiaomi,mi-router-4a-gigabit|\
|
||||||
xiaomi,miwifi-3c)
|
xiaomi,miwifi-3c)
|
||||||
|
|||||||
@ -840,7 +840,7 @@
|
|||||||
+boot_tftp_recovery=run boot_update_conf ; tftpboot $loadaddr $bootfile && env exists replacevol && iminfo $loadaddr && run sdmmc_write_recovery ; if env exists noboot ; then else bootm $loadaddr#$bootconf ; fi
|
+boot_tftp_recovery=run boot_update_conf ; tftpboot $loadaddr $bootfile && env exists replacevol && iminfo $loadaddr && run sdmmc_write_recovery ; if env exists noboot ; then else bootm $loadaddr#$bootconf ; fi
|
||||||
+boot_tftp=run boot_update_conf ; tftpboot $loadaddr $bootfile && bootm $loadaddr#$bootconf
|
+boot_tftp=run boot_update_conf ; tftpboot $loadaddr $bootfile && bootm $loadaddr#$bootconf
|
||||||
+mmc_write_vol=imszb $loadaddr image_size && test 0x$image_size -le 0x$part_size && mmc erase 0x$part_addr 0x$image_size && mmc write $loadaddr 0x$part_addr 0x$image_size
|
+mmc_write_vol=imszb $loadaddr image_size && test 0x$image_size -le 0x$part_size && mmc erase 0x$part_addr 0x$image_size && mmc write $loadaddr 0x$part_addr 0x$image_size
|
||||||
+mmc_read_vol=mmc read $loadaddr $part_addr 0x8 && imszb $loadaddr image_size && test 0x$image_size -le 0x$part_size && mmc read $loadaddr 0x$part_addr 0x$image_size && setexpr filesize $image_size * 0x200
|
+mmc_read_vol=mmc read $loadaddr $part_addr 0x100 && imszb $loadaddr image_size && test 0x$image_size -le 0x$part_size && mmc read $loadaddr 0x$part_addr 0x$image_size && setexpr filesize $image_size * 0x200
|
||||||
+part_default=production
|
+part_default=production
|
||||||
+part_recovery=recovery
|
+part_recovery=recovery
|
||||||
+reset_factory=eraseenv && reset
|
+reset_factory=eraseenv && reset
|
||||||
@ -931,8 +931,8 @@
|
|||||||
+boot_write_fip=mtd erase fip && mtd write fip $loadaddr
|
+boot_write_fip=mtd erase fip && mtd write fip $loadaddr
|
||||||
+boot_write_preloader=mtd erase bl2 && mtd write bl2 $loadaddr
|
+boot_write_preloader=mtd erase bl2 && mtd write bl2 $loadaddr
|
||||||
+reset_factory=mtd erase u-boot-env
|
+reset_factory=mtd erase u-boot-env
|
||||||
+nor_read_production=mtd read fit $loadaddr 0x0 0x1000 && imsz $loadaddr image_size && mtd read fit $loadaddr 0x0 $image_size
|
+nor_read_production=mtd read fit $loadaddr 0x0 0x20000 && imsz $loadaddr image_size && mtd read fit $loadaddr 0x0 $image_size
|
||||||
+nor_read_recovery=mtd read recovery $loadaddr 0x0 0x1000 && imsz $loadaddr image_size && mtd read recovery $loadaddr 0x0 $image_size
|
+nor_read_recovery=mtd read recovery $loadaddr 0x0 0x20000 && imsz $loadaddr image_size && mtd read recovery $loadaddr 0x0 $image_size
|
||||||
+nor_pad_size=imsz $loadaddr image_size ; setexpr image_eb 0x$image_size / 0x10000 ; setexpr tmp1 0x$image_size % 0x10000 ; test 0x$tmp1 -gt 0 && setexpr image_eb 0x$image_eb + 1 ; setexpr image_eb $image_eb * 0x10000
|
+nor_pad_size=imsz $loadaddr image_size ; setexpr image_eb 0x$image_size / 0x10000 ; setexpr tmp1 0x$image_size % 0x10000 ; test 0x$tmp1 -gt 0 && setexpr image_eb 0x$image_eb + 1 ; setexpr image_eb $image_eb * 0x10000
|
||||||
+nor_write_production=run nor_pad_size ; test 0x$image_eb -le 0x3000000 && mtd erase fit && mtd write fit $loadaddr 0x0 $image_eb
|
+nor_write_production=run nor_pad_size ; test 0x$image_eb -le 0x3000000 && mtd erase fit && mtd write fit $loadaddr 0x0 $image_eb
|
||||||
+nor_write_recovery=run nor_pad_size ; test 0x$image_eb -le 0x900000 && mtd erase recovery 0x0 0x$image_eb && mtd write recovery $loadaddr 0x0 $image_eb
|
+nor_write_recovery=run nor_pad_size ; test 0x$image_eb -le 0x900000 && mtd erase recovery 0x0 0x$image_eb && mtd write recovery $loadaddr 0x0 $image_eb
|
||||||
@ -1067,7 +1067,7 @@
|
|||||||
+boot_tftp=run boot_update_conf ; tftpboot $loadaddr $bootfile && bootm $loadaddr#$bootconf
|
+boot_tftp=run boot_update_conf ; tftpboot $loadaddr $bootfile && bootm $loadaddr#$bootconf
|
||||||
+boot_update_conf=if nand info ; then setenv bootconf $bootconf_base#$bootconf_emmc#$bootconf_nand ; else setenv bootconf $bootconf_base#$bootconf_emmc#$bootconf_nor ; fi
|
+boot_update_conf=if nand info ; then setenv bootconf $bootconf_base#$bootconf_emmc#$bootconf_nand ; else setenv bootconf $bootconf_base#$bootconf_emmc#$bootconf_nor ; fi
|
||||||
+mmc_write_vol=imszb $loadaddr image_size && test 0x$image_size -le 0x$part_size && mmc erase 0x$part_addr 0x$image_size && mmc write $loadaddr 0x$part_addr 0x$image_size
|
+mmc_write_vol=imszb $loadaddr image_size && test 0x$image_size -le 0x$part_size && mmc erase 0x$part_addr 0x$image_size && mmc write $loadaddr 0x$part_addr 0x$image_size
|
||||||
+mmc_read_vol=mmc read $loadaddr $part_addr 0x8 && imszb $loadaddr image_size && test 0x$image_size -le 0x$part_size && mmc read $loadaddr 0x$part_addr 0x$image_size && setexpr filesize $image_size * 0x200
|
+mmc_read_vol=mmc read $loadaddr $part_addr 0x100 && imszb $loadaddr image_size && test 0x$image_size -le 0x$part_size && mmc read $loadaddr 0x$part_addr 0x$image_size && setexpr filesize $image_size * 0x200
|
||||||
+part_default=production
|
+part_default=production
|
||||||
+part_recovery=recovery
|
+part_recovery=recovery
|
||||||
+reset_factory=eraseenv && reset
|
+reset_factory=eraseenv && reset
|
||||||
|
|||||||
@ -173,14 +173,14 @@ $(eval $(call BuildPackage,iwlwifi-firmware-iwl9260))
|
|||||||
Package/iwlwifi-firmware-ax200 = $(call Package/firmware-default,Intel AX200 firmware)
|
Package/iwlwifi-firmware-ax200 = $(call Package/firmware-default,Intel AX200 firmware)
|
||||||
define Package/iwlwifi-firmware-ax200/install
|
define Package/iwlwifi-firmware-ax200/install
|
||||||
$(INSTALL_DIR) $(1)/lib/firmware
|
$(INSTALL_DIR) $(1)/lib/firmware
|
||||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/iwlwifi-cc-a0-66.ucode $(1)/lib/firmware
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/iwlwifi-cc-a0-72.ucode $(1)/lib/firmware
|
||||||
endef
|
endef
|
||||||
$(eval $(call BuildPackage,iwlwifi-firmware-ax200))
|
$(eval $(call BuildPackage,iwlwifi-firmware-ax200))
|
||||||
|
|
||||||
Package/iwlwifi-firmware-ax210 = $(call Package/firmware-default,Intel AX210 firmware)
|
Package/iwlwifi-firmware-ax210 = $(call Package/firmware-default,Intel AX210 firmware)
|
||||||
define Package/iwlwifi-firmware-ax210/install
|
define Package/iwlwifi-firmware-ax210/install
|
||||||
$(INSTALL_DIR) $(1)/lib/firmware
|
$(INSTALL_DIR) $(1)/lib/firmware
|
||||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/iwlwifi-ty-a0-gf-a0-66.ucode $(1)/lib/firmware
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/iwlwifi-ty-a0-gf-a0-72.ucode $(1)/lib/firmware
|
||||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/iwlwifi-ty-a0-gf-a0.pnvm $(1)/lib/firmware
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/iwlwifi-ty-a0-gf-a0.pnvm $(1)/lib/firmware
|
||||||
endef
|
endef
|
||||||
$(eval $(call BuildPackage,iwlwifi-firmware-ax210))
|
$(eval $(call BuildPackage,iwlwifi-firmware-ax210))
|
||||||
|
|||||||
4
rules.mk
4
rules.mk
@ -240,8 +240,8 @@ PKG_CONFIG:=$(STAGING_DIR_HOST)/bin/pkg-config
|
|||||||
|
|
||||||
export PKG_CONFIG
|
export PKG_CONFIG
|
||||||
|
|
||||||
HOSTCC:=gcc
|
HOSTCC:=$(STAGING_DIR_HOST)/bin/gcc
|
||||||
HOSTCXX:=g++
|
HOSTCXX:=$(STAGING_DIR_HOST)/bin/g++
|
||||||
HOST_CPPFLAGS:=-I$(STAGING_DIR_HOST)/include $(if $(IS_PACKAGE_BUILD),-I$(STAGING_DIR_HOSTPKG)/include -I$(STAGING_DIR)/host/include)
|
HOST_CPPFLAGS:=-I$(STAGING_DIR_HOST)/include $(if $(IS_PACKAGE_BUILD),-I$(STAGING_DIR_HOSTPKG)/include -I$(STAGING_DIR)/host/include)
|
||||||
HOST_CXXFLAGS:=
|
HOST_CXXFLAGS:=
|
||||||
HOST_CFLAGS:=-O2 $(HOST_CPPFLAGS)
|
HOST_CFLAGS:=-O2 $(HOST_CPPFLAGS)
|
||||||
|
|||||||
@ -309,12 +309,12 @@ start_qemu_x86() {
|
|||||||
# To use AHCI interface
|
# To use AHCI interface
|
||||||
#
|
#
|
||||||
# -device ich9-ahci,id=ahci \
|
# -device ich9-ahci,id=ahci \
|
||||||
# -device ide-drive,drive=drv0,bus=ahci.0 \
|
# -device ide-hd,drive=drv0,bus=ahci.0 \
|
||||||
# -drive "file=$rootfs,format=raw,id=drv0,if=none" \
|
# -drive "file=$rootfs,format=raw,id=drv0,if=none" \
|
||||||
#
|
#
|
||||||
# [1] https://dev.openwrt.org/ticket/17947
|
# [1] https://dev.openwrt.org/ticket/17947
|
||||||
"$qemu_exe" -machine "$mach" -nographic \
|
"$qemu_exe" -machine "$mach" -nographic \
|
||||||
-device ide-drive,drive=drv0 \
|
-device ide-hd,drive=drv0 \
|
||||||
-drive "file=$rootfs,format=raw,id=drv0,if=none" \
|
-drive "file=$rootfs,format=raw,id=drv0,if=none" \
|
||||||
"${o_qemu_extra[@]}"
|
"${o_qemu_extra[@]}"
|
||||||
;;
|
;;
|
||||||
|
|||||||
@ -151,17 +151,6 @@ endef
|
|||||||
|
|
||||||
$(eval $(call KernelPackage,marvell-mdio))
|
$(eval $(call KernelPackage,marvell-mdio))
|
||||||
|
|
||||||
define KernelPackage/phy-marvell-10g
|
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
|
||||||
TITLE:=Marvell Alaska 10G PHY driver
|
|
||||||
DEPENDS:=@(TARGET_armsr_armv8) +kmod-libphy
|
|
||||||
KCONFIG:=CONFIG_MARVELL_10G_PHY
|
|
||||||
FILES=$(LINUX_DIR)/drivers/net/phy/marvell10g.ko
|
|
||||||
AUTOLOAD=$(call AutoLoad,35,marvell10g)
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call KernelPackage,phy-marvell-10g))
|
|
||||||
|
|
||||||
define KernelPackage/mvneta
|
define KernelPackage/mvneta
|
||||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||||
TITLE:=Marvell Armada 370/38x/XP/37xx network driver
|
TITLE:=Marvell Armada 370/38x/XP/37xx network driver
|
||||||
|
|||||||
@ -29,7 +29,7 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|||||||
|
|
||||||
--- a/drivers/net/dsa/bcm_sf2.c
|
--- a/drivers/net/dsa/bcm_sf2.c
|
||||||
+++ b/drivers/net/dsa/bcm_sf2.c
|
+++ b/drivers/net/dsa/bcm_sf2.c
|
||||||
@@ -1538,10 +1538,14 @@ static int bcm_sf2_sw_probe(struct platf
|
@@ -1542,10 +1542,14 @@ static int bcm_sf2_sw_probe(struct platf
|
||||||
rev = reg_readl(priv, REG_PHY_REVISION);
|
rev = reg_readl(priv, REG_PHY_REVISION);
|
||||||
priv->hw_params.gphy_rev = rev & PHY_REVISION_MASK;
|
priv->hw_params.gphy_rev = rev & PHY_REVISION_MASK;
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|||||||
|
|
||||||
--- a/drivers/net/dsa/bcm_sf2.c
|
--- a/drivers/net/dsa/bcm_sf2.c
|
||||||
+++ b/drivers/net/dsa/bcm_sf2.c
|
+++ b/drivers/net/dsa/bcm_sf2.c
|
||||||
@@ -1552,6 +1552,12 @@ static int bcm_sf2_sw_probe(struct platf
|
@@ -1556,6 +1556,12 @@ static int bcm_sf2_sw_probe(struct platf
|
||||||
priv->hw_params.core_rev >> 8, priv->hw_params.core_rev & 0xff,
|
priv->hw_params.core_rev >> 8, priv->hw_params.core_rev & 0xff,
|
||||||
priv->irq0, priv->irq1);
|
priv->irq0, priv->irq1);
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,49 @@
|
|||||||
|
From f5a05060670a4d8d6523afc7963eb559c2e3615f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Olivier Maignial <olivier.maignial@hotmail.fr>
|
||||||
|
Date: Fri, 23 Jun 2023 17:33:37 +0200
|
||||||
|
Subject: [PATCH] mtd: spinand: winbond: Fix ecc_get_status
|
||||||
|
|
||||||
|
Reading ECC status is failing.
|
||||||
|
|
||||||
|
w25n02kv_ecc_get_status() is using on-stack buffer for
|
||||||
|
SPINAND_GET_FEATURE_OP() output. It is not suitable for
|
||||||
|
DMA needs of spi-mem.
|
||||||
|
|
||||||
|
Fix this by using the spi-mem operations dedicated buffer
|
||||||
|
spinand->scratchbuf.
|
||||||
|
|
||||||
|
See
|
||||||
|
spinand->scratchbuf:
|
||||||
|
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/mtd/spinand.h?h=v6.3#n418
|
||||||
|
spi_mem_check_op():
|
||||||
|
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/spi/spi-mem.c?h=v6.3#n199
|
||||||
|
|
||||||
|
Fixes: 6154c7a58348 ("mtd: spinand: winbond: add Winbond W25N02KV flash support")
|
||||||
|
Cc: stable@vger.kernel.org
|
||||||
|
Signed-off-by: Olivier Maignial <olivier.maignial@hotmail.fr>
|
||||||
|
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
|
||||||
|
Link: https://lore.kernel.org/linux-mtd/DB4P250MB1032EDB9E36B764A33769039FE23A@DB4P250MB1032.EURP250.PROD.OUTLOOK.COM
|
||||||
|
---
|
||||||
|
drivers/mtd/nand/spi/winbond.c | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
--- a/drivers/mtd/nand/spi/winbond.c
|
||||||
|
+++ b/drivers/mtd/nand/spi/winbond.c
|
||||||
|
@@ -108,7 +108,7 @@ static int w25n02kv_ecc_get_status(struc
|
||||||
|
{
|
||||||
|
struct nand_device *nand = spinand_to_nand(spinand);
|
||||||
|
u8 mbf = 0;
|
||||||
|
- struct spi_mem_op op = SPINAND_GET_FEATURE_OP(0x30, &mbf);
|
||||||
|
+ struct spi_mem_op op = SPINAND_GET_FEATURE_OP(0x30, spinand->scratchbuf);
|
||||||
|
|
||||||
|
switch (status & STATUS_ECC_MASK) {
|
||||||
|
case STATUS_ECC_NO_BITFLIPS:
|
||||||
|
@@ -126,7 +126,7 @@ static int w25n02kv_ecc_get_status(struc
|
||||||
|
if (spi_mem_exec_op(spinand->spimem, &op))
|
||||||
|
return nanddev_get_ecc_conf(nand)->strength;
|
||||||
|
|
||||||
|
- mbf >>= 4;
|
||||||
|
+ mbf = *(spinand->scratchbuf) >> 4;
|
||||||
|
|
||||||
|
if (WARN_ON(mbf > nanddev_get_ecc_conf(nand)->strength || !mbf))
|
||||||
|
return nanddev_get_ecc_conf(nand)->strength;
|
||||||
@ -0,0 +1,49 @@
|
|||||||
|
From f5a05060670a4d8d6523afc7963eb559c2e3615f Mon Sep 17 00:00:00 2001
|
||||||
|
From: Olivier Maignial <olivier.maignial@hotmail.fr>
|
||||||
|
Date: Fri, 23 Jun 2023 17:33:37 +0200
|
||||||
|
Subject: [PATCH] mtd: spinand: winbond: Fix ecc_get_status
|
||||||
|
|
||||||
|
Reading ECC status is failing.
|
||||||
|
|
||||||
|
w25n02kv_ecc_get_status() is using on-stack buffer for
|
||||||
|
SPINAND_GET_FEATURE_OP() output. It is not suitable for
|
||||||
|
DMA needs of spi-mem.
|
||||||
|
|
||||||
|
Fix this by using the spi-mem operations dedicated buffer
|
||||||
|
spinand->scratchbuf.
|
||||||
|
|
||||||
|
See
|
||||||
|
spinand->scratchbuf:
|
||||||
|
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/mtd/spinand.h?h=v6.3#n418
|
||||||
|
spi_mem_check_op():
|
||||||
|
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/spi/spi-mem.c?h=v6.3#n199
|
||||||
|
|
||||||
|
Fixes: 6154c7a58348 ("mtd: spinand: winbond: add Winbond W25N02KV flash support")
|
||||||
|
Cc: stable@vger.kernel.org
|
||||||
|
Signed-off-by: Olivier Maignial <olivier.maignial@hotmail.fr>
|
||||||
|
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
|
||||||
|
Link: https://lore.kernel.org/linux-mtd/DB4P250MB1032EDB9E36B764A33769039FE23A@DB4P250MB1032.EURP250.PROD.OUTLOOK.COM
|
||||||
|
---
|
||||||
|
drivers/mtd/nand/spi/winbond.c | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
--- a/drivers/mtd/nand/spi/winbond.c
|
||||||
|
+++ b/drivers/mtd/nand/spi/winbond.c
|
||||||
|
@@ -108,7 +108,7 @@ static int w25n02kv_ecc_get_status(struc
|
||||||
|
{
|
||||||
|
struct nand_device *nand = spinand_to_nand(spinand);
|
||||||
|
u8 mbf = 0;
|
||||||
|
- struct spi_mem_op op = SPINAND_GET_FEATURE_OP(0x30, &mbf);
|
||||||
|
+ struct spi_mem_op op = SPINAND_GET_FEATURE_OP(0x30, spinand->scratchbuf);
|
||||||
|
|
||||||
|
switch (status & STATUS_ECC_MASK) {
|
||||||
|
case STATUS_ECC_NO_BITFLIPS:
|
||||||
|
@@ -126,7 +126,7 @@ static int w25n02kv_ecc_get_status(struc
|
||||||
|
if (spi_mem_exec_op(spinand->spimem, &op))
|
||||||
|
return nanddev_get_ecc_conf(nand)->strength;
|
||||||
|
|
||||||
|
- mbf >>= 4;
|
||||||
|
+ mbf = *(spinand->scratchbuf) >> 4;
|
||||||
|
|
||||||
|
if (WARN_ON(mbf > nanddev_get_ecc_conf(nand)->strength || !mbf))
|
||||||
|
return nanddev_get_ecc_conf(nand)->strength;
|
||||||
@ -330,6 +330,10 @@ CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8
|
|||||||
# CONFIG_ARM64_ERRATUM_1530923 is not set
|
# CONFIG_ARM64_ERRATUM_1530923 is not set
|
||||||
# CONFIG_ARM64_ERRATUM_1542419 is not set
|
# CONFIG_ARM64_ERRATUM_1542419 is not set
|
||||||
# CONFIG_ARM64_ERRATUM_1742098 is not set
|
# CONFIG_ARM64_ERRATUM_1742098 is not set
|
||||||
|
# CONFIG_ARM64_ERRATUM_2253138 is not set
|
||||||
|
# CONFIG_ARM64_ERRATUM_2224489 is not set
|
||||||
|
# CONFIG_ARM64_ERRATUM_2054223 is not set
|
||||||
|
# CONFIG_ARM64_ERRATUM_2067961 is not set
|
||||||
# CONFIG_ARM64_ERRATUM_2441007 is not set
|
# CONFIG_ARM64_ERRATUM_2441007 is not set
|
||||||
# CONFIG_ARM64_ERRATUM_2441009 is not set
|
# CONFIG_ARM64_ERRATUM_2441009 is not set
|
||||||
# CONFIG_ARM64_ERRATUM_819472 is not set
|
# CONFIG_ARM64_ERRATUM_819472 is not set
|
||||||
|
|||||||
@ -77,7 +77,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
INDIRECT_CALLABLE_DECLARE(struct dst_entry *ip6_dst_check(struct dst_entry *,
|
INDIRECT_CALLABLE_DECLARE(struct dst_entry *ip6_dst_check(struct dst_entry *,
|
||||||
u32));
|
u32));
|
||||||
INDIRECT_CALLABLE_DECLARE(struct dst_entry *ipv4_dst_check(struct dst_entry *,
|
INDIRECT_CALLABLE_DECLARE(struct dst_entry *ipv4_dst_check(struct dst_entry *,
|
||||||
@@ -1983,9 +1997,11 @@ static void __sk_free(struct sock *sk)
|
@@ -1986,9 +2000,11 @@ static void __sk_free(struct sock *sk)
|
||||||
if (likely(sk->sk_net_refcnt))
|
if (likely(sk->sk_net_refcnt))
|
||||||
sock_inuse_add(sock_net(sk), -1);
|
sock_inuse_add(sock_net(sk), -1);
|
||||||
|
|
||||||
|
|||||||
@ -330,7 +330,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|||||||
|
|
||||||
--- a/net/core/sock.c
|
--- a/net/core/sock.c
|
||||||
+++ b/net/core/sock.c
|
+++ b/net/core/sock.c
|
||||||
@@ -3877,6 +3877,8 @@ static __net_initdata struct pernet_oper
|
@@ -3880,6 +3880,8 @@ static __net_initdata struct pernet_oper
|
||||||
|
|
||||||
static int __init proto_init(void)
|
static int __init proto_init(void)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -756,28 +756,26 @@ define Device/luma_wrtq-329acn
|
|||||||
endef
|
endef
|
||||||
TARGET_DEVICES += luma_wrtq-329acn
|
TARGET_DEVICES += luma_wrtq-329acn
|
||||||
|
|
||||||
define Device/meraki_mr33
|
define Device/meraki_common
|
||||||
$(call Device/FitImage)
|
$(call Device/FitImage)
|
||||||
DEVICE_VENDOR := Cisco Meraki
|
DEVICE_VENDOR := Cisco Meraki
|
||||||
DEVICE_MODEL := MR33
|
|
||||||
SOC := qcom-ipq4029
|
SOC := qcom-ipq4029
|
||||||
BLOCKSIZE := 128k
|
BLOCKSIZE := 128k
|
||||||
PAGESIZE := 2048
|
PAGESIZE := 2048
|
||||||
DEVICE_PACKAGES := -swconfig ath10k-firmware-qca9887-ct
|
DEVICE_DTS_LOADADDR := 0x89000000
|
||||||
DEFAULT := n
|
DEVICE_PACKAGES := ath10k-firmware-qca9887-ct
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Device/meraki_mr33
|
||||||
|
$(call Device/meraki_common)
|
||||||
|
DEVICE_MODEL := MR33
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += meraki_mr33
|
TARGET_DEVICES += meraki_mr33
|
||||||
|
|
||||||
define Device/meraki_mr74
|
define Device/meraki_mr74
|
||||||
$(call Device/FitImage)
|
$(call Device/meraki_common)
|
||||||
DEVICE_VENDOR := Cisco Meraki
|
|
||||||
DEVICE_MODEL := MR74
|
DEVICE_MODEL := MR74
|
||||||
SOC := qcom-ipq4029
|
|
||||||
BLOCKSIZE := 128k
|
|
||||||
PAGESIZE := 2048
|
|
||||||
DEVICE_PACKAGES := -swconfig ath10k-firmware-qca9887-ct
|
|
||||||
DEVICE_DTS_CONFIG := config@3
|
DEVICE_DTS_CONFIG := config@3
|
||||||
DEFAULT := n
|
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += meraki_mr74
|
TARGET_DEVICES += meraki_mr74
|
||||||
|
|
||||||
|
|||||||
@ -190,6 +190,13 @@ static const struct mtk_gate_regs infra3_cg_regs = {
|
|||||||
#define GATE_INFRA3(_id, _name, _parent, _shift) \
|
#define GATE_INFRA3(_id, _name, _parent, _shift) \
|
||||||
GATE_INFRA3_FLAGS(_id, _name, _parent, _shift, 0)
|
GATE_INFRA3_FLAGS(_id, _name, _parent, _shift, 0)
|
||||||
|
|
||||||
|
#define GATE_CRITICAL(_id, _name, _parent, _regs, _shift) { \
|
||||||
|
.id = _id, .name = _name, .parent_name = _parent, \
|
||||||
|
.regs = _regs, .shift = _shift, \
|
||||||
|
.flags = CLK_IS_CRITICAL, \
|
||||||
|
.ops = &mtk_clk_gate_ops_setclr, \
|
||||||
|
}
|
||||||
|
|
||||||
static const struct mtk_gate infra_clks[] = {
|
static const struct mtk_gate infra_clks[] = {
|
||||||
/* INFRA0 */
|
/* INFRA0 */
|
||||||
GATE_INFRA0(CLK_INFRA_PCIE_PERI_26M_CK_P0,
|
GATE_INFRA0(CLK_INFRA_PCIE_PERI_26M_CK_P0,
|
||||||
@ -271,7 +278,7 @@ static const struct mtk_gate infra_clks[] = {
|
|||||||
"sysaxi_sel", 17),
|
"sysaxi_sel", 17),
|
||||||
GATE_INFRA2(CLK_INFRA_66M_FLASHIF_AXI, "infra_hf_66m_flashif_axi",
|
GATE_INFRA2(CLK_INFRA_66M_FLASHIF_AXI, "infra_hf_66m_flashif_axi",
|
||||||
"sysaxi_sel", 18),
|
"sysaxi_sel", 18),
|
||||||
GATE_INFRA2(CLK_INFRA_RTC, "infra_f_frtc", "top_rtc_32k", 19),
|
GATE_CRITICAL(CLK_INFRA_RTC, "infra_f_frtc", "top_rtc_32k", &infra2_cg_regs, 19),
|
||||||
GATE_INFRA2(CLK_INFRA_26M_ADC_BCK, "infra_f_26m_adc_bck",
|
GATE_INFRA2(CLK_INFRA_26M_ADC_BCK, "infra_f_26m_adc_bck",
|
||||||
"csw_infra_f26m_sel", 20),
|
"csw_infra_f26m_sel", 20),
|
||||||
GATE_INFRA2(CLK_INFRA_RC_ADC, "infra_f_frc_adc", "infra_f_26m_adc_bck",
|
GATE_INFRA2(CLK_INFRA_RC_ADC, "infra_f_frc_adc", "infra_f_26m_adc_bck",
|
||||||
|
|||||||
@ -190,6 +190,13 @@ static const struct mtk_gate_regs infra3_cg_regs = {
|
|||||||
#define GATE_INFRA3(_id, _name, _parent, _shift) \
|
#define GATE_INFRA3(_id, _name, _parent, _shift) \
|
||||||
GATE_INFRA3_FLAGS(_id, _name, _parent, _shift, 0)
|
GATE_INFRA3_FLAGS(_id, _name, _parent, _shift, 0)
|
||||||
|
|
||||||
|
#define GATE_CRITICAL(_id, _name, _parent, _regs, _shift) { \
|
||||||
|
.id = _id, .name = _name, .parent_name = _parent, \
|
||||||
|
.regs = _regs, .shift = _shift, \
|
||||||
|
.flags = CLK_IS_CRITICAL, \
|
||||||
|
.ops = &mtk_clk_gate_ops_setclr, \
|
||||||
|
}
|
||||||
|
|
||||||
static const struct mtk_gate infra_clks[] = {
|
static const struct mtk_gate infra_clks[] = {
|
||||||
/* INFRA0 */
|
/* INFRA0 */
|
||||||
GATE_INFRA0(CLK_INFRA_PCIE_PERI_26M_CK_P0,
|
GATE_INFRA0(CLK_INFRA_PCIE_PERI_26M_CK_P0,
|
||||||
@ -271,7 +278,7 @@ static const struct mtk_gate infra_clks[] = {
|
|||||||
"sysaxi_sel", 17),
|
"sysaxi_sel", 17),
|
||||||
GATE_INFRA2(CLK_INFRA_66M_FLASHIF_AXI, "infra_hf_66m_flashif_axi",
|
GATE_INFRA2(CLK_INFRA_66M_FLASHIF_AXI, "infra_hf_66m_flashif_axi",
|
||||||
"sysaxi_sel", 18),
|
"sysaxi_sel", 18),
|
||||||
GATE_INFRA2(CLK_INFRA_RTC, "infra_f_frtc", "top_rtc_32k", 19),
|
GATE_CRITICAL(CLK_INFRA_RTC, "infra_f_frtc", "top_rtc_32k", &infra2_cg_regs, 19),
|
||||||
GATE_INFRA2(CLK_INFRA_26M_ADC_BCK, "infra_f_26m_adc_bck",
|
GATE_INFRA2(CLK_INFRA_26M_ADC_BCK, "infra_f_26m_adc_bck",
|
||||||
"csw_infra_f26m_sel", 20),
|
"csw_infra_f26m_sel", 20),
|
||||||
GATE_INFRA2(CLK_INFRA_RC_ADC, "infra_f_frc_adc", "infra_f_26m_adc_bck",
|
GATE_INFRA2(CLK_INFRA_RC_ADC, "infra_f_frc_adc", "infra_f_26m_adc_bck",
|
||||||
|
|||||||
@ -37,7 +37,7 @@
|
|||||||
* managed to set the command line, unless CONFIG_CMDLINE_FORCE
|
* managed to set the command line, unless CONFIG_CMDLINE_FORCE
|
||||||
--- a/arch/arm64/Kconfig
|
--- a/arch/arm64/Kconfig
|
||||||
+++ b/arch/arm64/Kconfig
|
+++ b/arch/arm64/Kconfig
|
||||||
@@ -1983,6 +1983,14 @@ config CMDLINE_FORCE
|
@@ -2057,6 +2057,14 @@ config CMDLINE_FORCE
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|||||||
@ -8,8 +8,8 @@
|
|||||||
model = "Xiaomi MiWiFi Mini";
|
model = "Xiaomi MiWiFi Mini";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
led-boot = &led_blue;
|
led-boot = &led_yellow;
|
||||||
led-failsafe = &led_blue;
|
led-failsafe = &led_red;
|
||||||
led-running = &led_blue;
|
led-running = &led_blue;
|
||||||
led-upgrade = &led_blue;
|
led-upgrade = &led_blue;
|
||||||
label-mac-device = ðernet;
|
label-mac-device = ðernet;
|
||||||
@ -25,15 +25,14 @@
|
|||||||
led_blue: blue {
|
led_blue: blue {
|
||||||
label = "blue:status";
|
label = "blue:status";
|
||||||
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
|
||||||
default-state = "on";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
yellow {
|
led_yellow: yellow {
|
||||||
label = "yellow:status";
|
label = "yellow:status";
|
||||||
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
red {
|
led_red: red {
|
||||||
label = "red:status";
|
label = "red:status";
|
||||||
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -328,6 +328,7 @@ CONFIG_ND_CLAIM=y
|
|||||||
CONFIG_NEED_DMA_MAP_STATE=y
|
CONFIG_NEED_DMA_MAP_STATE=y
|
||||||
CONFIG_NET_FAILOVER=y
|
CONFIG_NET_FAILOVER=y
|
||||||
CONFIG_NET_FLOW_LIMIT=y
|
CONFIG_NET_FLOW_LIMIT=y
|
||||||
|
CONFIG_NET_PTP_CLASSIFY=y
|
||||||
# CONFIG_NITRO_ENCLAVES is not set
|
# CONFIG_NITRO_ENCLAVES is not set
|
||||||
CONFIG_NR_CPUS=512
|
CONFIG_NR_CPUS=512
|
||||||
CONFIG_NR_CPUS_DEFAULT=64
|
CONFIG_NR_CPUS_DEFAULT=64
|
||||||
@ -356,6 +357,11 @@ CONFIG_PATA_VIA=y
|
|||||||
CONFIG_PCC=y
|
CONFIG_PCC=y
|
||||||
# CONFIG_PCENGINES_APU2 is not set
|
# CONFIG_PCENGINES_APU2 is not set
|
||||||
CONFIG_PCIEAER=y
|
CONFIG_PCIEAER=y
|
||||||
|
CONFIG_PCIEASPM=y
|
||||||
|
CONFIG_PCIEASPM_DEFAULT=y
|
||||||
|
# CONFIG_PCIEASPM_PERFORMANCE is not set
|
||||||
|
# CONFIG_PCIEASPM_POWERSAVE is not set
|
||||||
|
# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
|
||||||
CONFIG_PCIEPORTBUS=y
|
CONFIG_PCIEPORTBUS=y
|
||||||
CONFIG_PCIE_PME=y
|
CONFIG_PCIE_PME=y
|
||||||
CONFIG_PCI_HYPERV=y
|
CONFIG_PCI_HYPERV=y
|
||||||
@ -390,7 +396,11 @@ CONFIG_PM_SLEEP_SMP=y
|
|||||||
CONFIG_PNP=y
|
CONFIG_PNP=y
|
||||||
CONFIG_PNPACPI=y
|
CONFIG_PNPACPI=y
|
||||||
CONFIG_PNP_DEBUG_MESSAGES=y
|
CONFIG_PNP_DEBUG_MESSAGES=y
|
||||||
|
CONFIG_PPS=y
|
||||||
CONFIG_PROC_EVENTS=y
|
CONFIG_PROC_EVENTS=y
|
||||||
|
CONFIG_PTP_1588_CLOCK=y
|
||||||
|
CONFIG_PTP_1588_CLOCK_KVM=y
|
||||||
|
CONFIG_PTP_1588_CLOCK_VMW=y
|
||||||
CONFIG_PVH=y
|
CONFIG_PVH=y
|
||||||
CONFIG_QUEUED_RWLOCKS=y
|
CONFIG_QUEUED_RWLOCKS=y
|
||||||
CONFIG_QUEUED_SPINLOCKS=y
|
CONFIG_QUEUED_SPINLOCKS=y
|
||||||
|
|||||||
@ -285,6 +285,7 @@ CONFIG_ND_CLAIM=y
|
|||||||
CONFIG_NEED_DMA_MAP_STATE=y
|
CONFIG_NEED_DMA_MAP_STATE=y
|
||||||
CONFIG_NET_FAILOVER=y
|
CONFIG_NET_FAILOVER=y
|
||||||
CONFIG_NET_FLOW_LIMIT=y
|
CONFIG_NET_FLOW_LIMIT=y
|
||||||
|
CONFIG_NET_PTP_CLASSIFY=y
|
||||||
CONFIG_NO_HZ=y
|
CONFIG_NO_HZ=y
|
||||||
CONFIG_NR_CPUS=4
|
CONFIG_NR_CPUS=4
|
||||||
CONFIG_NR_CPUS_DEFAULT=8
|
CONFIG_NR_CPUS_DEFAULT=8
|
||||||
@ -308,6 +309,11 @@ CONFIG_PATA_TIMINGS=y
|
|||||||
CONFIG_PATA_VIA=y
|
CONFIG_PATA_VIA=y
|
||||||
# CONFIG_PCENGINES_APU2 is not set
|
# CONFIG_PCENGINES_APU2 is not set
|
||||||
CONFIG_PCIEAER=y
|
CONFIG_PCIEAER=y
|
||||||
|
CONFIG_PCIEASPM=y
|
||||||
|
CONFIG_PCIEASPM_DEFAULT=y
|
||||||
|
# CONFIG_PCIEASPM_PERFORMANCE is not set
|
||||||
|
# CONFIG_PCIEASPM_POWERSAVE is not set
|
||||||
|
# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
|
||||||
CONFIG_PCIEPORTBUS=y
|
CONFIG_PCIEPORTBUS=y
|
||||||
CONFIG_PCIE_PME=y
|
CONFIG_PCIE_PME=y
|
||||||
CONFIG_PCI_MMCONFIG=y
|
CONFIG_PCI_MMCONFIG=y
|
||||||
@ -341,8 +347,12 @@ CONFIG_PNP=y
|
|||||||
CONFIG_PNPACPI=y
|
CONFIG_PNPACPI=y
|
||||||
# CONFIG_PNPBIOS is not set
|
# CONFIG_PNPBIOS is not set
|
||||||
CONFIG_PNP_DEBUG_MESSAGES=y
|
CONFIG_PNP_DEBUG_MESSAGES=y
|
||||||
|
CONFIG_PPS=y
|
||||||
CONFIG_PREEMPT_NOTIFIERS=y
|
CONFIG_PREEMPT_NOTIFIERS=y
|
||||||
CONFIG_PROC_EVENTS=y
|
CONFIG_PROC_EVENTS=y
|
||||||
|
CONFIG_PTP_1588_CLOCK=y
|
||||||
|
CONFIG_PTP_1588_CLOCK_KVM=y
|
||||||
|
CONFIG_PTP_1588_CLOCK_VMW=y
|
||||||
CONFIG_PVH=y
|
CONFIG_PVH=y
|
||||||
CONFIG_QUEUED_RWLOCKS=y
|
CONFIG_QUEUED_RWLOCKS=y
|
||||||
CONFIG_QUEUED_SPINLOCKS=y
|
CONFIG_QUEUED_SPINLOCKS=y
|
||||||
|
|||||||
@ -184,6 +184,11 @@ CONFIG_PATA_SIS=y
|
|||||||
CONFIG_PATA_TIMINGS=y
|
CONFIG_PATA_TIMINGS=y
|
||||||
CONFIG_PATA_VIA=y
|
CONFIG_PATA_VIA=y
|
||||||
CONFIG_PCIEAER=y
|
CONFIG_PCIEAER=y
|
||||||
|
CONFIG_PCIEASPM=y
|
||||||
|
CONFIG_PCIEASPM_DEFAULT=y
|
||||||
|
# CONFIG_PCIEASPM_PERFORMANCE is not set
|
||||||
|
# CONFIG_PCIEASPM_POWERSAVE is not set
|
||||||
|
# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
|
||||||
CONFIG_PCIEPORTBUS=y
|
CONFIG_PCIEPORTBUS=y
|
||||||
CONFIG_PCI_MMCONFIG=y
|
CONFIG_PCI_MMCONFIG=y
|
||||||
# CONFIG_PCWATCHDOG is not set
|
# CONFIG_PCWATCHDOG is not set
|
||||||
|
|||||||
@ -1,12 +1,11 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=meson
|
PKG_NAME:=meson
|
||||||
PKG_VERSION:=1.1.1
|
PKG_VERSION:=1.2.1
|
||||||
PKG_RELEASE:=2
|
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://github.com/mesonbuild/meson/releases/download/$(PKG_VERSION)
|
PKG_SOURCE_URL:=https://github.com/mesonbuild/meson/releases/download/$(PKG_VERSION)
|
||||||
PKG_HASH:=d04b541f97ca439fb82fab7d0d480988be4bd4e62563a5ca35fadb5400727b1c
|
PKG_HASH:=b1db3a153087549497ee52b1c938d2134e0338214fe14f7efd16fecd57b639f5
|
||||||
|
|
||||||
PKG_MAINTAINER:=Andre Heider <a.heider@gmail.com>
|
PKG_MAINTAINER:=Andre Heider <a.heider@gmail.com>
|
||||||
PKG_LICENSE:=Apache-2.0
|
PKG_LICENSE:=Apache-2.0
|
||||||
|
|||||||
@ -3,12 +3,12 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=mold
|
PKG_NAME:=mold
|
||||||
PKG_VERSION:=1.11.0
|
PKG_VERSION:=2.1.0
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL_FILE:=v$(PKG_VERSION).tar.gz
|
PKG_SOURCE_URL_FILE:=v$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://github.com/rui314/mold/archive/refs/tags
|
PKG_SOURCE_URL:=https://github.com/rui314/mold/archive/refs/tags
|
||||||
PKG_HASH:=99318eced81b09a77e4c657011076cc8ec3d4b6867bd324b8677974545bc4d6f
|
PKG_HASH:=a32bec1282671b18ea4691855aed925ea2f348dfef89cb7689cd81273ea0c5df
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/host-build.mk
|
include $(INCLUDE_DIR)/host-build.mk
|
||||||
include $(INCLUDE_DIR)/cmake.mk
|
include $(INCLUDE_DIR)/cmake.mk
|
||||||
|
|||||||
@ -7,11 +7,11 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=pkgconf
|
PKG_NAME:=pkgconf
|
||||||
PKG_VERSION:=1.9.5
|
PKG_VERSION:=2.0.1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://distfiles.dereferenced.org/pkgconf
|
PKG_SOURCE_URL:=https://distfiles.dereferenced.org/pkgconf
|
||||||
PKG_HASH:=1ac1656debb27497563036f7bffc281490f83f9b8457c0d60bcfb638fb6b6171
|
PKG_HASH:=3238af7473740844e5159dd8fb6540603e3fbcebf60beb3c8a426cdca2e29c51
|
||||||
|
|
||||||
PKG_CPE_ID:=cpe:/a:pkgconf:pkgconf
|
PKG_CPE_ID:=cpe:/a:pkgconf:pkgconf
|
||||||
|
|
||||||
|
|||||||
@ -7,12 +7,12 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=xz
|
PKG_NAME:=xz
|
||||||
PKG_VERSION:=5.4.3
|
PKG_VERSION:=5.4.4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=@SF/lzmautils \
|
PKG_SOURCE_URL:=@SF/lzmautils \
|
||||||
http://tukaani.org/xz
|
http://tukaani.org/xz
|
||||||
PKG_HASH:=9243a04598d7a70c1f567a0143a255581ac5c64b140fd55fd5cbc1e00b0e6f90
|
PKG_HASH:=0b6fcde1ac38e90433a2556f500c065950b9bcd2d602006efc334782bdfe6296
|
||||||
PKG_CPE_ID:=cpe:/a:tukaani:xz
|
PKG_CPE_ID:=cpe:/a:tukaani:xz
|
||||||
|
|
||||||
HOST_BUILD_PARALLEL:=1
|
HOST_BUILD_PARALLEL:=1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user