Forums

problem with rrsdk rebuilding u-boot code for leopard dm365 board

  • HI,

    I am using the latest dm365_evl_RidgeRunSDK

    I tried to modify some pin setting in the uboot code. when I issued the command of "make bootloader",

    only the UBL code was re-built but the u-boot code didn't get rebuilt. if anybody knows how to modify

    the make file( or a work around) to enable the rebuilding of the U-boot code,  please help.

     

    Regards

     

    Ming

  • Hi Ming,

    To get the build to go faster, we leave around files that tell the build system not to touch a directory.  This works well until someone modifies a file in that directory.

    For uboot, you can do the following

    cd $DEVDIR

    rm -f bootloader/u-boot*/uboot_built

    make bootloader

    Todd

  • Hi Todd,

    Thank you very much for the tip.

    By the way, I had trouble to rebuild the dmai code as well. I made some changes to dmai example

    but it didn't get rebuilt.

    Could you tell me how to rebuild that dmai package as well ?

    ( i posted a question about that before but didn't get answered)

    Regards

    ming  

  • Ming,

    Are reason, same fix, just slightly different file name.  If you can change dmai examples, surely you can figure out what file the SDK is using to skip rebuilding the dmai directory all the time.

    I generally don't answer questions I think the asker can answer themselves with a bit of effort.

    Todd