ARM (Advanced RISC Machine) คืออะไร คือ Microprocessor แบบ RISC นั่นเอง เป็นที่นิยมใช้ใน อุปกรณ์เล็ก ๆ เช่น เกมส์บอย มือถือ PDA เยอะแยะมากมาย กินไฟน้อย.. พวก ARM CORE ทั้งหลายนั้นแตกแขนง Licence ไปหลายยี่ห้อ หลายชื่อ intel , marvell , atmel , sumsung , ti ... อ่านไม่หมดเยอะจัดมีหลายรุ่น ต้องไปนั่งรื้อฟื้นความจำสมัย z80, MCS51(ตัวนี้เพื่อนใช้หากินจนถอย วีโก้ไปแล้ว) ที่เคยเรียนมา ทั้งหมดทั้งหลายที่สนใจ ARM ขึ้นมาเพราะอยากเอามันมาลง BSD ให้ได้หรือ Linux ซึ่งอยากทำมาก ๆ(เพื่อนหลายคนเก่งๆ ทำแล้วอยากทำมั่ง)
สรุปแล้วที่ต้องมีคือ
- ARM9 dev board(แพงหูฉี่) ถ้าไม่มีเอา Qemu ลงแทน อยู่ใน /usr/ports/emulators/ (ถ้าเลือกช่อง kqemu เพื่อเพิ่ม speed อ่านมาจาก kitty.in.th ต้องใช้ Kernel source สำหรับ option นี้)
- Toolchian ประกอบด้วย binutils + compiler (ขาดอะไรมั่งหว่า)
- /usr/ports/devel/arm-elf-binutils (เกี่ยวกับ ELF)
- /usr/ports/devel/arm-elf-gcc295
- /usr/ports/devel/gdb53
เราก็จะได้โปรแกรมคร่าว ๆ ดังนี้ หลัก ๆ
* arm-elf-as - the GNU assembler.
และมีคำสั่งโปรแกรม
* arm-elf-addr2line - Converts addresses into filenames and line numbers.
* arm-elf-ar - A utility for creating, modifying and extracting from archives.
* arm-elf-c++filt - Filter to demangle encoded C++ symbols.
* arm-elf-gprof - Displays profiling information.
* arm-elf-nlmconv - Converts object code into an NLM.
* arm-elf-nm - Lists symbols from object files.
* arm-elf-objcopy - Copys and translates object files.
* arm-elf-objdump - Displays information from object files.
* arm-elf-protize - ***
* arm-elf-ranlib - Generates an index to the contents of an archive.
* arm-elf-readelf - Displays information from any ELF format object file.
* arm-elf-size - Lists the section sizes of an object or archive file.
* arm-elf-strings - Lists printable strings from files.
* arm-elf-strip - Discards symbols.
* arm-elf-unprotoize - ***
edit @ 2007/01/13 02:22:51