tag:blogger.com,1999:blog-7773614776146961245.post3601184566103526930..comments2024-03-08T00:29:52.216-08:00Comments on Alan's Tech Notes: Compiling and installing RTEMS for the Raspberry PiAlanChttp://www.blogger.com/profile/05763600008916626885noreply@blogger.comBlogger18125tag:blogger.com,1999:blog-7773614776146961245.post-78778619605458793832016-03-18T07:52:45.837-07:002016-03-18T07:52:45.837-07:00Hi Alan , I did the whole instruction with 4.12 an...Hi Alan , I did the whole instruction with 4.12 and also i got the same error. I thought it was a prefix problem i changed it and then no problem but the make instruction dont do anything it enters and leaves directories : <br />Making all in tools/build<br />gmake[1]: Entering directory `/mnt/D/development/rtems/kernel/zynq/tools/build'<br />gmake all-am<br />gmake[2]: Entering directory `/mnt/D/development/rtems/kernel/zynq/tools/build'<br />gmake[2]: Leaving directory `/mnt/D/development/rtems/kernel/zynq/tools/build'<br />gmake[1]: Leaving directory `/mnt/D/development/rtems/kernel/zynq/tools/build'<br />Making all in tools/cpu<br />gmake[1]: Entering directory `/mnt/D/development/rtems/kernel/zynq/tools/cpu'<br />Making all in generic<br />gmake[2]: Entering directory `/mnt/D/development/rtems/kernel/zynq/tools/cpu/generic'<br />gmake[2]: Nothing to be done for `all'.<br />gmake[2]: Leaving directory `/mnt/D/development/rtems/kernel/zynq/tools/cpu/generic'<br />gmake[2]: Entering directory `/mnt/D/development/rtems/kernel/zynq/tools/cpu'<br />gmake[2]: Nothing to be done for `all-am'.<br />gmake[2]: Leaving directory `/mnt/D/development/rtems/kernel/zynq/tools/cpu'<br />gmake[1]: Leaving directory `/mnt/D/development/rtems/kernel/zynq/tools/cpu'<br />Making all in testsuites/tools<br />gmake[1]: Entering directory `/mnt/D/development/rtems/kernel/zynq/testsuites/tools'<br />Making all in generic<br />gmake[2]: Entering directory `/mnt/D/development/rtems/kernel/zynq/testsuites/tools/generic'<br />gmake[2]: Nothing to be done for `all'.<br />gmake[2]: Leaving directory `/mnt/D/development/rtems/kernel/zynq/testsuites/tools/generic'<br />gmake[2]: Entering directory `/mnt/D/development/rtems/kernel/zynq/testsuites/tools'<br />gmake[2]: Nothing to be done for `all-am'.<br />gmake[2]: Leaving directory `/mnt/D/development/rtems/kernel/zynq/testsuites/tools'<br />gmake[1]: Leaving directory `/mnt/D/development/rtems/kernel/zynq/testsuites/tools'<br />Making all in c<br />gmake[1]: Entering directory `/mnt/D/development/rtems/kernel/zynq/c'<br />Making all in .<br />gmake[2]: Entering directory `/mnt/D/development/rtems/kernel/zynq/c'<br />gmake[2]: Nothing to be done for `all-am'.<br />gmake[2]: Leaving directory `/mnt/D/development/rtems/kernel/zynq/c'<br />gmake[1]: Leaving directory `/mnt/D/development/rtems/kernel/zynq/c'<br />gmake[1]: Entering directory `/mnt/D/development/rtems/kernel/zynq'<br />gmake[1]: Nothing to be done for `all-am'.<br />gmake[1]: Leaving directory `/mnt/D/development/rtems/kernel/zynq'<br /><br />Have you a solution for this thanks LaTestechhttps://www.blogger.com/profile/16172941216177899217noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-58601120429575310512016-02-27T19:32:10.914-08:002016-02-27T19:32:10.914-08:00I was able to build the rki image by changing the ...I was able to build the rki image by changing the makefile to refer to 4.12 instead of 4.11<br /><br />RTEMS_TOOL_BASE ?= /Users/alan/rtems/4.12<br />RTEMS_BSP_BASE ?= /Users/alan/rtems/4.12<br /><br />ARCH ?= arm-rtems4.12<br /><br />--<br />I'll try to push these changes to the git repository soon. AlanChttps://www.blogger.com/profile/05763600008916626885noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-6650349580588274972016-02-26T08:02:34.860-08:002016-02-26T08:02:34.860-08:00Hi Alan, thank you it seems working.
I've gen...Hi Alan, thank you it seems working.<br /><br />I've generated the ticker kernel image file. Now I tried to build the rki but I've this error <br />I I'm trying to build rki but I've this error:<br /><br />ubuntu@ubuntu-VirtualBox:~/development/rki$ make<br />arm-rtems4.11-gcc -Wa,-a=legacy-build/arm-rtems4.11-raspberrypi/init.lis -mcpu=arm1176jzf-s -D__ARM__ -Wall -I. -Iinclude/ -I. -g -O2 -c -o legacy-build/arm-rtems4.11-raspberrypi/init.o init.c<br />init.c:23:24: fatal error: netinet/in.h: No such file or directory<br />#include<br />^<br />compilation terminated.<br />make: *** [init.o] Errore 1<br /><br />Coul you, please, help me? avaroshttps://www.blogger.com/profile/04065459125855302528noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-82047550610481200942016-02-25T07:30:57.542-08:002016-02-25T07:30:57.542-08:00Yes, please see my comment above.
Yes, please see my comment above. <br />AlanChttps://www.blogger.com/profile/05763600008916626885noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-83713159090626633042016-02-25T07:30:37.825-08:002016-02-25T07:30:37.825-08:00I have figured this out.. These instructions are g...I have figured this out.. These instructions are getting old and need to be updated. <br /><br />Now the default RTEMS git head is 4.12, not 4.11. <br /><br />RTEMS 4.11 is a branch on the git repository.<br /><br />So to work with these instructions and the 4.11 tools built with the RSB, just go into the RTEMS git repository, and run :<br />git checkout origin/4.11 <br />You may have to do a ./bootstrap -c first to clean out the autoconf files.<br /><br />If you want to move to the latest 4.12 work ( which I am doing ), you need to rebuild a set of tools using RSB, substituting 4.12 for the 4.11 in the source builder command. <br /><br />I hope to update these instructions soon to make it clearer. <br /><br />AlanChttps://www.blogger.com/profile/05763600008916626885noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-80229566221724393552016-02-25T00:49:33.178-08:002016-02-25T00:49:33.178-08:00I've the same problem as TwoStar, have you fou...I've the same problem as TwoStar, have you found a solution?avaroshttps://www.blogger.com/profile/04065459125855302528noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-8535638034103250572016-02-25T00:31:51.889-08:002016-02-25T00:31:51.889-08:00I've the same problem as Two StarI've the same problem as Two Star<br />avaroshttps://www.blogger.com/profile/04065459125855302528noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-16223633647081434212016-02-18T04:40:15.700-08:002016-02-18T04:40:15.700-08:00I try to make this
$ make install
but I have a ...I try to make this<br /><br /><br />$ make install<br /><br />but I have a error..<br />Please, help me ...<br /><br />fatal error: sys/select.h: No such file or directory<br /><br /><br /><br />In file included from ../../../../cpukit/../../../raspberrypi/lib/include/rpc/rpc.h:62:0,<br /> from ../../../../../../../../rtems-git/c/src/../../cpukit/libfs/src/nfsclient/src/rpcio.c:77:<br />../../../../cpukit/../../../raspberrypi/lib/include/rpc/svc.h:46:37: fatal error: sys/select.h: No such file or directory<br /> #include /* fd_set */<br /> ^<br />compilation terminated.<br />Makefile:547: recipe for target 'src/libnfs_a-rpcio.o' failed<br />make[5]: *** [src/libnfs_a-rpcio.o] Error 1<br />make[5]: Leaving directory '/home/wmlab/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/cpukit/libfs/src/nfsclient'<br />Makefile:1450: recipe for target 'install-recursive' failed<br />make[4]: *** [install-recursive] Error 1<br />make[4]: Leaving directory '/home/wmlab/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/cpukit/libfs'<br />Makefile:969: recipe for target 'install-recursive' failed<br />make[3]: *** [install-recursive] Error 1<br />make[3]: Leaving directory '/home/wmlab/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/cpukit'<br />Makefile:425: recipe for target 'install-recursive' failed<br />make[2]: *** [install-recursive] Error 1<br />make[2]: Leaving directory '/home/wmlab/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi'<br />Makefile:286: recipe for target 'install-recursive' failed<br />make[1]: *** [install-recursive] Error 1<br />make[1]: Leaving directory '/home/wmlab/development/rtems/build-rtems-rpi/arm-rtems4.11/c'<br />Makefile:410: recipe for target 'install-recursive' failed<br />make: *** [install-recursive] Error 1<br />wmlab@ubuntu:~/development/rtems/build-rtems-rpi$ ls<br />TwoStarhttps://www.blogger.com/profile/12750651265216080787noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-79368174689672477242016-02-18T04:37:34.255-08:002016-02-18T04:37:34.255-08:00This comment has been removed by the author.TwoStarhttps://www.blogger.com/profile/12750651265216080787noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-77373148930864708842015-12-26T07:49:50.585-08:002015-12-26T07:49:50.585-08:00I will take a look and see if I can duplicate the ...I will take a look and see if I can duplicate the problem. <br />My instructions are due for updates anyway!<br />AlanChttps://www.blogger.com/profile/05763600008916626885noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-62336837556251112282015-12-26T01:04:21.334-08:002015-12-26T01:04:21.334-08:00Same error here. Do you have some advices?Same error here. Do you have some advices?Anonymoushttps://www.blogger.com/profile/13527877417325674819noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-80991342319937511862013-07-16T10:57:10.785-07:002013-07-16T10:57:10.785-07:00Hi!
According to instructions I built and install...Hi!<br /><br />According to instructions I built and installed RTEMS for Raspberry Pi on CentOS.<br />All steps seem to work fine but at the final step when I want to "make install" following errors occurs:<br /><br />In function 'newlib_create_hook':<br />../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c:44:12: error: lvalue required as left operand of assignment<br /> _REENT = _GLOBAL_REENT;<br /> ^<br />../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c:46:29: error: lvalue required as unary '&' operand<br /> _Thread_Set_libc_reent (&_REENT);<br /> ^<br />gmake[4]: *** [src/libcsupport_a-newlibc_reent.o] Error 1<br />gmake[4]: Leaving directory `/home/rtems/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/cpukit/libcsupport'<br />gmake[3]: *** [install-recursive] Error 1<br />gmake[3]: Leaving directory `/home/rtems/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi/cpukit'<br />gmake[2]: *** [install-recursive] Error 1<br />gmake[2]: Leaving directory `/home/rtems/development/rtems/build-rtems-rpi/arm-rtems4.11/c/raspberrypi'<br />gmake[1]: *** [install-recursive] Error 1<br />gmake[1]: Leaving directory `/home/rtems/development/rtems/build-rtems-rpi/arm-rtems4.11/c'<br />make: *** [install-recursive] Error 1<br />[root@localhost build-rtems-rpi]# make install -> OUTPUT.txt<br />../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c: In function 'newlib_create_hook':<br />../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c:44:12: error: lvalue required as left operand of assignment<br /> _REENT = _GLOBAL_REENT;<br /> ^<br />../../../../../../rtems-git/c/src/../../cpukit/libcsupport/src/newlibc_reent.c:46:29: error: lvalue required as unary '&' operand<br /> _Thread_Set_libc_reent (&_REENT);<br /> ^<br />gmake[4]: *** [src/libcsupport_a-newlibc_reent.o] Error 1<br />gmake[3]: *** [install-recursive] Error 1<br />gmake[2]: *** [install-recursive] Error 1<br />gmake[1]: *** [install-recursive] Error 1<br />make: *** [install-recursive] Error 1<br /><br />please help me!<br />Anonymoushttps://www.blogger.com/profile/16115357164472282692noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-74659755067091625202013-04-22T15:34:27.906-07:002013-04-22T15:34:27.906-07:00Some of the RTEMS members maintain their own test ...Some of the RTEMS members maintain their own test or experimental git repositories. I would not use either one of those as the RTEMS source release. <br /><br />Also, it you have any trouble with the RTEMS projects or want to ask general questions, feel free to join and use the RTEMS mailing list:<br />http://rtems.org/wiki/index.php/RTEMSMailingLists<br /><br />You can find help there for just about any RTEMS issue.AlanChttps://www.blogger.com/profile/05763600008916626885noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-88092964522778095862013-04-22T06:26:09.288-07:002013-04-22T06:26:09.288-07:00I'm cloning from:
http://git.rtems.org/amar/rt...I'm cloning from:<br />http://git.rtems.org/amar/rtems.git/<br /><br />but I think It's intersting also:<br />http://git.rtems.org/chrisj/rtems.git/popovichhttps://www.blogger.com/profile/06458694068378235198noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-10882742782908562822013-04-22T05:44:57.801-07:002013-04-22T05:44:57.801-07:00I think that the git address for download rtems is...I think that the git address for download rtems is changed.<br />I can't download rtems today from it!!!popovichhttps://www.blogger.com/profile/06458694068378235198noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-54042966371447406072013-04-07T12:26:13.932-07:002013-04-07T12:26:13.932-07:00the configure step apparently works fine...but unf...the configure step apparently works fine...but unfortunatly not the make install.<br />the std_out:<br />Making install in i386-rtems4.11/c<br />Making install in .<br />Configuring RTEMS_BSP=pc386<br />checking for gmake... no<br />checking for make... make<br />checking build system type... x86_64-apple-darwin11.4.2<br />checking host system type... i386-pc-rtems4.11<br />checking rtems target cpu... i386<br />checking for a BSD-compatible install... /usr/bin/install -c<br />checking whether build environment is sane... yes<br />checking for i386-rtems4.11-strip... i386-rtems4.11-strip<br />checking for a thread-safe mkdir -p... ../../../../rtems-git/c/src/../../install-sh -c -d<br />checking for gawk... no<br />checking for mawk... no<br />checking for nawk... no<br />checking for awk... awk<br />checking whether make sets $(MAKE)... yes<br />checking whether to enable maintainer-specific portions of Makefiles... no<br />checking for RTEMS_BSP... pc386<br />checking whether BSP supports networking... yes<br />checking whether CPU supports libposix... yes<br />configure: setting up make/custom<br />configure: creating make/pc386.cache<br />checking for RTEMS_CPU_MODEL... i386_fp<br />checking for RTEMS_BSP_FAMILY... pc386<br />checking for CPU_CFLAGS... (cached) -mtune=i386<br />checking for CFLAGS_OPTIMIZE_V... (cached) -O2 -g<br />checking for style of include used by make... GNU<br />checking for i386-rtems4.11-gcc... i386-rtems4.11-gcc<br />checking for i386-rtems4.11-gcc... (cached) i386-rtems4.11-gcc<br />checking whether the C compiler works... no<br />configure: error: in `/Users/saro/development/rtems/build-rtems-i386/i386-rtems4.11/c/pc386':<br />configure: error: C compiler cannot create executables<br />See `config.log' for more details<br />make[2]: *** [pc386] Error 1<br />make[1]: *** [install-recursive] Error 1<br />make: *** [install-recursive] Error 1<br /><br />You believe that trying i386ex or ts_i386 the result is different ? :) popovichhttps://www.blogger.com/profile/06458694068378235198noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-46293059356121358992013-04-07T11:36:59.278-07:002013-04-07T11:36:59.278-07:00It depends on your target board:
The 386 has a num...It depends on your target board:<br />The 386 has a number of BSPs available:<br />http://wiki.rtems.org/wiki/index.php/BoardSupportPackageInformation#Intel_i386.2C_Pentium.2C_and_Clone_CPUs_BSPs<br /><br />Most likely if you want to run on QEMU, then choose pc386<br /><br />Also, if you leave off the --enable-rtemsbsp parameter, you will be given a list of all available BSPs for that architecture. If you just typed make, it would build them all!<br />AlanChttps://www.blogger.com/profile/05763600008916626885noreply@blogger.comtag:blogger.com,1999:blog-7773614776146961245.post-28323049160327003542013-04-07T11:30:46.913-07:002013-04-07T11:30:46.913-07:00I blocked here:
To build RTEMS for the Raspberry ...I blocked here:<br /> To build RTEMS for the Raspberry Pi use the following command:<br />$ ../rtems-git/configure --target=arm-rtems4.11 \<br />--enable-rtemsbsp=raspberrypi \<br />--enable-tests=samples \<br />--enable-networking \<br />--enable-posix \<br />--prefix=$HOME/development/rtems/bsps/4.11 <br /><br />because in the building process for MacOSX on a MBpro5.5 (and not for raspi!!!) I'm not shure for one parameter:<br /> To build RTEMS for the mac use the following command:<br />$ ../rtems-git/configure --target=i386-rtems4.11 \<br />--enable-rtemsbsp=??? \<br />--enable-tests=samples \<br />--enable-networking \<br />--enable-posix \<br />--prefix=$HOME/development/rtems/bsps/4.11 <br /><br />I read <br />http://www.rtems.org/ftp/pub/rtems/people/chrisj/source-builder/source-builder.html<br />and there is no reference for i386 or similia<br />Can suggest me ?<br />Thankspopovichhttps://www.blogger.com/profile/06458694068378235198noreply@blogger.com