Jump to content


Photo

Debian On An Sd Card


  • Please log in to reply
326 replies to this topic

#1 Stuckie

Stuckie

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:Tired, and sleeping in the basement...

Posted 19 October 2010 - 09:18 AM

Debian Squeeze is now running on the Pandora via SD - please see this post for more details: http://www.gp32x.com...post__p__940030

Hiding old post for posterity, and to confuse people less ;)

Spoiler

Edited by Stuckie, 20 February 2011 - 01:06 AM.


#2 xopher

xopher

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 226 posts
  • Gender:Male
  • Location:Where I am

Posted 19 October 2010 - 01:35 PM

Thanks Stuckie, can't wait to begin playing with this. This is pretty sweet. Wish I had an extra card here at work with me...damn! I know you stopped working on the Ubuntu releases and are probably busy but have you looked at the recent images for 10.10 yet? I was thinking of taking a crack at it, I'd love to get Plasma running :)

#3 Stuckie

Stuckie

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:Tired, and sleeping in the basement...

Posted 19 October 2010 - 02:03 PM

Ubuntu should be more doable as a bootable SD card than in an Extend that runs on top of the system.
I think I still have the Lucid extend I did a while back ( probably still on my site ) so I'll have a quick look at that tonight.. if I can get it to the same level as I have Debian just now, they should both be able to continue at the same pace.

#4 xopher

xopher

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 226 posts
  • Gender:Male
  • Location:Where I am

Posted 19 October 2010 - 02:19 PM

Here, in case you wanted to have a quick look at the pre-installed images

http://cdimage.ubuntu.com/kubuntu-mobile/ports/releases/10.10/release/

http://cdimage.ubuntu.com/ubuntu-netbook/ports/releases/10.10/release/

#5 Stuckie

Stuckie

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:Tired, and sleeping in the basement...

Posted 19 October 2010 - 03:07 PM

Ah.. in that case, it should literally just be a case of grabbing one of their rootfs tarballs, and running through what I did in the first post - specifically the boot.txt and copying of the modules and uImage.

Will post my findings when I get home :)

#6 xopher

xopher

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 226 posts
  • Gender:Male
  • Location:Where I am

Posted 19 October 2010 - 04:01 PM

Will post my findings when I get home :)


I gave it a quick rip. It started to boot the kernel then froze. I didn't look any further at the time. You're good with this stuff so you'll probably get it booted swiftly.

#7 Stuckie

Stuckie

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:Tired, and sleeping in the basement...

Posted 19 October 2010 - 10:46 PM

My quick attempt got it to boot, but it decided to ignore all input devices, so all I got was the pretty Maverick GDM screen.
I then copied the uImage over from Angstrom.. and it didn't finish booting.. hmm..

I had to rip the rootfs out the img file anyway, so I possibly buggered that up a bit.. so I got rootstock to build me a nice clean minimal Ubuntu rootfs of Maverick, and I've currently got my Pandora upgrading to the ubuntu-netbook meta-package. I imagine it'll be ready to have a prod with in the morning.

I think Ubuntu is taunting me though, as this is my second attempt at getting it on the Pandora... so hopefully this'll work in the morning :)

#8 xopher

xopher

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 226 posts
  • Gender:Male
  • Location:Where I am

Posted 20 October 2010 - 08:46 PM

My quick attempt got it to boot, but it decided to ignore all input devices, so all I got was the pretty Maverick GDM screen.
I then copied the uImage over from Angstrom.. and it didn't finish booting.. hmm..


I got it to boot also (Netbook edition not the Kubuntu image). No input like yours. I renamed the boot.scr and added autoboot.txt to the first partition pointing to the second. Guess I'll hack away at this with you, I'm learning as I go.

EDIT: Might a USB keyboard work for input....guess I'll try later.

Edited by xopher, 20 October 2010 - 08:47 PM.


#9 Stuckie

Stuckie

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:Tired, and sleeping in the basement...

Posted 21 October 2010 - 08:08 AM

I might've tamed the bugger!

I grabbed my Jaunty extend and splatted it across an SD card, copied in the libraries and kernel image, and it booted without much issue :)
Well, without much issue as in I buggered up the permissions so couldn't log in, but I'm fixing that just now ;)
I also got sound! And it at least registered the touchscreen - but was using the wrong driver, so I'll fix that too.

Ok, so it may be Jaunty which is 9.04, but I shall try Lucid next - which seeing as it's the latest LTS release, shouldn't have people complaining too much about it "being old" :P
I'll then attempt Maverick again, but it seems to be a bit picky.. as a number of times I booted a minimal install of Maverick and it actually gave up booting part way through, annoyingly.

Once the permissions are sorted, I'll tar and upload it for people to play with.

[edit]
Instructions:
Grab Jaunty Extend from: http://stuckiegamez.co.uk/apps/pandora/UbuntuExtend/ubuntu-arm-jaunty-desktop-3.5G.7z
Unzip somewhere.
mkdir tmpMount
sudo mount -o loop ubuntu-arm*.extend tmpMount
sudo cp -a tmpMount/* /path/To/SD/
sudo cp uImage /path/To/SD/boot/
sudo cp boot.txt /path/To/SD/
sudo cp -R modules /path/To/SD/lib/
Reboot Pandora.

User: ubuntu
pass: pandora
[/edit]

Edited by Stuckie, 21 October 2010 - 09:01 AM.


#10 xopher

xopher

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 226 posts
  • Gender:Male
  • Location:Where I am

Posted 21 October 2010 - 01:35 PM

Will this be picky about ext3 vs ext2? Maybe you'll see this before I begin copying :)

#11 Alerino

Alerino

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1483 posts

Posted 21 October 2010 - 01:40 PM

thanks a lot, stuckie, gonna test it soon
:)

#12 Stuckie

Stuckie

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:Tired, and sleeping in the basement...

Posted 21 October 2010 - 01:48 PM

Shouldn't matter about ext2 or ext3.

Ubuntu has the same driver issues as Debian, however.. so you still wont get WiFi yet, but you do have the addition of sound.
Interestingly, Ubuntu did run faster than Debian did; not wholly sure how either.

I didn't have time this morning to tar up the filesystem, so you'll need to follow my quick guide in my previous post if you want to fiddle with Ubuntu before I get home again, and you'll want to chroot in and grab the tslib stuff as well else your touchscreen will be quite quite mad.

#13 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 21 October 2010 - 01:55 PM

My quick attempt got it to boot, but it decided to ignore all input devices, so all I got was the pretty Maverick GDM screen.
I then copied the uImage over from Angstrom.. and it didn't finish booting.. hmm..

Ubuntu has the same driver issues as Debian, however.. so you still wont get WiFi yet, but you do have the addition of sound.
Interestingly, Ubuntu did run faster than Debian did; not wholly sure how either.

Debian haven't migrated to upstart ?
That could explain the speed difference

#14 Stuckie

Stuckie

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:Tired, and sleeping in the basement...

Posted 21 October 2010 - 02:05 PM

Upstart would only explain the bootup running fast ( which was pretty comparable, to be honest ) not the system itself feeling more responsive.

I'm also not a fan of upstart after the chaos it caused me last time, so I'm quite happy for Debian not to bother migrating ;) especially since it severely buggers up chroots.

#15 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 21 October 2010 - 02:11 PM

Upstart would only explain the bootup running fast ( which was pretty comparable, to be honest ) not the system itself feeling more responsive.

I'm also not a fan of upstart after the chaos it caused me last time, so I'm quite happy for Debian not to bother migrating ;) especially since it severely buggers up chroots.


So the part I didn't get, is that you have actually used ubuntu (ses my previous quotes). Sorry about that, and congrats :P