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

Fausto Sessego fausto.sessego at infomob.it
Sat May 27 11:00:42 UTC 2017


2017-05-26 14:04 GMT+02:00 Lothar Waßmann <LW at karo-electronics.de>:

> 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
> ___________________________________________________________
>

I finally found the error enabling "earlyprintk"

U-Boot 2016.07 (May 27 2017 - 01:17:11 +0200)

CPU:   Freescale i.MX6Q rev1.2 at 792MHz
CPU:   Industrial temperature grade (-40C to 105C) at 30C
Reset cause: POR
Board: i.MX6Q TIBIDABO
I2C:   ready
DRAM:  gd->ram_size: 2147483648
DRAM test not implemented!
2 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
Error: FEC address not set.

Hit any key to stop autoboot:  0
reading imx6q-tibidabo.dtb
29636 bytes read in 22 ms (1.3 MiB/s)
reading uImage
6622920 bytes read in 324 ms (19.5 MiB/s)
## Booting kernel from Legacy Image at 12000000 ...
   Image Name:   Linux-4.1.38
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6622856 Bytes = 6.3 MiB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x000015b3).

Available machine support:

ID (hex)        NAME
ffffffff        Generic DT based system
ffffffff        Freescale i.MX6 Quad/DualLite (Device Tree)
ffffffff        Freescale i.MX6 SoloLite (Device Tree)
ffffffff        Freescale i.MX6 SoloX (Device Tree)
ffffffff        Freescale i.MX6 Ultralite (Device Tree)
ffffffff        Freescale i.MX7 Dual (Device Tree)
ffffffff        Freescale i.MX50 (Device Tree Support)
ffffffff        Freescale i.MX53 (Device Tree Support)
ffffffff        Freescale Vybrid VF5xx/VF6xx (Device Tree)

Please check your kernel config and/or bootloader.

There is the error "Error: unrecognized/unsupported machine ID"

I read many post but i didn't found any solution.

PS: is it ok if i answer this way?

thank


More information about the U-Boot mailing list