http://www.openaos.org/wp-upload/menu-beta/fr/initramfs.cpio.gz
Archive for April, 2010
Serial console on gen6 and gen7 using the Archos DVR Station
Wednesday, April 21st, 2010The serial console is an extremely powerful tool while working on embedded systems on an low level. Rewriting the init process to enable the openAOS Boot-Menu would have been virtually impossible without this.
So, due to some requests for information on how to access the serial console on Archos generation 6 and 7 devices I put together this posting. Thanks also to those who contributed the Pictures to make this post possible!
What will you need?
- A soldering iron with a fine tip (capable of soldering SMD parts)
- Some thin, insulated wire
- A level converter 1,8V ⇄ RS232 (this is very important, more on that later)
- An Archos DVR station for gen6/7
Once you have everything prepared on a clean surface:
- First open the DVR-station. The screws on the back are not important, the ones hidden below the pads on the bottom are.
- You should now see something like this:
Notice how some parts are highlighted in red. Those are convenient spots to grab the serial TX, RX signals and an nearby ground pad.
- To have an interference free serial interface you will have to sacrifice the IR receiver and transmitter. Or to fit a switch; though this goes beyond the scope of this guide so that design and implementation are left to the discretion of the interested reader.The following picture shows the two resistors that need to be removed while hilighting the appropriate solder pad to attach an wire. To the Right you also can see an easily accessible large ground pad which needs no further preparation.
- After unsoldering the resistors you can proceed to soldering on the three wires.

Closeup of the DVR-station PCB, with wires soldered on and resistors removed. Click image for larger version
Notice how the TX and RX wire are soldered to the lower of the two pads where once the SMD resistor was located.
- Apply some tape so there is no mechanical stress on the solder joints
- Find a way to route the wires outside the case
- Please notice that TX and RX is respective to each device, this means you need to wire: TX → RX and RX → TX!
- Attach your 1,8V ⇄ RS232 converter to the three wires!I will emphasize this once again:
This converter is a MUST! If you connect your Device directly to an RS-232 port you are going to cause irreversible damage to it!Alternatively you could use one of these USB converters. I heard that you can get away without modifying VCCIO for 1,8V and just leaving it at the 3,3V default.
- Congratulations! You can now directly debug your Archos running an custom kernel!
Some further notes on this topic:
- This does not work with the original Archos firmware!
- Advanced users can connect an USB-to-serial converter chip that is capable of 1,8V directly to the port. This is not something you can buy off the shelf. Regular converters use RS232 levels → irreversible damage!
- If you are connecting an cheap USB-to-serial converter to the level converter use a “moderate” baud rate! Cheap converters usually contain an prolific-2303 chip. It works ok for 115k2 but won’t work reliable at 1M. I can recommend FTDI converters, they work just fine at 1M.
- A similar modification should be possible using the HDMI-Dock as I’ve been told it has two docking connectors (TX is on the left, RX on the right).
I will add some more notes here later on.
And once again. NEVER connect RS232 directly to the bare wires! You have been warned.
openAOS overlay for Ångström updated with support for gen7 devices (Archos5IT)
Wednesday, April 14th, 2010I finally took the time to merge the Archos overlay into our overlay. This also includes a patch updating the kernel with the latest sources and config from Archos (more about that later on).
Please note that if you want to compile for gen7 you have to set the MACHINE variable to “archos5it” e.g. in the file build/profiles/openaos/conf/local.conf. Note that you can build gen6 and gen7 from the same environment. So if you already have the openAOS overlay you just need to “svn up” in the build directory. You can switch between building both on the fly. For more information please refer to the Ångström documentation.
As for possible issues related to gen7 pleas use the new milestone when filing issues/wishlist-items. Please note though that the gen7 support will be under heavy development for the near future so some breakage might occur while we catch up to where gen6 currently is. After accomplishing that we’ll hopefully be able to move in sync.
The kernel patch I mentioned earlier was given to me by Archos. It should be now in sync with what they currently use to build the Android releases you can download. With that I also had success with dual-boot of Ångström and Android using the same kernel – as you’ve read. I’m grateful that Archos is really eager to help with something that doesn’t directly translate in an revenue stream.
Please let us know about your experience with the updated overlay.
And now enjoy!
Thomas
for the openAOS team
PS: In theory this newer kernel should also boot on gen6 devices. Go ahead and try it if you want to experiment! There are a few people on IRC already working on that, so you can join them. Ultimately you might be able to find out how slow Android can run on gen6.

