OUR NETWORK:TiVoCommunity TechLore MyOpenRouter Dijit Community MediaSmart Home See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 342738.0
October 3, 2009 09:59 AM

Categories: PogoPlug Development

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

crimsonredmk

Member
Joined: 05/17/2009

The guys at PlugComputer are doing it, and while I don't take credit for being the first to do this (although I haven't seen it done yet), I'm planning to install Arch Linux on my Pogoplug, but retain the proprietary binaries to connect to my.pogoplug.com. So...an Arch Linux Pogoplug.

Why? USB webcams, TV Tuners, Wifi (via USB dongle), bluetooth (via USB dongle), and because, well, it's fun to hack stuff together. Why Arch Linux? Because I love PKGBUILDs and the fact that everything's EASILY open without complicated websites to navigate to find sources and instructions on how to build them.

So what's the purpose of this topic? Just to keep track of getting it to work. I do realize that most Pogoplug users will never actually install Arch Linux on their Pogoplugs, but this is for those who will. :)

Discussion:    Add a Comment | Comments 1-6 of 6 | Latest Comment

October 4, 2009 1:54 PM

I'm really looking forward to seeing this... make sure to keep us posted!

Peter Redmer
Administrator
Blog | Twitter

October 4, 2009 2:00 PM

Well, I've gotten as far as decompressing the ce_ramdisk. Used "file" to find out it was a .gz file which contained an ext2 filesystem...which contained a smaller, slimmed-down filesystem which contained rootfs.jffs2....I made a small Arch Linux chroot and used mkfs.jffs2 to make my own jffs2, renamed it rootfs.jffs2 and replaced the one in the ce_ramdisk. I grabbed a kernel from sheeva.with-linux.com. I "setenv mainlineLinux no" and "setenv arcNumber 2097". I tftp'ed in the new kernel in the same place, changing the hex size of it of course, and tftp'ed the new, modified ce_ramdisk in the same place. I modified the bootargs's size as well, to reflect the new size of ce_ramdisk. I then booted. I didn't get far. "Ok, booting the kernel." is where it died. The kernel was recognized by u-Boot as 2.6.31.1.

So I went back and flashed the ce_kernel and reset arcNumber and mainlineLinux to blank values. I booted and the familiar Linux output started rolling down the screen, but it had a problem with the ramdisk (I think) when it couldn't "open an initial console (try passing init= to the kernel)". I had initrd= in the bootargs and all.

I realize this procedure of changing the rootfs.jffs2 is dirty, but it's been my first try. It's pretty unbelievable that PlugComputer.com doesn't have any guides to flashing an OS on the internal NAND, only to USB/SD cards.

October 4, 2009 5:16 PM

The kernel usually hangs at "done booting the kernel" when the environment variables passed to the kernel aren't quite right. In your case the kernel 2.6.31.1 is a mainline kernel so mainlineLinux should be set to yes and you need the arcNumber set to 2097. Give it another try and with any luck it will boot.

October 4, 2009 9:41 PM

I'll try setting mainlineLinux to yes tomorrow. How about the jffs2? where should that go? The PlugComputer wiki describes how to do it from within an already running Linux environment, but doing it through u-Boot would be great.

October 5, 2009 6:56 AM updated: October 5, 2009 7:03 AM

I haven't messed around much with the nand but I was able to put the ubuntu jffs2 root file system onto mtd3 as we discussed in:
http://www.pogoplugged.com/forum/thread/11613/Touble-mounting-onto-dev-mtd3/

Putting it on mtd2 should just require adjusting the address's and size to match the desired location and actual size of your jffs2 file system.

nand erase 0x100000 0x400000
tftp 0x800000 ce_kernel_v1.1.img
(note transfer-size -- Should be 1973968)
nand write.e 0x800000 0x100000 0x1e1ed0

December 29, 2009 10:05 PM

any updates on this? I would love to boot a real linux install from my v2 plug

Discussion:    Add a Comment | Back to Top | Comments 1-6 of 6 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window