aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJybz <j.biernacki@free.fr>2020-09-08 16:48:47 +0200
committerJybz <j.biernacki@free.fr>2020-09-08 16:48:47 +0200
commit08a6727aaa40e327edd7aaacfc8eed1b46fe3924 (patch)
treec26c1ed3c2e347e484f358530bc58c1a3763aa62
parentf644487c1925e20f7e80787ff7a2895859ecf463 (diff)
downloadmageia4arm-08a6727aaa40e327edd7aaacfc8eed1b46fe3924.tar
mageia4arm-08a6727aaa40e327edd7aaacfc8eed1b46fe3924.tar.gz
mageia4arm-08a6727aaa40e327edd7aaacfc8eed1b46fe3924.tar.bz2
mageia4arm-08a6727aaa40e327edd7aaacfc8eed1b46fe3924.tar.xz
mageia4arm-08a6727aaa40e327edd7aaacfc8eed1b46fe3924.zip
Fix patch on armv7hl
-rw-r--r--platforms/bananaPro/patch/bananapro_11
-rw-r--r--platforms/bananaPro/patch/bananapro_1_Disable_default_distro.patch12
-rw-r--r--platforms/bananaPro/patch/bananapro_5_Switch_ENV_From_Fat_to_Ext4.patch22
3 files changed, 21 insertions, 24 deletions
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