QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1811|回复: 1

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

[复制链接]
发表于 2010-4-5 23:22:44 | 显示全部楼层 |阅读模式
这是制作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,接下来就是直接运行。请问有什么对的地方呢?
 楼主| 发表于 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 = 0xc0008000  size = 0x000003c0.
load section .init: addr = 0xc00083c0  size = 0x00020c40.
load section .text: addr = 0xc0029000  size = 0x002b417c.
load section __ksymtab: addr = 0xc02de000  size = 0x00004670.
load section __ksymtab_gpl: addr = 0xc02e2670  size = 0x00001440.
load section __ksymtab_gpl_future: addr = 0xc02e3ab0  size = 0x00000018.
load section __ksymtab_strings: addr = 0xc02e3ac8  size = 0x0000d128.
load section __param: addr = 0xc02f0bf0  size = 0x00000578.
load section .data: addr = 0xc02f2000  size = 0x00021b18.
not load section .bss: addr = 0xc0313b20  size = 0x0002cff8 .
not load section .comment: addr = 0x00000000  size = 0x00003102 .
not load section .debug_line: addr = 0x00000000  size = 0x00153b80 .
not load section .debug_info: addr = 0x00000000  size = 0x015ea244 .
not load section .debug_abbrev: addr = 0x00000000  size = 0x000bda15 .
not load section .debug_aranges: addr = 0x00000000  size = 0x00007268 .
not load section .debug_pubnames: addr = 0x00000000  size = 0x0002017d .
not load section .debug_str: addr = 0x00000000  size = 0x00091eae .
not load section .debug_frame: addr = 0x00000000  size = 0x0005ebe8 .
not load section .debug_loc: addr = 0x00000000  size = 0x0021419a .
not load section .debug_ranges: addr = 0x00000000  size = 0x000696d0 .
call ARMul_InitSymTable,kernel filename is vmlinux.
start addr is set to 0xc0008000 by exec file.
这是运行的信息,
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-3-29 08:17 , Processed in 0.050364 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表