users Digest, Vol 111, Issue 30

Hans huangxi_hans at 163.com
Wed Dec 30 12:13:04 UTC 2015


rtems 4.12 new version?

Sent from Huawei MediaPad

users-request at rtems.org wrote:

>Send users mailing list submissions to
>	users at rtems.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://lists.rtems.org/mailman/listinfo/users
>or, via email, send a message with subject or body 'help' to
>	users-request at rtems.org
>
>You can reach the person managing the list at
>	users-owner at rtems.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of users digest..."
>
>
>Today's Topics:
>
>   1. Re: building rtems error (Ben Gras)
>   2. Re: rtems build and tsim-leon3 (Jan Sommer)
>   3. Re: [PATCH] bsp/raspberrypi: Store the current taskid before
>      waiting for the transient event in i2c-driver (Jan Sommer)
>   4. Re: rtems build and tsim-leon3 (Sihyeong Park)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 29 Dec 2015 13:26:59 +0100
>From: Ben Gras <beng at shrike-systems.com>
>To: Chris Johns <chrisj at rtems.org>
>Cc: "users at rtems.org" <users at rtems.org>
>Subject: Re: building rtems error
>Message-ID:
>	<CAK+HGR5mafrhb4bzGr5LxEDyi51YJNC-vT_O3Gy7Btxd_rgP+g at mail.gmail.com>
>Content-Type: text/plain; charset=UTF-8
>
>All,
>
>I have changed my RSB recipe (use 4.12 toolchain and newer uboot to
>fix build problems), RTEMS mainline (use objcopy 4.12), to all use
>4.12 now and everything works again for the BBB and the BBW on
>mainline. Unfortunately the bbxm doesn't boot with the newer uboot,
>that I still have to investigate/fix.
>
>
>On Mon, Dec 21, 2015 at 1:10 AM, Chris Johns <chrisj at rtems.org> wrote:
>> Ben,
>>
>> Can you please have a look at this. It would seem your instructions are
>> effected by the move to 4.12 and this is what the RTEMS tools defaults
>> to. Maybe using the 4.11 branch would help.
>>
>> Chris
>>
>> On 20/12/2015 4:45 PM, Hardik Patel wrote:
>>> Applying steps for building rtems, when i execute command make as per
>>> Beagleboard xM, Beaglebone black and everything else RTEMS on the
>>> Beagles
>>> <http://www.shrike-systems.com/beagleboard-xm-beaglebone-black-and-everything-else-rtems-on-the-beagles.html>
>>> , i got error . please give me solution. thank you
>>>
>>>
>>>
>>> image
>>> <http://www.shrike-systems.com/beagleboard-xm-beaglebone-black-and-everything-else-rtems-on-the-beagles.html>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Beagleboard xM, Beaglebone black and everything else RTE...
>>> <http://www.shrike-systems.com/beagleboard-xm-beaglebone-black-and-everything-else-rtems-on-the-beagles.html>
>>> Beagleboard xM, Beaglebone black and everything else RTEMS on the
>>> Beagles Tweet Tue 22 July 2014 Everything about RTEMS on Beagleboards &
>>> Beaglebones Welcome to...
>>> View on www.shrike-systems...
>>> <http://www.shrike-systems.com/beagleboard-xm-beaglebone-black-and-everything-else-rtems-on-the-beagles.html>
>>>
>>> Preview by Yahoo
>>>
>>>
>>> Error:
>>> arm-rtems4.11-gcc -B../../../../../beagleboneblack/lib/ -specs bsp_specs
>>> -qrtems -mcpu=cortex-a8 -O2 -g -Wall -Wmissing-prototypes
>>> -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs
>>> -mcpu=cortex-a8   -o dl01.pre.exe init.o dl-load.o dl-tar.o
>>> arm-rtems4.11-nm -g -n dl01.pre.exe > dl01.pre.num
>>> arm-rtems4.11-size dl01.pre.exe
>>>    text       data        bss        dec        hex    filename
>>>  183916       1988    264055236    264241140    fbffff4    dl01.pre.exe
>>> cp dl01.pre.exe dl01.pre.ralf
>>> rm -f dl01.pre.ralf
>>> mv dl01.pre.exe dl01.pre
>>> rtems-syms -e -c "-mcpu=cortex-a8 -O2 -g -Wall -Wmissing-prototypes
>>> -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs" -o
>>> dl-sym.o dl01.pre
>>> : error trying to exec 'arm-rtems4.12-gcc': execvp: No such file or
>>> directory
>>> error: compiling wrapper: Compiler error
>>> make[7]: *** [dl-sym.o] Error 10
>>> make[7]: Leaving directory
>>> `/home/hp/development/rtems/b-beagle/arm-rtems4.11/c/beagleboneblack/testsuites/libtests/dl01'
>>> make[6]: *** [all] Error 2
>>> make[6]: Leaving directory
>>> `/home/hp/development/rtems/b-beagle/arm-rtems4.11/c/beagleboneblack/testsuites/libtests/dl01'
>>> make[5]: *** [all-local] Error 1
>>> make[5]: Leaving directory
>>> `/home/hp/development/rtems/b-beagle/arm-rtems4.11/c/beagleboneblack/testsuites/libtests'
>>> make[4]: *** [all] Error 2
>>> make[4]: Leaving directory
>>> `/home/hp/development/rtems/b-beagle/arm-rtems4.11/c/beagleboneblack/testsuites/libtests'
>>> make[3]: *** [all-recursive] Error 1
>>> make[3]: Leaving directory
>>> `/home/hp/development/rtems/b-beagle/arm-rtems4.11/c/beagleboneblack/testsuites'
>>> make[2]: *** [all-recursive] Error 1
>>> make[2]: Leaving directory
>>> `/home/hp/development/rtems/b-beagle/arm-rtems4.11/c/beagleboneblack'
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory
>>> `/home/hp/development/rtems/b-beagle/arm-rtems4.11/c'
>>> make: *** [all-recursive] Error 1
>>> hp at hp:~/development/rtems/b-beagle$
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> users mailing list
>>> users at rtems.org
>>> http://lists.rtems.org/mailman/listinfo/users
>>>
>> _______________________________________________
>> users mailing list
>> users at rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
>
>
>------------------------------
>
>Message: 2
>Date: Wed, 30 Dec 2015 00:31:19 +0100
>From: Jan Sommer <soja-lists at aries.uberspace.de>
>To: users at rtems.org
>Subject: Re: rtems build and tsim-leon3
>Message-ID: <9366184.fuSRFpj60K at kubuntu>
>Content-Type: text/plain; charset="utf-8"
>
>Am Tuesday 29 December 2015, 15:37:15 schrieb Sihyeong Park:
>> Hello, Jan
>> Tanks for reply.
>> 
>> I'm try to run using grmon.
>> 
>
>Ok. Which options do you use for grmon?
>We use: grmon -ftdi -freq 40 -nosram -uuser
>
>> grlib> load ~/hello.exe
>> section: .text at 0x40000000, size 113840 bytes
>> section: .rtemsroset at 0x4001bcb0, size 32 bytes
>> section: .data at 0x4001bcd0, size 1616 bytes
>> total size: 115488 bytes (1.2 Mbit/s)
>> read 670 symbols
>> entry point: 0x40000000
>> grlib> run
>> IU in error mode (tt = 0x2b)
>>  400008a0  a1480000   mov  %psr, %l0
>> grlib>
>> 
>> 
>> but, it seems same error 'IU in error mode'
>> 
>> Should I re-build for leon3 ?
>> or did I mistake when I build that..?
>> 
>> I followed this procedure:
>> bootstrap
>> configure (--enable-rtemsbsp=leon3)
>> make
>> make install
>> 
>
>Looks fine to me. An option would be to download the prebuilt toolchain from the gaisler website.
>It has only the old 4.4 gcc with rtems 4.10, but if you can run the ticker example created with this toolchain in grmon/tsim at least we can rule out a wrong configuration there.
>I won't be in the office until 7.1.2016, so I can't test anything with our leon until then.
>
>Best regards,
>
>   Jan
>
>> best regards.
>> 
>> 2015-12-28 23:33 GMT+09:00 Jan Sommer <soja-lists at aries.uberspace.de>:
>> 
>> > Am Monday 28 December 2015, 23:09:59 schrieb ???:
>> > > Hello, again me..
>> > >
>> > > Finally, I succeed in build rtems for leon3 follow this:
>> > >
>> > > # ../rtems4.11/configure  --target=sparc-rtems4.11
>> > --enable-rtemsbsp=leon3 \
>> > >   --enable-tests=samples --enable-posix
>> > >
>> > > Then I get the samples like cdtest, fileio, hello, iostream, etc..
>> > > (In sparc-rtems4.11/c/leon3/testsuites/samples)
>> > >
>> > > And I tried to run hello example using tsim-leon3 (evaluation version)
>> > >
>> > > tsim> load hello.exe
>> > > section: .text, addr: 0x40000000, size 113840 bytes
>> > > section: .rtemsroset, addr: 0x4001bcb0, size 32 bytes
>> > > section: .data, addr: 0x4001bcd0, size 1616 bytes
>> > > read 1283 symbols
>> > > tsim> go 0x40000000
>> > > resuming at 0x40000000
>> > >
>> >
>> > Have you tried to use "run" or "run 0x40000000" instead of go?
>> > I don't have tsim available anymore, but when I use GRMON I usually simply
>> > use run for rtems binaries.
>> >
>> > Best regards,
>> >
>> >    Jan
>> >
>
>
>
>------------------------------
>
>Message: 3
>Date: Wed, 30 Dec 2015 00:32:55 +0100
>From: Jan Sommer <soja-lists at aries.uberspace.de>
>To: users at rtems.org
>Subject: Re: [PATCH] bsp/raspberrypi: Store the current taskid before
>	waiting for the transient event in i2c-driver
>Message-ID: <2782629.terTfZrLmY at kubuntu>
>Content-Type: text/plain; charset="us-ascii"
>
>Am Tuesday 29 December 2015, 14:19:06 schrieb Joel Sherrill:
>
>> The code currently in git does not compile. A quick visual inspection shows
>> the obviously incorrect code. This is in raspberrypi/i2c/i2c.c around line
>> 95.
>That's weird. In the branch from which I created the patch the line is correct.
>But in the patch the addition is moved one line down.
>
>
>> I am guessing that the assignment is not intended to be in the conditional
>> expression but Jan needs to confirm that and submit a new patch.
>> 
>> Did this make it to any branches?
>> 
>I just checked online in the rtems4.11 branch. There the i2c driver is not present.
>If I am not mistaken this would mean it is only broken in master. I will post a new patch in a few.
>
>
>>       /* Sleep until the TX FIFO has free space for a new write. */
>>       if (
>>           bus->task_id = rtems_task_self();
>>           rtems_event_transient_receive(RTEMS_WAIT, bus->base.timeout) !=
>>           RTEMS_SUCCESSFUL
>>       ) {
>>         rtems_event_transient_clear();
>> 
>>         return -ETIMEDOUT;
>>       }
>> 
>> 
>> On Tue, Dec 1, 2015 at 8:11 PM, Gedare Bloom <gedare at rtems.org> wrote:
>> 
>
>> > can you file a ticket and describe the bug this fixes. then #close the
>> > ticket with the commit message.
>> >
>> > On Mon, Nov 30, 2015 at 5:16 PM, Jan Sommer
>> > <soja-lists at aries.uberspace.de> wrote:
>
>
>> > deadlock because the taskid
>
>
>> > b/c/src/lib/libbsp/arm/raspberrypi/i2c/i2c.c
>
>
>> > !=
>
>
>> > _______________________________________________
>> > devel mailing list
>> > devel at rtems.org
>> > http://lists.rtems.org/mailman/listinfo/devel
>> >
>
>
>------------------------------
>
>Message: 4
>Date: Wed, 30 Dec 2015 14:05:34 +0900
>From: Sihyeong Park <inputsh at gmail.com>
>To: Jan Sommer <soja-lists at aries.uberspace.de>
>Cc: users at rtems.org
>Subject: Re: rtems build and tsim-leon3
>Message-ID:
>	<CAOwZyXHALhrcnVk1X7Juz_cMx8aEEFuRs5_h6H47sH3kVBmv-A at mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>Thank you very much.
>I'm very appreciate to you.
>
>When I connect with our leon board I used USB cable so, I'm using ./grmon
>-usb -nb -u
>
>And I will change toolchains and other environments then try again asap.
>
>
>Thank you.
>Happy new year!
>
>
>2015-12-30 8:31 GMT+09:00 Jan Sommer <soja-lists at aries.uberspace.de>:
>
>> Am Tuesday 29 December 2015, 15:37:15 schrieb Sihyeong Park:
>> > Hello, Jan
>> > Tanks for reply.
>> >
>> > I'm try to run using grmon.
>> >
>>
>> Ok. Which options do you use for grmon?
>> We use: grmon -ftdi -freq 40 -nosram -uuser
>>
>> > grlib> load ~/hello.exe
>> > section: .text at 0x40000000, size 113840 bytes
>> > section: .rtemsroset at 0x4001bcb0, size 32 bytes
>> > section: .data at 0x4001bcd0, size 1616 bytes
>> > total size: 115488 bytes (1.2 Mbit/s)
>> > read 670 symbols
>> > entry point: 0x40000000
>> > grlib> run
>> > IU in error mode (tt = 0x2b)
>> >  400008a0  a1480000   mov  %psr, %l0
>> > grlib>
>> >
>> >
>> > but, it seems same error 'IU in error mode'
>> >
>> > Should I re-build for leon3 ?
>> > or did I mistake when I build that..?
>> >
>> > I followed this procedure:
>> > bootstrap
>> > configure (--enable-rtemsbsp=leon3)
>> > make
>> > make install
>> >
>>
>> Looks fine to me. An option would be to download the prebuilt toolchain
>> from the gaisler website.
>> It has only the old 4.4 gcc with rtems 4.10, but if you can run the ticker
>> example created with this toolchain in grmon/tsim at least we can rule out
>> a wrong configuration there.
>> I won't be in the office until 7.1.2016, so I can't test anything with our
>> leon until then.
>>
>> Best regards,
>>
>>    Jan
>>
>> > best regards.
>> >
>> > 2015-12-28 23:33 GMT+09:00 Jan Sommer <soja-lists at aries.uberspace.de>:
>> >
>> > > Am Monday 28 December 2015, 23:09:59 schrieb ???:
>> > > > Hello, again me..
>> > > >
>> > > > Finally, I succeed in build rtems for leon3 follow this:
>> > > >
>> > > > # ../rtems4.11/configure  --target=sparc-rtems4.11
>> > > --enable-rtemsbsp=leon3 \
>> > > >   --enable-tests=samples --enable-posix
>> > > >
>> > > > Then I get the samples like cdtest, fileio, hello, iostream, etc..
>> > > > (In sparc-rtems4.11/c/leon3/testsuites/samples)
>> > > >
>> > > > And I tried to run hello example using tsim-leon3 (evaluation
>> version)
>> > > >
>> > > > tsim> load hello.exe
>> > > > section: .text, addr: 0x40000000, size 113840 bytes
>> > > > section: .rtemsroset, addr: 0x4001bcb0, size 32 bytes
>> > > > section: .data, addr: 0x4001bcd0, size 1616 bytes
>> > > > read 1283 symbols
>> > > > tsim> go 0x40000000
>> > > > resuming at 0x40000000
>> > > >
>> > >
>> > > Have you tried to use "run" or "run 0x40000000" instead of go?
>> > > I don't have tsim available anymore, but when I use GRMON I usually
>> simply
>> > > use run for rtems binaries.
>> > >
>> > > Best regards,
>> > >
>> > >    Jan
>> > >
>>
>> _______________________________________________
>> users mailing list
>> users at rtems.org
>> http://lists.rtems.org/mailman/listinfo/users
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://lists.rtems.org/pipermail/users/attachments/20151230/9f9365db/attachment-0001.html>
>
>------------------------------
>
>Subject: Digest Footer
>
>_______________________________________________
>users mailing list
>users at rtems.org
>http://lists.rtems.org/mailman/listinfo/users
>
>------------------------------
>
>End of users Digest, Vol 111, Issue 30
>**************************************


More information about the users mailing list