Fixed u-boot script and kernel config for i.MX7D (#2953)

* Updated kernel/u-boot for MCIMX7SABRE board

Supporing 'current' and 'legacy' branches for MCIMX7SABRE board

current branch:
   u-boot: imx_v2020.04_5.4.70_2.3.0
   kernel: imx_5.4.70_2.3.0

legacy branch:
   u-boot: imx_v2018.03_4.14.98_2.0.0_ga
   kernel: imx_4.14.98_2.0.0_ga

* Update kernel config with few additional options like zram, bonding, ... just a few to keep minimum consistency over kernels.

* Fixed u-boot script and kernel config for i.MX7D

Fixed bug in u-boot script preventing to use armbianEnv.txt
Configured SDMA as module to fix loading SDMA firmware

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
This commit is contained in:
andpp 2021-07-03 12:57:43 -07:00 committed by GitHub
parent 8ab6aeb342
commit b2e98daf7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -5046,7 +5046,7 @@ CONFIG_FSL_EDMA=y
# CONFIG_FSL_QDMA is not set
# CONFIG_FSL_EDMA_V3 is not set
# CONFIG_IMX_DMA is not set
CONFIG_IMX_SDMA=y
CONFIG_IMX_SDMA=m
# CONFIG_INTEL_IDMA64 is not set
CONFIG_MXS_DMA=y
CONFIG_MXC_PXP_V2=y

View File

@ -45,7 +45,7 @@ index 5a2fef79..0df9d538 100644
+ "fi;\0" \
+ "loadenv="\
+ "if ext4load mmc ${mmcdev}:${mmcpart} ${loadaddr} /boot/armbianEnv.txt; then " \
+ "env import -t ${load_addr} ${filesize};" \
+ "env import -t ${loadaddr} ${filesize};" \
"fi;\0" \
#define CONFIG_BOOTCOMMAND \

View File

@ -54,7 +54,7 @@ index f5171bb..922bf63 100644
+ "fi;\0" \
+ "loadenv="\
+ "if ext4load mmc ${mmcdev}:${mmcpart} ${loadaddr} /boot/armbianEnv.txt; then " \
+ "env import -t ${load_addr} ${filesize};" \
+ "env import -t ${loadaddr} ${filesize};" \
"fi;\0" \
#define CONFIG_BOOTCOMMAND \