diff --git a/ports/armv7a/README b/ports/armv7a/README new file mode 100644 index 0000000..eaa4f2e --- /dev/null +++ b/ports/armv7a/README @@ -0,0 +1,12 @@ +CROSS_COMPILE=/opt/arm-2009q3/bin/arm-none-eabi- +export CROSS_COMPILE + +qemu-system-arm -M realview-pb-a8 -serial stdio -kernel build/kern2.elf + +Following are the steps to add new board under armv7a port: +1. Create a directory under ports/armv7a with name +2. Add linker.ld in ports/armv7a/ (similar to the one in ports/armv7a/pb-a8) +3. Add arm_pic.h, arm_timer.h, and arm_uart.h in ports/armv7a/ (similar to the one in ports/armv7a/pb-a8) +4. Add .c files in ports/armv7a/ to implement the board specific functions expected in arm_pic.h, arm_timer.h, and arm_uart.h +5. Add Makefile in ports/armv7a/ (similar to the one in ports/armv7a/pb-a8) to build board specific objects corresponding to the .c files added in step 4. +5. To build atomthreads for board use following command "make BOARD=" with ports/armv7a as current directory.