2017-10-22 11 views
0

Mender.ioとYoctoでラズベリーパイ画像を構築する際に問題が発生しています。ここで ビットベークエラー:何もラズベリーパイを提供しません

は私bblayers.conf

# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf 
    # changes incompatibly 
    POKY_BBLAYERS_CONF_VERSION = "2" 

    BBPATH = "${TOPDIR}" 
    BBFILES ?= "" 

    BBLAYERS ?= " \ 
     /root/poky/meta \ 
     /root/poky/meta-poky \ 
     /root/poky/meta-yocto-bsp \ 
     /root/poky/meta-mender/meta-mender-core \ 
     /root/poky/meta-mender/meta-mender-raspberrypi \ 
     /root/poky/meta-raspberrypi \ 
     /root/poky/meta-openembedded/meta-oe \ 
     /root/poky/meta-openembedded/meta-multimedia \ 
     /root/poky/meta-openembedded/meta-python \ 
     /root/poky/meta-openembedded/meta-networking \ 
    " 

そして、ここで私のlocal.confある

PACKAGECONFIG_append_pn-qemu-native = " sdl" 
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl" 
#ASSUME_PROVIDED += "libsdl-native" 

# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to 
# track the version of this file when it was generated. This can safely be ignored if 
# this doesn't mean anything to you. 
CONF_VERSION = "2" 

# The name of the disk image or Artifact that will be built. 
# This is what the device will report that it is running, and different updates must have different names 
# because Mender will skip installation of an artifact if it is already installed. 
MENDER_ARTIFACT_NAME = "release-1" 

INHERIT += "mender-full" 

# A MACHINE integrated with Mender. 
# vexpress-qemu or beaglebone can be used for testing. 
MACHINE = "raspberrypi0" 

DISTRO_FEATURES_append = " systemd" 
VIRTUAL-RUNTIME_init_manager = "systemd" 
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" 
VIRTUAL-RUNTIME_initscripts = "" 

IMAGE_FSTYPES = "ext4" 

KERNEL_IMAGETYPE = "uImage" 

MENDER_PARTITION_ALIGNMENT_KB = "4096" 
MENDER_BOOT_PART_SIZE_MB = "40" 

do_image_sdimg[depends] += " bcm2835-bootfiles:do_populate_sysroot" 

# raspberrypi files aligned with mender layout requirements 
IMAGE_BOOT_FILES_append = " boot.scr u-boot.bin;${SDIMG_KERNELIMAGE}" 
IMAGE_INSTALL_append = " kernel-image kernel-devicetree" 
IMAGE_FSTYPES_remove += " rpi-sdimg" 

私は

bitbake image1 

は、私は次のエラーを取得する次のコマンドを実行すると:

Loading cache: 100% |################################################################################################################################| Time: 0:00:00 
Loaded 160 entries from dependency cache. 
Parsing recipes: 100% |##############################################################################################################################| Time: 0:01:22 
Parsing of 1982 .bb files complete (97 cached, 1885 parsed). 2743 targets, 184 skipped, 0 masked, 0 errors. 
ERROR: Nothing PROVIDES 'image1' 

Summary: There was 1 ERROR message shown, returning a non-zero exit code. 

どうしたらいいですか?

+2

「image1」はどこにありますか? –

+0

bblayers.confファイルで指定されたレイヤーの1つにimage1 * .bbというレシピがあるはずです。これにより、bitbakeはビルドする意味を知ることができます。 image1.bbはどこにありますか? – urnenfeld

+0

'bitbake image1'をどこで読んだのですか? DavidBensoussanがimage1のレシピがあるはずだと言ったか、別のターゲットでbitbakeを起動する必要があります。 – strippenzieher

答えて

1

"bitbake"を実行すると、レシピまたはターゲットになる必要があります(最低でも)。レシピ/ターゲットは、bblayers.confに含まれているレイヤーの1つにある。* .bbファイル(つまりレシピファイル)に対応します(この関係が正確ではない場合は無視されます)。ほとんどの.bbファイルはパッケージのレシピになりますが、イメージを定義するものはいくつかあります。イメージレシピは「特別な」ものであるため、通常、レイヤ内の「イメージ」と呼ばれるディレクトリに格納されます。そこで、様々な層のディレクトリ内から

'find . -type d -name images'

を行い、その後、あなたは(あなたがメタraspberrypiで見つけた画像の中で最も可能性の高い関心を持っている)に興味のある画像のレシピを見つけるために、これらのイメージのディレクトリの内容を検査します。イメージ名を指定してbitbakeコマンドを実行するイメージを決定してください。

ex. 'bitbake rpi-basic-image'

関連する問題