From 6ad546f4b238f3ee0c699c6991c6efbb64fc8b2d Mon Sep 17 00:00:00 2001 From: Denis Pynkin <denis.pynkin@collabora.com> Date: Sun, 24 May 2020 18:41:29 +0300 Subject: [PATCH] mx6sabrelite: enable pstore command Enable support of `pstore` command on i.MX6 SabreLite. Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com> --- ...5-mx6sabrelite-enable-pstore-command.patch | 24 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 25 insertions(+) create mode 100644 debian/patches/apertis/imx6/0005-mx6sabrelite-enable-pstore-command.patch 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 000000000..8712ee1a7 --- /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 203738b43..cadc9d812 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 -- GitLab