[Skyeye-developer] Freeing init memory
wyx
darvu at 163.com
Thu Apr 26 21:25:41 CST 2007
I have compiled the linux-2.6.21 with the crosstool(gcc-3.4.5 and glibc-2.3.6). and my skyeye.conf looks like
------------------------------
[t1 at wx5 s3c2410]$ cat skyeye.conf
#skyeye config file sample
cpu: arm920t
mach: s3c2410x
#physical memory
#mem_bank: map=M, type=RW, addr=0x20000000, size=0x01000000
mem_bank: map=M, type=RW, addr=0x30000000, size=0x01000000, file=./vmlinux,boot=yes
mem_bank: map=M, type=RW, addr=0x31000000, size=0x01400000, file=./initrd.img
mem_bank: map=M, type=RW, addr=0x32400000, size=0x01c00000
#all peripherals I/O mapping area
#mem_bank: map=I, type=RW, addr=0xfefa0000, size=0x00060000
mem_bank: map=I, type=RW, addr=0x48000000, size=0x20000000
#mem_bank: map=I, type=RW, addr=0x19000300, size=0x00000020
net: type=cs8900a, base=0x19000300, size=0x20,int=9, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
#lcd:type=s3c2410x,mod=gtk
dbct:state=on
_________________________________________
But when i run it as follows i get a hung up situation like below
______________________
[t1 at wx5 s3c2410]$ skyeye -e vmlinux
arch: arm
cpu info: armv4, arm920t, 41009200, ff00fff0, 2
mach info: name s3c2410x, mach_init addr 0x807c3d8
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
tapif_init:open: Permission denied
-----------------------------------------------------------
NOTICE: you should be root at first !!!
NOTICE: you should inmod linux kernel net driver tun.o!!!
NOTICE: if you don't make device node, you should do commands:
NOTICE: mkdir /dev/net; mknod /dev/net/tun c 10 200
NOTICE: now the net simulation function can not support!!!
NOTICE: Please read SkyEye.README and try again!!!
-----------------------------------------------------------
dbct info: turn on dbct!
uart_mod:0, desc_in:, desc_out:
SKYEYE: use arm920t mmu ops
Loaded RAM ./vmlinux
Loaded RAM ./initrd.img
dbct translate block use memory 0x03ffff03 bytes.
exec file "vmlinux"'s format is elf32-little.
load section .init: addr = 0xc0008000 size = 0x00019000.
load section .text: addr = 0xc0021000 size = 0x001ca780.
not load section .rodata: addr = 0xc01ec000 size = 0x00000000 .
not load section .pci_fixup: addr = 0xc01ec000 size = 0x00000000 .
not load section .rio_route: addr = 0xc01ec000 size = 0x00000000 .
not load section __ksymtab: addr = 0xc01ec000 size = 0x00000000 .
not load section __ksymtab_gpl: addr = 0xc01ec000 size = 0x00000000 .
not load section __ksymtab_unused: addr = 0xc01ec000 size = 0x00000000 .
not load section __ksymtab_unused_gpl: addr = 0xc01ec000 size = 0x00000000 .
not load section __ksymtab_gpl_future: addr = 0xc01ec000 size = 0x00000000 .
not load section __kcrctab: addr = 0xc01ec000 size = 0x00000000 .
not load section __kcrctab_gpl: addr = 0xc01ec000 size = 0x00000000 .
not load section __kcrctab_unused: addr = 0xc01ec000 size = 0x00000000 .
not load section __kcrctab_unused_gpl: addr = 0xc01ec000 size = 0x00000000 .
not load section __kcrctab_gpl_future: addr = 0xc01ec000 size = 0x00000000 .
load section __param: addr = 0xc01ec000 size = 0x000003d4.
load section .data: addr = 0xc01ee000 size = 0x0001a868.
not load section .bss: addr = 0xc0208880 size = 0x0001890c .
not load section .comment: addr = 0x00000000 size = 0x000022e0 .
start addr is set to 0x30000000 by exec file.
Linux version 2.6.20.1 (t1 at wx5) (gcc version 3.4.5) #11 Thu Apr 26 21:04:42 CST 2007
CPU: ARM920T [41009200] revision 0 (ARMvundefined/unknown), cr=00003177
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
S3C24XX 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. Total pages: 16256
Kernel command line: root=01:00 rw console=ttySAC0 init=/linuxrc initrd=0x31000000,0x01400000 mem=64M
PID hash table entries: 256 (order: 8, 1024 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: 64MB = 64MB total
Memory: 42240KB available (1840K code, 204K data, 100K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
Registering sysclass
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
NET: Registered protocol family 16
S3C2410: Initialising architecture
0: xdreq0, channels 0---
1: xdreq1, channels -1--
2: sdi, channels 0-23
3: spi0, channels -1--
4: spi1, channels ---3
5: uart0, channels 0---
6: uart1, channels -1--
7: uart2, channels ---3
8: timer, channels 0-23
9: i2s-sdi, channels -12-
10: i2s-sdo, channels --2-
11: <NULL>, channels ----
12: <NULL>, channels ----
13: <NULL>, channels ----
14: usb-ep1, channels 0---
15: usb-ep2, channels -1--
16: usb-ep3, channels --2-
17: usb-ep4, channels ---3
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 20480K
NetWinder Floating Point Emulator V0.97 (extended precision)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
ERROR: s3c2410x_io_write_word(0x53000004) = 0x0000ff0a
ERROR: s3c2410x_io_write_word(0x53000000) = 0xffff6fff
ERROR: s3c2410x_io_write_word(0x53000000) = 0xffffffde
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
s3c2410-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
RAMDISK driver initialized: 16 RAM disks of 20480K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
dm9000 Ethernet Driver
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
aoe: AoE v32 initialised.
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 1
VFP support v0.3: not present
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 15360KiB [1 disk] into ram disk... done.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 100K
_______________________
Any help will be appreciated!
More information about the Skyeye-developer
mailing list