Re: meta-kirkwood layer #yocto


Quentin Schulz
 

Hi,

On Tue, Jul 21, 2020 at 09:34:16AM -0700, Khem Raj wrote:


On 7/7/20 10:25 AM, jjvazha via lists.yoctoproject.org wrote:
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 ?
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

Join yocto@lists.yoctoproject.org to automatically receive all group messages.