Skip to content
/ qemu Public
forked from qemu/qemu

QEMU for stm32f413

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING
LGPL-2.1
COPYING.LIB
Notifications You must be signed in to change notification settings

spike-rt/qemu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Japanese follows English. 日本語は,英語に続きます.

What's this?

A QEMU fork to emulate LEGO Education SPIKE Prime Hub machine model. This is used to test and debug SPIKE-RT.

Installation

Build from source

Prepare a build environment according to Hosts/Linux - QEMU.
An example for Ubuntu:

sudo apt install build-essential git libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev ninja-build

To compile, execute the commands below.

git clone [email protected]:spike-rt/qemu.git
cd qemu
mkdir build && cd build
../configure --target-list=arm-softmmu
ninja qemu-system-arm

By adding --static option to the configure command, you can build a statically linked binary.
But some environment may fail to build because static versions of some dependent libraries are not provided. For example, it seems to be possible to build on Ubuntu 20.04, but not on Ubuntu 22.04.

これは何?

QEMUにLEGO Education SPIKE Prime Hub のマシンモデルを追加したもの. SPIKE-RTのテストとデバッグに使用している.

導入

ソースからのビルド

Hosts/Linux - QEMU にしたがってビルド環境を構築する.
Ubuntu の例

sudo apt install build-essential git libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev ninja-build

以下を実行し,コンパイル.

git clone [email protected]:spike-rt/qemu.git
cd qemu
mkdir build && cd build
../configure --target-list=arm-softmmu
ninja qemu-system-arm

なお,configure時に,--staticを指定することで,スタティンクリンクされたバイナリをビルド可能である.
しかし,環境によっては,依存ライブラリの静的ライブラリが用意されていないためにビルドできないことがある. 例えば,Ubuntu 20.04ではビルド可能だが,Ubuntu 22.04ではビルドできないようである.

About

QEMU for stm32f413

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING
LGPL-2.1
COPYING.LIB

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 80.5%
  • C++ 11.9%
  • Python 3.9%
  • Shell 1.6%
  • Assembly 0.5%
  • Meson 0.5%
  • Other 1.1%