Rockbox Technical Forums

Rockbox Development => New Ports => Topic started by: PaulF on September 04, 2018, 11:26:02 AM

Title: PiPod
Post by: PaulF on September 04, 2018, 11:26:02 AM
I may revive an old Raspberry Pi project I did as a learning exercise. The PiPod looks interesting. https://hackaday.com/2018/08/28/pipod-a-raspberry-pi-zero-portable-music-player/

Anyone else get the pi working?
Title: Re: PiPod
Post by: PaulF on September 04, 2018, 03:30:07 PM
That link above was a review. Here is the project page: https://hackaday.io/project/26157-pipod
Title: Re: PiPod
Post by: wodz on September 05, 2018, 05:59:06 AM
I can't see any reason why sdl port wouldn't work.
Title: Re: PiPod
Post by: PaulF on September 05, 2018, 11:22:20 AM
That old project, I mentioned, was an SDL port. I just wondered if someone else had done it lately. I was learning and was never sure I did it right. My changes were called hacks and frowned upon. I recently setup a git account. Maybe this time I will learn how to do a pull request to get a review or something. It will take me a long time. This post was kind of new port request hint, though.
Title: Re: PiPod
Post by: PaulF on September 08, 2018, 03:01:44 AM
I thought this be a good choice to learn how to submit a changes via GIT. It turns out the the board has been out of stock for a month on Tindie and was $25 shipping from Europe. I'm guessing wodz is right and it is just a simple SDL build.

I may merge my HW with his if I can figure out how to convert his design to KiCad. I used a rotary switch that includes the same five switches he uses.

In either case, I guess they are not "new ports" So never mind.
Title: Re: PiPod
Post by: saratoga on September 08, 2018, 10:36:49 AM
I think if you want to learn Gerrit and git, working on a new device or tweaking the code to do something you want is a good place to start. The problem with SDL specifically though is that a lot of things use SDL (sim, various application ports to Linux based devices) so it can be tricky to understand what can safely be changed without breaking things.
Title: Re: PiPod
Post by: PaulF on September 09, 2018, 02:46:39 AM
I just looked up Garrit. Now we're talking, so to speak. I would enjoy talking to you devs. I have a different view of SDL. :-) in my opinion there should be no #IF <device> blocks.  SDL does a very good job of run time configuration using searches for devices configured by the device tree and frame buffer etc. Maybe more later.