0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

petalinux / microzed > A. Prebuilt BSPファイルを使ってのビルド作業 > 前準備

Last updated at Posted at 2015-11-08
動作確認
CentOS 6.5

こちらの手順3まですましておく。

lsb_releaseというコマンドが必要なので、CentOS6.5の場合は
$ yum install redhat-lsb
をrootで実行して関連パッケージを入れておくこと

[ERROR] make[2]: *** [.pkg_update] Error 255
[ERROR] make[1]: *** [sub_build_component_/none/packages-repo/single/plnx-repo] Error 2
ERROR: Failed to build linux

ビルド時に上記のエラーが発生する時は以下を実行しておくこと

$ yum install libselinux
$ yum install libselinux.i686

さらに、Error 255はPetaLinuxのインストールを深いフォルダ階層にしている時にも発生する。/opt/pkg/にインストールするほうがよさそう。
まだError 255が出る場合は以下も行うこと
$ yum install libstdc++.so.6

いくつかのツールにパスを通すため、.bashrcに以下を追加しておく

# for petaLinux
export PATH=$PATH:/opt/pkg/petalinux-v2014.2-final/tools/linux-i386/arm-xilinx-linux-gnueabi/bin
export PATH=$PATH:/opt/pkg/petalinux-v2014.2-final/tools/linux-i386/petalinux/bin
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?