Welcome! Log In Create A New Profile

Advanced

GlobalScale Dreamplug

Posted by rayknight 
GlobalScale Dreamplug
July 23, 2016 08:14AM
Anyone have a clue how to gain serial access to this without purchasing GlobalScale's expensive UART/JTAG module? The pin-out to the UART might be enough.

Ray
Re: GlobalScale Dreamplug
July 23, 2016 10:28AM
The UART port is clearly labeled as such on the manual http://dreamplug.googlecode.com/files/DreamPlug%20User%20Guide_US_v1.1.pdf

and as the wiki says here, http://www.plugcomputer.org/Documentation/all-categories/categorydreamplug/dreamplug/
its pinout is the same as guruplug as the JTAG/UART thingy is the same.

so you can get all info about it from the other page of the same wiki http://www.plugcomputer.org/Documentation/all-categories/categoryguruplug/guruplug/#Serial

As for the pinout, grab a multimeter and figure out what is the power pin (3.3v or 5v) while the box is powered on.

Then you can simply try connecting the other pins until you find the right combination. Serial communication and ground pins don't damage the device (or the TTL dongle you are using) if reversed or placed wrong.

The only pin that can damage your device is the power pin, once that is isolated you can proceed.

In most cases you shouldn't need to connect the ground pin either during testing as the TTL dongle has a ground source already (the usb ground line).

If you cannot find easy sources of 4-pin tiny connectos you can also take 3-pin ones that seem to be more common, as you will need to connect only tx, rx and maybe ground, not 3.3v as the TTL dongle is powered by USB.
Re: GlobalScale Dreamplug
September 26, 2016 07:19AM
bobafetthotmail Wrote:
-------------------------------------------------------
> The UART port is clearly labeled as such on the
> manual
> http://dreamplug.googlecode.com/files/DreamPlug%20
> User%20Guide_US_v1.1.pdf
>
> and as the wiki says here,
> http://www.plugcomputer.org/Documentation/all-cate
> gories/categorydreamplug/dreamplug/
> its pinout is the same as guruplug as the
> JTAG/UART thingy is the same.
>
> so you can get all info about it from the other
> page of the same wiki
> http://www.plugcomputer.org/Documentation/all-cate
> gories/categoryguruplug/guruplug/#Serial
>
> As for the pinout, grab a multimeter and figure
> out what is the power pin (3.3v or 5v) while the
> box is powered on.
>
> Then you can simply try connecting the other pins
> until you find the right combination. Serial
> communication and ground pins don't damage the
> device (or the TTL dongle you are using) if
> reversed or placed wrong.
>
> The only pin that can damage your device is the
> power pin, once that is isolated you can proceed.
>
> In most cases you shouldn't need to connect the
> ground pin either during testing as the TTL dongle
> has a ground source already (the usb ground
> line).
>
> If you cannot find easy sources of 4-pin tiny
> connectos you can also take 3-pin ones that seem
> to be more common, as you will need to connect
> only tx, rx and maybe ground, not 3.3v as the TTL
> dongle is powered by USB.

Looks like the 3 links you've posted are all dead links! has anybody tried those or just me?

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: GlobalScale Dreamplug
September 26, 2016 03:56PM
bodhi Wrote:
-------------------------------------------------------
>
> Looks like the 3 links you've posted are all dead
> links! has anybody tried those or just me?

Yep, the whole site is down and stuff was removed from google code too.

But with the powers granted me by the WABAC, I resurrect them here
http://wayback.archive.org/web/20160104002530/https://dreamplug.googlecode.com/files/DreamPlug%20User%20Guide_US_v1.1.pdf

http://wayback.archive.org/web/20160304093637/http://www.plugcomputer.org/Documentation/all-categories/categorydreamplug/dreamplug/

http://wayback.archive.org/web/20160611101911/http://www.plugcomputer.org/Documentation/all-categories/categoryguruplug/guruplug/#Serial

For those wondering: they are coming from the "wayback machine internet archive project" a large non-profit org that backups stuff from around the internet to save it from oblivion, and in the last decade grew to be pretty damn big.
These links shouldn't go dead again. :)



Edited 2 time(s). Last edit at 09/26/2016 04:13PM by bobafetthotmail.
Re: GlobalScale Dreamplug
September 26, 2016 04:34PM
The important part is as follows:

Serial

This is the smaller, 4-pin connector. The layout is:
Pin Line
1 GND
2 RX (pulled up to 3.3V)
3 TX
4 3.3V

What is meant by pulled up to 3.3V for RX? I have tried connecting to pins 1 thru 3 with the same PL2303 based USB Serial adapter I've used with multiple other Marvell based hardware and I get no output. I now have 3 DreamPlugs and a SMILE Plug that use this same connector, so it would be great to figure this out!

Ray
Re: GlobalScale Dreamplug
September 26, 2016 05:13PM
rayknight Wrote:
-------------------------------------------------------
> The important part is as follows:
>
> Serial
>
> This is the smaller, 4-pin connector. The layout
> is:
> Pin Line
> 1 GND
> 2 RX (pulled up to 3.3V)
> 3 TX
> 4 3.3V
>

Orientation? ie. rear facing, top looking down,..

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 09/26/2016 06:56PM by bodhi.
Re: GlobalScale Dreamplug
September 27, 2016 01:47AM
bobafetthotmail Wrote:
-------------------------------------------------------
> bodhi Wrote:
> --------------------------------------------------
> -----
> >
> > Looks like the 3 links you've posted are all
> dead
> > links! has anybody tried those or just me?
>
> Yep, the whole site is down and stuff was removed
> from google code too.
>
> But with the powers granted me by the WABAC, I
> resurrect them here
> http://wayback.archive.org/web/20160104002530/http
> s://dreamplug.googlecode.com/files/DreamPlug%20Use
> r%20Guide_US_v1.1.pdf
>
> http://wayback.archive.org/web/20160304093637/http
> ://www.plugcomputer.org/Documentation/all-categori
> es/categorydreamplug/dreamplug/
>
> http://wayback.archive.org/web/20160611101911/http
> ://www.plugcomputer.org/Documentation/all-categori
> es/categoryguruplug/guruplug/#Serial
>
> For those wondering: they are coming from the
> "wayback machine internet archive project" a large
> non-profit org that backups stuff from around the
> internet to save it from oblivion, and in the last
> decade grew to be pretty damn big.
> These links shouldn't go dead again. :)

Thanks!

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: GlobalScale Dreamplug
January 05, 2017 04:23PM
I got the Dreamplug and will support this plug.

UART booting works fine with this box. It is a normal serial header, just get the right small JST header and it will work.

Serial consolse pinouts
Small 4-pin connector (I think it is on the left side)
Left-to-Right (outside looking in, the port is exposed as one of the connectors, no modd needed)
1 GND 	
2 RX

3 TX
4 3.3V

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 3 time(s). Last edit at 03/10/2017 02:27AM by bodhi.
Raz
Re: GlobalScale Dreamplug
January 16, 2017 04:19PM
bodhi,

I just got a Dream Plug, and I downloaded and decompressed your jessie rootfs on its micro SD card, and it booted
fine and all, but when I did an apt-get upgrade it made the rootfs unmountable, thus failed to boot afterwards
Any reason why? or how to recover from it?
Re: GlobalScale Dreamplug
January 16, 2017 07:04PM
Raz
Re: GlobalScale Dreamplug
January 18, 2017 11:46AM
Thanks for the reply. But no, /boot isn't and the first partition which holds the uImage is left untouched.
And my uboot doesn't load initrd.
I am very puzzled by this. Apt-get update on wheezy rootfs works fine though, but on the jessie rootfs makes
the rootfs unmountable.

Has anybody else tried it? (on dreamplug, I mean)
Re: GlobalScale Dreamplug
January 18, 2017 03:59PM
Raz

> Thanks for the reply. But no, /boot isn't and the
> first partition which holds the uImage is left
> untouched.

Now this is a hint where the problem might be. Do you have serial console? if you do post the log.

If you don't have serial console post the this log with the rootfs that working:
dmesg
mount
fw_printenv

It's easier to see the problem when you post more information!.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: GlobalScale Dreamplug
April 25, 2017 02:51PM
bobafetthotmail Wrote:
-------------------------------------------------------

> If you cannot find easy sources of 4-pin tiny conn
> ectos you can also take 3-pin ones that seem to be
> more common, as you will need to connect only tx,
> rx and maybe ground, not 3.3v as the TTL dongle is
> powered by USB.

Anyone find a tiny connector for this. The one I have is too large, I removed the plastic ends and the pins are still to small and I am worried I may short the connection so don't want to try with what I currently have.
Re: GlobalScale Dreamplug
April 25, 2017 03:29PM
The connectors are called micro JST 1.25 (it's the distance between pins in mm).

They can be found on places selling parts for model cars/trains/aircraft or batteries, or on ebay from various sellers, especially from China.

See here http://www.ebay.it/itm/Micro-JST-1-25mm-GH-PH-4-Pin-Male-Female-Connectors-100mm-Wires-FreeP-P-UK-/132142131412
Re: GlobalScale Dreamplug
April 25, 2017 05:01PM
I have a whole bunch of these. They work right out of the box for the Dreamplug and HP T5325.

I'll find the ebay US link for you.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: GlobalScale Dreamplug
April 25, 2017 05:42PM
BTW, I don't have enough blocks of free time to work on this yet, but here what I got a few months ago. I was almost done with the new u-boot.

Stock u-boot log:

U-Boot 2011.06-02334-g8f495d9-dirty (Aug 18 2011 - 02:09:07)
Marvell-DreamPlug

SoC:   Kirkwood 88F6281_A0
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz 
DRAM:  512 MiB
SF: Detected MX25L1606 with page size 256, total 1 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1318 Initialized on egiga0
88E1318 Initialized on egiga1
Hit any key to stop autoboot:  0 
Marvell>> printenv
bootcmd=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000;
bootdelay=3
baudrate=115200
x_bootcmd_ethernet=ping 192.168.2.1
x_bootcmd_usb=usb start
x_bootcmd_kernel=fatload usb 0 0x6400000 uImage
x_bootargs=console=ttyS0,115200
x_bootargs_root=root=/dev/sda2 rootdelay=10
bootargs=console=ttyS0,115200 root=/dev/sda2 rootdelay=10
ethaddr=xxxxxxxxxxxx
eth1addr=xxxxxxxxxxxx
stdin=serial
stdout=serial
stderr=serial
ethact=egiga0


UART booting:

./kwboot-tool/kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2016.05-tld-4.dreamplug.mtd0.kwb -p
Sending boot message. Please reboot the target.../
Sending boot image...
  0 % [......................................................................]

 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2016.05-tld-4 (Nov 26 2016 - 02:18:18 -0800)
Marvell-DreamPlug

SoC:   Kirkwood 88F6281_A1
SPI:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
SF: Detected MX25L1605D with page size 256 Bytes, erase size 64 KiB, total 2 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
Error: egiga0 address not set.
, egiga1
Error: egiga1 address not set.

88E1116 Initialized on egiga0
88E1116 Initialized on egiga1
Hit any key to stop autoboot:  0 
=> printenv 
baudrate=115200
bootcmd=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000;
bootdelay=3
ethact=egiga0
stderr=serial
stdin=serial
stdout=serial
x_bootargs=console=ttyS0,115200
x_bootargs_root=root=/dev/sda2 rootdelay=10
x_bootcmd_ethernet=ping 192.168.2.1
x_bootcmd_kernel=fatload usb 0 0x6400000 uImage
x_bootcmd_usb=usb start

Environment size: 496/4092 bytes
=>


Serial console

This is the smaller JST 4-pin connector. The layout is:

Left-to-Right (UART port)
1 GND: 	Red

2 RX: 	Black

3 TX: 	Yellow
4 3.3V:	Green

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 5 time(s). Last edit at 04/25/2017 06:03PM by bodhi.
Re: GlobalScale Dreamplug
April 25, 2017 08:02PM
Sweet. I have one that works now booting stock but two others that are not booting up. I get the green power led but dont know what is going on inside yet.
Let me know when you want suckers to test. ;)
dekkar
Re: GlobalScale Dreamplug
April 25, 2017 11:10PM
Just follow this guide to update to Debian Jessie on the Dreamplug: http://www.cyrius.com/debian/kirkwood/sheevaplug/install/. You can also update the u-boot following this guide. Used it and everything good :)
Re: GlobalScale Dreamplug
April 26, 2017 04:51PM
bobafetthotmail Wrote:
-------------------------------------------------------
> The connectors are called micro JST 1.25 (i
> t's the distance between pins in mm).
>
> They can be found on places selling parts for mode
> l cars/trains/aircraft or batteries, or on ebay fr
> om various sellers, especially from China.
>
> See here http://www.ebay.it/itm/Micro-JST-1-25mm-G
> H-PH-4-Pin-Male-Female-Connectors-100mm-Wires-Free
> P-P-UK-/132142131412

Thanks for the info. I tried a couple of local hobby stores but came up empty so I ordered some online and expect them early next week. Can't remember off the top of my head if it was a multi pack or not but if I have extras I will post and if anyone needs one I can send.
Turns out I have 2 bad micro sdcards. I am going to see if I can fix them but if not I have a few 16gb ones I was going to use for my pizero project that I can copy my backup of the working one to an see if that works.

Dekkar Wrote:
-------------------------------------------------------
> Just follow this guide to update to Debian Jessie on the Dreamplug: >http://www.cyrius.com/debian/kirkwood/sheevaplug/install/. You can also update the u-boot >following this guide. Used it and everything good :)

Thanks, will give it a go if my above plan doesn't work.
I had found something similar but it is good to have a confirmed working solution to fall back on.
Re: GlobalScale Dreamplug
April 26, 2017 05:22PM
feas Wrote:
-------------------------------------------------------
> Sweet. I have one that works now booting stock but
> two others that are not booting up. I get the gree
> n power led but dont know what is going on inside
> yet.
> Let me know when you want suckers to test. ;)

Thanks, I'll definitely will :)

The green LED imost likely indicates that it has booted into stock OS.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: GlobalScale Dreamplug
April 26, 2017 07:13PM
bodhi Wrote:
-------------------------------------------------------
> feas Wrote:
> --------------------------------------------------
> -----
> > Sweet. I have one that works now booting stock b
> ut
> > two others that are not booting up. I get the gr
> ee
> > n power led but dont know what is going on insid
> e
> > yet.
> > Let me know when you want suckers to test. ;)
>
> Thanks, I'll definitely will :)
>
> The green LED imost likely indicates that it has b
> ooted into stock OS.

It is just a power indicator. As soon as I plug it in it is on.

Well I got them all working. The sdcards on the two bad ones are toast but the plugs work fine with the new cards and the backup image I made.

Will look into upgrading when I get the serial cable.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: