시뮬레이터 설정(.systemsim.tcl) 방법

최영호 2007.06.22 18:39 조회 수 : 11890 추천:121

■ Cell Simulator config(.systemsim.tcl) 설정 방법

- Multi Processor 설정 방법

    $ vi .systemsim.tcl

        # Call the config_hook proc if it is defined to modify the config
        if {[string length [info procs config_hook]] > 0} {
            config_hook myconf
        }

        # Uncomment the following line for dual BE configuration support
        config_dual_be myconf

- Bogus Disk 설정 방법

    $ vi .systemsim.tcl

        # newcow를 사용하여 시뮬레이터에서 변경한 내용이 실제 파일에 적용 안되는 예
        # Setup the bogus disk that Linux will use
        mysim bogus disk init 0 udev_disk2G.img newcow sysroot_disk.cow 1024
        mysim bogus disk init 1 udev_disk2G.img newcow sysroot_disk1.cow 1024

        # 시뮬레이터에서 변경한 내용이 실제 파일에 적용 되는 예
        # Setup the bogus disk that Linux will use
        mysim bogus disk init 0 udev_disk2G.img rw
        mysim bogus disk init 1 udev_disk2G.img rw


- Bogus Network 설정 방법

    $ vi .systemsim.tcl

        # Uncomment the line below to enable bogus network support
        bogusnet::init 172.20.0

- Fast boot 설정 방법

    $ vi .systemsim.tcl

        mysim fast on
        mysim go
XE Login