2015-03-12 04:24:39 +00:00
|
|
|
CONFIG_ARM=y
|
2015-08-07 12:35:24 +00:00
|
|
|
CONFIG_ARCH_MX6=y
|
2018-02-03 17:10:38 +00:00
|
|
|
CONFIG_SYS_TEXT_BASE=0x17800000
|
2016-09-13 05:18:39 +00:00
|
|
|
CONFIG_SPL_GPIO_SUPPORT=y
|
2016-09-13 05:18:41 +00:00
|
|
|
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
2016-09-13 05:18:43 +00: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 02:36:22 +00:00
|
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
2015-03-12 04:24:39 +00:00
|
|
|
CONFIG_TARGET_MX6SABRESD=y
|
2019-11-19 01:02:10 +00:00
|
|
|
CONFIG_ENV_SIZE=0x2000
|
|
|
|
CONFIG_ENV_OFFSET=0xC0000
|
2020-01-22 18:38:00 +00:00
|
|
|
CONFIG_DM_GPIO=y
|
|
|
|
CONFIG_SPL_MMC_SUPPORT=y
|
|
|
|
CONFIG_SPL_SERIAL_SUPPORT=y
|
2019-04-29 19:54:04 +00:00
|
|
|
CONFIG_NR_DRAM_BANKS=1
|
2018-04-08 00:27:54 +00:00
|
|
|
CONFIG_SPL=y
|
2018-06-04 15:57:37 +00:00
|
|
|
CONFIG_SPL_LIBDISK_SUPPORT=y
|
2019-09-23 15:47:37 +00:00
|
|
|
CONFIG_SPL_TEXT_BASE=0x00908000
|
2019-02-01 16:40:18 +00:00
|
|
|
CONFIG_FIT=y
|
|
|
|
CONFIG_SPL_FIT_PRINT=y
|
|
|
|
CONFIG_SPL_LOAD_FIT=y
|
2017-11-15 19:04:03 +00:00
|
|
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg"
|
2016-10-18 02:12:37 +00:00
|
|
|
# CONFIG_CONSOLE_MUX is not set
|
|
|
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
2016-10-18 02:12:59 +00:00
|
|
|
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
|
2018-02-06 13:58:59 +00:00
|
|
|
CONFIG_SUPPORT_RAW_INITRD=y
|
2018-11-30 21:13:25 +00:00
|
|
|
CONFIG_BOUNCE_BUFFER=y
|
2019-02-01 16:40:18 +00:00
|
|
|
CONFIG_SPL_SEPARATE_BSS=y
|
|
|
|
CONFIG_SPL_FIT_IMAGE_TINY=y
|
2017-09-05 23:46:40 +00:00
|
|
|
CONFIG_SPL_USB_HOST_SUPPORT=y
|
2019-01-10 14:44:13 +00:00
|
|
|
CONFIG_SPL_USB_GADGET=y
|
2017-09-05 23:46:40 +00:00
|
|
|
CONFIG_SPL_USB_SDP_SUPPORT=y
|
2018-06-04 15:57:37 +00:00
|
|
|
CONFIG_SPL_WATCHDOG_SUPPORT=y
|
2016-04-22 01:37:19 +00:00
|
|
|
CONFIG_HUSH_PARSER=y
|
2016-04-24 21:29:26 +00:00
|
|
|
CONFIG_CMD_BOOTZ=y
|
2017-08-04 22:34:48 +00:00
|
|
|
CONFIG_CMD_SPL=y
|
2017-08-04 22:34:50 +00:00
|
|
|
CONFIG_CMD_SPL_WRITE_SIZE=0x20000
|
2015-06-22 21:15:30 +00:00
|
|
|
# CONFIG_CMD_FLASH is not set
|
2017-08-14 23:58:53 +00:00
|
|
|
CONFIG_CMD_GPIO=y
|
|
|
|
CONFIG_CMD_I2C=y
|
2016-04-24 21:29:26 +00:00
|
|
|
CONFIG_CMD_MMC=y
|
2017-07-10 18:59:12 +00:00
|
|
|
CONFIG_CMD_PART=y
|
2017-08-14 23:58:53 +00:00
|
|
|
CONFIG_CMD_PCI=y
|
2016-04-22 20:41:25 +00:00
|
|
|
CONFIG_CMD_USB=y
|
2017-09-05 23:46:40 +00:00
|
|
|
CONFIG_CMD_USB_SDP=y
|
2018-01-28 14:49:03 +00:00
|
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
2016-04-22 20:41:25 +00:00
|
|
|
CONFIG_CMD_DHCP=y
|
2016-04-24 21:29:26 +00:00
|
|
|
CONFIG_CMD_MII=y
|
2016-04-22 20:41:25 +00:00
|
|
|
CONFIG_CMD_PING=y
|
2019-09-18 15:05:31 +00:00
|
|
|
CONFIG_CMD_BMP=y
|
2016-04-24 21:29:26 +00: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-01 16:40:25 +00:00
|
|
|
# CONFIG_SPL_DOS_PARTITION is not set
|
2019-02-22 15:17:41 +00:00
|
|
|
CONFIG_EFI_PARTITION=y
|
2019-02-01 16:40:25 +00:00
|
|
|
# CONFIG_SPL_EFI_PARTITION is not set
|
2019-02-01 16:40:18 +00: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 02:36:22 +00:00
|
|
|
CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y
|
2017-08-28 11:16:32 +00:00
|
|
|
CONFIG_ENV_IS_IN_MMC=y
|
2019-11-13 03:46:36 +00:00
|
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
2018-04-01 16:37:53 +00:00
|
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
2018-06-04 15:57:37 +00: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-01 16:40:18 +00:00
|
|
|
CONFIG_DM_MMC=y
|
2019-05-01 07:58:27 +00:00
|
|
|
CONFIG_SUPPORT_EMMC_BOOT=y
|
2019-08-14 12:23:43 +00:00
|
|
|
CONFIG_FSL_USDHC=y
|
2019-10-03 17:50:08 +00:00
|
|
|
CONFIG_MTD=y
|
2019-12-04 22:18:38 +00:00
|
|
|
CONFIG_DM_SPI_FLASH=y
|
2019-02-27 14:20:36 +00:00
|
|
|
CONFIG_SF_DEFAULT_MODE=0
|
|
|
|
CONFIG_SF_DEFAULT_SPEED=20000000
|
2015-11-25 13:34:54 +00:00
|
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
2017-08-02 00:19:59 +00:00
|
|
|
CONFIG_PHYLIB=y
|
2020-02-10 14:28:01 +00:00
|
|
|
CONFIG_PHY_ATHEROS=y
|
|
|
|
CONFIG_DM_ETH=y
|
|
|
|
CONFIG_DM_MDIO=y
|
|
|
|
CONFIG_FEC_MXC=y
|
|
|
|
CONFIG_RGMII=y
|
2018-07-21 04:03:57 +00:00
|
|
|
CONFIG_MII=y
|
2019-06-21 14:11:23 +00:00
|
|
|
CONFIG_PCI=y
|
2020-01-20 16:31:02 +00:00
|
|
|
CONFIG_DM_PCI=y
|
2019-05-21 13:37:53 +00:00
|
|
|
CONFIG_PINCTRL=y
|
|
|
|
CONFIG_PINCTRL_IMX6=y
|
2019-02-01 16:40:18 +00:00
|
|
|
CONFIG_DM_REGULATOR=y
|
2019-08-14 09:13:04 +00:00
|
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
2018-04-15 17:51:26 +00:00
|
|
|
CONFIG_SPI=y
|
2019-02-01 16:40:22 +00:00
|
|
|
CONFIG_DM_SPI=y
|
2018-02-07 00:42:19 +00:00
|
|
|
CONFIG_MXC_SPI=y
|
2016-03-25 14:39:47 +00:00
|
|
|
CONFIG_USB=y
|
2019-02-01 16:40:18 +00:00
|
|
|
CONFIG_DM_USB=y
|
2016-03-25 14:39:47 +00:00
|
|
|
CONFIG_USB_GADGET=y
|
2017-09-07 06:58:08 +00:00
|
|
|
CONFIG_USB_GADGET_MANUFACTURER="FSL"
|
|
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0525
|
|
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
|
2016-04-13 11:20:25 +00:00
|
|
|
CONFIG_CI_UDC=y
|
2017-08-28 08:50:45 +00:00
|
|
|
CONFIG_USB_HOST_ETHER=y
|
2017-08-28 08:50:46 +00:00
|
|
|
CONFIG_USB_ETHER_ASIX=y
|
2019-03-18 22:29:39 +00:00
|
|
|
CONFIG_DM_VIDEO=y
|
2020-02-04 21:43:06 +00:00
|
|
|
# CONFIG_VIDEO_BPP8 is not set
|
|
|
|
# CONFIG_VIDEO_BPP32 is not set
|
2019-09-18 15:05:31 +00:00
|
|
|
CONFIG_SYS_WHITE_ON_BLACK=y
|
2019-03-18 22:29:33 +00:00
|
|
|
CONFIG_VIDEO_IPUV3=y
|