Embedded ARM7/9 programing under Linux suggestions and advise?
by KC8LDO
I have a friend interested in doing some programming for embedded
applications using an ARM7/9 cpu. I was recommending using Linux as the host
OS. I also suggested he use Eclipse as the IDE with the right tool chain
plug-in installed. The OS to use on the cpu I was recommending FreeRTOS. The
question I have is where can you get the right tool chain to do the
programming? My main concern is what about the "standard" libraries to use?
All the info I've found so far seems to targets some major OS using their
header files, which of course won't work with FreeRTOS as far as I know. I
suppose at worse he could strip out any Linux specific library functions
from the GNU versions and compile those as a replacement.
I have a professional suite I use on the job, which I just recently got from
Keil, to support a new product my employer will manufacture, and does what
he wants, but of course at $4900 he isn't going to buy his own copy for
hobby use. He liked what he saw thus my recommendations above.
All opinions welcomed.
Leland C. Scott
KC8LDO
14 years, 6 months
Fedora 12 still will not load
by Gunnar Sperber
The kind suggestions by Michael Schwendt and Joachim Backes do not
work; no GRUB screen appears. I nourish a suspicion, which may of
course be wrong, that Fedora 12 cannot quite handle the the new Intel
Core I5 processor, or even that there is some hidden bug in the
processor design.
14 years, 6 months
F12: Installing OpenMPI-devel doesn't put mpi* compiler in the PATH
by Reuben D. Budiardja
Hello,
Does anyone know why installing openmpi and openmpi-devel does not put the
mpiCC, mpicc, and mpif90 compiler wrapper in the PATH ?
This is on F12.
On my previous F10, installing openmpi-devel sets the following symlinks, for
example:
/usr/bin/mpif90 -> /etc/alternatives/mpif90
/etc/alternatives/mpif90 -> /usr/bin/opal_wrapper-1.2.4-gcc-64
which resulted to have mpi* compiler wrappers to be in the path.
After some poking around, I found that in F12, these compiler wrappers are in
/usr/lib64/openmpi/bin, but they are not in the PATH. I wonder why this is the
case, and if it's intentional or a (minor) bug.
RDB
--
Reuben D. Budiardja
Dept. Physics and Astronomy
University of Tennessee, Knoxville, TN
14 years, 6 months
suggested upgrade path from fc8 to fc12 *OR* isolated kernel upgrade from 2.6.23 to 2.6.32
by sting
I'm on fedora core 8, and I may have a need to upgrade to the latest, v12,
because of an issue I'm encountering (described in "some background",
below, but my main query is here). Essentially, I'm going to have to
either upgrade frin fc8 to fc12 or perform an isolated kernel upgrade from
2.6.23 to 2.6.32 (that may not be without issues).
If I understand the issue I'm having correctly, what will fix it is a
kernel ugprade. I've attempted to upgrade the kernel to latest (2.6.31 at
the time) but I've run into some problems that will require
troubleshooting, and given that I extremely rarely upgrade kernels, it
could take me a while (fwiw, I tried the kernel ugprade on a vmware
instance, don't know if that can lead to kernel upgrade problems that I
otherwise wouldn't have).
So before going down that path, I would like to know:
1. If there are any chances that kernel compatibility with certain
userland tools could be broken (once the kernel is correctly booting, that
is) given the "large" version jump from 2.6.23 to 2.6.32 (might as well
update to latest). For example, would some commands for traffic control
(tc) not work anymore?
2. If it actually would be simpler & safer to just upgrade the
distribution? (as long as the paths to the various network scripts
haven't changed, mostly around interfaces, VLANs, etc)
In terms of keeping the various tools on the machine compatible with the
kernel, I am tempted to go with #2. However, how safe is it to jump
directly from fedora core 8 to fedora core 12? I guess most upgrades are
tested from FC version N to N+1. I would jump 4 versions directly.
For what it's worth, I have an image of the machine running on vmware, so
I could attempt the ugprade there first.
Any suggestions as to which path I should take? Isolated kernel upgrade
or upgrade the distribution?
Thanks,
sting
----------------------------
Big PS: (if you care about the context)
We use a fedora core 8 box as a router, mostly to shape traffic for
network simulation purposes. We have many projects (games or
games-related, actually) that use real-time network communication, and
employ various network models. Via the use of VLANs, we allow for machines
anywhere in our studio to hop on this router, at which point we apply
selective traffic shaping rules. So, we have a large number of interfaces
(due to the large number of VLANs), and in order to shape traffic
bidirectionally, we also use the ifb device which adds even more
interfaces. So:
- We have lots of interfaces: 52 (26 VLAN interfaces, 26 equivalent ifb
interfaces)
- We mostly use the token buffer filter (tbf) and netem queueing disciplines
- We use the mirroring action to redirect ingress traffic from the
regular VLAN interfaces to the IFB devices
Every now and then, when replacing/removing/adding qdiscs on the fly (and
I think it only happens when a tbf qdiscs is involved), the kernel locks.
No crash, just a lock, seemingly stuck in an endless loop.
There seems to have been some work done on around endless loops in the
kernel network scheduler around nov 2006. Kernel 2.6.23 (which I have)
was released around sept 2007. Maybe it takes that long to promote some
changes from dev to release. Hopefully that's what I'm hitting. And
hopefully by doing a kernel upgrade it will go away.
14 years, 6 months
error updating F12
by dave perry
Starting yesterday, I get the following error when I accept "install all
updates":
Error Type: <class 'yum.Errors.RepoError'>
Error Value: Error getting repository data for installed, repository not
found
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in
<module>
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in
main
backend.dispatcher(sys.argv[1:])
File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line
710, in dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line
657, in dispatch_command
self.update_packages(only_trusted, package_ids)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1948, in
update_packages
signed = self._is_package_repo_signed(pkg)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1437, in
_is_package_repo_signed
repo = self.yumbase.repos.getRepo(pkg.repoid)
File : /usr/lib/python2.6/site-packages/yum/repos.py, line 121, in
getRepo
'Error getting repository data for $s, repository not found' $ (repoid)
Regards,
Dave Perry
14 years, 6 months
mplayer stop XScreenSaver ignored
by Dj YB
hello list,
I am using fedora 11
mplayer version SVN-r29701-4.4.1
(but the problem appeared in earlier versions as well)
NVIDIA driver version 190.42
X server version number 11.0
server vendor version 1.6.3.901 (10603901)
NV control version 1.20
I have toggled "stop XScreenSaver" in mplayer misc tab
and my screen saver is still running while mplayer is playing in full screen.
please advise...
thanks,
YB.
14 years, 6 months
Compiz plugins
by Eric Tanguy
Is there somewhere a howto or something like that about compiz plugins.
I don't know which plugins are in fedora, which one could be add and how
to use it (key combinations). I try to test the water one and i can't
achieve to find the keys to use or the keys does not work ...
Thanks
Eric
14 years, 6 months
Advantages of 64-bit on my laptop?
by Robert Nichols
I just noticed that the CPU in my Lenovo laptop is 64-bit capable. It
came with a 32-bit OS installed, so I never bothered to check. Is
there any real advantage to running the 64-bit version of Fedora on a
laptop that is limited to 2GB RAM? Just wondering. The F-12 x86_64
Live CD does boot and run just fine. I've been running the i686
versions of F-11 and (now) F-12.
--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
14 years, 6 months
Replacing corrupted package
by Brian Wood
I'm trying to use consolehelper on F10 to move to F11. When I run it it
says: Unable to load image-loading module. And it says
/usr/lib/librsvg-2.so.2
has an invalid ELF header. I ran rpm --verify librsvg2 and it gives:
S.5..... /usr/bin/rsvg-convert
S.5..... /usr/lib/librsvg-2.so..2.22.3
I downloaded librsvg2-2.22.3-1.fc10.i386.rpm
I tried yum install librsvg2-2.22.3-1.fc10.i386.rpm
but it says:
librsvg2-2.22.3-1.fc10.i386.rpm: does not update installed package.
I ran yum remove librsvg2, but it wanted to remove 19 packages,
so I didn't allow it to do that. How can I replace the already installed
and apparrently corrupted package using the rpm that I downloaded?
TIA.
--
Brian Wood
http://www.webEbenezer.net
14 years, 6 months
mouse cursor weirdness
by oleksandr korneta
Fedora 12, fluxbox (fluxbox-1.1.1-5.fc12.x86_64). Keyboard multimedia
buttons (XF86AudioNext, XF86AudioPrev, XF86AudioPlay) are bound to
rhythmbox-client. When pressing the button the mouse cursor gets thrown
in upper-left corner of the screen. It is quite annoying, I must say.
Dont remember such thing on F9 (my previous one). Any suggestions whom
to blame (fluxbox, xorg, evdev)?
--
regards,
Oleksandr Korneta
I'm running F12 x86_64 and F10 on x86_64 hardware, should this matter.
/The nice thing about standards is that there are so many to choose from./
14 years, 6 months