Part 0 Preparatory knowledge
0.1 Key Parameters
0.1.1 Development Board Description
OK6410 is a development board released by Feiling. There are currently two versions, OK6410-A and OK6410-B. I am currently using the former. The former has also been upgraded, so there are 128M ram and newer 256 memory versions. The nand flash size is also different. The current new one is 4G. The memory size will affect the mmu part of the code in the smdk6410.c file during compilation. It will be mentioned later. You can refer to the content of the u-boot file provided by Feiling.
0.1.2 Processor Description
The development board uses Samsung's s3c6410 processor. The instruction set used by cup is: arm1176jzf-s, which belongs to armv6zk (when using gcc, it can be specified by -march=armv6zk). For more correspondence, please refer to: ARM instruction set version and ARM version;
0.2 Environment construction and data preparation
0.2.1 Development Environment Setup
System version: Ubuntu12.10
Install related compilation tools:
sudo apt-get install build-essential gcc-arm-linux-gnueabi
Here I use the gcc-arm-linux-gnueabi series of tools contained in the Ubuntu system source. After installation, the following tools are available:
arm-linux-gnueabi-addr2line arm-linux-gnueabi-gcc arm-linux-gnueabi-gprof arm-linux-gnueabi-ranlib
arm-linux-gnueabi-ar arm-linux-gnueabi-gcc-4.7 arm-linux-gnueabi-ld arm-linux-gnueabi-readelf
arm-linux-gnueabi-as arm-linux-gnueabi-gcc-ar-4.7 arm-linux-gnueabi-ld.bfd arm-linux-gnueabi-size
arm-linux-gnueabi-c++filt arm-linux-gnueabi-gcc-nm-4.7 arm-linux-gnueabi-ld.gold arm-linux-gnueabi-strings
arm-linux-gnueabi-cpp arm-linux-gnueabi-gcc-ranlib-4.7 arm-linux-gnueabi-nm arm-linux-gnueabi-strip
arm-linux-gnueabi-cpp-4.7 arm-linux-gnueabi-gcov arm-linux-gnueabi-objcopy
arm-linux-gnueabi-elfedit arm-linux-gnueabi-gcov-4.7 arm-linux-gnueabi-objdump
Note that when using make to compile the source code, set the CROSS_COMPILE parameter to: arm-linux-gnueabi-
make CROSS_COMPILE=arm-linux-gnueabi-
0.2.2 Related source code preparation
The relevant information provided by Feiling is in the CD, and can also be downloaded from the following website: OK6410, TE6410 development board CD download link
Focus on the original Samsung data and the uboot1.1.6 compiled by Hefei Ling:
Samsung original data.rar
http://dl.vmall.com/c0ek7spz04
u-boot official latest version:
wget ftp://ftp.denx.de/pub/u-boot/u-boot-2012.10.tar.bz2
Other versions can be found in this directory: ftp://ftp.denx.de/pub/u-boot
[Description:] The subsequent work mainly uses Samsung's original uboot and Feiling's organized uboot as the subject matter, and integrates them into the latest version of the official uboot; finally, it is tested on the ok6410 development board;
Previous article:Ubuntu12.10 uses JLink to connect the development board and uses arm-gdb to debug ARM programs
Next article:Boost download, installation, compilation, configuration and usage guide (including Windows, Linux and ARM Linux)
Recommended ReadingLatest update time:2024-11-15 15:36
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- CPU (Computer) Load Monitor
- UWB: The first choice for indoor positioning
- IoT architecture and five major communication protocols
- How NFC and RFID are used in the apparel industry
- Smart electricity opens the door to more efficient electricity use in homes and buildings
- MSP430 MCU GPIO Programming Tutorial
- RFID
- Basketball Countdown Case
- Thoughts on White Snake: Origin
- 2022 Digi-Key Innovation Design Competition Unboxing