REQUIREMENTS:
-------------

1. VR9 requires arc toolset 8.2. Please install the tool under the recommended
folder name

    C:\hcarc_8.2

This folder name is required when running VDSL build bat files.
For ADSL, this name is optional.

2. environment variable ARCDIR has to be set to the installed dir; in this example,

    set ARCDIR=C:\hcarc_8.2

3. a perl distribution must be installed on your system, since the build
process relies on lots of perl scripts.




HOW TO BUILD:
-------------
This build info is specific to VR9 build. For more general information about ARC build,
please read build_readme.txt.


1. how to build ADSL-only image
-------------------------------

1a. To build VR9 POTS, change directory to arc_bld\modem and
run the bat file

    build_vr9_hw_adsl.bat

1b. To build VR9 ISDN, change directory to arc_bld\modem and
run the bat file

    build_vr9_b_hw_adsl.bat

The result of the build is the single ADSL-only image located in

    arc_bld\modem\obj\ModemHWE.bin(.out)

Also, the single image build will create two image components that will
be used to build the combined ADSL-VDSL image:

Note that the two ADSL image components:
    arc_bld\modem\obj\adsl_cpe_cache.bin and adsl_cpe_non_cache.bin
generated by these two bat files CANNOT be used for combined image building.



2. how to build ADSL-VDSL image
-------------------------------

The combined image building process will assume that the VDSL-only
images have already been created. The VCPE images will have to be copied to

    arc_bld\modem\obj\vcpe

By default, the sandbox should already contain a checked-in version of these vcpe
image files.

2a. To build combined VR9 with ADSL POTS, change directory to arc_bld\modem and
run the bat file

    build_vr9_hw.bat

1b. To build combined VR9 with ADSL ISDN, change directory to arc_bld\modem and
run the bat file

    build_vr9_b_hw.bat

The result of the build is the single ADSL-only image located in

    arc_bld\modem\obj\adsl_vdsl_cpe.bin and ModemHWE.out (for ADSL only symbols)

Also, this build will create two image components that CAN be used to build the
combined ADSL-VDSL image later:
    arc_bld\modem\obj\adsl_cpe_cache.bin and adsl_cpe_non_cache.bin

