mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 08:12:06 +02:00
Merge tag 'u-boot-imx-20200918' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
---------------------------------------------------------------- Fixes for 2020.10 ----------------- - Toradex boards - mx6qsabrelite: fix env offset - esdhc_imx: waiting for clock instead of sleep - dyn RAM calibration for entry point i.MX6 Travis: https://travis-ci.org/github/sbabic/u-boot-imx/builds/728274602
This commit is contained in:
@@ -135,7 +135,7 @@
|
||||
#endif
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
BOOTENV \
|
||||
"bootcmd=setenv fdtfile ${fdt_file}; run distro_bootcmd ; " \
|
||||
"bootcmd=run distro_bootcmd ; " \
|
||||
"usb start ; " \
|
||||
"setenv stdout serial,vidconsole; " \
|
||||
"setenv stdin serial,usbkbd\0" \
|
||||
@@ -143,6 +143,7 @@
|
||||
"console=ttymxc0\0" \
|
||||
"defargs=enable_wait_mode=off vmalloc=400M\0" \
|
||||
"fdt_file=" FDT_FILE "\0" \
|
||||
"fdtfile=" FDT_FILE "\0" \
|
||||
"fdt_fixup=;\0" \
|
||||
MEM_LAYOUT_ENV_SETTINGS \
|
||||
NFS_BOOTCMD \
|
||||
|
@@ -35,8 +35,6 @@
|
||||
#define CONFIG_NETMASK 255.255.255.0
|
||||
#define CONFIG_SERVERIP 192.168.10.1
|
||||
|
||||
#define FDT_FILE "imx6ull-colibri${variant}-${fdt_board}.dtb"
|
||||
|
||||
#define MEM_LAYOUT_ENV_SETTINGS \
|
||||
"bootm_size=0x10000000\0" \
|
||||
"fdt_addr_r=0x82100000\0" \
|
||||
@@ -57,7 +55,7 @@
|
||||
"setenv bootargs ${defargs} ${nfsargs} " \
|
||||
"${setupargs} ${vidargs}; echo Booting from NFS...;" \
|
||||
"dhcp ${kernel_addr_r} && " \
|
||||
"tftp ${fdt_addr_r} " FDT_FILE " && " \
|
||||
"tftp ${fdt_addr_r} ${fdtfile} && " \
|
||||
"run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \
|
||||
|
||||
#define UBI_BOOTCMD \
|
||||
@@ -71,8 +69,8 @@
|
||||
"ubi read ${fdt_addr_r} dtb && " \
|
||||
"run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \
|
||||
|
||||
#define CONFIG_BOOTCOMMAND "run ubiboot; " \
|
||||
"setenv fdtfile " FDT_FILE " && run distro_bootcmd;"
|
||||
/* Run Distro Boot script if ubiboot fails */
|
||||
#define CONFIG_BOOTCOMMAND "run ubiboot || run distro_bootcmd;"
|
||||
|
||||
#define BOOT_TARGET_DEVICES(func) \
|
||||
func(MMC, mmc, 0) \
|
||||
@@ -111,6 +109,7 @@
|
||||
"fatload ${interface} 0:1 ${loadaddr} " \
|
||||
"${board}/flash_blk.img && source ${loadaddr}\0" \
|
||||
"splashpos=m,m\0" \
|
||||
"splashimage=" __stringify(CONFIG_LOADADDR) "\0" \
|
||||
"videomode=video=ctfb:x:640,y:480,depth:18,pclk:39722,le:48,ri:16,up:33,lo:10,hs:96,vs:2,sync:0,vmode:0\0" \
|
||||
"vidargs=video=mxsfb:640x480M-16@60"
|
||||
|
||||
|
@@ -118,7 +118,7 @@
|
||||
#define FDT_FILE "imx6dl-colibri-eval-v3.dtb"
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
BOOTENV \
|
||||
"bootcmd=setenv fdtfile ${fdt_file}; run distro_bootcmd; " \
|
||||
"bootcmd=run distro_bootcmd; " \
|
||||
"usb start ; " \
|
||||
"setenv stdout serial,vidconsole; " \
|
||||
"setenv stdin serial,usbkbd\0" \
|
||||
@@ -126,6 +126,7 @@
|
||||
"console=ttymxc0\0" \
|
||||
"defargs=enable_wait_mode=off galcore.contiguousSize=50331648\0" \
|
||||
"fdt_file=" FDT_FILE "\0" \
|
||||
"fdtfile=" FDT_FILE "\0" \
|
||||
"fdt_fixup=;\0" \
|
||||
MEM_LAYOUT_ENV_SETTINGS \
|
||||
NFS_BOOTCMD \
|
||||
|
@@ -118,13 +118,11 @@
|
||||
|
||||
#if defined(CONFIG_TARGET_COLIBRI_IMX7_NAND)
|
||||
#define CONFIG_BOOTCOMMAND "run ubiboot ; echo ; echo ubiboot failed ; " \
|
||||
"setenv fdtfile ${soc}-colibri-${fdt_board}.dtb && run distro_bootcmd;"
|
||||
"run distro_bootcmd;"
|
||||
#define MODULE_EXTRA_ENV_SETTINGS \
|
||||
"mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
|
||||
UBI_BOOTCMD
|
||||
#elif defined(CONFIG_TARGET_COLIBRI_IMX7_EMMC)
|
||||
#define CONFIG_BOOTCOMMAND \
|
||||
"setenv fdtfile ${soc}-colibri-emmc-${fdt_board}.dtb && run distro_bootcmd;"
|
||||
#define MODULE_EXTRA_ENV_SETTINGS \
|
||||
"variant=-emmc\0" \
|
||||
EMMC_ANDROID_BOOTCMD
|
||||
@@ -173,6 +171,7 @@
|
||||
"fatload ${interface} 0:1 ${loadaddr} " \
|
||||
"${board}/flash_blk.img && source ${loadaddr}\0" \
|
||||
"splashpos=m,m\0" \
|
||||
"splashimage=" __stringify(CONFIG_LOADADDR) "\0" \
|
||||
"videomode=video=ctfb:x:640,y:480,depth:18,pclk:39722,le:48,ri:16,up:33,lo:10,hs:96,vs:2,sync:0,vmode:0\0" \
|
||||
"updlevel=2\0"
|
||||
|
||||
|
@@ -76,8 +76,7 @@
|
||||
"ubi read ${fdt_addr_r} dtb && " \
|
||||
"run fdt_fixup && bootz ${kernel_addr_r} - ${fdt_addr_r}\0" \
|
||||
|
||||
#define CONFIG_BOOTCOMMAND "run ubiboot; " \
|
||||
"setenv fdtfile ${soc}-colibri-${fdt_board}.dtb && run distro_bootcmd;"
|
||||
#define CONFIG_BOOTCOMMAND "run ubiboot || run distro_bootcmd;"
|
||||
|
||||
#define BOOT_TARGET_DEVICES(func) \
|
||||
func(MMC, mmc, 0) \
|
||||
|
Reference in New Issue
Block a user