Problems building a boot loader - VxWorks

This is a discussion on Problems building a boot loader - VxWorks ; Hi all I have recently upgraded to VxWorks 6.6 and I am trying to build a boot loader for a Pentium target. I have modified the BSP to include an AMD NIC, otherwise no changes have been made. I have ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Problems building a boot loader

  1. Problems building a boot loader

    Hi all

    I have recently upgraded to VxWorks 6.6 and I am trying to build a
    boot loader for a Pentium target. I have modified the BSP to include
    an AMD NIC, otherwise no changes have been made. I have created a boot
    loader/BSP project from within the Workbench. I have cleaned and
    rebuilt this project.

    The build eventually fails after having issued a lot of warnings (see
    build output below). Has anyone got an idea what I am doing wrong?

    Best regards,

    Troels Jensen

    -----------------

    BUILD OUTPUT:
    dld -o tmp.2 -tPENTIUMLH:vxworks66 -X -N -Xgenerate-paddr -e sysInit
    \
    -D_VX_START_TEXT=0x00108000 tmp.1 ctdt.o -D_VX_DATA_ALIGN=1 \
    C:/WindRiver/vxworks-6.6/target/h/tool/diab/ldscripts/link.RAM
    dld: warning: Undefined symbol 'netDevCreate' in file 'tmp.1'
    dld: warning: Undefined symbol 'remCurIdGet' in file 'tmp.1'
    dld: warning: Undefined symbol 'sockLibInit' in file 'tmp.1'
    dld: warning: Undefined symbol 'muxDevUnload' in file 'tmp.1'
    dld: warning: Undefined symbol 'netDrv' in file 'tmp.1'
    dld: warning: Undefined symbol 'remCurIdSet' in file 'tmp.1'
    ..
    ..
    ..

    dld: warning: Undefined symbol 'ipAttach' in file 'tmp.1'
    dld: warning: Undefined symbol 'netTaskStackSize' in file 'tmp.1'
    dld: error: Undefined symbols found - no output written
    make.exe[1]: *** [bootapp.Z.s] Error 1
    rm ipcom_ipdomain
    make.exe[1]: Leaving directory `C:/WindRiver/vxworks-6.6/target/config/
    pcPentium'
    C:\WindRiver\workbench-3.0\x86-win32\bin\make.exe: *** [bootloader]
    Error 2
    Build Failed in Project 'BootLoader' (Process Exit Value was 2):
    2008-06-30 10:35:12 (Elapsed Time: 00:46)

  2. Re: Problems building a boot loader

    Hi Troels,

    I have seen this before. The bootroms in the latest vxWorks release
    use a cut down 'basic' networking stack, which needs to be built
    before it can be used.

    Unfortunately this isn't documented anywhere in the release notes.

    You will need to open a development shell, change directory to target/
    src, then type make CPU= TOOL=

    This should build the basic networking stack.

    HTH

    Ed

    Ed Liversidge
    Director
    Harmonic Software Systems Ltd
    www.harmonicss.co.uk

    On Jun 30, 5:12 am, Troels Jensen
    wrote:
    > Hi all
    >
    > I have recently upgraded to VxWorks 6.6 and I am trying to build a
    > boot loader for a Pentium target. I have modified the BSP to include
    > an AMD NIC, otherwise no changes have been made. I have created a boot
    > loader/BSP project from within the Workbench. I have cleaned and
    > rebuilt this project.
    >
    > The build eventually fails after having issued a lot of warnings (see
    > build output below). Has anyone got an idea what I am doing wrong?
    >
    > Best regards,
    >
    > Troels Jensen
    >
    > -----------------
    >
    > BUILD OUTPUT:
    > dld -o tmp.2 -tPENTIUMLH:vxworks66 -X -N -Xgenerate-paddr -e sysInit
    > \
    > -D_VX_START_TEXT=0x00108000 tmp.1 ctdt.o -D_VX_DATA_ALIGN=1 \
    > C:/WindRiver/vxworks-6.6/target/h/tool/diab/ldscripts/link.RAM
    > dld: warning: Undefined symbol 'netDevCreate' in file 'tmp.1'
    > dld: warning: Undefined symbol 'remCurIdGet' in file 'tmp.1'
    > dld: warning: Undefined symbol 'sockLibInit' in file 'tmp.1'
    > dld: warning: Undefined symbol 'muxDevUnload' in file 'tmp.1'
    > dld: warning: Undefined symbol 'netDrv' in file 'tmp.1'
    > dld: warning: Undefined symbol 'remCurIdSet' in file 'tmp.1'
    > .
    > .
    > .
    >
    > dld: warning: Undefined symbol 'ipAttach' in file 'tmp.1'
    > dld: warning: Undefined symbol 'netTaskStackSize' in file 'tmp.1'
    > dld: error: Undefined symbols found - no output written
    > make.exe[1]: *** [bootapp.Z.s] Error 1
    > rm ipcom_ipdomain
    > make.exe[1]: Leaving directory `C:/WindRiver/vxworks-6.6/target/config/
    > pcPentium'
    > C:\WindRiver\workbench-3.0\x86-win32\bin\make.exe: *** [bootloader]
    > Error 2
    > Build Failed in Project 'BootLoader' (Process Exit Value was 2):
    > 2008-06-30 10:35:12 (Elapsed Time: 00:46)



+ Reply to Thread