[meta-freescale] consultion about uboot and kernel

Maciej Borzecki maciej.borzecki at open-rnd.pl
Tue Aug 26 02:30:15 PDT 2014


On Tuesday 26 of August 2014 17:09:23 lianjf at 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. 


More information about the meta-freescale mailing list