1. Download the kernel source code linux-2.6.34 and unzip it to the working directory.
2. First add a SOC to the kernel, copy mach-smdk6410.c to mach-ok6410.c under /arch/arm/mach-s3c64xx
Modify mach-ok6410.c and replace smdk6410 with ok6410 and SMDK6410 with OK6410
:1,$s/smdk6410/ok6410/g
Modify the Makefile in this directory
obj-$(CONFIG_MACH_OK6410) += mach-ok6410.o
Modify the Kconfig in this directory
Increase
config MACH_OK6410 bool "OK6410" select CPU_S3C6410 select S3C_DEV_HSMMC select S3C_DEV_HSMMC1 select S3C_DEV_I2C1 select S3C_DEV_FB select S3C_DEV_USB_HOST select S3C_DEV_USB_HSOTG select S3C64XX_SETUP_SDHCI select S3C64XX_SETUP_I2C1 select S3C64XX_SETUP_FB_24BPP help Machine support for the Samsung OK6410
3. Modify the /arch/arm/mach-types file, add the ok6410 machine information, and require the machine code to be consistent with that in uboot.
ok6410 MACH_OK6410 OK6410 1626
4. Configure the kernel and select OK6410 to compile and complete the initial transplantation
Previous article:Symptom: After arm is started, the application interface displays...
Next article:Porting OK6410 LCD driver
- 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
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- 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
- Building ESP32-C3 development environment based on window Visual Studio Code ESP-IDF 2
- Understanding damper actuators and what drives them in automotive HVAC systems
- [TI recommended course] #Live replay: Application of TI millimeter wave sensors in smart home#
- Anti-reverse connection design for low power consumption Anti-reverse connection and anti-backflow circuit design,,,,
- Three relays control two motors through a single chip microcomputer
- [GD32450I-EVAL] Unpack and power on to build a development environment
- 【Drawing board experience】 PCB design skills of switching power supply
- The history and concept of radio and its key technologies
- Help
- Failed experience of using BlueNRG-1 to make a BLE chicken-eating tool