Skip to contentSkip to conversation

meta-kirkwood layer #yocto

DISCUSSION [email protected] 3 participants 3 messages Jul 7, 2020 – Jul 21, 2020

lore
Share & tools
lore
#0 lore raw

I saw this message thread ( https://lists.yoctoproject.org/g/yocto/topic/61257317 )  and wondering how can I get this yocto compatible  layer  for marwell kirkwood ? I want to build a linux ketnel for marwell kirk wood  ( using the sheevaplug.conf for machine) using yocto 2.7.3
I down loaded this layer ( https://github.com/kelvinlawson/meta-kirkwood )   this is opnembedded based , however upon building in yocto  it failed with the following message

Entering directory `/home/jojan.vazhaeparampil/workspace/distro/build_zion/tmp/work-shared/sheevaplug/kernel-source'

|   GEN     /home/jojan.vazhaeparampil/workspace/distro/build_zion/tmp/work/sheevaplug-poky-linux-gnueabi/linux-kirkwood/2.6.35-rc1-r14/build/Makefile
| make[2]: *** No rule to make target `oldnoconfig'.  Stop.
| make[1]: *** [oldnoconfig] Error 2
| make: *** [sub-make] Error 2
| make: Leaving directory `/home/jojan.vazhaeparampil/workspace/distro/build_zion/tmp/work-shared/sheevaplug/kernel-source'
| ERROR: oe_runmake failed

When I checked the "sheevaplug/kernel-source' directory it is empty ?

#1 lore raw
Quoted 13 lines · jjvazha via lists.yoctoproject.org

I saw this message thread ( https://lists.yoctoproject.org/g/yocto/topic/61257317)  and wondering how can I get this yocto compatible  layer  for marwell kirkwood ? I want to build a linux ketnel for marwell kirk wood  ( using the sheevaplug.conf for machine) using yocto 2.7.3
I down loaded this layer (https://github.com/kelvinlawson/meta-kirkwood)   this is opnembedded based , however upon building in yocto  it failed with the following message

Entering directory `/home/jojan.vazhaeparampil/workspace/distro/build_zion/tmp/work-shared/sheevaplug/kernel-source'

|   GEN     /home/jojan.vazhaeparampil/workspace/distro/build_zion/tmp/work/sheevaplug-poky-linux-gnueabi/linux-kirkwood/2.6.35-rc1-r14/build/Makefile
| make[2]: *** No rule to make target `oldnoconfig'.  Stop.
| make[1]: *** [oldnoconfig] Error 2
| make: *** [sub-make] Error 2
| make: Leaving directory `/home/jojan.vazhaeparampil/workspace/distro/build_zion/tmp/work-shared/sheevaplug/kernel-source'
| ERROR: oe_runmake failed
Quoted 2 lines

When I checked the "sheevaplug/kernel-source' directory it is empty ?

meta-kirkwood is kind of stale, last commit was 7 years, 9 months ago, perhaps look around for another machine layer or fix this one

Quoted 2 lines
#2 lore raw

Hi,

Quoted 22 lines · Khem Raj
Quoted 19 lines · jjvazha via lists.yoctoproject.org

I saw this message thread (
https://lists.yoctoproject.org/g/yocto/topic/61257317)  and wondering how can I get this yocto compatible  layer  for marwell kirkwood ? I want to build a linux ketnel for marwell kirk wood  ( using the sheevaplug.conf for machine) using yocto 2.7.3
I down loaded this layer
(https://github.com/kelvinlawson/meta-kirkwood)   this is opnembedded based , however upon building in yocto  it failed with the following message

Entering directory `/home/jojan.vazhaeparampil/workspace/distro/build_zion/tmp/work-shared/sheevaplug/kernel-source'

|   GEN     /home/jojan.vazhaeparampil/workspace/distro/build_zion/tmp/work/sheevaplug-poky-linux-gnueabi/linux-kirkwood/2.6.35-rc1-r14/build/Makefile
| make[2]: *** No rule to make target `oldnoconfig'.  Stop.
| make[1]: *** [oldnoconfig] Error 2
| make: *** [sub-make] Error 2
| make: Leaving directory `/home/jojan.vazhaeparampil/workspace/distro/build_zion/tmp/work-shared/sheevaplug/kernel-source'
| ERROR: oe_runmake failed
Quoted 6 lines
Quoted 2 lines

When I checked the "sheevaplug/kernel-source' directory it is empty ?

meta-kirkwood is kind of stale, last commit was 7 years, 9 months ago, perhaps look around for another machine layer or fix this one

I also see that there's only a kernel recipe. IIRC, kirkwood devices are supported in upstream linux, so you're probably fine using linux-yocto, copy paste and slightly modify the machine configuration files if need be and start from there instead of using this ultra old Linux kernel (come on... 2.6?).

Good luck :)

Quentin

N.B.: https://elixir.bootlin.com/linux/latest/source/arch/arm/boot/dts/kirkwood-sheevaplug.dts