Skip to content

Say "hello world" to mps2-an505 with cortex-m33 in QEMU

Notifications You must be signed in to change notification settings

ajblane/armv8m-hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

armv8m-hello

Prerequisites

  • OS: ubuntu 18.04
sudo apt-get install git
sudo apt-get install python
$ git clone https://github.com/qemu/qemu.git
$ cd qemu	
$ mkdir build
$ cd build
$ ../configure --enable-debug
$ make
$ make install

inspect mps2-an505 by using qemu-system-arm after building completely qemu

$ qemu-system-arm -machine help

Quickly Started

  • run
$ cd armv8m-hello
$ make
$ make qemu
  • debug qemu with kernel.elf
$ make
$ make gdbqemu
  • debug kernel.elf in qemu

a terminal for the gdb server

$ make
$ make gdbserver

a terminal for gdb

$ make gdb

About

Say "hello world" to mps2-an505 with cortex-m33 in QEMU

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published