生成镜像
1. U-boot
生成u-boot.bin文件
(1) Makefile
ifeq ($(ARCH),arm)
CROSS_COMPILE =
endif
改动为
ifeq ($(ARCH),arm)
CROSS_COMPILE =/opt/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-
endif
(2) make
V1.1.5
$make mrproper
$make at91sam9260ek_config
$make dep
$make
V1.3.4
$make distclean
$make at91sam9260ek_config
$make dep
$make
2. Kernel
(1) Makefile
ARCH ?
=arm
CROSS_COMPILE ?=/home/at91/x-tools/arm-softfp-linux-gnueabi/bin/arm-softfp-linux-gnueabi-
(2) make menuconfig
配置NFSclient和LXT物理层芯片。
1) CONFIG_IP_PNP_DHCP
Networking support à
Networking options à
[*] IP: kernel levelautoconfiguration
[*] IP: DHCPsupport
[*] IP: BOOTPsupport
2)CONFIG_ROOT_NFS
File systems à
Network File Systems à
[*] Root file systemon NFS
3) otherNetworking options
Networking support à
Networking options à
[*] INET: socketmonitoring interface
4) Network Device options
Device Drivers à
Networkdevice support à
PHYDevice support and infrastructure à
<*>Drivers for the Intel LXT PHYs
(3) make
在运行第二个命令时,须要u-boot的mkimage。安装:
#apt-get installuboot-mkimage
#make
#make uImage