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