Skip to content

Commit c28f9df

Browse files
committed
Merge branch 'mini2440-nxt' into all-in-one
2 parents e77cf16 + 14dadc8 commit c28f9df

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

mini2440/README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# mini2440
2+
3+
## 编译器版本
4+
5+
gcc version 4.3.2 (Sourcery G++ Lite 2008q3-72)
6+
7+
## uboot
8+
9+
### 代码和补丁
10+
11+
u-boot-2012.04.01
12+
patch -p1 < mini2440_uboot20120401.patch
13+
14+
### 编译
15+
16+
make mini2440_config
17+
18+
### 烧写到norflash(使用norflash启动开发板)
19+
20+
下载u-boot.bin到sdram
21+
22+
loady 32000000
23+
24+
烧写到norflash
25+
26+
protect off all
27+
erase 0 7ffff
28+
cp.b 32000000 0 80000
29+
30+
### 设置启动参数
31+
32+
set machid 7cf ;set bootargs console=ttySAC0,115200 root=/dev/nfs nfsroot=192.168.1.100:/export/nfs_rootfs ip=192.168.1.230:192.168.1.100:192.168.1.1:255.255.255.0::eth0:off ;nfs 30000000 192.168.1.100:/export/nfs_rootfs/uImage;bootm 30000000
33+
34+
## kernel
35+
36+
### 代码和补丁
37+
38+
linux-3.4.2
39+
patch -p1 < linux-3.4.2_camera_mini2440.patch
40+
41+
### 编译
42+
43+
mkdir out
44+
make ARCH=arm CROSS_COMPILE=arm-linux- mini2440_defconfig O=out
45+
make ARCH=arm CROSS_COMPILE=arm-linux- O=out -j8 uImage

0 commit comments

Comments
 (0)