beaglebone black更换内核版本,还需要做一个新的根文件系统吗

2025-04-09 11:55:22
推荐回答(1个)
回答1:

内核编译自写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,切