[poky] Error for upgrading linux-yocto version from 3.0 to 3.0.1 for fishriver machine.

Bruce Ashfield bruce.ashfield at gmail.com
Thu Aug 11 09:28:43 PDT 2011


On Thu, Aug 11, 2011 at 9:50 AM, v sailaja <vsailub4u at gmail.com> wrote:
> Hi,
> I am trying to build the poky with  linux-yocto kernel v3.0.1 for fishriver
> machine.
>
> I modyfied the the linux-yocto_3.0.bb  as follows.
>
>
> -----------ooooooooooooo----------------------------
> inherit kernel
> require linux-yocto.inc
> KMACHINE = "yocto/standard/base"
> KMACHINE_qemux86  = "yocto/standard/common-pc/base"
> KMACHINE_qemux86-64  = "yocto/standard/common-pc-64/base"
> KMACHINE_qemuppc  = "yocto/standard/qemu-ppc32"
> KMACHINE_qemumips = "yocto/standard/mti-malta32-be"
> KMACHINE_qemuarm  = "yocto/standard/arm-versatile-926ejs"
> KMACHINE_atom-pc  = "yocto/standard/common-pc/atom-pc"
> KMACHINE_routerstationpro = "yocto/standard/routerstationpro"
> KMACHINE_mpc8315e-rdb = "yocto/standard/fsl-mpc8315e-rdb"
> KMACHINE_beagleboard = "yocto/standard/beagleboard"
> KMACHINE_fishriver = "yocto/standard/fishriver"
> KBRANCH = ${KMACHINE}
> KMETA = meta
> LINUX_VERSION ?= "3.0.1"
> LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
> PR = "r0"
> PV = "${LINUX_VERSION}+git${SRCPV}"
> SRCREV_FORMAT = "meta_machine"
> SRC_URI =
> "git://git.pokylinux.org/linux-yocto-3.0;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
>
> COMPATIBLE_MACHINE =
> "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64|mpc8315e-rdb|routerstationpro|beagleboard)"
> # Functionality flags
> KERNEL_REVISION_CHECKING ?= "t"
> KERNEL_FEATURES="features/netfilter"
> KERNEL_FEATURES_append_qemux86=" cfg/sound"
> KERNEL_FEATURES_append_qemux86-64=" cfg/sound"
> YOCTO_KERNEL_META_DATA=t
> # Temporary fix for oprofile and latencytop on qemux86-64
> KERNEL_FEATURES_append_qemux86-64=" features/profiling"
> KERNEL_FEATURES_append_qemux86-64=" features/latencytop"
> # extra tasks
> addtask kernel_link_vmlinux after do_compile before do_install
> addtask validate_branches before do_patch after do_kernel_checkout
> addtask kernel_configcheck after do_configure before do_compile
> require linux-tools.inc
>
> -----------------------------end of the file-----------------------
>
>
> Included the SRCREV s in the file
> "meta-intel/meta-fishriver/conf/machine/fishriver.conf "
> SRCREV_machine_pn-linux-yocto_fishriver ?=
> "c111526f70815ceff495bab07df64c0cee494d8a"
> SRCREV_meta_pn-linux-yocto_fishriver ?=
> "55f9c40ff632d03c527d6a6ceddcda0a224587a6"
>
>
> Source has downloaded properly. But I am getting an error in "do_patch".
> If i do the "git status" in
> "build/tmp/work/fishriver-poky-linux/linux-yocto-3.0.1+git2+55f9c40ff632d03c527d6a6ceddcda0a224587a6_2+c111526f70815ceff495bab07df64c0cee494d8a-r0/linux/
> "
> It is showing many files are modified and deleted.
>
> Please find the attached files for "run.do_patch", "log.do_patch" and "git
> status "
>
> Please Can anyone tell me the steps to upgrade the linux-yocto kernel to
> v3.0.1.

The upgrade should already be in place. I pushed out that set of updates
last week.

Note: as part of that update, I explicitly mentioned that I wasn't changing
the base version to 3.0.1 in the files, since we hand't been doing that
for 2.6.34 or 2.6.37.

I'm about to send another update that adds preempt-rt support on top of
3.0.1, so you might want to just wait and pickup those changes as well.

The error that you are seeing is because the wrong branch was checked
out, and hence you end up with conflicting files during the merge.

Bruce

>
>
>
>
> --
> Thanks & Regards,
> SAI
>
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the poky mailing list