• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  General Category / General Discussion / How to install Debian Squeeze onto the Guruplug NAND - from USB on: July 27, 2012, 05:23:05 AM
I was able to successfully install Debian Squeeze onto an USB stick and boot off it. But for longer term, I need to be able to flash the Guruplug NAND flash with Debian and boot without an USB stick.

I found some matches from the internet, but they are all complicated Sad I am a newbie and would really appreciate if someone pointed out to me a link which has detailed steps on how to get from the USB boot to NAND flash boot.

Thanks in advance,
-- warpcore
2  Linux Stuff / Kernel / [solved]Can boot stock kernels off the USB, but booting with custom kernel fails on: November 11, 2010, 02:14:45 AM
I solved it. UBIFS support was present as a module in my kernel. Changing it to static (replacing 'M' by '*') solved it. Now I can boot off my custom kernel without any glitch !

3  Linux Stuff / Kernel / Can boot stock kernels off the USB, but booting with custom kernel fails :( on: November 11, 2010, 12:37:27 AM
I have a working sheeva plug which works perfectly. It boots off the NAND as well as the USB. That way, I am able to test newer kernels off the USB which I am getting from http://sheeva.with-linux.com/sheeva/

But the moment I try to put my own custom built kernel over the USB and try to boot the same way I booted a custom built kernel, it panics and says that it can't find the rootfs. My custom kernels are built using the crosstool-ng generated arm toolchain and for simplicity I used a kernel with defconfig_kirkwood configuration, but that did not work either Sad

I am booting off the NAND with the following commands:

setenv bootargs console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs   
nand read.e 0x00800000 0x00100000 0x00400000 
bootm 0x00800000

And I am booting off the USB with the following commands:

setenv bootargs console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs)  ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs   
usb start                                           
fatload usb 0 0x800000 uImage       
bootm 0x00800000                           

Can anyne please help me ? Or provide any pointers if I am making any mistake here ? is there some support that I am not compiling-in in my kernel build ?

4  Hardware and U-Boot firmware / Hardware / Re: SheevaPlugs with a - (dash) in the S/N from GLOBALSCALE on: November 05, 2010, 04:53:11 AM
Finally got it working. I had to change some things in uboot-dflt.txt and uboot-nand-custom.txt, and change the uImage I was using.

Can you please tell me what changes you did on those files? I am facing the *exact* same problem and if you provide me the details, I would be grateful.

Thanks in advance!
5  Hardware and U-Boot firmware / Hardware / Re: Dead plug - Please help me with steps to recover it on: November 04, 2010, 05:59:25 PM
Thanks for your reply. I did make some progress on it yesterday. Now I am able to serial into it. Seems, I was serialing in after the plug attempted to boot and the kernel was hosed. Hence, serialing produced a blank screen. Now if I serial in as soon as I power it up, I can see the U-Boot prompt.

I did some searching on the net and was able to load Debian lenny onto a pen drive and boot the plug off it. But the next step now is to flash the NAND with the Debian installation and that is where I am blocked right now. I am trying the steps mentioned in: http://www.plugcomputer.org/plugwiki/index.php/Installing_Debian_To_Flash  but it mentions using 'ubiformat' at one point. Despite having installed mtd-tools, I am just not able to get where that binary is Sad

As a result I am completely blocked on flashing the NAND with the Debian installation Sad Any pointers would be greatly appreciated! My Debian works nicely off the thumbdrive though. I am able to get an IP using DHCP and also able to ping google.com etc. Everything is great, except that I want that to work off my NAND !!

6  Hardware and U-Boot firmware / Hardware / Dead plug - Please help me with steps to recover it on: November 03, 2010, 05:38:30 PM
I work in a lab and have a dead Sheeva Plug(or at least it appears dead). The guy who bricked it is no longer available, so I can't reach him either. So all I am left with is a dead plug which I need to bring up to a working state.

My main problem is that I am not able to serial into the plug. All my settings are right in putty. I was thinking of rebuilding the entire image from scratch and trying to reload the image into the plug, but wanted to know if a simpler solution existed. Right now, when I plug it in, I can see *both* green and blue LEDs lighting up. So only issue is that I can't serial into it. But when I plug in an USB into the miniUSB port, I do get a ttyUSB1 in my linux /dev directory. dmesg also confirms the fact that it was recognized properly as an FTDI device. Using minicom to connect to ttyUSB1 with the recommended settings does not bring up the console Sad

What would you guys recommend as the first step to unbrick this plug ? Or is there anything that I might be doing wrong.

Thanks in advance for your help.

Pages: [1]