2015-03-12 12:24:39 +08:00
|
|
|
CONFIG_ARM=y
|
2015-08-07 20:35:24 +08:00
|
|
|
CONFIG_ARCH_MX6=y
|
2018-02-04 01:10:38 +08:00
|
|
|
CONFIG_SYS_TEXT_BASE=0x17800000
|
2016-09-13 13:18:39 +08:00
|
|
|
CONFIG_SPL_GPIO_SUPPORT=y
|
2016-09-13 13:18:41 +08:00
|
|
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
2016-09-13 13:18:43 +08:00
|
|
|
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
imx: mx6sabresd: fix boot hang with video
Meet the following boot hang.
"
U-Boot SPL 2019.04-00661-gdc80a012e4 (Apr 25 2019 - 10:31:57 +0800)
Trying to boot from MMC1
U-Boot 2019.04-00661-gdc80a012e4 (Apr 25 2019 - 10:31:57 +0800)
CPU: Freescale i.MX6Q rev1.5 996 MHz (running at 792 MHz)
CPU: Automotive temperature grade (-40C to 125C)Reset cause: POR
Model: Freescale i.MX6 Quad SABRE Smart Device Board
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
Video device 'ipu@2400000' cannot allocate frame buffer memory -ensure the device is set up before relocation
Error binding driver 'ipuv3_video': -28
Video device 'ipu@2800000' cannot allocate frame buffer memory -ensure the device is set up before relocation
Error binding driver 'ipuv3_video': -28
Some drivers failed to bind
Error binding driver 'generic_simple_bus': -28
Some drivers failed to bind
initcall sequence 4ffe4500 failed at call 1780dfb7 (err=-28)
"
1. fdtdec_get_alias_seq will use "video" as base, however in alias node,
we use ipux, so add new alias for U-Boot dts.
2. DM_VIDEO is enabled, however reserve_video is called before
relocation, so to make DM_VIDEO work before relocation, need to
set SYS_MALLOC_F_LEN
3. defconfig is updated with savedefconfig
Note: I do not have a video panel to test, but with this patch, U-Boot
boots up again, below log.
"
U-Boot SPL 2019.04-00662-g0b62453bff (Apr 25 2019 - 10:36:31 +0800)
Trying to boot from MMC1
U-Boot 2019.04-00662-g0b62453bff (Apr 25 2019 - 10:36:31 +0800)
CPU: Freescale i.MX6Q rev1.5 996 MHz (running at 792 MHz)
CPU: Automotive temperature grade (-40C to 125C) at 34C
Reset cause: POR
Model: Freescale i.MX6 Quad SABRE Smart Device Board
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 3
Loading Environment from MMC... *** Warning - bad CRC, using default environment
PCI: pcie phy link never came up
In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Hit any key to stop autoboot: 0
"
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
2019-04-25 10:36:22 +08:00
|
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
2015-03-12 12:24:39 +08:00
|
|
|
CONFIG_TARGET_MX6SABRESD=y
|
2019-11-19 09:02:10 +08:00
|
|
|
CONFIG_ENV_SIZE=0x2000
|
|
|
|
CONFIG_ENV_OFFSET=0xC0000
|
2020-01-23 02:38:00 +08:00
|
|
|
CONFIG_DM_GPIO=y
|
|
|
|
CONFIG_SPL_MMC_SUPPORT=y
|
|
|
|
CONFIG_SPL_SERIAL_SUPPORT=y
|
2019-04-30 03:54:04 +08:00
|
|
|
CONFIG_NR_DRAM_BANKS=1
|
2018-04-08 08:27:54 +08:00
|
|
|
CONFIG_SPL=y
|
2018-06-04 23:57:37 +08:00
|
|
|
CONFIG_SPL_LIBDISK_SUPPORT=y
|
2019-09-23 23:47:37 +08:00
|
|
|
CONFIG_SPL_TEXT_BASE=0x00908000
|
2019-02-02 00:40:18 +08:00
|
|
|
CONFIG_FIT=y
|
|
|
|
CONFIG_SPL_FIT_PRINT=y
|
|
|
|
CONFIG_SPL_LOAD_FIT=y
|
2017-11-16 03:04:03 +08:00
|
|
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
|
2016-10-18 10:12:37 +08:00
|
|
|
# CONFIG_CONSOLE_MUX is not set
|
|
|
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
2016-10-18 10:12:59 +08:00
|
|
|
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
|
2018-02-06 21:58:59 +08:00
|
|
|
CONFIG_SUPPORT_RAW_INITRD=y
|
2018-12-01 05:13:25 +08:00
|
|
|
CONFIG_BOUNCE_BUFFER=y
|
2019-02-02 00:40:18 +08:00
|
|
|
CONFIG_SPL_SEPARATE_BSS=y
|
|
|
|
CONFIG_SPL_FIT_IMAGE_TINY=y
|
2017-09-06 07:46:40 +08:00
|
|
|
CONFIG_SPL_USB_HOST_SUPPORT=y
|
2019-01-10 22:44:13 +08:00
|
|
|
CONFIG_SPL_USB_GADGET=y
|
2017-09-06 07:46:40 +08:00
|
|
|
CONFIG_SPL_USB_SDP_SUPPORT=y
|
2018-06-04 23:57:37 +08:00
|
|
|
CONFIG_SPL_WATCHDOG_SUPPORT=y
|
2016-04-22 09:37:19 +08:00
|
|
|
CONFIG_HUSH_PARSER=y
|
2016-04-25 05:29:26 +08:00
|
|
|
CONFIG_CMD_BOOTZ=y
|
2017-08-05 06:34:48 +08:00
|
|
|
CONFIG_CMD_SPL=y
|
2017-08-05 06:34:50 +08:00
|
|
|
CONFIG_CMD_SPL_WRITE_SIZE=0x20000
|
2015-06-23 05:15:30 +08:00
|
|
|
# CONFIG_CMD_FLASH is not set
|
2017-08-15 07:58:53 +08:00
|
|
|
CONFIG_CMD_GPIO=y
|
|
|
|
CONFIG_CMD_I2C=y
|
2016-04-25 05:29:26 +08:00
|
|
|
CONFIG_CMD_MMC=y
|
2017-07-11 02:59:12 +08:00
|
|
|
CONFIG_CMD_PART=y
|
2017-08-15 07:58:53 +08:00
|
|
|
CONFIG_CMD_PCI=y
|
2016-04-23 04:41:25 +08:00
|
|
|
CONFIG_CMD_USB=y
|
2017-09-06 07:46:40 +08:00
|
|
|
CONFIG_CMD_USB_SDP=y
|
2018-01-28 22:49:03 +08:00
|
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
2016-04-23 04:41:25 +08:00
|
|
|
CONFIG_CMD_DHCP=y
|
2016-04-25 05:29:26 +08:00
|
|
|
CONFIG_CMD_MII=y
|
2016-04-23 04:41:25 +08:00
|
|
|
CONFIG_CMD_PING=y
|
2019-09-18 23:05:31 +08:00
|
|
|
CONFIG_CMD_BMP=y
|
2016-04-25 05:29:26 +08:00
|
|
|
CONFIG_CMD_CACHE=y
|
|
|
|
CONFIG_CMD_EXT2=y
|
|
|
|
CONFIG_CMD_EXT4=y
|
|
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
|
|
CONFIG_CMD_FAT=y
|
|
|
|
CONFIG_CMD_FS_GENERIC=y
|
2019-02-02 00:40:25 +08:00
|
|
|
# CONFIG_SPL_DOS_PARTITION is not set
|
2019-02-22 23:17:41 +08:00
|
|
|
CONFIG_EFI_PARTITION=y
|
2019-02-02 00:40:25 +08:00
|
|
|
# CONFIG_SPL_EFI_PARTITION is not set
|
2019-02-02 00:40:18 +08:00
|
|
|
CONFIG_OF_CONTROL=y
|
|
|
|
CONFIG_SPL_OF_CONTROL=y
|
|
|
|
CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabresd"
|
|
|
|
CONFIG_OF_LIST="imx6q-sabresd imx6qp-sabresd imx6dl-sabresd"
|
|
|
|
CONFIG_MULTI_DTB_FIT=y
|
|
|
|
CONFIG_SPL_MULTI_DTB_FIT=y
|
|
|
|
CONFIG_SPL_OF_LIST="imx6dl-sabresd imx6q-sabresd imx6qp-sabresd"
|
imx: mx6sabresd: fix boot hang with video
Meet the following boot hang.
"
U-Boot SPL 2019.04-00661-gdc80a012e4 (Apr 25 2019 - 10:31:57 +0800)
Trying to boot from MMC1
U-Boot 2019.04-00661-gdc80a012e4 (Apr 25 2019 - 10:31:57 +0800)
CPU: Freescale i.MX6Q rev1.5 996 MHz (running at 792 MHz)
CPU: Automotive temperature grade (-40C to 125C)Reset cause: POR
Model: Freescale i.MX6 Quad SABRE Smart Device Board
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
Video device 'ipu@2400000' cannot allocate frame buffer memory -ensure the device is set up before relocation
Error binding driver 'ipuv3_video': -28
Video device 'ipu@2800000' cannot allocate frame buffer memory -ensure the device is set up before relocation
Error binding driver 'ipuv3_video': -28
Some drivers failed to bind
Error binding driver 'generic_simple_bus': -28
Some drivers failed to bind
initcall sequence 4ffe4500 failed at call 1780dfb7 (err=-28)
"
1. fdtdec_get_alias_seq will use "video" as base, however in alias node,
we use ipux, so add new alias for U-Boot dts.
2. DM_VIDEO is enabled, however reserve_video is called before
relocation, so to make DM_VIDEO work before relocation, need to
set SYS_MALLOC_F_LEN
3. defconfig is updated with savedefconfig
Note: I do not have a video panel to test, but with this patch, U-Boot
boots up again, below log.
"
U-Boot SPL 2019.04-00662-g0b62453bff (Apr 25 2019 - 10:36:31 +0800)
Trying to boot from MMC1
U-Boot 2019.04-00662-g0b62453bff (Apr 25 2019 - 10:36:31 +0800)
CPU: Freescale i.MX6Q rev1.5 996 MHz (running at 792 MHz)
CPU: Automotive temperature grade (-40C to 125C) at 34C
Reset cause: POR
Model: Freescale i.MX6 Quad SABRE Smart Device Board
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 3
Loading Environment from MMC... *** Warning - bad CRC, using default environment
PCI: pcie phy link never came up
In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Hit any key to stop autoboot: 0
"
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
2019-04-25 10:36:22 +08:00
|
|
|
CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
|
2017-08-28 19:16:32 +08:00
|
|
|
CONFIG_ENV_IS_IN_MMC=y
|
2019-11-13 11:46:36 +08:00
|
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
2018-04-02 00:37:53 +08:00
|
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
2018-06-04 23:57:37 +08:00
|
|
|
CONFIG_USB_FUNCTION_FASTBOOT=y
|
|
|
|
CONFIG_FASTBOOT_BUF_ADDR=0x12000000
|
|
|
|
CONFIG_FASTBOOT_BUF_SIZE=0x10000000
|
|
|
|
CONFIG_FASTBOOT_FLASH=y
|
|
|
|
CONFIG_FASTBOOT_FLASH_MMC_DEV=2
|
2019-02-02 00:40:18 +08:00
|
|
|
CONFIG_DM_MMC=y
|
2019-05-01 15:58:27 +08:00
|
|
|
CONFIG_SUPPORT_EMMC_BOOT=y
|
2019-08-14 20:23:43 +08:00
|
|
|
CONFIG_FSL_USDHC=y
|
2019-10-04 01:50:08 +08:00
|
|
|
CONFIG_MTD=y
|
2019-12-05 06:18:38 +08:00
|
|
|
CONFIG_DM_SPI_FLASH=y
|
2019-02-27 22:20:36 +08:00
|
|
|
CONFIG_SF_DEFAULT_MODE=0
|
|
|
|
CONFIG_SF_DEFAULT_SPEED=20000000
|
2015-11-25 21:34:54 +08:00
|
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
2017-08-02 08:19:59 +08:00
|
|
|
CONFIG_PHYLIB=y
|
2020-02-10 22:28:01 +08:00
|
|
|
CONFIG_PHY_ATHEROS=y
|
|
|
|
CONFIG_DM_ETH=y
|
|
|
|
CONFIG_DM_MDIO=y
|
|
|
|
CONFIG_FEC_MXC=y
|
|
|
|
CONFIG_RGMII=y
|
2018-07-21 12:03:57 +08:00
|
|
|
CONFIG_MII=y
|
2019-06-21 22:11:23 +08:00
|
|
|
CONFIG_PCI=y
|
2020-01-21 00:31:02 +08:00
|
|
|
CONFIG_DM_PCI=y
|
2019-05-21 21:37:53 +08:00
|
|
|
CONFIG_PINCTRL=y
|
|
|
|
CONFIG_PINCTRL_IMX6=y
|
2019-02-02 00:40:18 +08:00
|
|
|
CONFIG_DM_REGULATOR=y
|
2019-08-14 17:13:04 +08:00
|
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
2018-04-16 01:51:26 +08:00
|
|
|
CONFIG_SPI=y
|
2019-02-02 00:40:22 +08:00
|
|
|
CONFIG_DM_SPI=y
|
2018-02-07 08:42:19 +08:00
|
|
|
CONFIG_MXC_SPI=y
|
2016-03-25 22:39:47 +08:00
|
|
|
CONFIG_USB=y
|
2019-02-02 00:40:18 +08:00
|
|
|
CONFIG_DM_USB=y
|
2016-03-25 22:39:47 +08:00
|
|
|
CONFIG_USB_GADGET=y
|
2017-09-07 14:58:08 +08:00
|
|
|
CONFIG_USB_GADGET_MANUFACTURER="FSL"
|
|
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0525
|
|
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
|
2016-04-13 19:20:25 +08:00
|
|
|
CONFIG_CI_UDC=y
|
2017-08-28 16:50:45 +08:00
|
|
|
CONFIG_USB_HOST_ETHER=y
|
2017-08-28 16:50:46 +08:00
|
|
|
CONFIG_USB_ETHER_ASIX=y
|
2019-03-19 06:29:39 +08:00
|
|
|
CONFIG_DM_VIDEO=y
|
2020-02-05 05:43:06 +08:00
|
|
|
# CONFIG_VIDEO_BPP8 is not set
|
|
|
|
# CONFIG_VIDEO_BPP32 is not set
|
2019-09-18 23:05:31 +08:00
|
|
|
CONFIG_SYS_WHITE_ON_BLACK=y
|
2019-03-19 06:29:33 +08:00
|
|
|
CONFIG_VIDEO_IPUV3=y
|