All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Trillo <martri@arantia.com>
To: "lianjf@ava.com.cn" <lianjf@ava.com.cn>
Cc: meta-freescale <meta-freescale@yoctoproject.org>
Subject: Re: consultion about uboot and kernel
Date: Tue, 26 Aug 2014 11:16:56 +0200	[thread overview]
Message-ID: <53FC5088.6090904@arantia.com> (raw)
In-Reply-To: <2014082617092334337931@ava.com.cn>

[-- Attachment #1: Type: text/plain, Size: 4056 bytes --]

Hi,

That's because 3.10.17 moved to device trees. You need the appropriate 
.dtb binary file for your board (you will find the .dtb files in the 
Yocto "deploy/images/<your-board>/" directory).

You need to load the .dtb (typically at address $fdt_addr) as well as 
the kernel; it would be something like this:

tftpboot $fdt_addr imx6q-whatever-board.dtb; tftpboot $loadaddr uImage

And then boot with:

bootm $loadaddr - $fdt_addr

(note the minus "-" sign).

Hope it helps,
Marco.




On 08/26/2014 11:09 AM, 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 200908 (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.
>
>
>
>
> Best Regards
> ------------------
> Lian jianfei
> 5F, No.15, Ke Hui 2nd Street, Ke Hui Development Centre Science 
> Avenue, Science City, Luo Gang District Guangzhou, China 510663
> TEL: 15989094327
> Email: lianjf@ava.com.cn
>
>


[-- Attachment #2: Type: text/html, Size: 7337 bytes --]

  reply	other threads:[~2014-08-26  9:25 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 [this message]
2014-08-26  9:30 ` Maciej Borzecki
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=53FC5088.6090904@arantia.com \
    --to=martri@arantia.com \
    --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.