linux内存根文件系统,在linux中,内核和根文件系统是怎么联系起来的?

内核编译自写hello world驱程序弄BBBinsmod,于现今主角---Invaild module format

种情况原般编译驱用内核发板内核版本参见

家说要重新编译内核我哪甘重新编译明明已经编译编译直接代替行

于拿折腾gentoo精神

BBB启内核/boot/uimage,编译内核文件3.8.13-beaglebone-zImage.uImage

uboot专用内核格式需要zImage转换uImage即-用mkimage命令uboot/tool找

转换命令mkimage -A arm -O linux -T kernel -C none -a 0x80007fc0 -e 0x80008000 -n Angstrom/3.8.13/beaglebone -d 3.8.13-bone33.1.zImage uImage-3.8.13

uImage-3.8.13放/boot//boot目录相关文件修改即编译内核候deploy目录几压缩文件其解压相应目录即

mkimage 参数参考未修改前uboot启打印信息

## Booting kernel from Legacy Image at 80007fc0 ...

Image Name: Angstrom/3.8.13/beaglebone

Image Type: ARM Linux Kernel Image (uncompressed)

Data Size: 3361616 Bytes = 3.2 MiB

Load Address: 80007fc0

Entry Point: 80008000

Verifying Checksum ... OK

## Flattened Device Tree blob at 80f80000

Booting using the fdt blob at 0x80f80000

XIP Kernel Image ... OK

OK

Using Device Tree in place at 80f80000, end 80f89133

Starting kernel ...

模块insmoddmesg | tail,切

取消

评论

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值