[meta-freescale] consultion about uboot and kernel

lianjf at ava.com.cn lianjf at ava.com.cn
Tue Aug 26 02:56:18 PDT 2014


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 at ava.com.cn
 
From: EricBénard
Date: 2014-08-26 17:31
To: lianjf at 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 at ava.com.cn" <lianjf at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140826/7b7db9b2/attachment.html>


More information about the meta-freescale mailing list