Posts Tagged ‘serial’

Archos 43 IT UART pads

Friday, June 24th, 2011

you know the drill… (see previous posts on this topic!)

A43 UART, picture courtesy AV500

A43 UART, picture courtesy AV500

Again thanks to AV500 for the picture!

UART also for Archos101 (gen8)

Monday, March 21st, 2011
UART pads for the A101, picture courtesy av500

UART pads for the A101, picture courtesy av500

TX is green

RX is blue

Ground is wherever you find it ;-)

more info

How to wire up an Archos70 (gen8) for UART access.

Friday, March 18th, 2011

A quick info how to wire up your gen8 Archos 70 for UART access.

The reservations from the previous guide for gen6/gen7 do apply. Don’t connect this directly to RS-232!

UART pads on the A70, picture courtesy AV500

UART pads on the A70, picture courtesy AV500

And AV500 adds this information: “this is the back side of the PCB, to get to it disconnect LCD and TSP and remove PCB from the case…”

This should prove useful for those that want to work on gen8 up-stream kernel support or just need reliable console access without blocking up the USB port.

Easy serial debug, now also for Archos gen6 (A5/A7 IMT)

Thursday, July 22nd, 2010

This is a follow-up to my previous posting: Debugging Archos devices just got a lot easier.

It was a bit of work as g_serial has changed a lot inbetween 2.6.22 and 2.6.27. This version only supports one serial device. I’ve decided to bind an cat /proc/kmsg to it, so if you want to bind an getty to it you have to kill the cat first I guess.

I’ve made the initramfs with the slightly modified init script and added modules available. Bitbake recipes should appear in svn in the near future. Need to clean up my tree first. :-(

Thomas, your friendly neighborhood ArchDruid

PS: On an slightly related note. I hope SFR decides soon to open their branded A5 3G+ to an SDE, so that owners of those devices will be able to enjoy this too. They were selling the device for a couple of days for only 50€ free of contract, certainly a very nice offer.

PPS: use with an gen6 kernel only. Like e.g. this one

Debugging Archos devices just got a lot easier.

Monday, July 12th, 2010

UPDATE:

This guide is outdated, please do not use it anymore! There is a new and updated procedure that is easy to follow and integrates g_serial debugging. The files linked to in this guide will be no longer available.


I’ve been talking about this idea for a while now, but today I finally had the right mood to work on it and I think I’ve found a sufficiently flexible solution for now.

I’m loading the kernel modules (musb_hdrc and g_serial) in the initramfs. Fortunately there was enough space left for that.

I’ve created 3 separate serial interfaces using g_serial.

  1. /dev/ttyGS0 – unused (root shell on Archos Android firmware)
  2. /dev/ttyGS1 – unused
  3. /dev/ttyGS2 – kernel messages. this is simply ‘cat /proc/kmsg’

You can now attach terminals or logs to this in your images. Usually by editing /etc/inittab and adding a line like:

s2:235:respawn:/sbin/mingetty --autologin root ttyGS0

If you need to disable this you can just kill the ‘cat’ process and if running stop the getty’s. After doing that you can remove the g_serial and then the musb_hdrc module. You can then e.g. reload musb_hdrc to have it act as a host controller again.

The important changes are in the initramfs. The zImage is only needed if you want the root shell for Android. Get the files here.

Enjoy your easy debugging! No need for serial dongles anymore!

Cheers

Thomas, your friendly neighborhood ArchDruid
PS: As a bonus this zImage will boot Archos 2.0.x firmwares. There will be some problems with transparencies though. We’re going to fix that in the long run though.

PPS: If there is demand I can generate a set for gen6 too.