[U-Boot] i.Mx6q u-boot stuck

Lothar Waßmann LW at KARO-electronics.de
Fri May 26 12:04:44 UTC 2017


Fausto Sessego <fausto.sessego at infomob.it> wrote:

> Hi,
> 
> here you are my configuration:
> 
> #define CONFIG_EXTRA_ENV_SETTINGS \
>     "image=zImage\0" \
> "console=" CONFIG_CONSOLE_DEV "\0" \
> "fdt_file=imx6q-tibidabo.dtb\0" \
> "fdt_addr=0x14000000\0" \
> "mmcdev="__stringify(CONFIG_SYS_MMC_ENV_DEV)"\0" \
> "mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \
> "mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \
> "mmcautodetect=yes\0" \
> "mmcargs=setenv bootargs console=${console},${baudrate} earlyprintk " \
> "root=${mmcroot}\0" \
> "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
> "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
> 
> 
> #define CONFIG_BOOTCOMMAND \
>     "run mmcargs; " \
> "run loadfdt; " \
> "run loadimage; " \
> "bootz ${loadaddr} - ${fdt_addr}; "\
> 
> it is easy.
> 
> I tried to put earlyprintk but i didn't see any output.
> 
> 
Please do not top-post! (put your own comments _after_ the quoted
portion of the original mail you are responding to just like everyone
else on this mailing list).

Your SDRAM size is 2GiB. That means U-Boot will relocate the FDT
outside reach for the kernel. Try setting 'fdt_high=0xffffffff' (or
${fdt_addr}), to prevent U-Boot from relocating the FDT.


Lothar Waßmann
-- 
___________________________________________________________

Ka-Ro electronics GmbH | Pascalstraße 22 | D - 52076 Aachen
Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10
Geschäftsführer: Matthias Kaussen
Handelsregistereintrag: Amtsgericht Aachen, HRB 4996

www.karo-electronics.de | info at karo-electronics.de
___________________________________________________________


More information about the U-Boot mailing list