ROM resident image...? - VxWorks

This is a discussion on ROM resident image...? - VxWorks ; Hi all Am trying to boot a rom resident image on MIPS based board on vxworks 6.1 it fails to boot...? Am a newbee to vxWorks, i need few help/suggestions to fix this problem. I have defined #define LOCAL_MEM_SIZE 0x08000000 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: ROM resident image...?

  1. ROM resident image...?

    Hi all

    Am trying to boot a rom resident image on MIPS based board on vxworks
    6.1
    it fails to boot...?

    Am a newbee to vxWorks, i need few help/suggestions to fix this
    problem.

    I have defined

    #define LOCAL_MEM_SIZE 0x08000000 /* 128 Meg */
    #define ROM_TEXT_ADRS 0x9fc00000 /* base address of ROM */
    #define ROM_BASE_ADRS 0x9fc00000
    #define ROM_SIZE 0x00400000 /* 4 MB ROM space */
    #define ROM_WARM_ADRS (ROM_TEXT_ADRS+8) /* warm reboot entry */
    #define ROM_COPY_SIZE \
    (ROM_SIZE - ((0x20000000 | ROM_TEXT_ADRS) - (0x20000000 |
    ROM_BASE_ADRS)))
    RAM_LOW_ADRS 80010000 # RAM text/data address for
    vxWorks
    RAM_HIGH_ADRS 80700000 # RAM text/data address for
    bootrom

    Using command line i build the rom resident vxWorks image by typing the
    line
    "make vxWorks.res_rom.hex"

    For rom resident VxWorks image, the data segment gets copied into RAM
    above RAM_LOW_ADRS the text segment remains in ROM.

    This is VERIFIED..

    When vxWorks.res_rom.hex is programmed on to flash and booted
    it appers as below

    Adding 4567 symbols for standalone.


    ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
    ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
    ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
    ]]]]]]]]]]] ]]]] ]]]]]]]]]] ]] ]]]]
    (R)
    ] ]]]]]]]]] ]]]]]] ]]]]]]]] ]] ]]]]
    ]] ]]]]]]] ]]]]]]]] ]]]]]] ] ]] ]]]]
    ]]] ]]]]] ] ]]] ] ]]]] ]]] ]]]]]]]]] ]]]] ]] ]]]] ]]
    ]]]]]
    ]]]] ]]] ]] ] ]]] ]] ]]]]] ]]]]]] ]] ]]]]]]] ]]]] ]]
    ]]]]
    ]]]]] ] ]]]] ]]]]] ]]]]]]]] ]]]] ]] ]]]] ]]]]]]]
    ]]]]
    ]]]]]] ]]]]] ]]]]]] ] ]]]]] ]]]] ]] ]]]] ]]]]]]]]
    ]]]]
    ]]]]]]] ]]]]] ] ]]

    it stops here , how would i debug this from this point??
    i added INCLUDE_SHELL in config.h and built the image still i could not
    find the shell..

    in the usrconfig.c in the routine usrRoot using printf, i could observe
    the function completes executing till the end of usrRoot.

    Where is the problem .. is it related to error in BSP or the vxworks
    library?
    Any suggestion is appreciated

    Thanks in advance.
    Vikram


  2. Re: ROM resident image...?

    Hi,

    It seems the shell is not properly included,
    add a printf in the Usrappinit.c file and create a vxworks image .so u
    can find whether the problem is due to BSP or not.
    one more method is try to create a standalone image using
    vxWorks.st_rom.hex

    with Regards


+ Reply to Thread