Stuck at bad CRC during boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Stuck at bad CRC during boot

686 Views
kcassar
Contributor II

Hi,

We are trying to boot our custom board that we have ported from the SabreSD.

We are getting stuck at the same point during boot.

*** Warning - bad CRC, using default environment

board_mmc_init: (CONFIG_SPL_BUILD) setting pads for uSDHC4 (uSD) on MMC2
board_mmc_init: (CONFIG_SPL_BUILD) calling fsl_esdhc_initialize
board_mmc_init: (CONFIG_SPL_BUILD) fsl_esdhc_initialize returned 0
board_mmc_getcd: USDHC4_BASE_ADDR
board_mmc_getcd: ret = 1
spl_start_uboot


U-Boot 2018.11-dirty (May 07 2019 - 16:37:39 +0100)

CPU: Freescale i.MX6Q rev1.6 996 MHz (running at 792 MHz)
CPU: Automotive temperature grade (-40C to 125C) at 35C
Reset cause: POR
Board: MX6-Dragonfly
I2C: ready
DRAM: dram_init
1 GiB
board_init
setup_spi
board_init: calling setup_i2c, is_mx6dq() == true
setup_display
setup_usb
power_init_board
MMC: board_mmc_init
board_mmc_init: CONFIG_SPL_BUILD is not defined
board_mmc_init: NOT setting pads for SD2 (MMC0) - unused
board_mmc_init: calling fsl_esdhc_initialize
board_mmc_init: setting pads for SD3 [eMMC] (MMC1)
board_mmc_init: calling fsl_esdhc_initialize
board_mmc_init: setting pads for SD4 [uSD] (MMC2)
board_mmc_init: calling fsl_esdhc_initialize
board_mmc_init: returning 0
FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... mmc_get_env_dev called from arch/arm/mach-imx/mx6/
mmc_get_boot_dev called from arch/arm/mach-imx/mx6/
mmc_get_boot_dev: value of soc_sbmr = 14400
mmc_get_boot_dev: value of bootsel = 1
mmc_get_boot_dev: value of devno = 3
board_mmc_get_env_dev: devno = 3
board_mmc_getcd: USDHC4_BASE_ADDR
board_mmc_getcd: ret = 1
*** Warning - bad CRC, using default environment

On the SabreSD, we would expect to carry onto the following lines of serial output.

PCI: pcie phy link never came up
No panel detected: default to Hannstar-XGA
enable_lvds
enable_backlight
Display: Hannstar-XGA (1024x768)
overwrite_console
In: serial
Out: serial
Err: serial

Please note, we have added some of our own debug over serial.

any help or ideas on why our boot would stop at this point would be greatly appreciated.

Cheers,

Kyle.

Labels (1)
0 Kudos
1 Reply

573 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kyle

U-Boot 2018.11 is not supported by nxp, issue may be posted on uboot mail list

lists.denx.de Mailing Lists 

one can try latest official release 2018.03 from source.codeaurora.org/external/imx/uboot-imx

nxp repository:

uboot-imx - i.MX U-Boot 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos