Rockbox Technical Forums

Rockbox Development => New Ports => Topic started by: avh on February 01, 2008, 04:00:32 PM

Title: Samsung P2
Post by: avh on February 01, 2008, 04:00:32 PM
I think that Rockbox could be ported to the P2. Wikipedia has some basic info http://en.wikipedia.org/wiki/Samsung_P2. It uses the same chipset as the Cowon D2 and is also a touch screen based player.

Here are some of the specs:
System-On-Chip: Telechips  TCC7801
 ^^^TCC7801 / OOCX-YNR-UG / NORDBM.06.1 / 0740

32Bit Dual Core
ARM926EJ-S / ARM946ES
(16k/16k Cash, up to 192MHz)

H/W Video Accelerator
MPEG 1/2/3/4, H.264, divx4/5, wmv9, JPEG Support

Support WMA/MP3/ADPCM Encoding

Codec chip says: WM1808G / 79AABCR

Codec Wolfson - WM1806G

Storage (4GB model): Samsung 743 / K9HBG08UIM / PCB0 / CSIG40P1

NEND Flash memory
Samsung - K9 LAG08U0M (8GB Model)
Density 2~16GB(MLC DDP)
VCC 2.7V~3.6V

Bluetooth: BCM 2048 / SKU FBG / CN 0739 P11 / 839757835

Bluetooth 2.0+EDR and FM radio
Broadcom - BCM2048
Blutooth 2.0
Support class 1 and 2 designs
1.65V ~ 5.5V
FM + RDS 76Mhz to 108Mhz

SDRAM http://www.eorex.com/DRAM/SDR-em488m3244LBA.htm : EOREX 0745 / EM488M3244LBA  -75P

EOREX - EM488M3244LBA
256MB (2M*4Bank*32)
Synchronous DRAM
Organization: 8MB * 32
Max Freq: 133MHz @ CL3
Single 1.8V Power supply

The p2 updates it's firmware with YPP2.rom and YPP2.RSC files. There have been two firmware updates and another is planned for march. All firmwares appear to be unencrypted.
I've disassembled it and got some pcb scans. They are low quality though because things sticking out of the board raised it and brought the important parts "out of focus". I can probably take some digital photos of the boards if anyone wants them though. There is also a video disassembly Here: http://www.engadget.com/2007/10/21/live-nude-daps-samsung-p2-and-t10-dissected-on-video/
(T10 also disassembledon this page)
I don't have any C coding experience and I wouldn't know how to port Rockbox to the P2, but I thought I could help by gathering info. Info learned from possible other ports to Samsung devices may help (such as structure of update files) as well as info from D2 port being attempted. I looked at the firmware in a hex editor and compared it to the D2 firmware, they llook sort of similar and both begin with "Ver:0071". Do any developers own a p2?
Title: Re: Samsung P2
Post by: Bagder on February 01, 2008, 04:36:27 PM
First, if you're serious about a port you should put static data and info such as this in the wiki, as all other ports are made.

Then, join in the cowon D2 thread here in the forums and try their initial test code to work out how similar they are etc.

Finding existing owners of this target is a good idea, but thinking you'll find many among existing rockboxers is not, Ask around in forums where owners of this device hang out and try getting them to join up here!
Title: Re: Samsung P2
Post by: shotofadds on February 01, 2008, 06:55:23 PM
Well, the SoC and NAND flash look to be the same as the D2, so that should give this port a good headstart if someone decides to take the plunge. The key information missing from your post is the type of LCD used, and whether this player has a "USB boot mode" similar to other Telechips-based players.

I think there are a whole raft of potential ports now that we have code running on the 7801 (eg. iRiver Clix 2 is another potential target). But somebody who owns the device, with plenty of dedication (and a good ARM disassembler :D) needs to step forward before any porting can begin.
Title: Re: Samsung P2
Post by: bwbass on February 04, 2008, 06:50:15 PM
I have a P2 and a service manual for it as well, with a schematic diagram, a complete electronic parts list, and a Telechips firmware recovery tool that may be useful.    If anyone wants these docs, just PM me and I'd be happy to zip the whole mess up and email it,  but I'm reluctant to post them in the wiki.
Title: Re: Samsung P2
Post by: bwbass on February 04, 2008, 10:50:36 PM
Better yet, here are links to the docs from Samsung's site:

Cover - YP-P2-e-0-cover.pdf (http://downloadcenter.samsung.com/content/SM/200801/20080124141056359_YP-P2-e-0-cover.pdf)
Product Specifications - YP-P2-e-2-spec.pdf (http://downloadcenter.samsung.com/content/SM/200801/20080124141056359_YP-P2-e-2-spec.pdf)
Disassembly & Reassembly - YP-P2-e-3-disas.pdf (http://downloadcenter.samsung.com/content/SM/200801/20080124141056359_YP-P2-e-3-disas.pdf)
Troubleshooting Guide - YP-P2-e-4-troub.pdf (http://downloadcenter.samsung.com/content/SM/200801/20080124141056359_YP-P2-e-4-troub.pdf)
Exploded View and Electronic Parts List - YP-P2-e-5-eplit(Ver2.0).pdf (http://downloadcenter.samsung.com/content/SM/200801/20080130155128671_YP-P2-e-5-eplit(Ver2.0).pdf)
PCB Diagram - YP-P2-e-6-pcb.pdf (http://downloadcenter.samsung.com/content/SM/200801/20080124141056359_YP-P2-e-6-pcb.pdf)
Schematic Diagram - YP-P2-e-7-sdiag.pdf (http://downloadcenter.samsung.com/content/SM/200801/20080124141056359_YP-P2-e-7-sdiag.pdf)

Recovery Program and Update Method - YP-P2.zip (http://downloadcenter.samsung.com/content/SB/200712/20071220130343078_YP-P2.zip)
Title: Re: Samsung P2
Post by: shotofadds on February 05, 2008, 06:38:49 AM
The "recovery program" is a copy of FWDN, taken directly from the Telechips SDK. The accompanying .inf file suggests the P2 has the same USB Device Id as the Cowon D2 (140e / b011) when in USB boot mode.

Personally I wouldn't touch FWDN - for uploading code to the device it should be straightfoward to update Tcctool to work with the P2. This allows the device to be booted over USB: no flashing required.

The "Troubleshooting Guide" suggests that USB boot mode can be entered by holding POWER while connecting the USB cable and pressing RESET. If this works, the device will connect as an unknown USB device, with the above Device Id. Can anyone confirm?
Title: Re: Samsung P2
Post by: bwbass on February 05, 2008, 09:40:05 AM
Ok, when I do that in Windows XP, it does connect as an unknown device, and the Device Manager shows a Device Instance ID of: USB\VID_140E&PID_B011\5&A55C780&0&4
Title: Re: Samsung P2
Post by: shotofadds on February 05, 2008, 10:40:33 AM
You'll need to find out what the LCD panel is, and how to power it on/off (ie. datasheet and/or disassembly of the Samsung firmware). Apart from that, I would think much of the D2 code so far should be re-usable.
Title: Re: Samsung P2
Post by: bwbass on February 05, 2008, 11:08:25 AM
The parts list identifies the LCD like this:
.  
I take it from the way the list is formatted that the model of the LCD is A030FL01

Update: The Samsung part number is AH0700213A
Here's a link to this part for sale: http://www.partstore.com/Part/Samsung/Samsung/YPP2JABY/Samsung/Samsung/AH0700213A/New.aspx

Google has nothing to say about that - seeing as this is Samsung, I wonder if this is their part, built just for this player.  I'll dig some more, and have a look at the firmware.  If anyone else has info about the LCD please chime in!
Title: Re: Samsung P2
Post by: avh on February 06, 2008, 09:31:00 AM
In response to your PM bwbass, here is what I found on the LCD:
     ICA ichia <->3
     94V-0 0727
     54.20015.111
This was on the cable connector going from the LCD to the board, and i googled the company "ichia" and it seems they may have just made the connector.

On the metal housing of the LCD:
40S07103C000XX0050354
59.03A12.003 070929

I don't know if these help, I looked on the LCD for other information and there really wasn't much there. If you think it will help or can tell me what to look for I can look again.
Title: Re: Samsung P2
Post by: bwbass on February 06, 2008, 01:01:21 PM
Yep, looks like that's the kind of thing Ichia makes: http://www.ichia.com/eng/products/products_3.2.1.htm

At least publicly, Samsung doesn't market a 6-bit 3" LCD panel.  The docs say the interface is 18-bit RGB with a 3-wire register setting and that the panel is rated for 300 nits, but that's about all I know.

There's a section of the firmware with strings that say "LCD Gamma", "LCD Brightness", "LCD Test", etc. that suggest display utility functions exist, but I'm not not much use at disassembly...
Title: Re: Samsung P2
Post by: avh on February 06, 2008, 07:14:45 PM
I'm trying to get tcctool working with the p2. I added the correct "magic value" from the FWDN recovery program posted by bwbass to the source code and compiled, then plugged in the p2 and put it in usb boot mode and ran lsusb to confirm it was in usb boot mode. I then ran tcctool and load the p2 firmware,  here is the output:

     [INFO] Using device "Samsung YP P2"
     [INFO] Searching for TCC device...
     [INFO] Found TCC device, uploading application.
     [INFO] Patching application uploaded successfully!

tcctool says it has uploaded successfully, but the p2 is unresponsive, looks like it is off, and does not show up in lsusb. Here is what I added to the tcctool source code:

    {"samsungp2",  "Samsung YP P2", 0xb011, 0x20000000, 0x52E92410 },

Am I doing something wrong?

EDIT: I should have said "the p2 is unresponsive, looks like it is off, and does not show up in lsusb" until I unplug or reset it (i.e. my p2 is not bricked, tcctool just isn't doing what it is supposed to).
Title: Re: Samsung P2
Post by: bwbass on February 07, 2008, 09:02:48 AM
Can you re-enter firmware update mode with power+reset and use FWDN to recover?
Title: Re: Samsung P2
Post by: linuxstb on February 07, 2008, 01:42:16 PM
   {"samsungp2",  "Samsung YP P2", 0xb011, 0x20000000, 0x52E92410 },

Where did you get the 0x52E92410 from?  That's the SDRAM CFG register value, and you've taken the same as my Logik DAX MP3 player - which has 2MB of RAM.  I'm guessing the P2 has more than that...

Looking at the PDF file 20080124141056359_YP-P2-e-4-troub.pdf, this has some screenshots of FWDN.exe running - and displays an SDCFG value of 0x13E92028 (page 19).  Try that.

Dave.

EDIT: Those screen shots also contain the value 0x30000000 - so if the above doesn't work, then you could also try changing the SDRAM address in tcctool from 0x20000000 to 0x30000000.
Title: Re: Samsung P2
Post by: avh on February 07, 2008, 03:32:45 PM
Yes! I got it!

Linuxstb, the number I used before was from FWDN (under wine). After seeing the screenshot you mentioned, I decided to look around more, and in the options menu you can change the target SDRAM size; I changed it to 32M-32bit 0x20000000, which gave me the number: 0x22E92010. and it worked.

So here is the entire line:

    {"samsungp2",  "Samsung YP P2",              0xb011, 0x20000000, 0x22E92010 },

This works, but if someone is going to try this you have to unplug the usb right after tcctool says:
[INFO] Patching application uploaded successfully!
Otherwise the firmware detects the usb and just goes into file transfer mode.
Title: Re: Samsung P2
Post by: linuxstb on February 07, 2008, 03:53:49 PM
Nice work, I've now added that line to tcctool.c in SVN.

Now you can go ahead and port Rockbox :)
Title: Re: Samsung P2
Post by: bwbass on February 09, 2008, 09:58:07 AM
I've added a basic page in the wiki with some of the hardware details:

http://www.rockbox.org/twiki/bin/view/Main/SamsungP2Port
Title: Re: Samsung P2
Post by: shamx on February 13, 2008, 09:44:34 PM
Well I remember Samsung used to create LCD screens for iRiver (I know for SURE they made the screen for the iRiver Clix and Clix2), I only know of 1 iRiver Touch product and thats the W7, (I'm not sure if the W7's screen was made by Samsung), if it was manufactured by Samsung then the P2's screen shouldn't be very different if Samsung created both screens.  
Title: Samsung P2
Post by: AndrewJohnson on September 23, 2008, 07:21:08 PM
Hey guys,
As far as I could tell the only thing holding up a port for the P2 was a datasheet for the touchscreen.  Well, I found one.
http://www.zoltek.com.cn/images/guigeshu/AU-A030FL01%20V1%20for%20zoltek.rar (Password is zoltek).  I have experience in programming a range of languages as well as some hardware stuff, and reverse engineering at an assembly level.   I will be starting development on the P2 port asap.  Wish me luck.

Additionally I have identified the entry point for the firmware and have that sitting in my dissasembler to be ripped apart.

Also: I couldn't edit the wiki page, it kept bringing me to a blank white page?
Title: Re: Samsung P2
Post by: shotofadds on September 24, 2008, 09:57:16 AM
As far as I could tell the only thing holding up a port for the P2 was a datasheet for the touchscreen.

Well, a much bigger problem was the lack of P2 owners willing to do the work... The datasheet will of course be helpful, but you'll likely still have to reverse engineer the original firmware to find out how to communicate with the screen itself.

The first step is to read PortingHowTo (http://www.rockbox.org/twiki/bin/view/Main/PortingHowTo) (although the formatting on that page looks broken right now) and familiarise yourself with relevant parts of the Rockbox source. Specifically, you need to set up a new configure target for the P2, based on the existing D2 one.

You can then attempt to compile a bootloader build, which can be uploaded to the P2 and executed from RAM using tcctool. Although trying to run code on the device is rather pointless until somebody figures out how to control some of the hardware, eg. how to turn the backlight on and off.

Good luck! 8)

Edit: Fixed link
Title: Re: Samsung P2
Post by: kugel. on January 31, 2009, 04:41:40 PM
The current Cowon D2 has been reported to run on the P2 without changes.

The only problems experienced are lcd problems. The LCD shows stuff, sharply, but with a wrong resolution and offset.
Title: Re: Samsung P2
Post by: abfgdobvo on February 08, 2009, 07:12:16 AM
Where can I find that? I searched in the D2 Topic, but nothing.

I'm not a Dev, but I'd love to test Rockbox on my P2.
Title: Re: Samsung P2
Post by: saratoga on February 08, 2009, 02:56:02 PM
Where can I find that? I searched in the D2 Topic, but nothing.

It was mentioned in IRC.  Try the search on the mainpage.
Title: Re: Samsung P2
Post by: jlcro on February 09, 2009, 02:10:02 PM
The current Cowon D2 has been reported to run on the P2 without changes.

The only problems experienced are lcd problems. The LCD shows stuff, sharply, but with a wrong resolution and offset.

Does that mean, that when the D2 port is ready, it'll need some adjustments to run on the P2?

I have a P2, but i don't know anything about coding. I'll be glad to help as much as i can.
Title: Re: Samsung P2
Post by: saratoga on February 09, 2009, 02:41:07 PM
The current Cowon D2 has been reported to run on the P2 without changes.

The only problems experienced are lcd problems. The LCD shows stuff, sharply, but with a wrong resolution and offset.

Does that mean, that when the D2 port is ready, it'll need some adjustments to run on the P2?

Depends how similar the rest of the hardware is, but if the D2 port is finished, getting the P2 working should be pretty easy compared to most new ports.
Title: Re: Samsung P2
Post by: kugel. on February 09, 2009, 07:34:52 PM
The current Cowon D2 has been reported to run on the P2 without changes.

The only problems experienced are lcd problems. The LCD shows stuff, sharply, but with a wrong resolution and offset.

Does that mean, that when the D2 port is ready, it'll need some adjustments to run on the P2?

I have a P2, but i don't know anything about coding. I'll be glad to help as much as i can.

That means that basically only the lcd driver needs adjustements (I can't tell how much though), the rest of the code is entirely the same. But that requires some coding efforts.

As I said, the D2 Rockbox runs on the P2, and the display even shows stuff, but it can't considered as working as it's using wrong dimensions (at least, probably more is wrong).

NOTE: This is what I got told by a brave P2 user, I have nothing seen on my own.
Title: Re: Samsung P2
Post by: Noobtaculus on February 11, 2009, 10:21:34 PM
Using FWDN, I've flashed the Cowon D2 and Rockboxed D2 firmware to my P2, yeilding pretty much the same result: when writing the firmware blue line artifacts appear on the screen, otherwise it' off. Holding the power button lights up the status light however, when released it goes off. The P2 will appear as a Cowon D2 when connected with folders and all. I've tried the D2 upgrade methods and the light changes red when updating but that's all you can notice. No sound that I picked up either. This was with the 2.59 N FW version. What exactly did this guy usf, krugel?
Title: Re: Samsung P2
Post by: kugel. on February 12, 2009, 04:26:31 AM
Using FWDN, I've flashed the Cowon D2 and Rockboxed D2 firmware to my P2, yeilding pretty much the same result: when writing the firmware blue line artifacts appear on the screen, otherwise it' off. Holding the power button lights up the status light however, when released it goes off. The P2 will appear as a Cowon D2 when connected with folders and all. I've tried the D2 upgrade methods and the light changes red when updating but that's all you can notice. No sound that I picked up either. This was with the 2.59 N FW version. What exactly did this guy usf, krugel?
Why did you install the D2 OF? I don't think the guy did this, he just installed Rockbox.
Title: Re: Samsung P2
Post by: Noobtaculus on February 12, 2009, 10:13:14 PM
Why did you install the D2 OF? I don't think the guy did this, he just installed Rockbox.
I installed Rockbox like you would on a D2 (N-version, 2.59), uploaded the patched .bin file (tried tcctool and FWDN) and placed the .rockbox folder in the root. The P2 showed up as a D2 on my comp but the same LED light sequences and no LCD image/sound. I'm just saying the official Cowon D2 f/w didn't work either. So what exactly did your friend do to get it on there? Edit: Got the logo and update screen to show, in various USB conneted states. Ima keep you all postee if i can get it to work okayish at all.
Title: Re: Samsung P2
Post by: kugel. on February 13, 2009, 11:07:16 AM
I don't understand. Have you patched a D2 OF to install Rockbox? Try patching a Samsung OF file, and upload with tcctool.
Title: Re: Samsung P2
Post by: Noobtaculus on February 16, 2009, 09:10:40 PM
I don't understand. Have you patched a D2 OF to install Rockbox? Try patching a Samsung OF file, and upload with tcctool.
I would try patching the Samsung OF but I have no clue how. I only used a pre-patched D2 firmware. I got some D2 screens like the update and USB-connection to show but in limited blue colours and only under certain circumstances. I couldn't get it to boot Rockbox though.
Title: Re: Samsung P2
Post by: kugel. on February 17, 2009, 02:20:44 PM
I would try patching the Samsung OF but I have no clue how. I only used a pre-patched D2 firmware. I got some D2 screens like the update and USB-connection to show but in limited blue colours and only under certain circumstances. I couldn't get it to boot Rockbox though.
Don't hesitate to ask the experts. Also, (I haven't looked but) I'm sure the instructions on flashing a D2 OF are written down somewhere (I guess in the wiki), those should pretty much apply to the P2 OF as well.
Title: Re: Samsung P2
Post by: shotofadds on February 17, 2009, 03:06:28 PM
I really wouldn't advise flashing a D2 build to your P2, whether it's the OF, Rockbox, or otherwise. If you want to try anything like that, tcctool will do the job perfectly well, but without the risk of flashing permanently. You'd be crazy to try anything else.

To progress work on the P2, someone needs to set up a new Samsung P2 build target, as I suggested earlier (http://forums.rockbox.org/index.php?topic=15267.msg135158#msg135158) in this thread. Then you can start making changes like setting the correct LCD height and width, and gradually getting other things to work.

The D2 LCD driver basically needs to be split into two: a common TCC7801 LCD controller driver which can run on both models, and specific things such as the LTV250QV control sequences would stay in a model-specific file. I'll look into making those changes.

Did anything else apart from the LCD work? I'd expect buttons, backlight, sound, power management and many other things to need specific P2 drivers...
Title: Re: Samsung P2
Post by: Noobtaculus on February 17, 2009, 10:03:50 PM
I really wouldn't advise flashing a D2 build to your P2, whether it's the OF, Rockbox, or otherwise. If you want to try anything like that, tcctool will do the job perfectly well, but without the risk of flashing permanently. You'd be crazy to try anything else.

To progress work on the P2, someone needs to set up a new Samsung P2 build target, as I suggested earlier (http://forums.rockbox.org/index.php?topic=15267.msg135158#msg135158) in this thread. Then you can start making changes like setting the correct LCD height and width, and gradually getting other things to work.

The D2 LCD driver basically needs to be split into two: a common TCC7801 LCD controller driver which can run on both models, and specific things such as the LTV250QV control sequences would stay in a model-specific file. I'll look into making those changes.

Did anything else apart from the LCD work? I'd expect buttons, backlight, sound, power management and many other things to need specific P2 drivers...
I didn't pick up any sound from the P2 when it was running any of these D2 firmwares. If I could get the P2 to even boot Rockbox, I would have tried editing the screen sizes etc., although I'm not very knowledgeable on how I would go about all this Rockbox stuff. I have been using tcctool for this (as well as FWDN). What"works" is just the display (some quick pics I took: http://cid-9221f81e10b78ee2.skydrive.live.com/browse.aspx/P2%20Dev?uc=3&nl=1) and this is only when the P2 is connected via USB; once unplugged it just powers off. If you drop in the correct OF D2 update files, an update screen (or multiple ones?) of the same flavor show up and the light turns red (from the yellow/green); this is easily doable because the device is recognized as a Cwowon D2 USB device with an extra removable drive for the imaginary SD card reader. I know I'm not being very helpful; the short of it is that the Cowon OF runs -- very flaky on the P2, let alone not even having RB boot. I dunno what more help I can be but I'm always open to testing :)
Title: Re: Samsung P2
Post by: kugel. on February 19, 2009, 12:42:00 PM
Let me search the IRC logs.
edit: here, http://www.rockbox.org/irc/log-20090125, slyyf was the guy who tried it out. I talked with him over a few days.
Title: Re: Samsung P2
Post by: Soaa- on June 03, 2009, 05:50:06 PM
Alright so, I'm picking this port back up again. I'll need lots of help though, since I don't have a lot of C experience; not to mention this is some pretty low-level stuff...

So right now I'm just working with the D2 as target, but I'll be splitting my changes off and creating a P2 target once I get some more stuff sorted out. I made some changes to the D2 config file, notably the LCD size. That seems to have changed some things on screen...

I also set the GPIO configuration like the P2 OF does, but that doesn't seem to have changed anything. Changing some flags on the LCD controller did change the picture though, but it's still distorted. The LCD controller H and V clocks should be set correctly, but... everything still seems to be pushed to the blue channel and the picture is stretched horizontally three-fold. It's like it's ignoring the R and G channels. Probably some major difference between the P2 and the D2 panels...

Oh, another thing to note, the subpixels go across the 480 pixels of the screen, not the 272, and Rockbox runs in landscape at the moment.

I couldn't test anything else, as it tells me the battery is empty as soon as it loads up.

Could anyone help me figure out the proper LCD configurations? I've looked through the datasheets for the LCD and the TCC7801 SoC, but I've already changed everything I know, and everything I don't know, well, I left it as-is. :P
Title: Re: Samsung P2
Post by: AndrewJohnson on June 05, 2009, 08:11:59 PM
Alright so, I'm picking this port back up again. I'll need lots of help though, since I don't have a lot of C experience; not to mention this is some pretty low-level stuff...

So right now I'm just working with the D2 as target, but I'll be splitting my changes off and creating a P2 target once I get some more stuff sorted out. I made some changes to the D2 config file, notably the LCD size. That seems to have changed some things on screen...

I also set the GPIO configuration like the P2 OF does, but that doesn't seem to have changed anything. Changing some flags on the LCD controller did change the picture though, but it's still distorted. The LCD controller H and V clocks should be set correctly, but... everything still seems to be pushed to the blue channel and the picture is stretched horizontally three-fold. It's like it's ignoring the R and G channels. Probably some major difference between the P2 and the D2 panels...

Oh, another thing to note, the subpixels go across the 480 pixels of the screen, not the 272, and Rockbox runs in landscape at the moment.

I couldn't test anything else, as it tells me the battery is empty as soon as it loads up.

Could anyone help me figure out the proper LCD configurations? I've looked through the datasheets for the LCD and the TCC7801 SoC, but I've already changed everything I know, and everything I don't know, well, I left it as-is. :P

Sounds like you have gotten further then I have...never managed to get the lcd to start properly...Got it started..just not well...I will make a point to be on irc if you want.

EDIT: Oh, actually, sounds like you and I are on the same page.
Title: Re: Samsung P2
Post by: Soaa- on June 05, 2009, 10:21:57 PM
Update, well, not really, 'cause I'll just repeat what I've said on IRC anyway.

I got the LCD timings and settings to work. The picture now shows up undistorted, but is greenish, due to the red and blue channels being interpreted as 6 bits each instead of 5. I'm not entirely sure how I can fix this.

Looking through the OF's disassembly, I found some settings to be modified, but I think I'm still missing quite a bit.

From what I get, the LCD works in rgb666, which is what the LCD controller outputs, but somehow it fails to translate the framebuffer's rgb565 into rgb666 properly. If anyone can investigate that, it'd be real chill. I'll do some looking of my own too.

I'll keep y'all updated. (:
Title: Re: Samsung P2
Post by: abe16to∞ on November 10, 2009, 07:39:30 PM
hey every one i think this is the sdk to make it easy to port rockbox into the p2. this link will take you to the download place were the sdk was uploaded for TCC7801 chips
http://thep2zone.com/forum/viewtopic.php?f=9&p=12467#p12467
Title: Re: Samsung P2
Post by: saratoga on November 10, 2009, 08:13:52 PM
hey every one i think this is the sdk to make it easy to port rockbox into the p2. this link will take you to the download place were the sdk was uploaded for TCC7801 chips
http://thep2zone.com/forum/viewtopic.php?f=9&p=12467#p12467

I think most of that has already been posted to the wiki, but if theres something new in there feel free to add it to the wiki.