Posts

Showing posts from 2017

Running Bare Metal PowerPC e500 Hello World

Random notes/links I collected for trying to get a bare metal PPC system to boot in Qemu There are plenty of examples all around for doing embedded, bare metal programming on ARM platforms, but the PowerPC examples seem to be sparse. Some ARM links: http://opensourceforu.com/2011/07/qemu-for-embedded-systems-development-part-2/ https://balau82.wordpress.com/2010/02/28/hello-world-for-bare-metal-arm-using-qemu/ Example bare metal hello world!!! https://github.com/ara4711/ppc_hw Building GNU GCC cross compiler http://ecos.sourceware.org/tools/linux-powerpc-eabi.html http://www.ifp.illinois.edu/~nakazato/tips/xgcc.html Other links: Writing to the RS-232 port of an e500 https://lists.gnu.org/archive/html/qemu-ppc/2015-08/msg00203.html Cross-compiling PowerPC http://www.ibm.com/developerworks/library/pa-emulation/ General Qemu help - https://landley.net/aboriginal/presentation.html#prebuilt_binaries Download Qemu for Windows https://qemu.weilnetz.d...

python print strings sorted by string length

for k in sorted(def_values, key=len, reverse=True): print k, def_values[k]