From 08a6727aaa40e327edd7aaacfc8eed1b46fe3924 Mon Sep 17 00:00:00 2001 From: Jybz Date: Tue, 8 Sep 2020 16:48:47 +0200 Subject: Fix patch on armv7hl --- platforms/bananaPro/patch/bananapro_ | 11 +++++++++++ .../patch/bananapro_1_Disable_default_distro.patch | 12 ++++++------ .../bananapro_5_Switch_ENV_From_Fat_to_Ext4.patch | 22 ++++------------------ 3 files changed, 21 insertions(+), 24 deletions(-) create mode 100644 platforms/bananaPro/patch/bananapro_ (limited to 'platforms') diff --git a/platforms/bananaPro/patch/bananapro_ b/platforms/bananaPro/patch/bananapro_ new file mode 100644 index 0000000..835770b --- /dev/null +++ b/platforms/bananaPro/patch/bananapro_ @@ -0,0 +1,11 @@ +--- ./.config 2020-09-08 13:37:29.571109115 +0200 ++++ ./.config 2020-09-08 13:37:45.608244905 +0200 +@@ -377,7 +377,7 @@ + # CONFIG_SATA_BOOT is not set + # CONFIG_SD_BOOT is not set + # CONFIG_SPI_BOOT is not set +-CONFIG_BOOTDELAY=2 ++CONFIG_BOOTDELAY=1 + # CONFIG_USE_BOOTARGS is not set + CONFIG_USE_BOOTCOMMAND=y + CONFIG_BOOTCOMMAND="run distro_bootcmd" diff --git a/platforms/bananaPro/patch/bananapro_1_Disable_default_distro.patch b/platforms/bananaPro/patch/bananapro_1_Disable_default_distro.patch index 9fc06d0..b3ec429 100644 --- a/platforms/bananaPro/patch/bananapro_1_Disable_default_distro.patch +++ b/platforms/bananaPro/patch/bananapro_1_Disable_default_distro.patch @@ -1,9 +1,9 @@ ---- ./.config 2020-09-08 08:33:38.032449525 +0200 -+++ ./.config 2020-09-08 08:33:49.117534240 +0200 -@@ -311,7 +311,7 @@ - # CONFIG_SPL_OPTIMIZE_INLINING is not set - CONFIG_CC_HAS_ASM_INLINE=y - # CONFIG_XEN is not set +--- ./.config 2020-09-08 12:42:04.281817323 +0000 ++++ ./.config2 2020-09-08 12:46:12.305263098 +0000 +@@ -297,7 +297,7 @@ + CONFIG_LOCALVERSION="" + CONFIG_LOCALVERSION_AUTO=y + CONFIG_CC_OPTIMIZE_FOR_SIZE=y -CONFIG_DISTRO_DEFAULTS=y +# CONFIG_DISTRO_DEFAULTS is not set CONFIG_ENV_VARS_UBOOT_CONFIG=y diff --git a/platforms/bananaPro/patch/bananapro_5_Switch_ENV_From_Fat_to_Ext4.patch b/platforms/bananaPro/patch/bananapro_5_Switch_ENV_From_Fat_to_Ext4.patch index d3dbaeb..5a953a1 100644 --- a/platforms/bananaPro/patch/bananapro_5_Switch_ENV_From_Fat_to_Ext4.patch +++ b/platforms/bananaPro/patch/bananapro_5_Switch_ENV_From_Fat_to_Ext4.patch @@ -1,28 +1,14 @@ ---- ./.config 2020-09-08 13:38:57.052540768 +0200 -+++ ./.config 2020-09-08 13:39:06.204778656 +0200 -@@ -828,20 +828,18 @@ - # CONFIG_ENV_OVERWRITE is not set - # CONFIG_ENV_IS_NOWHERE is not set - # CONFIG_ENV_IS_IN_EEPROM is not set +--- ./.config 2020-09-08 13:05:48.256808776 +0000 ++++ ./.config2 2020-09-08 13:31:43.994905698 +0000 +@@ -799,2 +799,2 @@ -CONFIG_ENV_IS_IN_FAT=y -# CONFIG_ENV_IS_IN_EXT4 is not set +# CONFIG_ENV_IS_IN_FAT is not set +CONFIG_ENV_IS_IN_EXT4=y - # CONFIG_ENV_IS_IN_FLASH is not set - # CONFIG_ENV_IS_IN_MMC is not set - # CONFIG_ENV_IS_IN_NAND is not set - # CONFIG_ENV_IS_IN_NVRAM is not set - # CONFIG_ENV_IS_IN_ONENAND is not set - # CONFIG_ENV_IS_IN_REMOTE is not set +@@ -807,3 +807,3 @@ -CONFIG_ENV_FAT_INTERFACE="mmc" -CONFIG_ENV_FAT_DEVICE_AND_PART="0:auto" -CONFIG_ENV_FAT_FILE="uboot.env" +CONFIG_ENV_EXT4_INTERFACE="mmc" +CONFIG_ENV_EXT4_DEVICE_AND_PART="0:auto" +CONFIG_ENV_EXT4_FILE="/boot/uboot.env" - CONFIG_SYS_RELOC_GD_ENV_ADDR=y --CONFIG_SYS_MMC_ENV_DEV=0 --CONFIG_SYS_MMC_ENV_PART=0 - # CONFIG_USE_DEFAULT_ENV_FILE is not set - # CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG is not set - # CONFIG_ENV_APPEND is not set -- cgit v1.2.1