how to build filesystem without build the kernel image in yocto

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to build filesystem without build the kernel image in yocto

1,424 Views
huyongfa
Contributor II

now i'm blocked by the following error inyocto, when build fsl-image-gui, the do_fetch always be failed.

WARNING: Failed to fetch URL git://git.freescale.com/imx/linux-2.6-imx.git attempting MIRRORS if available.

i have my own kernel image, and don't need bo build this kernel image.

1. so is there some way to build a filesystem without build the kernel image?

i have tried specify the path of my own kernel in linux-imx_3.14.52.bb, but is always failed at do_configure.

4 Replies

1,277 Views
BiyongSUN
NXP Employee
NXP Employee

Suggest for the Yocto questions, you can check the Yocto project.

If you check the yocto document you can find the command.

http://www.yoctoproject.org/docs/2.2/mega-manual/mega-manual.html

Untitled.png

also you can find in the task list.

do_package_setscene            Analyzes the content of the holding area and splits it into subsets based on available

...........

.......
do_rootfs                        Creates the root filesystem (file and directory structure) for an image
do_unpack                      Unpacks the source code into a working directory
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
bysun@imx-fae-server-sh:~/yocto/L4.1.15-1.1.0_ga/fsl-release-bsp/imx6ulevk$

1,277 Views
huyongfa
Contributor II

after a long wait, now i have passed yocto kernel building, rootfs also is ready.

your respones is very usefull, i will try it later.

many thanks to you.

0 Kudos

1,277 Views
Yuri
NXP Employee
NXP Employee

Hello,

   I think, hardly this is possible and makes sense to build system without kernel built.

Regards,

Yuri.

0 Kudos

1,277 Views
huyongfa
Contributor II

it is very usefull for me, because it is need a very long time to git kernel source from git.freescale.com.

and this kernel is not needed for me,as i have my own kernel.

0 Kudos