How to build a Linux image for the Joggler

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
Juggler
Posts: 242
Joined: Thu Apr 21, 2011 2:34 am

How to build a Linux image for the Joggler

Post by Juggler » Thu Apr 21, 2011 3:15 am

Thanks to the people who have put time and effort into producing the Linux images for the joggler - I dont know what's involved in doing that, but I certainly do appreciate the end result !

I like the Tiny Core Linux approach, which is a small, fast, minimalist distro that can be extended as required.

http://distro.ibiblio.org/tinycorelinux/

What I'd really like to do, is to understand how to get Tiny Core Linux to work on a joggler. Maybe some one has already done this or the instructions on how to do this are published. If you could point me in the right direction, I would appreciate that.

If anyone has any advice on undertaking such a project, I would be interested to hear from you.

If I produce anything usable, I would be happy to share that with the community.

User avatar
BuZz
Site Admin
Posts: 1444
Joined: Fri Mar 04, 2011 1:15 am

Re: How to build a Linux image for the Joggler

Post by BuZz » Thu Apr 21, 2011 4:53 am

There is a bunch of stuff on the wiki regarding getting distributions working. You can also check out kernel patches and config stuff I use at http://joggler.exotica.org.uk/source/ (I need to update it with the latest stuff mind).

alcoheca
Posts: 28
Joined: Fri Mar 04, 2011 12:25 pm
Location: Glasgow

Re: How to build a Linux image for the Joggler

Post by alcoheca » Mon Sep 17, 2018 7:08 pm

@juggler - 7 and half years later but did you get anywhere with this?

I have experience with tinycore linux but struggled with the kernel compilation / booting on the joggler

User avatar
pete
Posts: 2654
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: How to build a Linux image for the Joggler

Post by pete » Wed Sep 19, 2018 10:27 pm

A while back using Seabios I was able build some version of Linux. Thinking Mickchip tried this first.

Last year one forum user built an O2 Joggler KODI build from scratch (?) that fit fine on 1Gb of eMMC.

Only concern then was the video drivers.
- Pete

Auto mater

User avatar
roobarb!
Posts: 1472
Joined: Sat Mar 05, 2011 1:30 pm
Location: Manchester, UK
Contact:

Re: How to build a Linux image for the Joggler

Post by roobarb! » Fri Sep 21, 2018 10:30 pm

Sound is the one I'm struggling with again right now. Things have changed in ALSA in the latest kernel configurations and I can't get the auto-mute when you connect headphones / line output working correctly. The signal to the internal speakers is muted, but the R channel plays amplified circuit noise.

This is what's holding up my release of Ubuntu Bionic - everything else is working a treat.
birdslikewires.net - home of the Reflash System, SqueezePlay (OS) and various tools for the Joggler!

alcoheca
Posts: 28
Joined: Fri Mar 04, 2011 12:25 pm
Location: Glasgow

Re: How to build a Linux image for the Joggler

Post by alcoheca » Sat Sep 22, 2018 8:17 am

@roobarb are your modifications/kernel configuration available in a VCS? Git or similar?

It would help me to see what changes are needed.from.the default bionic configuration that I could reapply to the tinycore kernel, as presumably the versions are different.

I've done a little bit of kernel hacking before, fixing old DVB drivers to run on a modern kernel, so could perhaps help your audio issue. Also worth hitting up the ALSA mailing lists?

User avatar
roobarb!
Posts: 1472
Joined: Sat Mar 05, 2011 1:30 pm
Location: Manchester, UK
Contact:

Re: How to build a Linux image for the Joggler

Post by roobarb! » Sat Sep 22, 2018 4:10 pm

Certainly are, check out ‘andydvsn’ on GitHub, I’ll post the latest versions tonight if I get chance. Repo is OpenFrame-Kernel. I’ll post a description of the ALSA issues too, I’m stuck right now and I’ve not had a lot back from the ALSA mailing list. Basically, the right channel of the internal speakers crackles with circuit noise when headphones / line out is plugged in. At least the muting works, I suppose. 😂
birdslikewires.net - home of the Reflash System, SqueezePlay (OS) and various tools for the Joggler!

alcoheca
Posts: 28
Joined: Fri Mar 04, 2011 12:25 pm
Location: Glasgow

Re: How to build a Linux image for the Joggler

Post by alcoheca » Sat Sep 22, 2018 5:23 pm

That's great - really appreciate that.

User avatar
roobarb!
Posts: 1472
Joined: Sat Mar 05, 2011 1:30 pm
Location: Manchester, UK
Contact:

Re: How to build a Linux image for the Joggler

Post by roobarb! » Mon Sep 24, 2018 10:59 pm

Sorry for the delay replying, probably easiest to take a look at the thread on the ALSA mailing list for where I'm up to with the audio bug.

http://mailman.alsa-project.org/piperma ... 40065.html

This is the latest patch, but nothing I've tried so far fixes the audio issue - this basically just labels things and marks some pins as unconnected:

https://gist.github.com/andydvsn/16bf77 ... b0378643c3

I can swap the problem around, making the crackle move to the headphones and cause the HP/LO to mute when connecting (which is obviously pointless!) but the crackle continues. From the previous patch I believe pin 0x07 is responsible for the muting, but I can't figure out how to make it work.

There are some board pics and the pinout for the STAC9202 in that thread too.
birdslikewires.net - home of the Reflash System, SqueezePlay (OS) and various tools for the Joggler!

Post Reply