From cb7fa69e40536e5a80c84115e736ce9823bdb202 Mon Sep 17 00:00:00 2001
From: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
Date: Sun, 6 Feb 2022 08:41:00 +0100
Subject: [PATCH] patches/flash-kernel: use boot.scr

---
 patches/flash-kernel | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/patches/flash-kernel b/patches/flash-kernel
index 6e5e135..e54afbe 100755
--- a/patches/flash-kernel
+++ b/patches/flash-kernel
@@ -4,24 +4,21 @@ patch -p1 << 'EOF'
 diff -Nru flash-kernel-3.104/db/all.db flash-kernel-3.104+nmu1/db/all.db
 --- flash-kernel-3.104/db/all.db	2021-02-07 00:13:15.000000000 +0100
 +++ flash-kernel-3.104+nmu1/db/all.db	2022-01-03 17:37:18.000000000 +0100
-@@ -1064,6 +1064,21 @@
+@@ -1064,6 +1064,18 @@
  U-Boot-Script-Name: bootscr.sunxi
  Required-Packages: u-boot-tools
 
 +Machine: MNT Reform 2
++Kernel-Flavors: any
 +DTB-Id: freescale/imx8mq-mnt-reform2.dtb
-+Boot-Initrd-Path: /Initrd
-+Boot-Kernel-Path: /Image
-+Boot-DTB-Path: /imx8mq-mnt-reform2.dtb
++Boot-Kernel-Path: /boot/vmlinuz
++Boot-Initrd-Path: /boot/initrd.img
++Boot-Script-Path: /boot/boot.scr
++Boot-DTB-Path: /boot/dtb
 +U-Boot-Kernel-Address: 0x40480000
 +U-Boot-Initrd-Address: 0x0
-+Required-Packages: u-boot-tools
 +U-Boot-Script-Name: bootscr.uboot-generic
-+Boot-Script-Path: /boot/boot.scr
-+#Kernel-Flavors: arm64
-+#Boot-Kernel-Path: /boot/uImage
-+#Boot-Initrd-Path: /boot/uInitrd
-+#Boot-DTB-Path: /boot/dtb
++Required-Packages: u-boot-tools
 +
  Machine: MK802
  Kernel-Flavors: armmp
-- 
GitLab