All of lore.kernel.org
 help / color / mirror / Atom feed
From: "lianjf@ava.com.cn" <lianjf@ava.com.cn>
To: EricBénard <eric@eukrea.com>,
	"maciej.borzecki" <maciej.borzecki@open-rnd.pl>,
	martri <martri@arantia.com>,
	meta-freescale <meta-freescale@yoctoproject.org>
Subject: Re: consultion about uboot and kernel
Date: Tue, 26 Aug 2014 17:56:18 +0800	[thread overview]
Message-ID: <2014082617561712520242@ava.com.cn> (raw)
In-Reply-To: 20140826113114.0a1c38ab@e6520eb

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

Hi,
Thanks for the reply,but if i want configure the kernel for i.MX6Q-SABRESD,i run the command bitbake linux-imx  -c menuconfig,but i found the option System Type ---> ARM system type  has no freescale imx6q,
After i run the bitbake linux-imx  -c menuconfig and change the configure ,i run  bitbake -c compile -f linux-imx to compile the kernel,but something goes wrong ,the message is :
----------------------------------------------------------------------------------------------------------
| LINK vmlinux 
| LD vmlinux.o 
| MODPOST vmlinux.o 
| GEN .version 
| CHK include/generated/compile.h 
| UPD include/generated/compile.h 
| CC init/version.o 
| LD init/built-in.o 
| drivers/built-in.o: In function `ahci_imx_error_handler': 
| :(.text+0xd4c84): undefined reference to `release_bus_freq' 
| drivers/built-in.o: In function `imx_ahci_suspend': 
| :(.text+0xd4ce4): undefined reference to `release_bus_freq' 
| drivers/built-in.o: In function `imx6q_sata_exit': 
| :(.text+0xd4d40): undefined reference to `release_bus_freq' 
| drivers/built-in.o: In function `imx_ahci_resume': 
| :(.text+0xd51e8): undefined reference to `request_bus_freq' 
| drivers/built-in.o: In function `imx6q_sata_init': 
| :(.text+0xd5344): undefined reference to `request_bus_freq' 
| drivers/built-in.o: In function `fec_runtime_resume': 
| :(.text+0x116a54): undefined reference to `request_bus_freq' 
| drivers/built-in.o: In function `fec_runtime_suspend': 
| :(.text+0x116a70): undefined reference to `release_bus_freq' 
| drivers/built-in.o: In function `imx_controller_resume': 
| :(.text+0x126e24): undefined reference to `request_bus_freq' 
| :(.text+0x126e44): undefined reference to `release_bus_freq' 
| :(.text+0x126ea8): undefined reference to `release_bus_freq' 
| drivers/built-in.o: In function `imx_controller_suspend': 
| :(.text+0x126f7c): undefined reference to `release_bus_freq' 
| drivers/built-in.o: In function `ci_hdrc_imx_remove': 
| :(.text+0x127050): undefined reference to `release_bus_freq' 
| drivers/built-in.o: In function `ci_hdrc_imx_probe': 
| :(.text+0x12730c): undefined reference to `request_bus_freq' 
| :(.text+0x12732c): undefined reference to `release_bus_freq' 
| :(.text+0x1275e4): undefined reference to `release_bus_freq' 
| drivers/built-in.o: In function `vpu_runtime_resume': 
| :(.text+0x198574): undefined reference to `request_bus_freq' 
| drivers/built-in.o: In function `vpu_runtime_suspend': 
| :(.text+0x198590): undefined reference to `release_bus_freq' 
| arch/arm/mach-imx/built-in.o: In function `imx6_pm_enter': 
| :(.text+0x336c): undefined reference to `imx6sl_set_wait_clk' 
| :(.text+0x3378): undefined reference to `imx6sl_set_wait_clk' 
| make: *** [vmlinux] Error 1 
| ERROR: oe_runmake failed 
| WARNING: exit code 1 from a shell command. 
| ERROR: Function failed: do_compile (log file is located at /home/fei/fsl/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/temp/log.do_compile.5283) 
ERROR: Task 4 (/home/fei/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb, do_compile) failed with exit code '1' 
NOTE: Tasks Summary: Attempted 249 tasks of which 248 didn't need to be rerun and 1 failed. 

Summary: 1 task failed: 
/home/fei/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb, do_compile 
Summary: There was 1 WARNING message shown. 
Summary: There was 1 ERROR message shown, returning a non-zero exit code. 
-------------------------------------------------------------------------------------------------------------------------------------------------- 

Is it right to configure and compile the kernel with the command : bitbake linux-imx  -c menuconfig   ;  bitbake -c compile -f linux-imx    

??

Waiting for the reply....



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
 
From: EricBénard
Date: 2014-08-26 17:31
To: lianjf@ava.com.cn
CC: meta-freescale
Subject: Re: [meta-freescale] consultion about uboot and kernel
Hi Lian jianfei,
 
Le Tue, 26 Aug 2014 17:09:23 +0800,
"lianjf@ava.com.cn" <lianjf@ava.com.cn> a écrit :
> ## 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.
> 
for 3.10.17-1.0.0 you need to use a DTB.
 
you can find an example here :
https://community.freescale.com/thread/315214
 
Best regards
Eric

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

  reply	other threads:[~2014-08-26  9:56 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
2014-08-26  9:31 ` Eric Bénard
2014-08-26  9:56   ` lianjf [this message]
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=2014082617561712520242@ava.com.cn \
    --to=lianjf@ava.com.cn \
    --cc=eric@eukrea.com \
    --cc=maciej.borzecki@open-rnd.pl \
    --cc=martri@arantia.com \
    --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.