Linux 3.3.5 system porting
-
Copy mach-smdk6410.c under arch/arm/mach-s3c6410/ to mach-my6410.c;
-
Open Kconfig under arch/arm/mach-s3c6410/ and make a menu item based on MACH_SMDK6410:
config MACH_MY6410
bool "MY6410"
select CPU_S3C6410
select SAMSUNG_DEV_ADC
select S3C_DEV_HSMMC
select S3C_DEV_HSMMC1
select S3C_DEV_I2C1
select SAMSUNG_DEV_IDE
select S3C_DEV_FB
select S3C_DEV_RTC
select SAMSUNG_DEV_TS
select S3C_DEV_USB_HOST
select S3C_DEV_USB_HSOTG
select S3C_DEV_WDT
select SAMSUNG_DEV_BACKLIGHT
select SAMSUNG_DEV_KEYPAD
select SAMSUNG_DEV_PWM
select HAVE_S3C2410_WATCHDOG if WATCHDOG
select S3C64XX_SETUP_SDHCI
select S3C64XX_SETUP_I2C1
select S3C64XX_SETUP_IDE
select S3C64XX_SETUP_FB_24BPP
select S3C64XX_SETUP_KEYPAD
help
Machine support for the Pillar MY6410
-
Open the arch/arm/tools/mach-types file. The machine ID stored here must be consistent with the ID in uboot. Copy line 283 and add it to the back and modify it to:
smdk6410 MACH_SMDK6410 SMDK6410 1626
xx6410 MACH_XX6410 XX6410 1626 The kernel can be started only when this machine ID is the same as the machine ID in UBOOT;
-
Modify the BSP file mach-my6410.c, the content is as follows:
Change all smdk6410 in the mach-mach-my6410.c file to my6410 (do not capitalize SMDK6410)
MACHINE_START(MY6410, "MY6410") //This should match MACH-MY6410 in Kconfig
-
Add obj-$(CONFIG_MACH_MY6410) += mach-my6410.o to the last line of Makefile in the current directory
-
Modify the top-level Makefile:
ARCH ?= arm
CROSS_COMPILE ?= /usr/local/arm/4.2.2-eabi/usr/bin/arm-linux-
-
Copy the s3c6400-defconfig file in arch/arm/configs/, save it as .config, configure the kernel to support EABI, select XX6410 board, save and exit;
-
Execute make menuconfig to configure the kernel:
Previous article:Learning to control LED code
Next article:2440, 6410, 210 memory interface comparison
- 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(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
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- PCB Capacitor and Resistor Failure Analysis
- Miss Dong said: My air conditioner can generate electricity. Me: Huh? How? I don't quite believe it.
- Python3 Basic Tutorial (Complete Version)
- Live broadcast at 14:00 this afternoon [Start your next-generation 4K display application design with TI DLP technology]
- [Home Smart Lighting Control and Indoor Environment Monitoring System]--2. Play with RSL10-COIN-GEVB
- [RISC-V MCU CH32V103 Review] + ADC analog watchdog
- I2C Range Extension Reference Design: I2C to CAN
- Application of Aigtek power amplifier in performance study of electrokinetic migration-capture-release of Pb-contaminated municipal sludge
- Recently, the project department has taken on a new project, which requires the performance indicators of IC to meet industrial requirements. Can someone recommend...
- I would like to ask for advice from all the experts. How can a fully enclosed metal shell increase the signal strength of NB?