首先准备了一大轮,最後还是有问题。
内核准备,2.6.13(S3C2440准备好),支持USB设备、WIFI等。
网卡驱动的移植,编译什麽不费多大劲,CC、LD、CFLAG等的改几下。
然後,找一个dhcp(dhcp-3.1.3),其实只要当中的client。make -C=arm-linux-gcc。
iwconfig wlan0 poweron on
iwconfig wlan0 mode managed
iwconfig wlan0 rate auto
iwconfig wlan0 ap 00:18:4d:7e:e0:74
iwconfig wlan0 essid shuangxi
iwconfig wlan0 key off
dhclient wlan0
注意:虽然工作顺利,但未成功的。
kernel BUG at kernel/timer.c:317!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 805 [#1]
Modules linked in: r8187l
CPU: 0
PC is at __bug+0x40/0x54
LR is at 0x1
pc : [<c00320a4>] lr : [<00000001>] Not tainted
sp : c2c63f24 ip : 60000093 fp : c2c63f34
r10: c3e8d128 r9 : c33ac220 r8 : 80000013
r7 : c3e8d120 r6 : 0000066e r5 : ffff59d3 r4 : 00000000
r3 : 00000000 r2 : 00000000 r1 : c2c62000 r0 : 00000001
Flags: nZCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: C000717F Table: 33DB0000 DAC: 00000017
Process Ieee80211/0 (pid: 319, stack limit = 0xc2c62194