xGoat
More tea please.

My first package shipping through Fedora


After a bit of a delay, msp430-binutils, the first of my gcc packages is now part of Fedora 10. I’m now a sponsored (a.k.a. approved) Fedora packager :-D

So it can now be installed by running:

yum install msp430-binutils

Or, if you’re of PackageKit persuasion:

pkcon install msp430-binutils

msp430-binutils contains a number of tools for working with msp430 binaries. The ones that people will use the most are likely to be the assembler and linker. These are a requirement for the compiler, which I have packaged, but have yet to submit to Fedora. Hopefully I will get gcc in there over the next week — closely followed by the rest of the mspgcc toolchain.

Those who manually installed my packages will get the update through the normal Fedora update sources.

Above image derived from the Tango Desktop ProjectCC-SA licence.

Update (5/2/2009): I forgot to mention that this is part of the toolchain required to build the software for the Formica robots!

Posted at 8:46 pm on Thursday 5th February 2009
11 Comments

mspgcc RPMs for F10

I rebuilt the mspgcc packages for Fedora 10:

Once again, you’ll find the specfiles and source RPMs in the same directory.

You can install them all by running:

su -c "rpm -Uvh http://users.ecs.soton.ac.uk/rds/rpm/mspgcc/msp430-binutils-2.18-1.fc10.i386.rpm \
http://users.ecs.soton.ac.uk/rds/rpm/mspgcc/msp430-gcc-3.2.3-1.20080827cvs.fc10.i386.rpm \
http://users.ecs.soton.ac.uk/rds/rpm/mspgcc/msp430-libc-0-1.20080828cvs.fc10.noarch.rpm \
http://users.ecs.soton.ac.uk/rds/rpm/mspgcc/msp430-gdb-6.8-1.fc10.i386.rpm \
http://users.ecs.soton.ac.uk/rds/rpm/mspgcc/msp430-gdbproxy-0.7.1-1.fc10.i386.rpm"

Update (13/02/2009): msp430-binutils is now in Fedora (as I wrote in this post).

Posted at 12:56 am on Saturday 13th December 2008
3 Comments

UIF firmware breakage

Just a quick note that might help some people. After the Fedora update to 2.6.27, the UIF stopped working. This is because (I think) all of binary firmwares that the kernel has in it have now been moved outside the kernel itself. The driver for the UIF looks for “ti_usb-3410.bin” which doesn’t exist. This is due to some sort of naming problem. A temporary fix to this problem is:

su -c "cp /lib/firmware/ti_3410.fw /lib/firmware/ti_usb-3410.bin"

I’ll look into whether there are any open bugs on this soon.

Posted at 12:30 pm on Wednesday 26th November 2008
4 Comments

msp430-gdb in RPM form

Tom has been around here for the past few days working on the new Student Robotics kit with me. We got to the point where Tom needed to use msp430-gdb so he could debug the firmware for the msp430 on the power board. I’ve previously packaged the compiler, mspgcc, but I hadn’t got around to packaging gdb.

I decided that my time would be better invested if I finished packaging msp430-gdb rather than performing another source install on someone else’s machine. Whilst I was at it, I also packaged msp430-gdbproxy and the udev rule required to get the UIF to work.

Now all the mspgcc packages are available for Fedora 9:

You’ll find the specfiles and source RPMs in the same directory.

You can install them all by running:

su -c "rpm -Uvh http://users.ecs.soton.ac.uk/rds/rpm/mspgcc/msp430-binutils-2.18-1.fc9.i386.rpm \
http://users.ecs.soton.ac.uk/rds/rpm/mspgcc/msp430-gcc-3.2.3-1.20080827cvs.fc9.i386.rpm \
http://users.ecs.soton.ac.uk/rds/rpm/mspgcc/msp430-libc-0-1.20080828cvs.fc9.noarch.rpm \
http://users.ecs.soton.ac.uk/rds/rpm/mspgcc/msp430-gdb-6.8-1.fc9.i386.rpm \
http://users.ecs.soton.ac.uk/rds/rpm/mspgcc/msp430-gdbproxy-0.7.1-1.fc9.i386.rpm"

I’m still waiting for someone to review my request to get binutils for msp430 into Fedora. :-/

Posted at 1:50 am on Monday 17th November 2008
No Comments

mspgcc RPMs

I got fed up with having to run through the build procedure for mspgcc with others. I think I must have done it four times now. So, I’ve packaged it into some RPMs that I’ve built for Fedora 9. I’m trying to get them into the Fedora repositories, but for now you can download them from here. These include the patches for the msp430f2xx, and the other patches that the mspgcc guys recommend.

I haven’t done GDB yet, but hope to over the next few days.

Update (13/12/2008): I’ve since built these RPMs for Fedora 10. Find them here.

Posted at 6:58 pm on Saturday 30th August 2008
3 Comments

UIF Fixing

I spent today working on a bug in the driver for the TI UIF MSP430 programmer. It stopped initialising properly in 2.6.24, but it worked in 2.6.23. I did a git-bisect between those versions to find the commit that induced the fault. I narrowed the search a bit by telling git-bisect to work on commits only in drivers/usb/, as I hypothesized that the bug was induced somewhere in there.

About 10 builds and 20 reboots later, I found the commit in which the problem was happening, and then read some stuff about USB etc (the LWN device drivers book proved invaluable yet again) and subsequently generated a patch. I’ve sent it to (what I think are) the right places.

If you can’t wait for the next kernel release (if it passes review…), then you can rebuild the ti_usb_3410_5052 module by downloading this tarball, untarring it and then running “make” in the resulting directory, and then “make install” as root. You will need enough of your kernel’s sources hanging around to do this. In Fedora, these are provided in the kernel-devel package.

Update (5th April ‘08): The patch has made its way into Linus’s tree, so I think it’ll be in 2.6.25.

Posted at 12:25 am on Monday 24th March 2008
10 Comments

F9 Alpha Kernel oops reporting

I downloaded the Fedora Alpha 9 live CD ISO and ran it on my desktop. It’s got PolicyKit and PackageKit, which are pretty cool. Just after I’d logged in, I was greeted with this box:

Oops

I clicked “Yes” (I’d click “always”, but this was on a Live CD so it wouldn’t really have meaning), and then it popped up with:

Oops Sent

Pretty cool. It didn’t ask me for any of my details, which I think is cool. Going to kerneloops.org reveals that it exists to track which crash signatures occur the most.

Posted at 11:15 pm on Saturday 1st March 2008
No Comments

Finally registered that bug…

For ages I’ve been meaning to register a bug for the TI MSP430 under Fedora for an age now. Just done it.

Posted at 11:15 pm on Saturday 10th November 2007
No Comments

Disks

Spent a fair chunk of today sorting out Phil’s hard disk. Mac OS X had impolitely destroyed his partition table for him. I used TestDisk to recover it. There were a couple of issues, which meant that it took a little longer than it was “supposed” to.

It located a couple of adjacent ext3 partitions (Phil’s Fedora and Ubuntu roots) and generated some overlapping numbers for them. I had to manually edit the partition table using sfdisk to get it right. I particularly enjoyed the rollback-like features that sfdisk has (using -O and -I). I had to tell sfdisk to use sector units because it defaults to cylinders.

Then Phil gave me food. Excellent. Technical support for food.

Got a couple of management textbooks out from the library earlier. They’re really boring. Seem to be stating the obvious. Joy.

Posted at 11:06 pm on Tuesday 17th April 2007
No Comments

RPMtastic

Overview of last week of stuff:

Posted at 8:38 pm on Tuesday 26th December 2006
One Comment

Site by Robert Spanton. ©2008