diff --git a/debian/patches/apertis/imx6/0005-mx6sabrelite-enable-pstore-command.patch b/debian/patches/apertis/imx6/0005-mx6sabrelite-enable-pstore-command.patch new file mode 100644 index 0000000000000000000000000000000000000000..8712ee1a787cf3740885d98191000de27304a517 --- /dev/null +++ b/debian/patches/apertis/imx6/0005-mx6sabrelite-enable-pstore-command.patch @@ -0,0 +1,24 @@ +From 52c55e7846d192dd3e1a701ce087ee5c0b4fd94b Mon Sep 17 00:00:00 2001 +From: Denis Pynkin <denis.pynkin@collabora.com> +Date: Sun, 24 May 2020 18:29:44 +0300 +Subject: [PATCH 5/6] mx6sabrelite: enable pstore command + +Enable support of `pstore` command on i.MX6 SabreLite. + +Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com> +--- + configs/mx6qsabrelite_defconfig | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configs/mx6qsabrelite_defconfig b/configs/mx6qsabrelite_defconfig +index 5f244a2d..ba7c250a 100644 +--- a/configs/mx6qsabrelite_defconfig ++++ b/configs/mx6qsabrelite_defconfig +@@ -77,3 +77,4 @@ CONFIG_BOOTCOUNT_LIMIT=y + CONFIG_BOOTCOUNT_EXT=y + CONFIG_SYS_BOOTCOUNT_EXT_NAME="/uboot.cnt" + CONFIG_SYS_BOOTCOUNT_ADDR=0x11000000 ++CONFIG_CMD_PSTORE=y +-- +2.25.4 + diff --git a/debian/patches/series b/debian/patches/series index 203738b43b82dbbf03fdfff1af042537f4092ddd..cadc9d8124e47ce211687a15d301865d599592a3 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -49,3 +49,4 @@ apertis/imx6/0001-Switch-SabreLite-to-storing-ENV-in-SPI.patch apertis/imx6/0002-mx6sabrelite-Enable-gigadevice-nor-flashes.patch apertis/imx6/0003-mx6sabrelite-enable-bootcount.patch apertis/imx6/0004-nitrogen6x-use-alternative-boot-for-rollback.patch +apertis/imx6/0005-mx6sabrelite-enable-pstore-command.patch