World of XorA

August 14, 2009

OMAP3 SD Booting

Filed under: Geek,Work — XorA @ 12:18 pm

There is an updated and bugfixed version of this script now added to the OE git repository where all updates from now will be done.
Latest Version

Since the instructions to format an SD card for booting with beagle/zoom2/other omap boards seems to be so complex I decided to write a script that was nice and simple to accomplish the same task.

Here is my tested and working script.

Download
#! /bin/sh

DRIVE=$1

dd if=/dev/zero of=$DRIVE bs=1024 count=1024

SIZE=`fdisk -l $DRIVE | grep Disk | awk '{print $5}'`

echo DISK SIZE - $SIZE bytes

CYLINDERS=`echo $SIZE/255/63/512 | bc`

echo CYLINDERS - $CYLINDERS

{
echo ,9,0x0C,*
echo ,,,-
} | sfdisk -D -H 255 -S 63 -C $CYLINDERS $DRIVE

mkfs.vfat -F 32 -n "boot" ${DRIVE}1
mke2fs -j -L "rootfs" ${DRIVE}2

To run this script you will require to run it as root. On Ubuntu or other linux with sudo setup run the script as

sudo sh mkcard.sh /dev/sdX

replacing sdX with the base device name of your SD card device.

If your running a distribution without sudo setup then become root then run the script as

su -
sh mkcard.sh /dev/sdX

August 3, 2009

Cave Hunting in Roslin

Filed under: Friends,Fun — XorA @ 10:44 am

Has been a fun weekend with a bit of excercise thrown in for good measure. A trip out to the Roslin Annual Jamboree with Jen and Kirsten. The Jamboree itself was basically a village fete so we had tea and cakes. Kirsten found herself a mini steam train to ride on.

One of the guys/rangers at the even told us that there was an interesting cave called Wallace’s Cave down the river from where we were and that you could actually get along the path that was marked as closed so we decided to hunt that.

Much climbing of hills, walking along walls bridging deep crevasses and head height nettles we found a variety of cave like places but not the right cave. But we did find a cool little mini waterfall.

We kind of decided that we should do it again, but next time in suitable clothes for getting wet and actually walk the river bed. In prep I also have the Ordinace Survey maps for mobile devices borrowed from a countryside ranger. I guess I better find waterproof PDA housing.

July 27, 2009

OMAP Zoom2 Day 4

Filed under: Geek,Work — XorA @ 11:52 am

Ok, as the kernel and rootfs are working to some degree and the autobuilders are making omapzoom2 packages and narcissus is generating zoom2 image I made it official today. Ångström supports the zoom2 officially now!

http://www.angstrom-distribution.org/omap-zoom2-support

July 14, 2009

OMAP Zoom2 Day 3

Filed under: Geek,Work — XorA @ 10:32 am

Fixed/discovered why I was having touchscreen issues, now touchscreen is working.

Found out why gpe-login was dieing, Xorg uses neon via pixman but the default andoid config doesn’t enable neon in kernel so fixed that.

This means that the zoom2 can now boot x11-image fully. I guess this means Angstrom supports OMAP Zoom2 I shall have to update the Angstrom website later/tomorrow to reflect this status.

Only bit of work I would like to finish now before calling it totally complete is to work out why mainstream u-boot cannot boot kernels. It would be nice to use that as its defineately got some bugs fixed with FAT mmc cards.

July 12, 2009

Bret Hart

Filed under: Wrestling — XorA @ 6:56 pm

[photopress:bret.jpg,full,pp_image]

Me meeting Bret Hart at the book signing today! I’m such a fanboy :-D

July 10, 2009

OMAP Zoom2 Day 2

Filed under: Geek,Work — XorA @ 10:21 pm

Well more progress today on Ångström support for the Zoom2.

After trying different kernels I found the android/omap 2.6.29 kernel would compile and successfully boot on the Zoom2. This is also the first kernel I have found where fbdev works.

Xorg will now run and is using accellerated omapfb driver and I have had windows working. touchscreen for some reason is broken and gpe-login bails out so we cant yet use Xorg. But this is a massive step forward.

Also needed is to work out why OE built u-boot mainline will not boot kernels. There is some important FAT compatability work that makes mainline u-boot more desirable.

Getting ever closer to full Ångström support though!

OMAP Zoom2 Day 1

Filed under: Geek,Work — XorA @ 9:01 am

[photopress:newtoy.jpg,full,pp_image]

So, thanks to a generous donation from TI I got to start working on Ångström support for the Zoom2 devkit last night.

After some false starts while trying to decode conflicting documents I managed to get it to boot from the SD card with a u-boot that was built from OE.

The mainline linux-omap is currently broken for omap2/3 so I resorted to the TI kernel from omapzoom.org which I managed to get to compile in OE fairly easilly. I also generated an x11-image.

The kernel seems to boot but when it gets to starting init strange things happen. It looks almost as if it slows the clock down to something silly like 10Mhz as it takes 3-4 minutes just to get to the udev 141 starting message. Then after about 20 mins doesnt apear to have done much else.

More work to do on this tonight!

May 31, 2009

What I has done!

Filed under: Uncategorized — XorA @ 11:25 pm

Well on Weds I visited the zoo with Jen, haven’t been for ages and there have been a lot of changes and new buildings. Was also the day the were moving Mercedes to new home. Big huge crate and some burly guys reading to pack it. Got to see the penguin parade which is always fun. Zoo did seem to be stuck in some inbetween season, they hadn’t decided to be properly open for summer which meant I had to make do with some really bad burger for lunch :-(

Friday was Gigantor with Jen, I remember liking Gigantor but I must say thats two I’ve been to I’ve not really enjoyed, just can’t get into the music they play! So as I was feeling too hot and it was nice outside we left early and wandered home.

Saturday I spent the day at Unique Beats which was a festival of electronic music in the Roxy Arthouse. I must say I really love the Roxy Arthouse, it’s an amazing venue, an old converted church. Afternoon had companies advertising their software and doing workshops along with some people playing all day. Evening it changed to full on gig with some amazing people doing their music. Saw some really great and unusual sets, almost all of them involving real instruments as well as computers and gadgets. And Frog Pocket is amazing, go see if you ever get the chance. Wore my boots of doom and got lots of compliments :-D For the last set of the day I got to hang around behind the no!input desk watching how they did the visuals which was interesting. Then off to the Brass Monkey for a few pints.

Today I caught tried to catch up on TNA and WWE, 7 hours in total, but still more to watch!

May 28, 2009

Servers

Filed under: Geek,Work — XorA @ 3:57 pm

Well second server is hear with drives now so its getting really loud in the office :-)

rsyncing the data from the old server to the new, going pretty damn quick!!!!

In the last few days I have also enhanced my WordPress theme editing skills and played around with remembering how to write sh scripts. Ill have to put this to use on my own WordPress to make a better theme for me. Quite a difficult task as I lack most artistic talents :-)

May 20, 2009

Stupid Errors

Filed under: Uncategorized — XorA @ 4:38 pm

OK RAID cards confuse me with their undocumented errors. Why don’t you just say some idiot set you in JBOD mode so you can’t create Raid Sets. Then I would have hunted through the menus to find the well hidden JBOD setting and disabled it.

Worse this is the error didn’t even produce any sensible google hits either.

« Newer PostsOlder Posts »

Powered by WordPress