All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
To: "lianjf@ava.com.cn" <lianjf@ava.com.cn>
Cc: meta-freescale@yoctoproject.org
Subject: Re: consultion about uboot and kernel
Date: Tue, 26 Aug 2014 11:30:15 +0200	[thread overview]
Message-ID: <1426581.ednE1vGhfH@localhost.localdomain> (raw)
In-Reply-To: <2014082617092334337931@ava.com.cn>

On Tuesday 26 of August 2014 17:09:23 lianjf@ava.com.cn wrote:
> Hi,
> Anyone can tell me why the u-boot is not able to boot the freescale imx6q
> kernel,and stuck in the starting the kernel,the message is:
> ---------------------------------------------------------------------------
> ---------------------------------------------------------- U-Boot 2009.08
> (Aug 16 2013 - 12:04:20)
> 
> CPU: Freescale i.MX6 family TO1.2 at 792 MHz 
> Thermal sensor with ratio = 189 
> Temperature: 40 C, calibration data 0x5a95097d 
> mx6q pll1: 792MHz 
> mx6q pll2: 528MHz 
> mx6q pll3: 480MHz 
> mx6q pll8: 50MHz 
> ipg clock : 66000000Hz 
> ipg per clock : 66000000Hz 
> uart clock : 80000000Hz 
> cspi clock : 60000000Hz 
> ahb clock : 132000000Hz 
> axi clock : 264000000Hz 
> emi_slow clock: 132000000Hz 
> ddr clock : 528000000Hz 
> usdhc1 clock : 198000000Hz 
> usdhc2 clock : 198000000Hz 
> usdhc3 clock : 198000000Hz 
> usdhc4 clock : 198000000Hz 
> nfc clock : 24000000Hz 
> Board: i.MX6Q-SABRESD: unknown-board Board: 0x63012 [WDOG ] 
> Boot Device: MMC 
> I2C: ready 
> DRAM: 1 GB 
> MMC: FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3 
> In: serial 
> Out: serial 
> Err: serial 
> Found PFUZE100! deviceid=10,revid=11 
> Net: got MAC address from IIM: 00:04:9f:02:b1:af 
> FEC0 [PRIME] 
> Hit any key to stop autoboot: 0 
> PHY indentify @ 0x1 = 0x004dd074 
> FEC: Link is Up 796d 
> Using FEC0 device 
> TFTP from server 192.168.2.109; our IP address is 192.168.2.106 
> Filename 'uImage'. 
> Load address: 0x10800000 
> Loading: ################################################################# 
> #################################################################
> #################################################################
> #################################################################
> #################################################################
> #################################################################
> #################################################################
> #################################################################
> #################################################################
> #################################################################
> #################################################################
> #################################################################
> #################################################################
> #################################################################
> #################################################################
> ################################################################# ######
> done 
> Bytes transferred = 5352304 (51ab70 hex) 
> ## Booting kernel from Legacy Image at 10800000 ... 
> Image Name: Linux-3.10.17-1.0.0_ga+g232293e 
> Image Type: ARM Linux Kernel Image (uncompressed) 
> Data Size: 5352240 Bytes = 5.1 MB 
> Load Address: 10008000 
> Entry Point: 10008000 
> Verifying Checksum ... OK 
> Loading Kernel Image ... OK 
> OK 
> 
> Starting kernel ...
> ----------------------------------------------------------------------------
> ----------------------------------------------------------------------------
> --------------------------------
 
> But it can boot the kernel version linux-3.0.35-imx_4.1.0.

Rough guess, but the u-boot 2009.08 that I've seen on the iMX6 boards did not 
support FDT. Also IIRC kernel that came with these boards (3.0.35) did not use 
fdt either.

Perhaps try loading a newer uboot from meta-fsl-arm first, then load the 
kernel, fdt and boot with that.

Also if you build core-image-minimal, you should get a bootable SD card image 
(look for *.sdcard in $DEPLOY_DIR_IMAGE).


-- 

Maciej Borzęcki 
Senior Software Engineer Open-RnD Sp. z o.o. 
www.open-rnd.pl, Facebook, Twitter 
mobile: +48 telefon, fax: +48 42 657 9079 

Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem lub 
poufne informacje i została wysłana wyłącznie do wiadomości i użytku osób, do 
których została zaadresowana. Jeśli wiadomość została otrzymana przypadkowo 
zabrania się jej kopiowania lub rozsyłania do osób trzecich. W takim przypadku 
uprasza się o natychmiastowe zniszczenie wiadomości oraz poinformowanie 
nadawcy o zaistniałej sytuacji za pomocą wiadomości zwrotnej. Dziękujemy. 

This message, including any attachments hereto, may contain privileged or 
confidential information and is sent solely for the attention and use of the 
intended addressee(s). If you are not an intended addressee, you may neither 
use this message nor copy or deliver it to anyone. In such case, you should 
immediately destroy this message and kindly notify the sender by reply email. 
Thank you.


  parent reply	other threads:[~2014-08-26  9:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-26  9:09 consultion about uboot and kernel lianjf
2014-08-26  9:16 ` Marco Trillo
2014-08-26  9:30 ` Maciej Borzecki [this message]
2014-08-26  9:31 ` Eric Bénard
2014-08-26  9:56   ` lianjf
2014-08-26 10:04     ` Eric Bénard
2014-08-26 10:08       ` lianjf
2014-08-26 10:36         ` Eric Bénard
2014-08-26 10:11       ` Maciej Borzecki

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=1426581.ednE1vGhfH@localhost.localdomain \
    --to=maciej.borzecki@open-rnd.pl \
    --cc=lianjf@ava.com.cn \
    --cc=meta-freescale@yoctoproject.org \
    /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.