linux-mt6000: Nonguix linux 6.17 with ARCH_MEDIATEK and the MT7986 drivers, OpenWrt's block NVMEM provider and mac-base patches (WiFi calibration and MACs from the eMMC factory partition), bootargs-append, and OpenWrt's GL-MT6000 device tree. mt6000.scm: the Pi's OpenWrt userland on the MT6000 (lan1-5 + WiFi in br-lan, eth1 WAN). Shared pieces move to packages/router-base.scm; the Pi's system is unchanged. build-mt6000-root.sh builds the ext4 root for the rootfs partition and, with scripts/mt6000-fit.sh, the FIT that GL's U-Boot boots from the kernel partition -- for the system inside the image, whose root is the partition's UUID. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
755 B
Diff
23 lines
755 B
Diff
From caac69565748349a3e532130a891e18dd5c36c5e Mon Sep 17 00:00:00 2001
|
|
From: Daniel Golle <daniel@makrotopia.org>
|
|
Date: Thu, 20 Jul 2023 17:36:44 +0100
|
|
Subject: [PATCH 8/8] mmc: block: set GENHD_FL_NVMEM
|
|
|
|
Set flag to consider MMC block devices as NVMEM providers.
|
|
|
|
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|
---
|
|
drivers/mmc/core/block.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/mmc/core/block.c
|
|
+++ b/drivers/mmc/core/block.c
|
|
@@ -2615,6 +2615,7 @@ static struct mmc_blk_data *mmc_blk_allo
|
|
md->disk->major = MMC_BLOCK_MAJOR;
|
|
md->disk->minors = perdev_minors;
|
|
md->disk->first_minor = devidx * perdev_minors;
|
|
+ md->disk->flags = GENHD_FL_NVMEM;
|
|
md->disk->fops = &mmc_bdops;
|
|
md->disk->private_data = md;
|
|
md->parent = parent;
|