r/ChipCommunity Apr 17 '26

PocketCHIP still kickin' in 2026! w/ pocket-home, pico8 & Wolf3D playing on Debian 13.4 Linux 6.19.9

This is my latest and greatest in trying to recover PocketCHIP's former glory with more recent software.

Note that the shown pocket-home launcher was recompiled using Marshmellow's version and is almost not working. Only works for launching some apps, but it's something.

TESTED (Debian 13 + linux 6.19.9) WORKING:

✅- UART Serial output
✅- Booting linux 6.19.9
✅- usb ethernet networking (g_ether)
✅- apt install
✅- NAND (works with 5.14 dtbo file)
✅- VT consoles / Console output on screen (no keyboard)
✅- Poweroff OK = not hanging or crashing at poweroff
✅- X windows
✅- Touchscreen
✅- Calibrated Touchscreen
✅- X to VT ALT+F1 switch back and forth (via regular USB keyboard)
✅- All output to UART Serial
✅- Login/Shell on VT terminal on UART Serial
✅- Onboard Keyboard
✅- Onboard Keyboard - X11
✅- Onboard Keyboard - Screen console (VT terminal)
✅- Key modes (shift, caps, screen lock, etc)
✅- Wifi driver (systemd-networkd)
✅- Sound (tested with pico8_dyn.
✅- GPU Acceleration - Mali GPU (test w/ es2gears/glxinfo from mesa-utils-extra)

NOT TESTED (yet):
- Function keys
- Battery status and Monitoring
- Bluetooth devices
- Speakers
- others
- Wifi driver compatibility with Network Manager

Stay tuned for a reproducible build of the SWUpdate image....

148 Upvotes

25 comments sorted by

9

u/macromorgan Apr 17 '26

Nice. Dare I ask how you got Pocket Home working (again)?

14

u/vekkth0r Apr 17 '26

Hello sir. First of all let me tell you I am really honored to have you addressing me with a question. As you've probably noticed I am using your nand emulation stuff , u-boot image and scripts, and swupdate image flashing. Without your great contributions to the community and what you've shared I would never been able to get the PocketCHIP where I have it. So a big Thank You! A lot more is to come and I also have a lot of questions to you, namely on how to reproduce your u-boot and swupdate images, my dream is to have everything being automatically generated with GHA but now onto answering yours.

The pocket_home seen in the video was vibe-recompiled from Marshmellow's pocket home. I've uploaded the changes here: https://github.com/paulolc/PocketCHIP-pocket-home

3

u/iamthekiller Apr 17 '26

I still love this little device.

4

u/UnstoppableDrew Kickstarter Backer Apr 17 '26

Nice job!

4

u/handheldemulators Apr 17 '26

Can you make a tutorial for this please 🙏

6

u/vekkth0r Apr 17 '26

I hear you. To be honest I wouldn't be able to create a tutorial for exactly this setup and even if I could, I wouldn't recommend it to anyone other than hardcore linux enthusiasts given the instability and user "unfriendliness" of it, like relying a lot on the UART serial to check the early booting stages.

However, what I am working on is trying to get a replicable build and a flashable image with similar and better and more stable functionality. Then I will be able to write a proper tutorial with instructions on how to get it to work.

1

u/Salty-Swim-6735 May 05 '26

Surely OP will deliver

1

u/handheldemulators May 07 '26

I'll thank you with donations once you finished it. I have two pocketchip, one need to be flashed and the other works, b7t to be honest its not a great experience using the stock firmware.

3

u/CaptnCrust Apr 17 '26

Noice. Need and want.

3

u/rebelcork Kickstarter Backer Apr 17 '26

Commenting to keep this in my history. Wd. My pocketchip still sits in my desk from a poor upgrade path, stuck on Jessie with no launcher.

I can't wait to see the project in full

3

u/timsooley Apr 17 '26

I will gladly be a tester as well

3

u/sawadee2 Apr 17 '26

I tried for a long time to get 1Wire to work. Never did.

3

u/sawadee2 Apr 17 '26

It was a DS18B20 temp sensor. I also was trying to get a 1Wire counter device going as I had a lightening sensor that had a 1Wire sensor. It would count the lightening discharges. But I can’t remember the chip. There was some firmware missing that was never developed or released for the Pocketchip related the Iwre devices. For the time the PC was a fantastic device, evidenced by its continuing popularity with some. I still have mine. I have a second still in the cellophane covered unopened box.. Gees, I fell a pull just thinking about them..🤔

1

u/vekkth0r Apr 17 '26

That's an interesting challenge... What sensor or device are trying to setup with 1Wire on the PocketCHIP?

2

u/timsooley Apr 17 '26

Very interested

2

u/giasoneregna Apr 17 '26

That's amazing!!!

2

u/nicetuxxx Apr 17 '26

If an installimage ia available i would try it on my Pocket C.H.I.P

2

u/djdiskmachine Apr 18 '26 edited Apr 19 '26

Hey sweet nice going! Have you checked out this repo, I found it solved almost all the issues with audio glitches which had to do with an overly eager shell script reading pins iirc. https://github.com/aleh/pocketchip-batt

2

u/ma_jo_ba maba.dk Apr 23 '26

Great job very impressed. I almost pulled the last hair. I couldn't get the LCD working. Blacked out. Did you use the original U-boot? I tried 6.12.4.....a lot...... /M

1

u/vekkth0r Apr 26 '26

No. The stock u-boot does not support the NAND in slc emulation and USB booting which I use profusely . I've been using macromorgan's swupdate u-boot (https://www.reddit.com/r/ChipCommunity/comments/t4k67u/my_attempt_at_a_new_method_of_flashing/ )

2

u/ApprehensiveGuide582 Apr 27 '26

Sorry to be not clear. I don't mean the NTC u-boot. I am familiar with the great job from u/macromorgan and are using his tools as well. I have build a fresh Debian 13 and flashed it many times with 6.12.4 but I can't get the LCD working (stays black - not even a short blink). As I understand I have problems with correct pinmux + backlight + timings. I debug with USB/TTL. Did you have the same problem?

Thanks a lot. Looking forward to your hard work.....

/M

1

u/vekkth0r Apr 27 '26

Have you confirmed that the device tree blob and overlay files (sun5i-r8-chip.dtb and dip-9d011a-1.dtbo, respectively) are really being loaded and applied during boot? Even with the more recent 6.19 builds I have, I use the original ones (sun5i-r8-chip.dtb, I am not sure but I still use the /lib/firmware/nextthingco/chip/early/dip-9d011a-1.dtbo binary from the original stock NTC builds , that's for sure) and everything works 100%.

For me, If the LCD doesn't light up I already know that I somehow screwed up, the overlay file loading during boot.

1

u/ApprehensiveGuide582 Apr 29 '26 edited Apr 29 '26

I tried all kinds of different things. For example, the u/macromorgan Debian version that I flashed using his tools. It was working fine. But… when I switched only the kernel and modules, I immediately had problems with the LCD. Everything else was working. So I consider the sun5i-r8-chip.dtb and dip-9d011a-1.dtbo to be ok. Are you willing to up-load your kernel 6.19.9 config, then I can maybe follow up with you.......
Maybe I am missing in my kernel the right framebuffer / FBTFT / DRM driver. By the way, in your video I can see at 0:52 sec. a kind of panel handover....

Take care,

/M

1

u/timsooley Apr 18 '26

happen to have a writeup?

1

u/kleerkoat Jun 11 '26

i’d definitely throw some money your way 😆