用skyeye1.2.4配置linux2.6.14的启动代码
# skyeye -e vmlinuxbig_endian is false.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x808131c
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM ./initrd.img
exec file "vmlinux"'s format is elf32-little.
load section .init: addr = 0xc0008000size = 0x00017000.
load section .text: addr = 0xc001f000size = 0x0017a234.
not load section .pci_fixup: addr = 0xc0199234size = 0x00000000 .
not load section __ksymtab: addr = 0xc0199234size = 0x00000000 .
not load section __ksymtab_gpl: addr = 0xc0199234size = 0x00000000 .
not load section __kcrctab: addr = 0xc0199234size = 0x00000000 .
not load section __kcrctab_gpl: addr = 0xc0199234size = 0x00000000 .
load section __param: addr = 0xc0199234size = 0x00000280.
load section .data: addr = 0xc019a000size = 0x0002fe50.
not load section .bss: addr = 0xc01c9e60size = 0x00015900 .
not load section .comment: addr = 0x00000000size = 0x00001c9e .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0008000 by exec file.
Linux version 2.6.14 ([email protected]) (gcc version 3.4.1) #6 Thu Mar 13 13:09:56 CST 2008
CPU: ARM920Tid(wb) revision 0 (ARMvundefined/unknown)
Machine: SMDK2410
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410 (id 0x32410000)
S3C2410: core 62.400 MHz, memory 62.400 MHz, peripheral 62.400 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: mem=32M console=ttySAC0 root=/dev/ram initrd=0xc0800000,0x00800000 ramdisk_size=2048 rw
PID hash table entries: 256 (order: 8, 4096 bytes)
timer tcon=00000000, tcnt cb1f, tcfg 00000200,00000000, usec 0000189e
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB = 32MB total
Memory: 22272KB available (1513K code, 277K data, 92K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
softlockup thread 0 started up.
Freeing initrd memory: 8192K
NET: Registered protocol family 16
S3C2410: Initialising architecture
Console: switching to colour frame buffer device 80x25
fb0: Virtual frame buffer device, using 1024K of video memory
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 2048K size 1024 blocksize
loop: loaded (max 8 devices)
Cirrus Logic CS8900A driver for Linux (Modified for SMDK2410)
eth0: CS8900A rev D at 0xe0000300 irq=53, no eeprom , addr: 08: 0:3E:26:0A:5B
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 2048KiB into ram disk... done.
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 92K
init started:BusyBox v1.4.1 (2007-02-10 01:19:06 CST) multi-call binary
Starting pid 16, console /dev/console: '/etc/init.d/rcS'
Welcome to
_ _____ __ __ _ _
/ \ /__ \ /\_/\| | |_|
/ _ \ | || |/ /\ /\ \ | | _ _____ ___
/ /_\ \| |__| | / /\_/\ \| | | |_ \| | | |\ \/ /
/ /___\ \ | |__\ \ | | | || |___ | | |_| | |_| |/ \
/_/ \_\| | \_\|_| |_||_____||_|_| |_|\____|\_/\_/
ARMLinux for Skyeye
For further information please check:
http://www.skyeye.org/
BusyBox v1.4.1 (2007-02-10 01:19:06 CST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
/bin/ash: can't access tty; job control turned off
/ $ That should be the bug of SkyEye. If no tun module on your host is found ,SkyEye should report some warnning information like "can not insmod tun module" # skyeye -e vmlinux
big_endian is false.
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x808131c
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
uart_mod:0, desc_in:, desc_out:, converter:
SKYEYE: use arm920t mmu ops
Loaded RAM ./initrd.img
exec file "vmlinux"'s format is elf32-little.
load section .init: addr = 0xc0008000size = 0x00017000.
load section .text: addr = 0xc001f000size = 0x0017b4c8.
not load section .pci_fixup: addr = 0xc019a4c8size = 0x00000000 .
not load section __ksymtab: addr = 0xc019a4c8size = 0x00000000 .
not load section __ksymtab_gpl: addr = 0xc019a4c8size = 0x00000000 .
not load section __kcrctab: addr = 0xc019a4c8size = 0x00000000 .
not load section __kcrctab_gpl: addr = 0xc019a4c8size = 0x00000000 .
load section __param: addr = 0xc019a4c8size = 0x00000280.
load section .data: addr = 0xc019c000size = 0x00030100.
not load section .bss: addr = 0xc01cc100size = 0x00015900 .
not load section .comment: addr = 0x00000000size = 0x00001cb0 .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0008000 by exec file.
Linux version 2.6.14 ([email protected]) (gcc version 3.4.1) #7 Thu Mar 13 17:44:44 CST 2008
CPU: ARM920Tid(wb) revision 0 (ARMvundefined/unknown)
Machine: SMDK2410
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410 (id 0x32410000)
S3C2410: core 62.400 MHz, memory 62.400 MHz, peripheral 62.400 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: mem=32M console=ttySAC0 root=/dev/ram initrd=0xc0800000,0x00800000 ramdisk_size=2048 rw
PID hash table entries: 256 (order: 8, 4096 bytes)
timer tcon=00000000, tcnt cb1f, tcfg 00000200,00000000, usec 0000189e
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB = 32MB total
Memory: 22272KB available (1517K code, 278K data, 92K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
softlockup thread 0 started up.
Freeing initrd memory: 8192K
NET: Registered protocol family 16
S3C2410: Initialising architecture
Console: switching to colour frame buffer device 80x25
fb0: Virtual frame buffer device, using 1024K of video memory
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 2048K size 1024 blocksize
loop: loaded (max 8 devices)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
Cirrus Logic CS8900A driver for Linux (Modified for SMDK2410)
eth0: CS8900A rev D at 0xe0000300 irq=53, no eeprom , addr: 08: 0:3E:26:0A:5B
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 2048KiB into ram disk... done.
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 92K
init started:BusyBox v1.4.1 (2007-02-10 01:19:06 CST) multi-call binary
Starting pid 16, console /dev/console: '/etc/init.d/rcS'
Welcome to
_ _____ __ __ _ _
/ \ /__ \ /\_/\| | |_|
/ _ \ | || |/ /\ /\ \ | | _ _____ ___
/ /_\ \| |__| | / /\_/\ \| | | |_ \| | | |\ \/ /
/ /___\ \ | |__\ \ | | | || |___ | | |_| | |_| |/ \
/_/ \_\| | \_\|_| |_||_____||_|_| |_|\____|\_/\_/
ARMLinux for Skyeye
For further information please check:
http://www.skyeye.org/
BusyBox v1.4.1 (2007-02-10 01:19:06 CST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
/bin/ash: can't access tty; job control turned off
/ $ ping -c 2 10.0.0.1
PING 10.0.0.1 (10.0.0.1): 56 data bytes
#
已经加上了tun,可还是不能在skyeye与虚拟机之间ping通。。。 还请高手指教! 试试ifdown eth0
problem
ding, I have meet the same problem 在WINDOWS环境下使用网络的步骤1。要将TAP和本地的连接建立桥连。方法:进入网络连接,选中TAP和本地连接,然后点击右键,选择桥连即可
2。将linux-2.6.14的IP配置为WINDOWS的本地连接的同网段,比如192。168。0。×
3。skyeye1.2.4的版本的TAP网络速度可能有点慢
回复 #3 albert198511 的帖子
我是说让你在主机的linux里面加tun,并不是说在skyeye上的linux加tun模块回复 #7 ksh 的帖子
嗯 您是说在linux里直接加入tun模块,而非在编译的内核设置中加入,是吗?我按照skyeye常见问题解答中的说明,设置如下:
# mknod /dev/net/tun c 10 200
mknod: ‘/dev/net/tun’: 文件已存在
# ll /dev/net/tun
crw-------1 root root 10, 2003月 26 03:09 /dev/net/tun
# insmod /lib/modules/2.6.9-5.EL/kernel/drivers/net/tun.ko
insmod: error inserting '/lib/modules/2.6.9-5.EL/kernel/drivers/net/tun.ko': -1 File exists
不知道是不是正确。。。 请您指点! 谢谢
安装报错
环境:Redhat 9arm-elf- 2.95.3
-----------------------------------------------报错信息-------------------------------------------------------------------------
ranlib binary/libppc.a
gcc -g -O2 -D_FILE_OFFSET_BITS=64 -DSTANDALONE -DDEFAULT_INLINE=0 -DMODET-DMODET -I arch/arm -I arch/arm/common -I arch/arm/common/mmu -I arch/arm/mach -I arch/bfin/common -I arch/bfin/mach -I arch/coldfire/common -I device -I device/net -I device/lcd -I device/flash -I device/uart -I utils -I utils/share -I utils/main -I utils/config -I utils/debugger-DARM-I. -DGTK_LCD -o binary/skyeye binary/skyeye.o \
--start-group -Lbinary -larm -ldev -lutils -lbfin -lcoldfire -lmips -lppc-lbfd -liberty --end-group-Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
binary/libppc.a(ppc_mmu.o)(.text+0x26a): In function `ppc_mmu_set_sdr1':
arch/ppc/common/ppc_mmu.c:240: undefined reference to `prom_quiesce'
collect2: ld returned 1 exit status
make: *** Error 1
---------------帮忙讲解一下---谢谢了-----------------
安装skyeye-0.8.5 不会报错。 还有就是能不能在0.8.5的基础上升级安装。 comment out prom_quiesce in arch/ppc/common/ppc_mmu.c:240
页:
[1]