Next: arm32 embedded environment, Up: (dir) [Contents]
This manual is for program, version version.
• arm32 embedded environment: |
sudo apt-get install qemu
sudo apt-get insatll gcc-arm-linux-gnueabi sudo apt-get install libc6-dev-armel-cross
git clone https://github.com/sys-build/embedded_env_arm32.git
arm-linux-gnueabi-as -o test.o test.s arm-linux-gnueabi-ld -Ttext=0x0 -o test.elf test.o arm-linux-gnueabi-nm test.elf arm-linux-gnueabi-objcopy -O binary test.elf test.bin dd if=/dev/zero of=flash.bin bs=4096 count=4096 dd if=test.bin of=flash.bin bs=4096 conv=notrunc
qemu-system-arm -M connex -pflash flash.bin -nographic -serial /dev/null
help // help info info registers // review registers quit // quit xp /fmt address // dump memory system_reset // reset