码迷,mamicode.com
首页 > 系统相关 > 详细

Install Linux Kernel - 通用标准

时间:2015-01-24 06:50:33      阅读:193      评论:0      收藏:0      [点我收藏+]

标签:

一、通用标准

 

 

1.1 修改Makefile

(1)   arch

    ARCH            ?=arm

(2)   corss_compile
CROSS_COMPILE ?= /home/at91/x-tools/arm-softfp-linux-gnueabi/bin/arm-softfp-linux-gnueabi-

 

 

1.2 安装mkimage

$sudo apt-getinstall uboot-mkimage

 

1.3 执行make

$make clean

$make <Soc_defconfig>             #at91sam9260ek_defconfig for instance

$make menuconfig*

$make uImage

 

 

  * 更改默认硬件驱动时,执行此步。

 

 

 

 

 

 

 

 

 

 

 

关于zImage和uImage

 

 

zImage:

  执行:Go命令(U-boot)

  缺点:需要手动设置相关参数,才能加载

 

uImage:

  执行:Bootm命令(U-boot)

  优点:自动加载

 

Install Linux Kernel - 通用标准

标签:

原文地址:http://blog.csdn.net/xiaobin_hlj80/article/details/43080003

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!