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

 
Learn about scoring Forum's Raw Score: 5035140.0
May 16, 2009 07:58 AM

Categories: PogoPlug Development

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

Member Avatar

ahmed002

Member
Joined: 05/16/2009

With referece to the following discussion

http://pogoplug.uservoice.com/pages/general/suggestions/129156-enable-ssh-login-

Where is the location of the mkfs.jffs2 and the mtd-tools.  I would be really helpful to get a tar ball of all the tools required to create a "pogoplug development workstation".

Discussion:    Add a Comment | Comments 1-25 of 79 | Latest Comment | 1 2 3 4 Next »

May 18, 2009 10:38 AM

Anyone from Pogoplug team willing to take a stabe at this?

May 18, 2009 8:53 PM

Ok i realize now that you can use mtd-tools such as mkfs.jffs2 from any linux distribution. Much like mkisofs. I was also able to download the cross complier from http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2...

I was also able to use many of the DroboApps and mkfs.jffs2 them so that i installed them on /dev/mtd3. I'll probablly write a brief howto later once i have made some more progress.

Now actually i am at a point where i might want to install my own linux kernel but for that i need your production kernel as a backup so that i can restore in case of fopa. And what would exactly be the restoration procedure? I guess it could involve nanddump which i have cross compiled from the mtd-tools.

May 18, 2009 10:56 PM

Here is a quick synopsis of restoring our board from the u-boot bootloader prompt (accessible via the 3.3v UART pins on the board).

1. Download uimage, and install ramdisk from below and install them in your tftp server

http://pogoplug.com/downloads/ce_kernel_v1.1.img
http://pogoplug.com/downloads/ce_ramdisk_v1.1.img

2. At bootloader prompt:

setenv serverip
setenv ipaddr
setenv ethaddr
setenv cesvcid
setenv ceboardver PP_GTI:3.0
setenv bootcmd 'nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000'
saveenv

setenv serverip
setenv ipaddr

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

tftp 0x1000000 ce_ramdisk_v1.1.img
(note transfer-size -- Should be 9976735)
setenv bootargs $(console) root=/dev/mtdblock2 initrd=0x1000000,0x983b9f
bootm 0x800000

4. Notice that it should boot to linux once automatically writing root filesystem
then should reboot all the way to linux a second time and sh prompt...

-Brad

May 19, 2009 2:43 PM updated: May 19, 2009 2:50 PM

hello,
i have a question about (accessible via the 3.3v UART pins on the board). there is no JTAG adapter card inside my pogoplug. how can i connect without a miniusb port? please provide more informations about the connection to pins directly on board. which pins you mean? which cable i have to use??
thanks for your replay
TMOPP

May 19, 2009 3:30 PM

We do not directly provide a cable to convert from 3.3v UART to USB. The four pin header on the board is well labeled for 3.3v, TX, RX, and grnd. You can use a cable similar to the ones described here:

http://www.nslu2-linux.org/wiki/Peripherals/USB2Serial

June 2, 2009 7:00 AM

I managed to get a console cable built and working. If anyone is interested I can post more info.

June 2, 2009 8:17 AM

hi ianjb, please provide more infomation about your work. i have problems with the little pins on the board. i did't find the rigth 4pin connector.
cheers
p.s.: can you post a lot of pictures from your connector.

June 2, 2009 9:03 AM

I used a ca-42 cable (from ebay $4) with the phone end cut off and attached to a 4 pin connector. This post: http://buffalo.nas-central.org/index.php/Use_a_Nokia_Serial_Cable_on_an_ARM9_...
gave me all of the details that I needed to build the cable. The 3.3v, Rx & Tx are clearly marked on the board.

I was very lucky with the 4 pin connector, I talked to the technician in our engineering lab at work and he just found one that fit in his spares box.

I'll post some pictures later, I probably won't get a chance until tomorrow.

June 3, 2009 9:21 AM

Here are some pictures:

This is the Pogoplug  with the serial cable attached

Pogoplug with serial cable attached

 This is the 4 pin connector that I found at work. I'll see if I can get anymore information about it.

This is the nokia ca-42 cable with the 4 pin connector attached. I used the post from http://buffalo.nas-central.org/index.php/Use_a_Nokia_Serial_Cable_on_an_ARM9_...

to figure the connections. The instructions in that post are excellent. The orange thing is a cable tie that provides a strain relief. I used some electrical tape and shrink tubing to insulate the connections. I only needed to connect TXD, RXD and GND. The 3.3v wasn't needed as the circuit in the ca-42 cable gets its' power from the USB end.

This is a close up of the board where the cable connects. You can clearly see "3.3V, TXD, RXD and GND.

 Here is the cable plugged in.

 I cut a notch in the housing for the cable to exit. Not very neat but it works.

Here is the plug just before closing.

 I used putty on a Linux Mint 6 XFCE system to connect. It just worked!

June 4, 2009 6:00 AM

hello, it would be very nice if you have any further information about the connector (TypName oder Seriennumber) . I asked today in many stores for the plug but no one selling these very!!! small connector. (what company do you work for? :-) ) thanks

June 4, 2009 11:34 AM

I have asked in another forum about this type of connector, and now believe it is a JST type. However, I am unsure of the size. Here is a link to the thread, which also has an alternative for the cable itself:

http://forums.ladyada.net/viewtopic.php?f=8&t=11390

which is the help forum to this web store:

http://adafruit.com

I may just have to break down and buy the PogoPlug instead of the Sheevaplug and measure and find out the answer myself. If anyone from Cloud Engines is looking at this thread, is there any chance you guys could sell the riser board that has the JTAG connection for the serial port and the SD slot, along with the different top cover?

June 4, 2009 12:51 PM updated: June 4, 2009 3:13 PM

I asked GlobalScale if they would sell me the debug board with the sdio and mini usb. They said no.

An alternative to the correct connector maybe to get some loose connector pins (female) that would fit onto the connector and solder the wires from the ca-42 cable to the loose pins. As long as they are insulated from each other and are a tight enough fit so they don't fall off that would work just as well as the correct connector.

June 4, 2009 3:08 PM

I talked to the technician that gave me the cable and he gave me this information.

Molex part number 51021-0400 available from Digi-Key and this link:

http://search.digikey.com/scripts/dksearch/dksus.dll?pname&site=us;lang=en&wt...

That link points to the housing for the connector, the pins are separate but listed on the link page.

June 5, 2009 11:08 AM

I have ordered my Pogoplug and the parts from Digi-Key, as well as this cable:

768-1016-ND Digi-Key Part number

http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=768-1016-ND

Will post results when/if I get it all together.

June 5, 2009 11:21 AM

Good luck with that!

June 9, 2009 2:47 PM updated: June 9, 2009 2:47 PM

Thanks everybody for your participation. We've made the kernel and ramdisk images, uploaded by ianjb, available on the site. You can download them here:

http://www.pogoplugged.com/download/11600/ce_kernel_v1.1.img/

http://www.pogoplugged.com/download/11601/ce_ramdisk_v1.1.img/

Have fun!

Pete

Many thanks to ianjb for his contributions!!!

Peter Redmer
Administrator
Blog | Twitter

June 9, 2009 3:17 PM

Peter,

Thanks for the nod, but credit really goes to Brad of Cloud Engines for posting the links near the top of this thread.

I thought the image files would be easier for people to find in the download area.

Ian.

p.s Now if we could just get Brad to post a link to the original uBoot image ...

June 9, 2009 3:24 PM

Ah, I see that now - sorry I missed that!

I echo your gratitude for Cloud Engines support, they're all doing an awesome job and really committed to making the Pogoplug the best it can be.

Cheers, Brad!

Pete

Peter Redmer
Administrator
Blog | Twitter

June 9, 2009 5:23 PM

No problem, happy that things here are so helpful for all the users out there. For reference, here is the production uboot image:

http://pogoplug.com/downloads/ce_uboot_v1.0.bin

All of these are buildable from the source available at:

http://pogoplug.com/opensource/

June 9, 2009 8:21 PM

Brad,

Excellent. Thank you for the quick response !!!

Ian

June 12, 2009 1:24 PM updated: June 12, 2009 3:08 PM

@Boerner that FTDI cable is a better choice than the ca-42 cable that I bought. The ca-42 that I bought uses a PL2303 chip. It works well for console connection. The PL2303 chip cannot be configured as jtag connection with openOCD.

Were you planning to use openOCD? for example to do a recovery per http://plugcomputer.org/plugwiki/index.php/SheevaPlug_Installer ?

I would be interested to know if your cable works with openOCD

Edit:
I just found out that an ftdi2232 based serial cable won't by itself enable connection with openOCD (see this thread http://forum.sparkfun.com/viewtopic.php?t=15930 ) If all you need is a serial console without openOCD then the ca-42 (PL2303 chip) cable works just fine.

June 14, 2009 6:25 PM

Just a small update...

ianjb, no I hadn't contemplated openOCD yet...kind of new to this embedded stuff and just wanted to see if I could get the cable going. Having received the parts, the connector housing does indeed look correct. However, the wire gauge on the USB-TTL cable is slightly larger than the crimp connectors I ordered (the cable has 24 AWG wires, the connectors are for 26-28). I tried to the best of my ability with the tools I had to crimp the wires in the connectors, but only was able to successfully do one. Trying to insert this tiny connector into the housing by hand was also very difficult. As a result I can't speak for the integrity of the connection.

I am stepping away from it for now. I am fairly confident everything would work, but can't seem to get it going. I did see that Molex makes a crimping tool for these connectors, but it was over $300 USD. I may just have to wait out the back order for the Sheevaplug development kit.

As you stated earlier, its a shame they wont sell the dev board separately. Heck, they could even sell the new plastic cover piece to accommodate the ports.

Any tips or suggestions would be appreciated. Thanks.

June 15, 2009 6:10 AM

Good luck with the crimping, it is very fiddly work. If you have a fine soldering iron it may be easier to solder to the crimp tags and help with the integrity of the connection. I'm sure the connections will look fragile but there should be very little strain on the connections provided you have a strain relief where the cable exits the pogoplug.

June 21, 2009 11:51 AM

To the OP, http://openpogo.com sets you up for installing applications on your Pogoplug to make it a development station if that's what you're looking for.

June 29, 2009 7:39 PM

I wonder if someone would mind humoring me as I check how to restore from u-Boot. Are the commands as follows verbatim?
setenv serverip
setenv ipaddr
setenv ethaddr
setenv cesvcid
setenv ceboardver PP_GTI:3.0
setenv bootcmd 'nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000'
saveenv

setenv serverip
setenv ipaddr

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

tftp 0x1000000 ce_ramdisk_v1.1.img
(note transfer-size -- Should be 9976735)
setenv bootargs $(console) root=/dev/mtdblock2 initrd=0x1000000,0x983b9f
bootm 0x800000

I'm wondering because usually after something like setenv serverip I would expect to put the actual IP. So I'm kind of expecting to input :

setenv serverip 192.168.1.121

For example. Is that correct? or are the commands exactly as Brad from Cloud Engines stated in his post above?

Thanks for any and all help here, I really want to reclaim my pogoplug, it's a great little device.

Discussion:    Add a Comment | Back to Top | Comments 1-25 of 79 | Latest Comment | 1 2 3 4 Next »

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