ppc

Embedded Linux device tree parser in python?

I am looking to create a utility that validates Embedded (PPC or ARM) Linux *.dts (device tree source) or *.dtb (binary) files against an XML configuration file from another tool. So, I need to parse the dts or dtb files. I would really like to do this with Python. Does anyone know of a Python library or tool out there that parses dts...

What does the C compiler do with bitfields?

I'm working on an embedded project (PowerPC target, Freescale Metrowerks Codewarrior compiler) where the registers are memory-mapped and defined in nice bitfields to make twiddling the individual bit flags easy. At the moment, we are using this feature to clear interrupt flags and control data transfer. Although I haven't noticed any bu...

How to charge for running an adwords campaign

I've recently been asked to run an adwords campaign. I have no clue how to charge for this. Do I charge monthly/weekly? Do I charge a % of their budget? Do I charge for the setup cost? Do i charge based on the number of keywords? ...

Why might MonoDevelop 2.4 not start on a PowerPC Mac running Tiger

I am trying to get MonoDevelop 2.4 to run on a PowerPC Mac running Tiger. I have downloaded Mono 2.4.3 from the "older releases" page off the download page and installed it. I have downloaded the OS X MonoDevelop 2.4 package and installed it. When I run it is doesn't start - it bounces up and down in the dock for a bit and then disappea...

How do I get the CPU ID on a multi-core PPC?

I have a multi-threaded app which is running under linux 2.6.30 on an 8 core PPC processor. I want to determine which CPU is being used when a thread is launched. The obvious answer is to print the PID - processor ID special purpose register. The PID register is accessed using the mfspr instruction. I try to access it using the followi...