Hi, As I stated in my earlier mail, I'm trying to move my development to master branch. I have made following changes in the RTEMS git clone,
1. Created a new folder <target> for my target inside /bsps/arm/ 2. Added .inc and .cfg files for the target inside /bsps/arm/<target>/config (Modified copy of lpc32xx) 3. Added linkcmds.<target> file inside /bsps/arm/<target>/start (Modified copy of lpc32xx) 4. Created a new folder <target> inside /c/src/lib/libbsp/arm/ 5. Added configure.ac and Makefile.am inside /c/src/lib/libbsp/arm/<target>/ (Modified copy of lpc32xx) make command after bootstrapping gave me following error, checking for RTEMS_BSP... mytarget checking for perl... /usr/bin/perl configure: error: Invalid BSP configure: error: ../../../../../.././../../rtems-git/c/src/lib/libbsp/arm/configure failed for lib/libbsp/arm Makefile:731: recipe for target 'mytarget' failed gmake[2]: *** [mytarget] Error 1 gmake[2]: Leaving directory '/mnt/OS/LAP000426/RTEMS_BUILD/development/rtems/mytarget /rtems/5.00/build/LPC/arm-rtems5/c' Makefile:289: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/mnt/OS/LAP000426/RTEMS_BUILD/development/rtems/mytarget/rtems/5.00/build/LPC/arm-rtems5/c' Makefile:410: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Am I doing something wrong here or missing some additional steps? *Thank you & Regards,* *Amarnath MB* On Mon, Dec 10, 2018 at 2:34 PM Amarnath MB < amarnath...@mistralsolutions.com> wrote: > Hi Jeol, > > I was doing bootstrap in the top of the tree, Thanks for your tip. > > As per Sebastian Huber suggested I'm moving my development to master > branch. > In RTEMS 5, after adding some changes in the start.S file if I give > successive make as 'make RTEMS_BSP=lpc32xx_mzx', > the changes are getting reflected in the hello.exe sample. I don't need to > give a clean before each make. > > I have one more doubt, is there a way to build only specific samples from > /testsuites/samples? > > *Thank you & Regards,* > *Amarnath MB* > > > > On Fri, Dec 7, 2018 at 6:44 PM Joel Sherrill <j...@rtems.org> wrote: > >> >> >> On Fri, Dec 7, 2018, 12:36 AM Amarnath MB < >> amarnath...@mistralsolutions.com wrote: >> >>> Hi, >>> >>> I am a noob to RTEMS. Currently working on developing an RTEMS 4.11 BSP for >>> a new SOC based on ARM926EJS. >>> I have taken lpc32xx_mzx as the reference BSP and I was able to >>> successfully build the BSP in Ubuntu 16.04 using the steps in >>> RTEMS user manual. >>> Below is the time taken for completing each step in BSP building: >>> 1. bootstrapping takes 20 mins, >>> 2. configuring takes 3 mins >>> 3. make takes 18 mins >>> 4. install takes 4 mins >>> >> >> You are developing a bsp so you may be able to take some shortcuts. >> >> First only build the samples. There is no point in build 500+ tests until >> you pass hello, ticker, etc. >> >> If you change a BSP Makefile.am or configure.ac, bootstrap from that >> directory not the top of the tree. >> >> Configure with --enable- maintainer-mode which accounts for dependencies >> from changing configure or Makefiles. >> >> If you are on a VM, give it more cores and use the option to limit the VM >> from using 100% of the CPU time. The base OS will need some cycles but not >> half the cores worth while you are using the VM. >> >> Give the VM at least 2GB if you have enough RAM to do that. 4 if you have >> 8GB or more. >> >> >> >>> When I give a make after adding some changes in the start.S file, the >>> changes are not reflected in the hello.exe sample. >>> I need to give a clean and then a make to have the changes reflect in >>> the hello.exe, as a result, each make takes 18 mins >>> which is very huge compared to other builds like u-boot. >>> >> >> From the build tree: >> >> find . -name *.exe | xargs -e rm >> make >> >> Redirecting make to a log file helps and -j helps >> >> I think this bug if fixed on the master >> >>> >>> Is there a way that I can reduce this build time? >>> Thanks in advance for all your support. >>> >>> *Thank you & Regards,* >>> *Amarnath M B * >>> _______________________________________________ >>> users mailing list >>> users@rtems.org >>> http://lists.rtems.org/mailman/listinfo/users >> >>
_______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users