LinuxCon 2011 Presentation: Introduction to Python Programming Language

The third LinuxCon 2011 presentation is “Intro to Python” by Peter Krenesky, Lead Software Engineer at OSU Open Source Lab. Abstract: This presentation is a Python programming language tutorial with basics of Python including none, strings, formatting, data structures (tuple, list, dict, slices, etc…), classes (methods, inheritance, initializers, etc…), if statements, iterations and more. If you want to download the presentation slides, please go to Intro to Python and use the download button on top of the Slideshare presentation. If it does not work, you may also download a copy here or here. Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011. www.cnx-software.com

Xibo Digital Signage Version 1.3.0 Released

Xibo has just announced the release of Xibo 1.3.0 (codename: “Faye”). Bear in mind that this is a development release and is not supposed to be used in production environments. The next stable release will be version 1.4.0 and The current stable version is 1.2.2. If you would still like to evaluate Xibo 1.3.0, you may download it at https://launchpad.net/xibo/1.3/1.3.0 New features in Xibo 1.3.0: Permissions Overhaul: The most significant change in 1.3.0 is the permissions system in the server interface. This update introduces individual and group permissions for: Layouts Library Media Regions Region Media Assignment It is also now possible to assign permissions to “Everyone” on all of the above items. Media Manager Homepage: A simple user interface for managing layout/media assignments that the user has access to. This “homepage” can be assigned on a user by user basis. Customer Counter: The Python client has been enhanced to support […]

Cross-compiling Python for MIPS and ARM Platforms

Python programming language is used in several open source projects such as Sugar OS and Xibo. Let’s see if we can cross-compile it in Ubuntu 10.10 using a mips compiler. I’ll use the instructions given at http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html. Let’s download Python 2.7.1 first and extract the source code:

Then run the following command in Python-2.7.1 in order to build some tools for the host:

There is no patch for Python 2.7.1 cross-compilation in the link above, so let’s just try to configure and build it:

If we don’t use a patch the first error is:

So I used some older patch to create a new patch: http://www.cnx-software.com/patch/python-2.7.1-cross-compile.patch. You can download it an apply it as follows:

And repeat the step above to configure and cross-compile Python for mips. Finally install Python in ~/Python-2.7.1/install for example:

After that copy all necessary files in ~/Python-2.7.1/install to your […]

OLPC XO 1.75 Hardware, Firmware and Software

OLPC demo’ed their 3rd generation laptop – OLCP XO 1.75 – based on Marvell Armada 610 at CES 2011. The good thing about this platform is that they opened most of it including the hardware, the software and for the first time the firmware. However, I found out it’s not so easy to find the hardware / software development information and source on the OLPC site, so I’ve decided to make a summary and provide links to the hardware, firmware and software for OLPC XO 1.75. OLPC XO 1.75 Hardware The XO-1.75 is powered by Marvell Armada 610 CPU (88AP610) with an ARM core clocked at 1Ghz. It has 1GB DDR3 SDRAM, 4GiB NAND Flash, a TFT display, an SD Card slot, Wi-Fi,  a few USB ports and a camera. I believe the touchscreen is not part of the current hardware, but the block diagram below should be close to […]

UP 7000 x86 SBC