-
Notifications
You must be signed in to change notification settings - Fork 45
/
移植所有驱动到3.4.2内核去
29 lines (20 loc) · 1.82 KB
/
移植所有驱动到3.4.2内核去
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
移植:
1. 编译
2. 解决错误
2.1 头文件不对:去掉或改名
2.2 宏不对:改名使用新宏
2.3 有些函数没有了:改名使用新函数
mount -t nfs -o nolock,vers=2 192.168.1.123:/work/nfs_root/fs_mini_mdev_new /mnt
nfs 30000000 192.168.1.123:/work/nfs_root/uImage_net_new; bootm 30000000
set bootargs console=ttySAC0,115200 root=/dev/nfs nfsroot=192.168.1.123:/work/nfs_root/fs_mini_mdev_new ip=192.168.1.17:192.168.1.123:192.168.1.1:255.255.255.0::eth0:off
nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>
nfs 30000000 192.168.1.123:/work/nfs_root/uImage_nolcd; bootm 30000000
nfs 30000000 192.168.1.123:/work/nfs_root/uImage_i2c; bootm 30000000
nfs 30000000 192.168.1.123:/work/nfs_root/uImage_nonand; bootm 30000000
set machid 16a
tslib:
/usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/usr/include/linux/input.h
#define EV_VERSION 0x010000
改为
#define EV_VERSION 0x010001