Welcome to the Rockbox Technical Forums!
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.
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 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...
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.
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 chipshttp://thep2zone.com/forum/viewtopic.php?f=9&p=12467#p12467
Page created in 0.196 seconds with 56 queries.