uClinux 2.6.21 on LPC22XX / LPC2468

uClinux 2.6.21 on LPC22XX / LPC2468

Download and Install the snapgear tool chain (gcc 3.4.4)

In the Embedded Artists wmware image, download the following tool chain:

In terminal do the following:

  • $su
  • Password: root
  • $cd /
  • $tar zxvf <downloadpath>/arm-linux-tools-20061213.tar.gz
  • $exit

Download the sources

Setup the sources

  • 1) Untar the uClinux snapshop and remove the kernels

tar -zxvf <downloadpath>/uClinux-dist-20070130.tar.gz rm -r uClinux-dist/linux-2.0.x rm -r uClinux-dist/linux-2.4.x rm -r uClinux-dist/linux-2.6.x

  • 2) Make a new linux-2.6.x kernel from scratch

tar -jxvf <downloadpath>/linux2.6.21.tar.bz2 gzip -dc <downloadpath>/linux-2.6.21-uc0-big.patch.gz | patch -p0 cat <downloadpath>/linux-2.6.21-uc0-lpc2468.diff|patch -p0 mv linux-2.6.21 uClinux-dist/linux-2.6.x

  • 3) Install the BSP for LPC2468

tar -zxvf <downloadpath>/uClinux-bsp-lpc2468.tar.gz

Compile the kernel using the default setup

NOTE: For Embedded Artists LPC2468 OEM Board users: - The image is located uClinux-dist/linux2.6.x/arch/arm/boot/Image - The romfs is located uClinux-dist/images/romfs.img

- image has to be loaded @a0008000 - romfs has to be loaded @a1800000

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值