[Gta04-owner] Find out if you have a 800 MHz or 1 GHz DM3730 in your GTA04

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Mon Sep 10 14:41:25 CEST 2012

On Mon, 10 Sep 2012 14:01:45 +0200
"Dr. H. Nikolaus Schaller" <hns at goldelico.com> wrote:

> We had produced some GTA04 with a DM3730CBP100 chip variant (to find
> out if the production problems could depend on different chip
> suppliers) which is specified for 1 GHz clock (note that it is
> possible to overclock all variants...).
> To make it easier to find out which chip variant is built into a
> given device, we have added a tiny patch to U-Boot that reads out the
> config register and sets the "mpurate" kernel command line argument
> to "800" or "1000".
> The hw-tester script of the Debian/LXDE can then simply
> parse /proc/cmdline to find out and report the max. official clock
> rate.
I guess it could also be done totally in userspace(as root):
root at om-gta04:~# devmem2 0x4800244C w
/dev/mem opened.
Memory mapped at address 0xb6fa2000.
Read at address  0x4800244C (0xb6fa244c): 0x00000C00
root at om-gta04:~# python
Python 2.7.3 (default, Aug  7 2012, 19:02:36) 
[GCC 4.7.2 20120706 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 0x00000C00 & (1<<9)


More information about the Gta04-owner mailing list