Create a simple program, compile and run on the target:
- Create a new directory ~/test1
- Create a new source file ex1.c – print simple hello world
- compile using ARM toolchain:
1 |
# arm-none-linux-gnueabi-gcc -o app1 ./ex1.c |
- Copy the application to the target folder:
1 |
# cp ./app ~/armsystem/outfs |
- run the qemu emulator:
1 2 |
# cd ~/armsystem # sudo ./run_qemu |
The password for developer is 12345
In the emulator shell run the application:
1 2 |
# cd / # ./app |