QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6906|回复: 0

如何根据编译出来的romfs,配置对应的mem_bank?

[复制链接]
发表于 2014-9-7 17:07:52 | 显示全部楼层 |阅读模式
我用的是uClinux2008,skyeye模拟的是at91x40, 编译uClinux得到的Romfs输出如下:
0    ROMdisk              [0xffffffff, 0xffffffff] 37777777777, sz     0, at 0x0     
1    .                    [0x801     , 0x152ef   ] 0040755, sz     0, at 0x20   
1    ..                   [0x801     , 0x16      ] 0040775, sz     0, at 0x40     [link to 0x20    ]
1    bin                  [0x801     , 0x152f0   ] 0040755, sz     0, at 0x60   
2    boa                  [0x801     , 0x15335   ] 0100744, sz 102124, at 0x80   
2    login                [0x801     , 0x1533c   ] 0100744, sz 50492, at 0x18f90
2    telnetd              [0x801     , 0x15343   ] 0100744, sz 45024, at 0x254f0
2    thdm                 [0x801     , 0x15345   ] 0100744, sz 102940, at 0x304f0
2    init                 [0x801     , 0x1533a   ] 0100744, sz 35144, at 0x49730
2    reboot               [0x801     , 0x15342   ] 0100744, sz 26488, at 0x520a0
2    bcdm                 [0x801     , 0x15346   ] 0100744, sz 106300, at 0x58840
2    dhcpcd               [0x801     , 0x15336   ] 0100744, sz 85344, at 0x727a0
2    gdbserver            [0x801     , 0x15337   ] 0100744, sz 33720, at 0x87520
2    expand               [0x801     , 0x15339   ] 0100744, sz 22600, at 0x8f900
2    ..                   [0x801     , 0x152ef   ] 0040755, sz     0, at 0x95170  [link to 0x20    ]
2    mtdm                 [0x801     , 0x15344   ] 0100744, sz 105756, at 0x95190
2    .                    [0x801     , 0x152f0   ] 0040755, sz     0, at 0xaeed0  [link to 0x60    ]
2    inetd                [0x801     , 0x15338   ] 0100744, sz 35864, at 0xaeef0
2    sh                   [0x801     , 0x15341   ] 0100744, sz 78860, at 0xb7b30
2    ping                 [0x801     , 0x1533f   ] 0100744, sz 62544, at 0xcaf60
1    tmp                  [0x801     , 0x2e97    ] 0120777, sz     8, at 0xda3d0
1    home                 [0x801     , 0x152f3   ] 0040755, sz     0, at 0xda400
2    ..                   [0x801     , 0x152ef   ] 0040755, sz     0, at 0xda420  [link to 0x20    ]
2    .                    [0x801     , 0x152f3   ] 0040755, sz     0, at 0xda440  [link to 0xda400 ]
1    mnt                  [0x801     , 0x152f5   ] 0040755, sz     0, at 0xda460
2    ..                   [0x801     , 0x152ef   ] 0040755, sz     0, at 0xda480  [link to 0x20    ]
2    .                    [0x801     , 0x152f5   ] 0040755, sz     0, at 0xda4a0  [link to 0xda460 ]
1    lib                  [0x801     , 0x152f4   ] 0040755, sz     0, at 0xda4c0
2    ..                   [0x801     , 0x152ef   ] 0040755, sz     0, at 0xda4e0  [link to 0x20    ]
2    .                    [0x801     , 0x152f4   ] 0040755, sz     0, at 0xda500  [link to 0xda4c0 ]
1    proc                 [0x801     , 0x152f6   ] 0040755, sz     0, at 0xda520
2    ..                   [0x801     , 0x152ef   ] 0040755, sz     0, at 0xda540  [link to 0x20    ]
2    .                    [0x801     , 0x152f6   ] 0040755, sz     0, at 0xda560  [link to 0xda520 ]
1    dev                  [0x801     , 0x152f1   ] 0040755, sz     0, at 0xda580
2    ttyp6                [0x801     , 0x15327   ] 0020620, sz     0, at 0xda5a0
2    ttyp3                [0x801     , 0x15324   ] 0020620, sz     0, at 0xda5c0
2    rom1                 [0x801     , 0x15312   ] 0060644, sz     0, at 0xda5e0
2    ttypc                [0x801     , 0x1532d   ] 0020620, sz     0, at 0xda600
2    rom0                 [0x801     , 0x15311   ] 0060644, sz     0, at 0xda620
2    ttypa                [0x801     , 0x1532b   ] 0020620, sz     0, at 0xda640
2    rom3                 [0x801     , 0x15314   ] 0060644, sz     0, at 0xda660
2    ptypc                [0x801     , 0x1530d   ] 0020620, sz     0, at 0xda680
2    tty3                 [0x801     , 0x1531e   ] 0020644, sz     0, at 0xda6a0
2    console              [0x801     , 0x2e9a    ] 0020644, sz     0, at 0xda6c0
2    rom8                 [0x801     , 0x15319   ] 0060644, sz     0, at 0xda6e0
2    zero                 [0x801     , 0x15331   ] 0020644, sz     0, at 0xda700
2    cua0                 [0x801     , 0x12916   ] 0020644, sz     0, at 0xda720
2    ttypf                [0x801     , 0x15330   ] 0020620, sz     0, at 0xda740
2    rom4                 [0x801     , 0x15315   ] 0060644, sz     0, at 0xda760
2    ttyp2                [0x801     , 0x15323   ] 0020620, sz     0, at 0xda780
2    rom5                 [0x801     , 0x15316   ] 0060644, sz     0, at 0xda7a0
2    ptype                [0x801     , 0x1530f   ] 0020620, sz     0, at 0xda7c0
2    cua1                 [0x801     , 0x12970   ] 0020644, sz     0, at 0xda7e0
2    ttyp5                [0x801     , 0x15326   ] 0020620, sz     0, at 0xda800
2    ttyS1                [0x801     , 0x15320   ] 0020620, sz     0, at 0xda820
2    tty1                 [0x801     , 0x1531c   ] 0020644, sz     0, at 0xda840
2    rom2                 [0x801     , 0x15313   ] 0060644, sz     0, at 0xda860
2    ttype                [0x801     , 0x1532f   ] 0020620, sz     0, at 0xda880
2    ptyp9                [0x801     , 0x1530a   ] 0020620, sz     0, at 0xda8a0
2    ttyp8                [0x801     , 0x15329   ] 0020620, sz     0, at 0xda8c0
2    random               [0x801     , 0x15332   ] 0020644, sz     0, at 0xda8e0
2    ttyp4                [0x801     , 0x15325   ] 0020620, sz     0, at 0xda900
2    ptyp7                [0x801     , 0x15308   ] 0020620, sz     0, at 0xda920
2    ttypd                [0x801     , 0x1532e   ] 0020620, sz     0, at 0xda940
2    ptyp5                [0x801     , 0x15306   ] 0020620, sz     0, at 0xda960
2    urandom              [0x801     , 0x15333   ] 0020644, sz     0, at 0xda980
2    ptyp6                [0x801     , 0x15307   ] 0020620, sz     0, at 0xda9a0
2    ptypf                [0x801     , 0x15310   ] 0020620, sz     0, at 0xda9c0
2    mem                  [0x801     , 0x12983   ] 0020644, sz     0, at 0xda9e0
2    ram1                 [0x801     , 0x15300   ] 0060644, sz     0, at 0xdaa00
2    rom6                 [0x801     , 0x15317   ] 0060644, sz     0, at 0xdaa20
2    ttyp9                [0x801     , 0x1532a   ] 0020620, sz     0, at 0xdaa40
2    ptyp4                [0x801     , 0x15305   ] 0020620, sz     0, at 0xdaa60
2    tty2                 [0x801     , 0x1531d   ] 0020644, sz     0, at 0xdaa80
2    kmem                 [0x801     , 0x152fa   ] 0020644, sz     0, at 0xdaaa0
2    ptypb                [0x801     , 0x1530c   ] 0020620, sz     0, at 0xdaac0
2    ttyp1                [0x801     , 0x15322   ] 0020620, sz     0, at 0xdaae0
2    ..                   [0x801     , 0x152ef   ] 0040755, sz     0, at 0xdab00  [link to 0x20    ]
2    tty                  [0x801     , 0x2e98    ] 0020644, sz     0, at 0xdab20
2    rom9                 [0x801     , 0x1531a   ] 0060644, sz     0, at 0xdab40
2    ttyp7                [0x801     , 0x15328   ] 0020620, sz     0, at 0xdab60
2    ptypd                [0x801     , 0x1530e   ] 0020620, sz     0, at 0xdab80
2    ttyp0                [0x801     , 0x15321   ] 0020620, sz     0, at 0xdaba0
2    ttyS0                [0x801     , 0x1531f   ] 0020620, sz     0, at 0xdabc0
2    tty0                 [0x801     , 0x1531b   ] 0020644, sz     0, at 0xdabe0
2    ptypa                [0x801     , 0x1530b   ] 0020620, sz     0, at 0xdac00
2    ptyp8                [0x801     , 0x15309   ] 0020620, sz     0, at 0xdac20
2    ram0                 [0x801     , 0x152ff   ] 0060644, sz     0, at 0xdac40
2    ptyp1                [0x801     , 0x15302   ] 0020620, sz     0, at 0xdac60
2    .                    [0x801     , 0x152f1   ] 0040755, sz     0, at 0xdac80  [link to 0xda580 ]
2    rom7                 [0x801     , 0x15318   ] 0060644, sz     0, at 0xdaca0
2    ttypb                [0x801     , 0x1532c   ] 0020620, sz     0, at 0xdacc0
2    ptyp0                [0x801     , 0x15301   ] 0020620, sz     0, at 0xdace0
2    ptyp2                [0x801     , 0x15303   ] 0020620, sz     0, at 0xdad00
2    null                 [0x801     , 0x152fb   ] 0020644, sz     0, at 0xdad20
2    ptyp3                [0x801     , 0x15304   ] 0020620, sz     0, at 0xdad40
1    var                  [0x801     , 0x152f9   ] 0040755, sz     0, at 0xdad60
2    ..                   [0x801     , 0x152ef   ] 0040755, sz     0, at 0xdad80  [link to 0x20    ]
2    .                    [0x801     , 0x152f9   ] 0040755, sz     0, at 0xdada0  [link to 0xdad60 ]
1    usr                  [0x801     , 0x152f8   ] 0040755, sz     0, at 0xdadc0
2    ..                   [0x801     , 0x152ef   ] 0040755, sz     0, at 0xdade0  [link to 0x20    ]
2    .                    [0x801     , 0x152f8   ] 0040755, sz     0, at 0xdae00  [link to 0xdadc0 ]
1    etc                  [0x801     , 0x152f2   ] 0040755, sz     0, at 0xdae20
2    passwd               [0x801     , 0x15334   ] 0100644, sz    21, at 0xdae40
2    inetd.conf           [0x801     , 0x1534a   ] 0100644, sz    44, at 0xdae80
2    inittab              [0x801     , 0x5f05    ] 0100644, sz    49, at 0xdaed0
2    ramfs.img            [0x801     , 0x15340   ] 0100644, sz  2874, at 0xdaf30
2    motd                 [0x801     , 0x12915   ] 0100644, sz   343, at 0xdba90
模块有点多,如果用testsuite里面的skyeye.conf配置是不行的,内存貌似没有配置完,想知道怎么根据上面的输出配置相应的skyeye.conf
如果用默认的话,对应下面的输出:
SKYEYE:NumInstrs 35911024, mem_write_byte addr = 1c00000 no bank
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

© 2021 Powered by Discuz! X3.5.

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