Welcome! Log In Create A New Profile

Advanced

LCD screen for your dockstar (cheap! <$5)

Posted by petergunn 
Re: LCD screen for your dockstar (cheap! <$5)
May 10, 2011 04:21PM
Hkramski, Thanks. Is the table in one of the file in the lcd4linux package?
Re: LCD screen for your dockstar (cheap! <$5)
May 10, 2011 04:48PM
No. I made it from the linked color table mentioned in the comment just for my convenience in my lcd4linux.conf.

Heinz
dpffan
Re: LCD screen for your dockstar (cheap! <$5)
May 15, 2011 08:34PM
petergunn Wrote:
> I'll probably port st2205term at some point as
> the
> larger AX206 devices have a nice resolution/price
> but the two units I have are currently not
> supported
> by hackfin's hack.
>
> -PG
hackfin's latest version describes the general process of reverse engineering a generic ax206 picframe to get it hacked. I'm working through 8051 code to see if I can figure it out to get at least one of my ax206 frames hacked.
zapata
Re: LCD screen for your dockstar (cheap! <$5)
May 29, 2011 06:02PM
Onanii
Re: LCD screen for your dockstar (cheap! <$5)
June 17, 2011 04:46AM
neutronscott Wrote:
-------------------------------------------------------
> hackfin Wrote:
> --------------------------------------------------
> -----
> > BTW, for those keen on hacking, I found
> something
> > else looking quite cheap:
> >
> >
> https://www.dealextreme.com/p/designer-s-2-8-touch
>
> >
> -screen-portable-multi-media-player-w-1-3mp-camera
>
> > -fm-radio-av-out-tf-4gb-47336
> >
> > If that could be turned into a remote screen,
> it
> > would be a blast because of the touch screen
> > features.
> > BTW, this item is likely to have an ARM inside,
> > but I'll know more when I get my hands on it
> (in
> > 3-4 weeks).
>
> Yes! Please let us know. There is a picture I see
> of the board on dealextreme looks like it says
> ATJ2257.
>
> Found and mirrored the datasheet
> http://goflex.scottn.us/picframe/ATJ2256-ATJ2257-A
> TJ2257B%20Datasheet_V1.0_20091208.pdf
>
> It has a MIPS 4KEc core. This thing might be able
> to run Linux itself.

Hi everybody,
Is there any news on this mp4 because i must buy a debrick cable; and i was wondering if i can order it as well !!
Regards
Re: LCD screen for your dockstar (cheap! <$5)
June 17, 2011 08:06AM
Hi guys,

the Actions Semiconductor MP4 unit arrived, yes, it is obviously a MIPS, not an ARM as I hoped. So for me, no fun with JTAG hacking. I haven't found much information on the net, I don't know if there is a significant community behind it, so I'll put the thing back to the drawer for now.

Anyhow, we put the build framework for the AX206 firmware online, so you can play around and do your own stuff.
There is no documentation, so you'll have to read the sources and READMEs. Find more here:

https://sourceforge.net/projects/dpf-ax/

or go directly for SVN fun:

svn co https://dpf-ax.svn.sourceforge.net/svnroot/dpf-ax/trunk dpf-ax

Cheers,

- hackfin
Re: LCD screen for your dockstar (cheap! <$5)
June 21, 2011 11:09PM
hackfin Wrote:
-------------------------------------------------------
> the Actions Semiconductor MP4 unit arrived, yes,
> it is obviously a MIPS, not an ARM as I hoped. So
> for me, no fun with JTAG hacking. I haven't found
> much information on the net, I don't know if there
> is a significant community behind it, so I'll put
> the thing back to the drawer for now.

You haven't find a JTAG port or you just haven't any MIPS EJTAG experience?
Re: LCD screen for your dockstar (cheap! <$5)
June 22, 2011 03:18AM
Hi,

I have no JTAG HW and SW for MIPS and no experience with those chips (except from the Silicon Graphics era). Are there any free tools or specs for the JTAG debugging part?
Onanii
Re: LCD screen for your dockstar (cheap! <$5)
June 22, 2011 05:19AM
i found this site maybe it can help
Linux mips
Re: LCD screen for your dockstar (cheap! <$5)
June 22, 2011 08:40AM
I do have the 5 dollar lcd working, so I understand the process. It is tiny screen about 1 inch screen.

I figured I would ask if anybody found a 5 inch or 7 inch or 9inch device like this that could be hacked that would work.

I also have vga to usb adapter that works on monitors, but if I could find a 5-9 inch device like the 5 dollar one that would be cool.
Re: LCD screen for your dockstar (cheap! <$5)
June 23, 2011 03:25PM
Cable Modems and routers are MIPS and lots of JTAG information in those two hobby areas. :)

I've used UrJtag software and poor man's parallel jtag, to rewrite NOR on linksys hardware but nothing else myself.
Onanii
Re: LCD screen for your dockstar (cheap! <$5)
June 24, 2011 02:45AM
Was it hard??Did you rewrite it from scratch or had you some tutorial?

I think it may be a start, i will read further that linux mips
Re: LCD screen for your dockstar (cheap! <$5)
June 25, 2011 04:17PM
Onanii Wrote:
-------------------------------------------------------
> Was it hard??Did you rewrite it from scratch or
> had you some tutorial?
>
> I think it may be a start, i will read further
> that linux mips


Which part? I've read "See MIPS Run" to learn more about them. I think just knowing how to access the serial port is enough to port U-boot and then Linux over to many mips32 chips :) The timing and interrupts are same but the SoC have a cascaded interrupt controller. The datasheet details all this. Someone donate a device and I can get Linux booted in few weeks time maybe. The picture stuff is up to you. :D

But first need high-res image, or just, what size is FLASH and RAM? Maybe Linux won't fit. 2MB flash and 8MB ram are minimal. I'd be almost certain a serial port is exposed on there... If you find one, maybe I will buy this too.

edit: oh yeah. the cpu is LQFP, all pins are exposed. would be interested if connecting a 3.3v level serial converter to UART1 TX shows anything during boot-up. It's pin 69. Again, referring to the datasheet you can find all the JTAG pins. If you wire this to a parallel port and run UrJtag just as I do here: http://wiki.scottn.us/wrtu54g-tm:jtag you should be able to dump the contents of the flash memory.



Edited 2 time(s). Last edit at 06/25/2011 04:49PM by neutronscott.
Webcam, mjpg_streamer & lcd4linux work nicely
July 02, 2011 01:23PM
Hi all,

I just want to share my findings how well a cheapo webcam, mjpg_streamer & lcd4linux play together.

You basically have to set your camera to 320x240 pixels (mjpg_streamer -o "output_http.so -w ./www -p 8083" -i "input_uvc.so -y -r320x240") and add this simple stanzas to your lcd4linux.conf:

Widget SetWebcamImg {
    class 'Timer'
    expression exec('/usr/bin/curl http://localhost:8083?action=snapshot | /usr/bin/convert jpg:- /tmp/webcam.png', 5 * second)
    active 1
    update 5 * second
}

Widget Webcam {
    class 'Image'
    file '/tmp/webcam.png'
    reload 1
    update 5 * second
    inverted 0
    visible 1
}

Layout bastl {
    [...]
    Timer1 'SetWebcamImg'
    Layer 2 {
        X1.Y1 'Webcam'
    }

}
Full config included for inspirations :-)

Ok, it's more kind of a slide show (0.2 fps), but thats ok to check focus and clipping, and you always have several streamings formats ready at (in my case) http://yourdockstar:8083.


I got a precompiled mjpg_streamer from http://mjpg-streamer-mini2440.googlecode.com/files/mjpg-streamer-mini2440-bin-r6.tar.gz and imagemagick and curl must be installed.

Regards,
Heinz
Attachments:
open | download - dock-cam-dpf.jpg (493.3 KB)
open | download - lcd4linux.conf (24.4 KB)
Bricked my DP-152??
August 24, 2011 09:12PM
So I found some DP-152s with a Sitronix chip on the web, and ordered four of them a couple of weeks ago.
I have been running a hacked one since January or so, and it has served me well. I have recently renewed my interest in the whole dockstar/pogoplug thing, and decided my three new pink pogos needed screens.

When I attempted to hack them with the same hack setup that i used on my original, i couldn't get it to cooperate. I fooled around for a while, and then was able to make it work by sucking the firmware off of my hacked one (via phack), and dumping into the unhacked one.

This worked great for three of them, but I kinda screwed up on the first one, and I dumped the MEM.BIN into the unit rather than the FW.BIN file. The picframe won't cooperate anymore, and causes a ton of errors when i connect it to my PC.

Anyone have any suggestions?
Re: LCD screen for your dockstar (cheap! <$5)
September 05, 2011 06:03PM
hackfin Wrote:
-------------------------------------------------------
> Anyhow, we put the build framework for the AX206
> firmware online, so you can play around and do
> your own stuff.
> There is no documentation, so you'll have to read
> the sources and READMEs. Find more here:
>
> https://sourceforge.net/projects/dpf-ax/
>
> or go directly for SVN fun:
>
> svn co
> https://dpf-ax.svn.sourceforge.net/svnroot/dpf-ax/
> trunk dpf-ax
>
> Cheers,
>
> - hackfin

I've checked out the SVN and tried to build but could only get the fw_*.ihx files and not the rest i.e. p_*.ihx and the jmptbl_*.ihx files. Do these have to be manually generated separately?
Re: LCD screen for your dockstar (cheap! <$5)
September 28, 2011 03:15PM
I have been using a Coby DP152 with my DockStar since Apr/May of this year. Lately, it has locked up randomly. Once it is reset, it will continue to work for several days and then crashed again. Anyone seeing the same thing?
FREDCLO
Project : DS indicate the next train of my station
October 11, 2011 10:27AM
Hi,
I have a dockstar with debian. I want to put a dpf on it. I have a dpf, but it seems impossible to work (sitronix 1403:0001, 240*320 but no recognize by phack...)
With the ax206 or st2205u, it seems to be possible. But is my project is possible ?(before order one) : I want on this screen (1.5" ax206...), watch http info (the hour of the next train of my station). Is it possible for you ?
thanks a for your help

fredclo
EPG
Re: LCD screen for your dockstar (cheap! <$5)
November 08, 2011 11:39AM
Hi,
I have an ax206 display from Pearl. Is there something like st2205term for it? If no, how difficult would it be to port it/write something new?

EPG
Kaar3l
Re: LCD screen for your dockstar (cheap! <$5)
December 05, 2011 11:49AM
Hello

I got the 206 frame. I used the reverse method, because hackit script didn't suit my device. I got everything decompiled, but I don't understand about the patching stuff.

Here is the part where is the shutdown part, but I don't know where to put the lines that are on the list. :S Could anybody help me?
http://www.upload.ee/files/1867278/dump36.asm.html
ecc
Re: LCD screen for your dockstar (cheap! <$5)
December 07, 2011 01:25PM
dpffan Wrote:
-------------------------------------------------------
> The parrot df3120 is a 320x240 dpf with 8mb ram and has framebuffer support under Linux. It uses
> uboot as well, has bluetooth. With sdl vnc client, it would be a good companion to the dockstar and
> other plug computers.
>
> http://sites.google.com/site/repurposelinux/df3120

It looks like this is available for $14 from this site with free shipping, but I can't confirm that it's the DP3120 model until mine arrives.
ju
Re: LCD screen for your dockstar (cheap! <$5)
December 24, 2011 06:33AM
Is there a way to set the turnoff time of the original pearl display to 5sec to go to Blue Screen Of Hack mode?
Re: LCD screen for your dockstar (cheap! <$5)
December 25, 2011 06:47AM
Hi ju,

not as of now, this "feature" is part of the original firmware. You could try hacking that as well, but I wouldn't bother, a new experimental firmware to fully replace the existing hack is on the way. Don't know when it will be released though.
Merry xmas,

- hackfin
Factran
Re: LCD screen for your dockstar (cheap! <$5)
January 12, 2012 11:11AM
Hi !
I'm very near success, but I still have difficulty to create a firmware.

After playing around with the instructions, I have the display screen reversed. Is it possible that I made a mistake somewhere ?

I'm now retrying from scratch, but I've got no way how to re-put the display in the good way. Pixel are now right to left.

The model is a "Biosek DS-150N" but what gives me hope is the lsusb result:

Bus 003 Device 007: ID 1403:0001 Sitronix Digital Photo Frame


and only one unreadable partition of 2Mib. dmesg and lsusb

I continue following the instructions of the first post until

# ./hackfw.sh /dev/sdb

Sorry, I couldn't find a matching device profile. If you want to give 
creating it yourself a shot, please read ./hack/newhack.txt for more
info.
(Btw: this can also mean your device already has a hacked firmware. If
you want to upgrade your device using this script, please flash back
the fwimage.bak the previous version saved first.)


On the display, I see "baks r ok", written in reverse.

So, either I didn't successfully put back my fwimage.bak (I used phack to reput the old firmware, even if it was not necessary, I think)
or I have to go to the newhack way.


Newhack.
I followed
http://picframe.spritesserver.nl/wiki/index.php/Sitronix
http://elparaito.googlepages.com/hackfw-sitronix.tar.gz
until
./newhack.sh sitronix /dev/sdb
Internal LCD-controller no supported

Back to the "normal" way of the post.
make -f make/gcc.mak is successful

#./generate-hack.pl /dev/sdb hack/m_my_new_hack
Locating CMP_VAR1 & CMP_VAR2...
Eeek! expected single match but found 0 - dont know what to do!


I don't see the requested pattern in
da65 -S 0x4000 --cpu 65C02 fwimage-seg0.bin > fwimage-seg0.txt #
Here is my fwimage-seg0.bin


Also, I used the .bin at the end of this page : http://picframe.spritesserver.nl/wiki/index.php/Sitronix, it didn't work. I did everything in root.

dmesg and lsusb :
http://pastebin.com/zqPT5L6W

Do you think my device is hackable ? If yes, what did I miss ?

Thanks for your time !
Re: LCD screen for your dockstar (cheap! <$5)
January 12, 2012 07:09PM
The dmesg+lsusb output resemble a hackable device but the fwimage-seg0.bin does not look like a valid firmware segment. Were you logged in as root when you dumped it? Its possible your device has a different memory layout or firmware build without a known hack.

-PG
Factran
Re: LCD screen for your dockstar (cheap! <$5)
January 13, 2012 05:27AM
Yes, I was root when I dumped it.
I hope I didn't messed up the firmware with my trials.
Thank you very much for your answer ! Bye.
Re: LCD screen for your dockstar (cheap! <$5)
January 16, 2012 05:33AM
I would like to know which photo frame can be hacked in the way that:

- it does not require recompiling kernel - it will run with standard debian kernel
- it does not require charging the internal battery - runs out of the USB power
- backlit is functioning
- is connected over USB
- it will be support by linux4lcd

Could you provide link to ebay/amazon/any other page where I can buy it and it will be exactly that hackable device ?
dpffan
Re: LCD screen for your dockstar (cheap! <$5)
February 15, 2012 07:58AM
ecc Wrote:
-------------------------------------------------------
> dpffan Wrote:
> --------------------------------------------------
> -----
> > The parrot df3120 is a 320x240 dpf with 8mb ram
> and has framebuffer support under Linux. It uses
> > uboot as well, has bluetooth. With sdl vnc
> client, it would be a good companion to the
> dockstar and
> > other plug computers.
> >
> >
> http://sites.google.com/site/repurposelinux/df3120
>
>
> It looks like this is available for $14 from
> [url=http://www.buy.com/pr/product.aspx?sku=224172
> 005]this site[/url] with free shipping, but I
> can't confirm that it's the DP3120 model until
> mine arrives.

Finally got to hack the Parrot to use as a VNC display and/or lcd4linux display.

I used the Image driver for lcd4linux
[code]
Display png {
Driver 'Image'
Format 'PPM'
Size '320x240'
Font '6x8'
Pixel '1+0'
Gap '0x0'
Foreground '0000ff'
Background 'ffffff'
Basecolor 'ffffff'
}
[/code]

Output to a file:
[code]
./lcd4linux -F -v -f ./lcd4linux.conf -o /tmp/lcd.png
[/code]

Convert to RG565 format required by Parrot's framebuffer
[code]
while :; do ffmpeg -vcodec ppm -i /tmp/lcd.png -vcodec rawvideo -f rawvideo -pix_fmt rgb565 pipe:1 | nc -lp 3333; sleep 1; done
[/code]

On Parrot, pipe nc's output to framebuffer
[code]
nc 172.16.61.3 3333 > /dev/fb0
[/code]
dpffan
Re: LCD screen for your dockstar (cheap! <$5)
February 15, 2012 08:01AM
Parrot
SDLvncviewer 172.16.61.3:5901

Dockstar
vncserver -geometry 320x240 -depth 8 :1
dpffan
Re: LCD screen for your dockstar (cheap! <$5)
February 15, 2012 08:38AM
Translated Version of Blog on how to read buttons of Parrot DF3120 DPF

Since the dockstar doesn't have buttons, I want to 'borrow' the buttons from the Parrot to serve as input.
Will probaby need some glue code/shell script .
Author:

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: