Comment 2 for bug 1039299

Revision history for this message
Ryan Harkin (ryanharkin) wrote :

I had trouble finding Akira's notes on setting up a network bridge, so now I've found it, I want to summarise it here:

Install bridge-utils
    $sudo apt-get install bridge-utils

Before setting-up tap bridge network for the FastModels, apply the attached "ModelNetworking_setup_sh_Linaro_1.patch"
    $cd FastModelsPortfolio_7.1/ModelNetworking
    $patch -p1 < ModelNetworking_setup_sh_Linaro_1.patch

Follow the instruction from chapter 2.13 of ARM's FastModel user guide:
    http://infocenter.arm.com/help/topic/com.arm.doc.dui0370n/DUI0370N_fast_model_ug.pdf
    $./add_adapter_64.sh

[follow the prompts, they should be self explanatory]

You can either start/stop the bridge each time you run the model, or you can start it when you boot your computer and leave it running of you do a lot of model work

$sudo service FMNetwork start

Start FastModels with these extra parameters:
    -C motherboard.hostbridge.interfaceName=ARM$USER \
    -C motherboard.smsc_91c111.enabled=1 \
    -C motherboard.smsc_91c111.mac_address=auto

Then, to shut down the bridge:
    $sudo service FMNetwork stop

If you leave the bridge running, it will not re-start automatically when you reboot your computer.