CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 8173|回复: 0

内核编译、替换模块、安装sd卡系统

[复制链接]
发表于 2014-9-25 11:07:47 | 显示全部楼层 |阅读模式
本帖最后由 蓝天-彭 于 2014-9-25 12:15 编辑

一 编译
1 拷贝配置文件
cp  cb1_kernel_defconfig      kernel-source/.config
(拷贝自己对应的cb1,cb2,ct)

2 编译内核驱动

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage modules

3 安装驱动模块
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=output modules_install

4 拷贝output下的驱动模块3.4.79到 板子上
PC目录: kernel-source/output/lib/modules/3.4.79
板子目录:/lib/modules/



二 dd卡固件到卡里面  ,例如dd cb2卡固件。卡固件在ftp下载
sudo dd if=cb-a20-lubuntu-desktop-card-v105.img of=/dev/sdX bs=1M   (sbX对应自己的卡的节点)
sync

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-4-16 18:43 , Processed in 0.019877 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部