beagleboard / capes

Official BeagleBoard.org capes
45 stars 27 forks source link

GamePup support #5

Open jadonk opened 5 years ago

jadonk commented 5 years ago
Hacksore commented 5 years ago

@jadonk Trying to integrate with the gamepup but having a hard time in getting it working (primarily the display). Would you have some time to help me get off the ground here?

I did try enabling this: https://github.com/beagleboard/pocketbeagle/wiki/GamePup-cape

However, I’m unable to see the LCD come on at all. Starting to think the unit I have could be defective.

What are some steps I can use to rule out a software issue?

Any help is appreciated!

CoolGames commented 5 years ago

LCD now working correctly with only overlay applied as per https://github.com/beagleboard/pocketbeagle/wiki/GamePup-cape

I have traced a staging driver issue in kernel 4.14.108-ti-r113 of reversed RED and Green to line 111 comments without further mention in https://github.com/beagleboard/linux/blob/4.14/drivers/staging/fbtft/fb_st7735r.c signal MADCTL fixed in Adafruit version of pin 15 SRGB on based on page 15 of https://cdn-shop.adafruit.com/datasheets/ST7735R_V0.2.pdf

issue is addressed near line 241 https://github.com/adafruit/Adafruit-ST7735-Library/blob/master/Adafruit_ST7735.cpp

Hacksore commented 5 years ago

@CoolGames Lee thanks for digging into this, I know we've been going back and fourth on email regarding this.

Do you think that this kernel driver issue is my root cause of not being able to get the display working?

CoolGames commented 5 years ago

I am viewing the YouTube videos about PocketBeagle and see where problem for me occurs. You should see a boot screen with the above IMG and instructions to add overlay to uEnv.txt. If that fails then yes there may be a problem. I used fbi then fbgrab and colors were intact so issue is hardware on pin 15 mentioned above. I plan to attack after I learn how to repair the kernel module by viewing the videos. I have a SLACK channel at Beagle dev site but no one is responding as they are busy with other projects before GamePup. You should check with Jason to see if you can be added and then I can share the private channel there. I am all over the place trying to find a path to GamePup using TechLab training with Beaglebone AI testing image on the TechLab cape. I only have one Pocket Beagle and I do some kludges that may not be popular to share publicly. We can keep documenting the issue here as well I think.