Your message dated Sat, 27 Jul 2024 08:02:27 +0000
with message-id <e1sxcnn-008rhy...@fasolo.debian.org>
and subject line Bug#1072968: fixed in linux 6.10.1-1~exp1
has caused the Debian Bug report #1072968,
regarding linux-image-6.7.12-arm64: Add support for Mediatek MT7986 SoC
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1072968: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072968
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: linux-image-6.7.12-arm64
Version: 6.7.12-1
Severity: important
Tags: newcomer

Dear Maintainer,

I have a Bananapi BPI-R3 board which uses the Mediatek MT7986 ARM64 SoC for its
CPU. This is a router focussed board and currently has good support in the
OpenWRT distribution and in the upstream Linux for a few years. The device tree
for this board is
https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-
bpi-r3.dts (as well as some .dtso files to enable specific flash chip options).

I have managed to get a custom U-boot build running that supports UEFI. So I
started testing the Ubuntu and Debian installers on a USB stick. With Ubuntu
22.04 (HWE kernel) and 24.04 the USB stick boots up into the installer fine,
however the Ethernet drivers are missing.

For Debian I tried the Debian stable 12.5.0 DVD ISO and the latest Debian
testing DVD ISO. Both boot into the GRUB menu fine, but after editing the GRUB
command line to remove the "quiet" kernel option, the Kernel fails to boot and
is left with no output except for the U-boot UEFI messages:

EFI stub: Booting Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services...

There is a similar bug report #1052676 which was about supporting some MT8xxx
based Chromebooks.

So I had a look at the kernel modules included in the current testing kernel:
https://packages.debian.org/trixie/arm64/linux-image-6.7.12-arm64/filelist

I can see the various MT8xxx module files, but no files for the MT7986.

I believe based on my Ubuntu results that if all the modules required are
built, then Debian testing will be able to boot on this board.

There is a relevant discussion in https://salsa.debian.org/kernel-
team/linux/-/merge_requests/906#note_483427 which was the code change that
added the MT8xxx support about the various MT6xxx and MT7xxx modules being
disabled. This is a shame as it seems that without explicitly disabling them
then this code change would have added the modules I need.

I am happy to do any testing required to get this board supported.

I think it would also be useful to enable support for the MT7988 SoC and
Bananapi have a new board, the BPI-R4 with this chip. I have not yet purchased
this board, but I can do for testing with that SoC as well.

On the U-boot side, there is another related bug report #1037281. Once I can
get the kernel booting, I am happy to help with U-boot as well, based on my
findings so far.



-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal'), 
(100, 'focal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-107-generic (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_LIVEPATCH
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: linux
Source-Version: 6.10.1-1~exp1
Done: Ben Hutchings <b...@debian.org>

We believe that the bug you reported is fixed in the latest version of
linux, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1072...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <b...@debian.org> (supplier of updated linux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 26 Jul 2024 17:53:15 +0200
Source: linux
Architecture: source
Version: 6.10.1-1~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <b...@debian.org>
Closes: 1067908 1072311 1072574 1072968 1074217 1076062 1076457 1076570 1076962
Changes:
 linux (6.10.1-1~exp1) experimental; urgency=medium
 .
   * New upstream stable update:
     https://www.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.10.1
 .
   [ Diederik de Haas ]
   * [arm64] Add MediaTek MT7986a SoC support
     - [arm64] drivers/net/ethernet/mediatek: Enable NET_VENDOR_MEDIATEK
     - [arm64] drivers/net/ethernet/mediatek: Enable NET_MEDIATEK_SOC as module
     - [arm64] drivers/net/wireless/mediatek/mt76/mt7915: Enable MT798X_WMAC
     - [arm64] drivers/pwm: Enable PWM_MEDIATEK as module
     - [arm64] drivers/thermal/mediatek: Enable MTK_SOC_THERMAL as module
   * [arm64] Add Bananapi BPI-R3 support (Closes: #1072968)
     - [arm64] drivers/mtd/nand: Enable MTD_NAND_ECC_MEDIATEK as module
     - [arm64] drivers/mtd/nand/spi: Enable MTD_SPI_NAND as module
     - [arm64] drivers/net/dsa: Enable NET_DSA_MT7530, NET_DSA_MT7530_MDIO and
       NET_DSA_MT7530_MMIO as modules
     - [arm64] drivers/spi: Enable SPI_MTK_SNFI as module
   * [arm64] Enable support for Pine64's PineTab2:
     - drivers/iio/accel: Enable IIO_ST_ACCEL_I2C_3AXIS as module
     - [arm64] drivers/gpu/drm/panel: Enable DRM_PANEL_BOE_TH101MB31UIG002_28A
       as module
     - [arm64] drivers/media/i2c: Enable VIDEO_OV5648 and VIDEO_DW9714 as module
   * [arm64] drivers/gpu/drm/bridge/synopsys: Enable DRM_DW_HDMI_I2S_AUDIO as
     module
   * drivers/devfreq: Enable PM_DEVFREQ
   * [arm64,armhf] drivers/devfreq: Make DEVFREQ_GOV_SIMPLE_ONDEMAND builtin
 .
   [ Emanuele Rocca ]
   * [arm64] Enable support for Renesas boards RZ/G3S (ARCH_R9A08G045) and
     RZ/V2H (ARCH_R9A09G057). (Closes: #1072574)
   * [arm64] Re-enable RELR, kernels built with binutils 2.42.90.20240720 boot
     fine. (Cf. #1074111).
 .
   [ Bastian Blank ]
   * [ppc64*] Switch default kernel to 4k page size.  (closes: #1074217)
   * [ppc64*] Add additional kernel with 64k page size.
   * Remove unused check for image size.
   * [arm64] Add additional kernel with 16k page size.
 .
   [ Ben Hutchings ]
   * d/b/test-patches: Handle kernel release strings without ABI number
   * d/b/test-patches: Stop looking for featuresets other than rt
   * d/b/test-patches: Update config overrides for the current format
   * d/b/buildcheck.py: Restore reading of config to pass to check classes
   * d/b/buildcheck.py, d/rules.real: Run buildcheck.py in setup as well
   * d/b/buildcheck.py: Restore config checks on kernels to be signed
   * [alpha] scsi: Disable SCSI_IMM (fixes FTBFS)
 .
   [ Aurelien Jarno ]
   * [riscv64] Enable CONFIG_ARCH_CANAAN to support Canaan Kendryte SoCs.
   * [riscv64] Enable CONFIG_CLK_SOPHGO_CV1800 as a module.
   * [riscv64] Enable CONFIG_ACPI_CPPC_CPUFREQ as a module.
 .
   [ Vincent Blut ]
   * [amd64/cloud] drivers/watchdog: Enable I6300ESB_WDT as module
     (Closes: #1067908)
   * [x86] drivers/platform/x86: Enable MSI_EC as module
 .
   [ Salvatore Bonaccorso ]
   * drivers/md/dm-vdo: Enable DM_VDO as module (Closes: #1076457)
   * drivers/net: Enable NETKIT (BPF-programmable network device) (except for
     sh4/sh7785lcr) (Closes: #1076962)
   * fs/erofs: Enable more EROFS compression algorithms (Closes: #1076570)
     - Enable EROFS_FS_ZIP_LZMA
     - Enable EROFS_FS_ZIP_DEFLATE
     - Enable EROFS_FS_ZIP_ZSTD
 .
   [ Richard Hansen ]
   * [x86] sound/soc/intel/avs/boards: Enable SND_SOC_INTEL_AVS_MACH_MAX98927 as
     a module (Closes: #1076062)
 .
   [ YunQiang Su ]
   * [mips64el] Add mips64r6el flavor.
   * [mips*] Enable R2 to R6 emulator for all R6 flavors.
 .
   [ Sergio Durigan Junior ]
   * Enable debuginfod support. (Closes: #1072311)
     libdebuginfod is dual-licensed LGPL-3+ and GPL-2+, which makes it
     possible for perf to link against the library.
     - d/rules.d/t/perf/Makefile: Remove NO_LIBDEBUGINFOD=1.
     - d/templates/tools-unversioned.control.in: B-D on libdebuginfod-dev.
 .
   [ Dmitry Baryshkov ]
   * [arm64] Enable config options for Qualcomm boards:
     - Enable INTERCONNECT_QCOM_MSM8996, INTERCONNECT_QCOM_QCM2290,
       INTERCONNECT_QCOM_SC7280, INTERCONNECT_QCOM_SM6115, and
       INTERCONNECT_QCOM_SM8250 as built-in, this is required to get serial
       console early during bootup
     - Enable pincontrol PINCTRL_MSM8998, PINCTRL_QCM2290, PINCTRL_SC7280,
       PINCTRL_SC7280_LPASS_LPI, PINCTRL_SM6115, PINCTRL_SM6115_LPASS_LPI,
       PINCTRL_SM8250, PINCTRL_SM8250_LPASS_LPI as modules
     - Enable clock controllers MSM_GCC_8998, QCOM_CLK_APCC_MSM8996,
       QCOM_CLK_APCS_MSM8916, CLK_GFM_LPASS_SM8250, QCM_DISPCC_2290,
       QCM_GCC_2290, QCOM_A53PLL, SC_CAMCC_7280, SC_DISPCC_7280, SC_GPUCC_7280,
       SC_LPASS_CORECC_7280, SC_VIDEOCC_7280, SM_CAMCC_8250, SM_DISPCC_6115,
       SM_DISPCC_8250, SM_GCC_6115, SM_GPUCC_6115, SM_GPUCC_8250,
       SM_VIDEOCC_8250, SDM_LPASSCC_845 as modules
     - Enable Audio drivers MFD_WCD934X, SLIM_QCOM_CTRL, SLIM_QCOM_NGD_CTRL,
       SND_SOC_MSM8916_WCD_ANALOG, SND_SOC_MSM8916_WCD_DIGITAL,
       SND_SOC_MSM8996, SND_SOC_SC7280, SND_SOC_SDM845, SND_SOC_SM8250,
       SND_SOC_WCD9335, SND_SOC_WCD934X, SND_SOC_WSA881X as modules
     - Enable other Qualcomm-specific drivers ARM_QCOM_CPUFREQ_NVMEM,
       ATH10K_SNOC, CHARGER_QCOM_SMB2, I2C_QCOM_CCI, INTERCONNECT_QCOM_MSM8916,
       MSM_GPUCC_8998, MSM_MMCC_8998, GPIO_WCD934X, QCOM_IPA,
       PHY_QCOM_PCIE2, QCOM_GPI_DMA, QCOM_MPM, QCOM_RMTFS_MEM, QCOM_SOCINFO,
       QCOM_WCNSS_PIL, REGULATOR_QCOM_USB_VBUS, RESET_QCOM_PDC,
       TYPEC_QCOM_PMIC, UCSI_PMIC_GLINK as modules
     - Enable DRM_LONTIUM_LT9611, DRM_LONTIUM_LT9611UXC, TYPEC_MUX_NB7VPQ904M
       as moudles for devices present both on Qualcomm and non-Qualcomm
       platforms
   * [arm64] enable CONFIG_QCOM_LMH, another SDM845-related option
 .
   [ Jochen Sprickerhof ]
   * Enable snd_soc_pcm5102a as a module on armhf/arm64
 .
   [ Dylan Aïssi ]
   * debian/rules: sort control.md5sums to improve reproducibility
Checksums-Sha1:
 af98b9fadfd16a7862f883b40d5ce7b91b28767f 229428 linux_6.10.1-1~exp1.dsc
 0a6e009ce8692302929ef436df7cff22492d0ed0 147928236 linux_6.10.1.orig.tar.xz
 ea4bd3a3bfd0cbd9f76cee6765cc82527491c843 1581468 
linux_6.10.1-1~exp1.debian.tar.xz
 f359ae73da56481cfd55592e986dec95c7e9d1d4 7916 
linux_6.10.1-1~exp1_source.buildinfo
Checksums-Sha256:
 d809c23734a01eff3c27d4d4e7e846acfcd16aee5e633ddcd6bcfc5a875e5098 229428 
linux_6.10.1-1~exp1.dsc
 cd6d8c7cc12ba7a538a344815c24cbe3507ca9fadcc2664c7f68712368bfef88 147928236 
linux_6.10.1.orig.tar.xz
 bce3030fdd8726a656aa6301088e6a0d1b1be2d45f55d68bccd0ada8d597aca5 1581468 
linux_6.10.1-1~exp1.debian.tar.xz
 f7be719c9fc81f0c5d271a1420f48e570ca63eb4e71e35181aa03353732b5814 7916 
linux_6.10.1-1~exp1_source.buildinfo
Files:
 1c88318afac60955b4845dfddb4f2e46 229428 kernel optional linux_6.10.1-1~exp1.dsc
 f636bf0fc0210ef20b3d7f245f69ddb7 147928236 kernel optional 
linux_6.10.1.orig.tar.xz
 f0b74861759cf1b56c45d571f22e2089 1581468 kernel optional 
linux_6.10.1-1~exp1.debian.tar.xz
 ce361b54f1a5c2da7b0e6195a0404318 7916 kernel optional 
linux_6.10.1-1~exp1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmakVm8ACgkQ57/I7JWG
EQmpuA/+Owo5UD4u94IOoNc6axPr4Peb6IfyP8CFmtgiaQTUbRfHK9Ges8ii0gSl
M9ZSNX42DdWHr/KqDDBv9vMrSfiZOx2DfrOEB/PelXI2qwiN6mZtfgX/demFNGkX
U8WHdmwPPS1ipAYOG6pgqNniyfzfR5S5wTRbaAby2RuSnKqvlvilEohL2Nkalsj1
yPdBX+fw6+266IpGXPeZLgN6JOKpdN1nCl8gFmGyi+knafyXARuqTPJDOWzK4YLN
8DO1c7y7maImvBAnbi99xMfkij7g2WrXBW9K1u5UPMbpMLLoHavPDmcTq3xljtUy
I3uOM4C31xfHEFULr/xDFslNyDv5iMENC8AMkK3X629K5Aqks04pjsqarF+k+SCk
eJXX1nESOOxRx93KCrxJ5pPqlMttzDd0cqr8O7CIp6scE53lYVcwsS1/ipdrMfN5
EtwM5FbEasX1Y5RywqRayO++6GrSdF8Myz5UXpQQTL5JMUPfUknYRbDFPDmT5isI
iZBQ347XvLFXLrGYjR3iRhfaymLh7zZPJVrSR7RdjA8HPUA0bMkPiIawuufGI+lS
SZl6X/F/fpqckduMoZigyW1PQTSHLEx3yKqXOGDBwFO5jbSjJOUD0PvFTnO9VS+o
HJLxYrv7yDYJuAeeAvb9iftQV4Id+R5cvAoWYv7zmkoDIcJ6M9E=
=DUjb
-----END PGP SIGNATURE-----

Attachment: pgpJpV4oEVWzp.pgp
Description: PGP signature


--- End Message ---

Reply via email to