如何根据编译出来的romfs,配置对应的mem_bank?
我用的是uClinux2008,skyeye模拟的是at91x40, 编译uClinux得到的Romfs输出如下:0 ROMdisk 37777777777, sz 0, at 0x0
1 . 0040755, sz 0, at 0x20
1 .. 0040775, sz 0, at 0x40
1 bin 0040755, sz 0, at 0x60
2 boa 0100744, sz 102124, at 0x80
2 login 0100744, sz 50492, at 0x18f90
2 telnetd 0100744, sz 45024, at 0x254f0
2 thdm 0100744, sz 102940, at 0x304f0
2 init 0100744, sz 35144, at 0x49730
2 reboot 0100744, sz 26488, at 0x520a0
2 bcdm 0100744, sz 106300, at 0x58840
2 dhcpcd 0100744, sz 85344, at 0x727a0
2 gdbserver 0100744, sz 33720, at 0x87520
2 expand 0100744, sz 22600, at 0x8f900
2 .. 0040755, sz 0, at 0x95170
2 mtdm 0100744, sz 105756, at 0x95190
2 . 0040755, sz 0, at 0xaeed0
2 inetd 0100744, sz 35864, at 0xaeef0
2 sh 0100744, sz 78860, at 0xb7b30
2 ping 0100744, sz 62544, at 0xcaf60
1 tmp 0120777, sz 8, at 0xda3d0
1 home 0040755, sz 0, at 0xda400
2 .. 0040755, sz 0, at 0xda420
2 . 0040755, sz 0, at 0xda440
1 mnt 0040755, sz 0, at 0xda460
2 .. 0040755, sz 0, at 0xda480
2 . 0040755, sz 0, at 0xda4a0
1 lib 0040755, sz 0, at 0xda4c0
2 .. 0040755, sz 0, at 0xda4e0
2 . 0040755, sz 0, at 0xda500
1 proc 0040755, sz 0, at 0xda520
2 .. 0040755, sz 0, at 0xda540
2 . 0040755, sz 0, at 0xda560
1 dev 0040755, sz 0, at 0xda580
2 ttyp6 0020620, sz 0, at 0xda5a0
2 ttyp3 0020620, sz 0, at 0xda5c0
2 rom1 0060644, sz 0, at 0xda5e0
2 ttypc 0020620, sz 0, at 0xda600
2 rom0 0060644, sz 0, at 0xda620
2 ttypa 0020620, sz 0, at 0xda640
2 rom3 0060644, sz 0, at 0xda660
2 ptypc 0020620, sz 0, at 0xda680
2 tty3 0020644, sz 0, at 0xda6a0
2 console 0020644, sz 0, at 0xda6c0
2 rom8 0060644, sz 0, at 0xda6e0
2 zero 0020644, sz 0, at 0xda700
2 cua0 0020644, sz 0, at 0xda720
2 ttypf 0020620, sz 0, at 0xda740
2 rom4 0060644, sz 0, at 0xda760
2 ttyp2 0020620, sz 0, at 0xda780
2 rom5 0060644, sz 0, at 0xda7a0
2 ptype 0020620, sz 0, at 0xda7c0
2 cua1 0020644, sz 0, at 0xda7e0
2 ttyp5 0020620, sz 0, at 0xda800
2 ttyS1 0020620, sz 0, at 0xda820
2 tty1 0020644, sz 0, at 0xda840
2 rom2 0060644, sz 0, at 0xda860
2 ttype 0020620, sz 0, at 0xda880
2 ptyp9 0020620, sz 0, at 0xda8a0
2 ttyp8 0020620, sz 0, at 0xda8c0
2 random 0020644, sz 0, at 0xda8e0
2 ttyp4 0020620, sz 0, at 0xda900
2 ptyp7 0020620, sz 0, at 0xda920
2 ttypd 0020620, sz 0, at 0xda940
2 ptyp5 0020620, sz 0, at 0xda960
2 urandom 0020644, sz 0, at 0xda980
2 ptyp6 0020620, sz 0, at 0xda9a0
2 ptypf 0020620, sz 0, at 0xda9c0
2 mem 0020644, sz 0, at 0xda9e0
2 ram1 0060644, sz 0, at 0xdaa00
2 rom6 0060644, sz 0, at 0xdaa20
2 ttyp9 0020620, sz 0, at 0xdaa40
2 ptyp4 0020620, sz 0, at 0xdaa60
2 tty2 0020644, sz 0, at 0xdaa80
2 kmem 0020644, sz 0, at 0xdaaa0
2 ptypb 0020620, sz 0, at 0xdaac0
2 ttyp1 0020620, sz 0, at 0xdaae0
2 .. 0040755, sz 0, at 0xdab00
2 tty 0020644, sz 0, at 0xdab20
2 rom9 0060644, sz 0, at 0xdab40
2 ttyp7 0020620, sz 0, at 0xdab60
2 ptypd 0020620, sz 0, at 0xdab80
2 ttyp0 0020620, sz 0, at 0xdaba0
2 ttyS0 0020620, sz 0, at 0xdabc0
2 tty0 0020644, sz 0, at 0xdabe0
2 ptypa 0020620, sz 0, at 0xdac00
2 ptyp8 0020620, sz 0, at 0xdac20
2 ram0 0060644, sz 0, at 0xdac40
2 ptyp1 0020620, sz 0, at 0xdac60
2 . 0040755, sz 0, at 0xdac80
2 rom7 0060644, sz 0, at 0xdaca0
2 ttypb 0020620, sz 0, at 0xdacc0
2 ptyp0 0020620, sz 0, at 0xdace0
2 ptyp2 0020620, sz 0, at 0xdad00
2 null 0020644, sz 0, at 0xdad20
2 ptyp3 0020620, sz 0, at 0xdad40
1 var 0040755, sz 0, at 0xdad60
2 .. 0040755, sz 0, at 0xdad80
2 . 0040755, sz 0, at 0xdada0
1 usr 0040755, sz 0, at 0xdadc0
2 .. 0040755, sz 0, at 0xdade0
2 . 0040755, sz 0, at 0xdae00
1 etc 0040755, sz 0, at 0xdae20
2 passwd 0100644, sz 21, at 0xdae40
2 inetd.conf 0100644, sz 44, at 0xdae80
2 inittab 0100644, sz 49, at 0xdaed0
2 ramfs.img 0100644, sz2874, at 0xdaf30
2 motd 0100644, sz 343, at 0xdba90
模块有点多,如果用testsuite里面的skyeye.conf配置是不行的,内存貌似没有配置完,想知道怎么根据上面的输出配置相应的skyeye.conf
如果用默认的话,对应下面的输出:
SKYEYE:NumInstrs 35911024, mem_write_byte addr = 1c00000 no bank
页:
[1]