Building the linux kernel Image

本文介绍如何从嵌入式系统的内核目录构建内核镜像,包括使用make命令进行配置、依赖构建、创建内核及根文件系统镜像等步骤。文中详细列举了所需的make子命令,并说明了构建过程产生的三种不同类型的镜像及其用途。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Building the Image
From the kernel directory, type in the following commands to build a
kernel image:
make menuconfig
make dep
make zImage
make modules
make modules_install
make jffs_rootfs
make jffs_image11
Three images are created with the build process and they are listed
below:
nk_jffs_flash.bin this image will flash the entire system
(kernel and rootfs)
nk_kernel.bin this image will be loaded to RAM and
thecodewill runfromRAM.
nk_kernel_flash.bin this image will flash the kernel, but not
the rootfs.
10.2 Flashing the image
1) Rename the image file to nk.bin and place on an ATA flash card
2) Boot the Accelent IDP with the ATA flash card inserted
3) The image will be transferred to the RAM or flash depending on
the image

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值