A13-OLinXino JTAG works


A13 documentation is very brief and so far we found inside ton of errors, to me it looks like somebody wrote this document in hurry with copy and paste from A10 (also brief) documentation.

This may be shock for somebody of Western world but seems pretty normal for Chinese SoC vendor as their model is to sell not chips but solutions i.e. their customers (the consumer electronics manufacturing companies) do not do any design work on their sites, Allwinner sell them processors, pre-routed PCBs, pre-build Android and Linux images with all features enabled, so they just manufacture and spend no resources to develop.

What I found very useful with the Android A13-SDK image which we got from Allwinner is that there you have kernel configuration text script where you can define every processor feature as port functions, CPU voltages, times, DDR3 organization, timing, etc etc you name it and when the board reboots the bootloader read this script and pre-configure your kernel on the fly, no need to re-compile kernels and you ork with the newest Kernel 3.x available. So in this situation Allwinner customers never need decent datasheet at all because all development is already done for them by Allwinner. This explains why they do not bother to spend time to release proper dcumentation too.

We actually did the very first A13 design which is made outside Allwinner, but this leave us to explore A13 features by ourself, which is not so bad by the way, we feel like the pioneers of the wild west.

Today Henrik Nordstrom (who got one of the very first prototypes) send me message that he successfully run OpenOCD with A13 and can debug with ARM-USB-TINY-H adapter I sent him with the A13-OLinuXino, so in the next revision of the board we will break out the JTAG signals on separate connector.

Here is the A13 GPIO description we have so far http://linux-sunxi.org/A13/PIO

Note that SD card share UART0 and JTAG signals this means if you have no internal NAND will be hard to debug Linux as SD card will be used to boot the Linux image.

UART0 can be enabled to be used for the console.

10 Comments (+add yours?)

  1. Eric Molitor
    Aug 09, 2012 @ 17:46:18

    Does this mean that we will not be able to use a serial console to debug a kernel booting off of an SDCard?

    Reply

  2. RaYmAn (@DroidRay)
    Aug 09, 2012 @ 22:51:07

    Glad to hear my work on JTAG for A10/A13 works on A13-olinxino :) (http://linux-sunxi.org/JTAG)

    Have you looked into the possibility of exposing the second JTAG? It should theoretically be possible…I believe it’s on PB14,15,16,17 pins…

    Reply

    • OLIMEX Ltd
      Aug 09, 2012 @ 23:16:25

      we are open to any suggestions, as we are going to do modifications of A13-OLinuXino layout anyway
      we will check what are the possibilities and if there are tradeoff to expose this second JTAG alhough I doubt many would need to debug with JTAG its good to have it for hacking

      Reply

      • RaYmAn (@DroidRay)
        Aug 10, 2012 @ 19:23:49

        You are right, it’s not very useful for most people :)
        As far as I’m concerned, I’m more than happy as long as PB14,15,16 and 17 are exposed on SOME header. There’s no reason to bother putting in a jtag-specific connector, as long as we can just hook it up with jumper cables :)

  3. Do Not Spam Me
    Aug 11, 2012 @ 03:05:14

    Linux 3.x can be configured via FDT, you know … uboot can modify it too ;-)

    Reply

  4. profiaudi
    Aug 17, 2012 @ 19:00:49

    What about the GPU? It says that there’s a Mali 400MP, but do you know how many core are there? (The Allwinner’s site was kind of in Chineese)

    Reply

  5. Banibrata Dutta (@edgeliving)
    Aug 18, 2012 @ 17:09:21

    What is the possibility that A13-Olinxino will be able to run Debian Linux, instead of Android ? Any plans of making a Debian image usable with this board — in future ?

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 459 other followers

%d bloggers like this: