<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Steve,</p>
<p>Is the float context enabled with networkDaemon task (see
rtems_task_create RTEMS_FLOATING_POINT parameter)? See
rtems_bsdnet_newproc() creating net tasks. The sprintf()/sprintf_r
are probably using floating point variables even that no floats
are in the end printed. When double/float is initialized to 0.0
for example it may use FPU. Please see
newlib/libc/stdio/vfprintf.c for details, maybe the optimizations
done has effects in these cases.<br>
</p>
<p>Basically rtems_bsdnet_newproc() should enable floating point
context if newlib functions that are using FPU is called. One
alternative could be to enable FPU context always on net tasks (or
only when SOFT_FLOAT is not used), another to make sure to call
functions not using floats.<br>
</p>
<p>Best Regards,<br>
</p>
<pre class="moz-signature" cols="72">Daniel Hellstrom
Software Section Head
Cobham Gaisler
T : +46 (0) 31 775 8657
F : +46 (0) 31 421407
<a class="moz-txt-link-abbreviated" href="mailto:daniel.hellstrom@gaisler.com">daniel.hellstrom@gaisler.com</a>
Cobham Gaisler AB, Kungsgatan 12, SE-411 19, GÖTEBORG, Sweden.
+46 (0) 31 775 8650, <a class="moz-txt-link-abbreviated" href="http://www.cobham.com/gaisler">www.cobham.com/gaisler</a>
Please consider the environment before printing this email
This e-mail and any files transmitted with it ("E-mail") is intended solely for the addressee(s) and may contain confidential and/or legally privileged information. If you are not the addressee(s), any disclosure,
reproduction, copying, distribution or other use of the E-mail is prohibited. If you have received this E-mail in error, please delete it and notify the sender immediately via our switchboard or return e-mail.
Neither the company nor any subsidiary or affiliate or associated company nor any individual sending this Email accepts any liability in respect of the content (including errors and omissions) nor shall this e-mail be deemed to enter the company or any subsidiary or affiliate or associated company into a contract or to create any legally binding obligations unless expressly agreed to in writing under separate cover and timeliness of the E-mail which arise as a result of transmission. If verification is required, please request a hard copy version from the sender. </pre>
<div class="moz-cite-prefix">On 2016-10-23 21:27, Duran, Steve
(JSC-ER611) wrote:<br>
</div>
<blockquote cite="mid:892E65F6-DD7B-434C-A8EF-AE8FA83A0459@nasa.gov"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div class="">I would prefer not to compile with soft float as the
processors that we are using have hardware FPUs. Is there a
recommended rtems and rtems source builder branch rev that
should be used?</div>
<div class=""><br class="">
</div>
I am running CentOS
<div class="">
<div class="">CentOS Linux release 7.2.1511 (Core) </div>
<div class="">Linux spartan117 3.10.0-327.22.2.el7.x86_64 #1 SMP
Thu Jun 23 17:05:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux</div>
</div>
<div class=""><br class="">
</div>
<div class="">It has gcc:</div>
<div class="">
<div class="">$ gcc --version</div>
<div class="">gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)</div>
<div class=""><br class="">
</div>
<div class="">But, if I understand the RTEMS builder correctly,
it downloads a version of tools and libs to build itself. It
looks like it used gcc 4.9.3.</div>
<div class="">$ sparc-rtems4.11-gcc -v</div>
<div class="">Using built-in specs.</div>
<div class="">COLLECT_GCC=sparc-rtems4.11-gcc</div>
<div class="">COLLECT_LTO_WRAPPER=/gfe/RTEMS/development/rtems/4.11/libexec/gcc/sparc-rtems4.11/4.9.3/lto-wrapper</div>
<div class="">Target: sparc-rtems4.11</div>
<div class="">Configured with: ../gcc-4.9.3/configure
--prefix=/gfe/RTEMS/development/rtems/4.11
--bindir=/gfe/RTEMS/development/rtems/4.11/bin
--exec_prefix=/gfe/RTEMS/development/rtems/4.11
--includedir=/gfe/RTEMS/development/rtems/4.11/include
--libdir=/gfe/RTEMS/development/rtems/4.11/lib
--libexecdir=/gfe/RTEMS/development/rtems/4.11/libexec
--mandir=/gfe/RTEMS/development/rtems/4.11/share/man
--infodir=/gfe/RTEMS/development/rtems/4.11/share/info
--datadir=/gfe/RTEMS/development/rtems/4.11/share
--build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=sparc-rtems4.11 --disable-libstdcxx-pch --with-gnu-as
--with-gnu-ld --verbose --with-newlib --with-system-zlib
--disable-nls --without-included-gettext
--disable-win32-registry
--enable-version-specific-runtime-libs --disable-lto
--enable-newlib-io-c99-formats --enable-newlib-iconv
--enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,win_1253,win_1254,win_1255,win_1256,win_1257,win_1258
--enable-threads --disable-plugin --enable-libgomp
--enable-languages=c,c++</div>
<div class="">Thread model: rtems</div>
<div class="">gcc version 4.9.3 20150626 (RTEMS 4.11, RSB
1675a733536d1aec2020011e5e522497a442561a, Newlib
2.2.0.20150423) (GCC) </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div>
<blockquote type="cite" class="">
<div class="">On Oct 22, 2016, at 9:48 AM, Jiri Gaisler <<a
moz-do-not-send="true" href="mailto:jiri@gaisler.se"
class="">jiri@gaisler.se</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<p class=""><br class="">
</p>
<p class="">It seems that you have compiled RTEMS with a
gcc version that can use %fpu registers to move
integer data. The work-around could be to compile the
kernel with -msoft-float, or to move to a (later)
version of gcc that does not do this anymore. Which
gcc version do you use?</p>
Jiri.<br class="">
<br class="">
<div class="moz-cite-prefix">On 22/10/16 01:22, Duran,
Steve (JSC-ER611) wrote:<br class="">
</div>
<blockquote
cite="mid:17DD1E65-0976-4E4E-946B-2A7BCA0C8917@nasa.gov"
type="cite" class="">
<div class="">I am trying to get and RTEMS kernel to
boot on the SPARC ut700 development board. There
appears to be an issue in the RTEMS networking code
that must use floating point, but for some reason
the FPU has been disabled.</div>
<div class=""><br class="">
</div>
<div class="">Details below. Any insights into how to
resolve this issue would be appreciated.</div>
<div class=""><br class="">
</div>
<div class="">Development environment setup on:</div>
<div class="">
<div class="">Setup on:</div>
<div class="">CentOS Linux release 7.2.1511 (Core) </div>
<div class="">Linux spartan117
3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 23
17:05:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux</div>
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">$ git clone <a moz-do-not-send="true"
href="git://git.rtems.org/rtems.git" class="">
git://git.rtems.org/rtems.git</a> rtems</div>
<div class="">$ git checkout -b rtems411 origin/4.11</div>
</div>
<div class=""><br class="">
</div>
<div class="">Loading through grmon2, starting to run,
error messages, and some debug info:</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""> GRMON2 LEON debug monitor v2.0.74
32-bit pro version</div>
<div class=""> </div>
<div class=""> Copyright (C) 2016 Cobham Gaisler -
All rights reserved.</div>
<div class=""> For latest updates, go to <a
moz-do-not-send="true"
href="http://www.gaisler.com/" class="">
http://www.gaisler.com/</a></div>
<div class=""> Comments or bug-reports to <a
moz-do-not-send="true"
href="mailto:support@gaisler.com" class="">
support@gaisler.com</a></div>
<div class=""><br class="">
</div>
<div class=""> using port /dev/ttyUSB4 @ 460800
baud</div>
<div class=""> Device ID: 0x699</div>
<div class=""> GRLIB build version: 4110</div>
<div class=""> Detected system: UT699E/UT700</div>
<div class=""> Detected frequency: 125 MHz</div>
<div class=""> </div>
<div class=""> Component
Vendor</div>
<div class=""> LEON3-FT SPARC V8 Processor
Cobham Gaisler</div>
<div class=""> AHB Debug UART
Cobham Gaisler</div>
<div class=""> JTAG Debug Link
Cobham Gaisler</div>
<div class=""> Fast 32-bit PCI Bridge
Cobham Gaisler</div>
<div class=""> PCI/AHB DMA controller
Cobham Gaisler</div>
<div class=""> GR Ethernet MAC
Cobham Gaisler</div>
<div class=""> GRSPW2 SpaceWire Serial Link
Cobham Gaisler</div>
<div class=""> GRSPW2 SpaceWire Serial Link
Cobham Gaisler</div>
<div class=""> GRSPW2 SpaceWire Serial Link
Cobham Gaisler</div>
<div class=""> GRSPW2 SpaceWire Serial Link
Cobham Gaisler</div>
<div class=""> MIL-STD-1553B Interface
Cobham Gaisler</div>
<div class=""> Memory controller with EDAC
Cobham Gaisler</div>
<div class=""> AHB/APB Bridge
Cobham Gaisler</div>
<div class=""> LEON3 Debug Support Unit
Cobham Gaisler</div>
<div class=""> AHB/APB Bridge
Cobham Gaisler</div>
<div class=""> OC CAN AHB interface
Cobham Gaisler</div>
<div class=""> Generic UART
Cobham Gaisler</div>
<div class=""> Multi-processor Interrupt Ctrl.
Cobham Gaisler</div>
<div class=""> Modular Timer Unit
Cobham Gaisler</div>
<div class=""> Clock gating unit
Cobham Gaisler</div>
<div class=""> PCI Arbiter
European Space Agency</div>
<div class=""> General Purpose I/O port
Cobham Gaisler</div>
<div class=""> AHB Status Register
Cobham Gaisler</div>
<div class=""> SPI Controller
Cobham Gaisler</div>
<div class=""> General Purpose Register
Cobham Gaisler</div>
<div class=""> </div>
<div class=""> Use command 'info sys' to print a
detailed report of attached cores</div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
40085000 .eefs_ram 512.0kB /
512.0kB [===============>] 100%<o:p
class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
40000000 .tarfs_ram 530.0kB /
530.0kB [===============>] 100%<o:p
class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
40405000 .text 815.8kB /
815.8kB [===============>] 100%<o:p
class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
404D0F20 .rtemsroset 304B
[===============>] 100%<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
404D1050 .data 13.3kB /
13.3kB [===============>] 100%<o:p
class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
404D4560 .jcr 4B
[===============>] 100%<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Total size: 1.83MB (362.50kbit/s)<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Entry point 0x40405000<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Image
/home/sduran/sparc_leon3/SPARC_LEON3_Workspace/ut700/rtems4.11-kernel/rki.elf
loaded<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
RTEMS Kernel Image Booting<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
*** RTEMS Info ***<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
COPYRIGHT (c) 1989-2008.<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
On-Line Applications Research Corporation (OAR).<o:p
class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
rtems-4.10.99.0(SPARC/w/FPU/leon3)<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
BSP Ticks Per Second = 100<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
*** End RTEMS info ***<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Populating Root file system from TAR file.<o:p
class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Starting RTEMS network configuration<o:p
class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
RTEMS network config: All structures filled out,
now calling init functions<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Convert ethernet address<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Converting: 00:00:7a:cc:00:16<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Calling rtems_bsdnet_initialize_network<o:p
class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
greth: driver attached<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
**** PHY ****<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Vendor: 80017 Device: 9 Revision: 0<o:p
class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Current Operating Mode: 100 Mbit Full Duplex<o:p
class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Autonegotiation Time: 1739ms<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
RTEMS bsdnet_initialize_network returned OK<o:p
class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Hostname is gfe02.local<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Device gr_eth1, netmask 255.255.255.0,
address 139.169.132.128<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
gateway 139.169.132.1, dns1 139.169.132.1,
dns2 (null)<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Starting the FTP Server.<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
syslog: ftpd: FTP daemon started (1 session max)<o:p
class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Setting up filesystems.<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Initializing Local Commands.<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Running /shell-init.<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
1: mkdir ram0<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
2: mkdir ram<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
3: mkrfs /dev/rd0<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
4: mount -t rfs /dev/rd0 /ram0<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
mounted /dev/rd0 -> /ram0<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
5: hello<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Hello RTEMS!<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Create your own command here!<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Starting shell....<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
RTEMS Shell on /dev/console. Use 'help' to list
commands.<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
[/] # Unexpected trap (0x04) at address
0x404A6764<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
fp disabled<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Program exited normally.<o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""></o:p></div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
From UT700_LEON_Functional_Manual.pdf<o:p
class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Trap table on page 18:<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
TRAP TT PRI Description<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
fp_disabled 0x04 6 FP instruction while FPU
disabled<o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
grmon2> dis 0x404A6764<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
0x404a6764: d11861b0 ldd [%g1 + 0x1B0],
%f8 <_svfprintf_r+100><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
0x404a6768: a410a250 or %g2, 0x250, %l2
<_svfprintf_r+104><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
0x404a676c: 39101341 sethi
%hi(0x404D0400), %i4 <_svfprintf_r+108><o:p
class=""></o:p></div>
</div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
grmon2> bt<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
Inside trap/irq<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
%pc %sp <o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#0 0x40417e40 0x404e6158
<syscall+0><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#1 0x404ba880 0x404e61b8
<_CPU_Fatal_halt+0x8><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#2 0x40442d68 0x404e6218
<_Terminate+0x48><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#3 0x40441720 0x404e6288
<rtems_fatal+0xc><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#4 0x40416044 0x404e62e8
<bsp_spurious_handler+0xc><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#5 0x404bae24 0x404e6350<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#6 0x404a6710 0x40528180
<_svfprintf_r+0x10><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#7 0x404a20b4 0x40528428
<sprintf+0x50><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#8 0x4046eb68 0x40528500
<inet_ntop4+0x1c><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#9 0x4046ee90 0x40528570
<inet_ntop+0x2e8><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#10 0x4046eb3c 0x40528628
<inet_ntoa+0x54><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#11 0x40474a90 0x40528690
<arplookup+0xb8><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#12 0x404754c0 0x405286f8
<arpintr+0x1d4><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#13 0x40434048 0x40528788
<networkDaemon+0xa8><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#14 0x40433db4 0x405287f0
<taskEntry+0x1c><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#15 0x40499058 0x40528850
<_Thread_Handler+0xb8><o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
#16 0x40498fa0 0x405288b0
<_Thread_Handler+0><o:p class=""></o:p></div>
</div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0in 0in 0.0001pt; font-size:
12pt; font-family: 'Times New Roman';" class="">
So it would appear that RTEMS is in networking
code, calling sprintf, trying to perform a
floating point operation but for some reason the
FPU has been disabled.</div>
</div>
<div apple-content-edited="true" class=""><span
class="Apple-style-span" style="border-collapse:
separate; font-family: Monaco; border-spacing:
0px;"><br class="">
<br class="">
</span></div>
<br class="">
<br class="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br class="">
<pre class="" wrap="">_______________________________________________
devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:devel@rtems.org">devel@rtems.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.rtems.org/mailman/listinfo/devel">http://lists.rtems.org/mailman/listinfo/devel</a></pre>
</blockquote>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:devel@rtems.org">devel@rtems.org</a>
<a class="moz-txt-link-freetext" href="http://lists.rtems.org/mailman/listinfo/devel">http://lists.rtems.org/mailman/listinfo/devel</a></pre>
</blockquote>
<br>
</body>
</html>