fix(qemu): give it a NAND on MIPS
Some checks failed
build liminix / build_vm_qemu_mips (pull_request) Failing after 1m34s

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-10-07 13:17:08 +02:00
parent 013e4c396c
commit 9425157499
2 changed files with 26 additions and 0 deletions

View file

@ -254,6 +254,7 @@ extraPkgs // {
qemuLim = let q = prev.qemu.overrideAttrs (o: { qemuLim = let q = prev.qemu.overrideAttrs (o: {
patches = o.patches ++ [ patches = o.patches ++ [
./pkgs/qemu/arm-image-friendly-load-addr.patch ./pkgs/qemu/arm-image-friendly-load-addr.patch
./pkgs/qemu/mips-with-nand.patch
]; ];
}); in q.override { nixosTestRunner = true; sdlSupport = false; }; }); in q.override { nixosTestRunner = true; sdlSupport = false; };

View file

@ -0,0 +1,25 @@
From 875b1f312b6a5b432e020723007a374d82a797f1 Mon Sep 17 00:00:00 2001
From: Raito Bezarius <masterancpp@gmail.com>
Date: Mon, 7 Oct 2024 13:05:06 +0200
Subject: [PATCH] feat: support NAND devices for MIPS
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
---
hw/mips/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
index 692bede538..60738ac659 100644
--- a/hw/mips/Kconfig
+++ b/hw/mips/Kconfig
@@ -10,6 +10,7 @@ config MALTA
select MIPS_CPS
select PIIX
select PFLASH_CFI01
+ select NAND
select SERIAL
select SMBUS_EEPROM
--
2.46.0