All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fausto Sessego <fausto.sessego@infomob.it>
To: u-boot@lists.denx.de
Subject: [U-Boot] i.Mx6q u-boot stuck
Date: Fri, 26 May 2017 12:39:21 +0200	[thread overview]
Message-ID: <CAAbSMk=AuFTbvwcizUUvFmRXcDQVCgqUAAbnH9BpALihkJ6dPQ@mail.gmail.com> (raw)
In-Reply-To: <20170525105754.4b7db9f4@crub>

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.



------------------------------
*Ing. Fausto Sessego*
*R&D Hardware & Software Engineer*

info
mob
>
*Tecnologie Wireless per la logistica e la sicurezza*
*address:* Parco scientifico e tecnologico della Sardegna, Edificio 1 Loc.
Piscinamanna - 09010 Pula (CA)
<https://www.google.it/maps/place/Sardegna+Ricerche/@38.9899811,8.9280376,17z/data=!3m1!4b1!4m2!3m1!1s0x12e7274e0b4c4191:0x1a9e7f06456bbd3>
*phone:* +39 070 92432952
*email:* fausto.sessego at infomob.it
*skype:* fausto.sessego.infomob
*web:* www.infomob.it

2017-05-25 10:57 GMT+02:00 Anatolij Gustschin <agust@denx.de>:

> On Wed, 24 May 2017 18:29:50 +0200
> Fausto Sessego fausto.sessego at infomob.it wrote:
> ...
> > The Kernel doesn't start.
> >
> > U-Boot 2016.07 (May 24 2017 - 17:11:18 +0200)
> >
> > CPU:   Freescale i.MX6Q rev1.2 at 792MHz
> > CPU:   Industrial temperature grade (-40C to 105C) at 20C
> > Reset cause: POR
> > Board: i.MX6Q TIBIDABO
> > Support: http://www.infomob.it/
> > 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
>
> you didn't save the environment, so the default environment is
> used.
>
> > 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
> > 29640 bytes read in 22 ms (1.3 MiB/s)
> > reading uImage
> > 6621928 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:    6621864 Bytes = 6.3 MiB
> >    Load Address: 10008000
> >    Entry Point:  10008000
> >    Verifying Checksum ... OK
> >    Loading Kernel Image ... OK
> >
> > Starting kernel ...
>
> Please check 'bootargs' environment variable (print bootargs).
> It should contain "console=ttymxc0,115200" among other values.
> Probably this is not set in the default environment and is missing.
> Ensure that you are passing the correct console string for your
> board in bootargs. I'm not sure if ttymxc0 is correct, please
> test it first.
>
> --
> Anatolij
>

  reply	other threads:[~2017-05-26 10:39 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-10 10:54 [U-Boot] i.Mx6q u-boot stuck Fausto Sessego
2017-04-10 14:45 ` Fabio Estevam
2017-04-10 15:29   ` Fausto Sessego
2017-04-10 19:18     ` Fabio Estevam
     [not found]       ` <2007927372.113767.1491854856064@pim.register.it>
2017-04-10 20:14         ` Fabio Estevam
2017-04-11  9:29           ` Fausto Sessego
2017-04-11 10:51             ` Fabio Estevam
2017-04-11 11:20               ` Fausto Sessego
2017-04-11 13:01                 ` Fabio Estevam
2017-05-05 10:50                   ` Fausto Sessego
2017-05-05 11:38                     ` Fabio Estevam
2017-05-05 11:51                       ` Fausto Sessego
2017-05-05 11:56                         ` Fabio Estevam
2017-05-24 16:29                           ` Fausto Sessego
2017-05-24 20:56                             ` Fabio Estevam
2017-05-24 21:00                               ` Fabio Estevam
2017-05-25  8:57                             ` Anatolij Gustschin
2017-05-26 10:39                               ` Fausto Sessego [this message]
2017-05-26 12:04                                 ` Lothar Waßmann
2017-05-27 11:00                                   ` Fausto Sessego
2017-05-27 12:50                                     ` Fabio Estevam
2017-05-29  8:37                                       ` Fausto Sessego
2017-05-26 12:36                                 ` Fabio Estevam
2017-05-26 13:12                                   ` Fausto Sessego

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAbSMk=AuFTbvwcizUUvFmRXcDQVCgqUAAbnH9BpALihkJ6dPQ@mail.gmail.com' \
    --to=fausto.sessego@infomob.it \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.