yyxl 发表于 2010-4-5 23:22:44

如何将制作好的cramfs的文件系统在skyeye下运行呢?

这是制作cramfs文件系统步骤“
$ cd ${PRJROOT}/kernel/linux-2.4.18/scripts/cramfs
$ make
Now, copy the tools to an appropriate directory:

$ cp cramfsck mkcramfs ${PREFIX}/bin/
You can now create a CRAMFS image of your target's root filesystem:

$ cd ${PRJROOT}
$ mkcramfs rootfs/ images/cramfs.img      
bin
boot
dev
etc
lib
linuxrc
proc
sbin
tmp
usr
'bin':
addgroup
...
'boot':
boot.b
...
'sbin':
chroot
Directory data: 6484 bytes
166.67% (+15 bytes)   addgroup
-31.46% (-2196 bytes)   allinone
-40.27% (-240 bytes)    arch
185.71% (+13 bytes)   ash
...
-49.60% (-3700 bytes)   wall
-49.54% (-695 bytes)    include
Everything: 3560 kilobytes
Super block: 76 bytes
CRC: f18594b6
warning: gids truncated to 8 bits.(This may be a security concern.)
请问下面下一步如何使用呢?我的操作是将生成的.cramfs直接复制到目录下然后将vmlinux放进去编译skyeye.conf,接下来就是直接运行。请问有什么对的地方呢?

yyxl 发表于 2010-4-6 11:24:03

Your elf file is little endian.
ethmod num=1, mac addr=0:4:3:2:1:f, hostip=10.0.0.1
uart_mod:0, desc_in:, desc_out:, converter:
Loaded RAM   ./cramfs.img
exec file "vmlinux"'s format is elf32-little.
load section .text.head: addr = 0xc0008000size = 0x000003c0.
load section .init: addr = 0xc00083c0size = 0x00020c40.
load section .text: addr = 0xc0029000size = 0x002b417c.
load section __ksymtab: addr = 0xc02de000size = 0x00004670.
load section __ksymtab_gpl: addr = 0xc02e2670size = 0x00001440.
load section __ksymtab_gpl_future: addr = 0xc02e3ab0size = 0x00000018.
load section __ksymtab_strings: addr = 0xc02e3ac8size = 0x0000d128.
load section __param: addr = 0xc02f0bf0size = 0x00000578.
load section .data: addr = 0xc02f2000size = 0x00021b18.
not load section .bss: addr = 0xc0313b20size = 0x0002cff8 .
not load section .comment: addr = 0x00000000size = 0x00003102 .
not load section .debug_line: addr = 0x00000000size = 0x00153b80 .
not load section .debug_info: addr = 0x00000000size = 0x015ea244 .
not load section .debug_abbrev: addr = 0x00000000size = 0x000bda15 .
not load section .debug_aranges: addr = 0x00000000size = 0x00007268 .
not load section .debug_pubnames: addr = 0x00000000size = 0x0002017d .
not load section .debug_str: addr = 0x00000000size = 0x00091eae .
not load section .debug_frame: addr = 0x00000000size = 0x0005ebe8 .
not load section .debug_loc: addr = 0x00000000size = 0x0021419a .
not load section .debug_ranges: addr = 0x00000000size = 0x000696d0 .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0008000 by exec file.
这是运行的信息,
页: [1]
查看完整版本: 如何将制作好的cramfs的文件系统在skyeye下运行呢?