linux-2.6.30.4移植至2440开发板

This article details the process of porting Linux kernel version 2.6.30.4 to a S3C2440 development board, including steps like downloading source code, adding ARM support, modifying clock settings, configuring the kernel, adapting to NandFlash and Yaffs2 file systems, and troubleshooting issues encountered during the process." 123216900,11809196,安卓DropdownMenu实现与下拉筛选详解,"['移动开发', 'Android', 'UI设计']
摘要由CSDN通过智能技术生成

linux-2.6.30.4移植至2440开发板经验谈

 一、下载linux-2.6.30.4源码,并解压

ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.4.tar.gz

tar zxvf linux-2.6.30.4.tar.gz

二、在系统中添加对ARM的支持

$vim Makefile

193#ARCH ?= $(SUBARCH)

 194#CROSS_COMPILE ?=

 195 ARCH=arm

 196 CROSS_COMPILE=arm-linux-

三、修改系统时钟

$vim arch/arm/mach-s3c2440/mach-smdk2440.c

系统的外部时钟为12MHz

 160static void __init smdk2440_map_io(void)

 161{

 162s3c24xx_init_io(smdk2440_iodesc,ARRAY_SIZE(smdk2440_iodesc));

 163//s3c24xx_init_clocks(16934400);

 164//edit by

 165 s3c24xx_init_clocks(12000000);

 166s3c24xx_init_uarts(smdk2440_uartcfgs,ARRAY_

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值