|
我先编译vivi:
make menuconfig
我load了arch/def-configs/smdk2410
make
在vivi下生成了一个vivi文件,我用超级终端将它烧写到nand flash中
编译内核
make xconfig
load了arch/arm/def-configs/edukit-2410-nand
保存退出。
make dep
make clean
make zImage
在arch/arm/boot/下生成了一个zImage
我把它烧写到nand flah中。
文件系统:
mkcramfs $WORKDIR/root-qtopia-china root-qtopia-china.cramfs
把它烧写之后,启动开发班:
我自己编译的内核,烧写之后:
9f80: 00000000 c02e9fac c02e9f94 c0011960 c0012494 c001a4e0 c01ca99c c0199338
9fa0: c02e9fbc c02e9fb0 c000f1cc c00118b0 c02e9fd0 c02e9fc0 c0008870 c000f1a0
9fc0: 00000000 c02e9fe0 c02e9fd4 c00088b8 c0008868 c02e9ff4 c02e9fe4 c001b064
9fe0: c000889c 00000000 00000000 c02e9ff8 c001ca30 c001b064 c02e9ff8 c06f9ff8
Backtrace:
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
r5 = 00000000 r4 = 00000001
Function entered at [] from []
Function entered at [] from []
Function entered at [] from []
r5 = 00000000 r4 = 00000000
Function entered at [] from []
r6 = C0199338 r5 = C01CA99C r4 = C001A4E0
Function entered at [] from []
Function entered at [] from []
r4 = 00000000
Function entered at [] from []
Function entered at [] from []
r4 = 00000000
Code: e1a00006 e58630fc ebffff3c e59630d4 (e5933024)
Kernel panic: Attempted
我用配套光盘中的zImge替代之后:
我自己编译的文件系统root-qtopia-china.cramfs烧写之后:
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver usb_mouse
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver keyboard
usbkbd.c: :USB HID Boot Protocol keyboard driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Mounted root (cramfs filesystem).
Mounted devfs on /dev
Freeing init memory: 76K
Kernel panic: No init found. Try passing init= option to kernel. |
|