LoginSignup
0
0

More than 5 years have passed since last update.

linux-xlnx > arch > powerpc > sprintf > GitHubソース | PetaLinux + QEMUでの実行

Last updated at Posted at 2017-11-01

GitHub.comにあるlinux-xlnxのsprintfソースコード。

stdio.c

そのhistory

Zynqでも上記のstdioを使っているのかは未消化。

linux-xlnxでstdio.hをFind fileするとarch/powerpc/bootのファイルのみ見つかる。

上記のソースを持ってきてCentOS上でビルとしようとしたが、様々なエラーが出て断念した。

実行環境

PetaLinux環境で試すのがいいのかもしれない。
https://qiita.com/7of9/items/025446735fec16f6a56a

QEMUで実行する (QEMUの終了方法についても記載)。
https://qiita.com/7of9/items/49f705c5b51c7c7c91a2

$ petalinux-boot --qemu --kernel
パスワードはroot, root? 
$ cd /bin
$ ./myapp_171101  (作成したアプリ名)
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