Dear all,
We run Android4.4.3 on SABRE-SDB board
We used a patch of memtool for Android4.4.2 to confirm a register value.
We referred to the following URLs.
https://community.freescale.com/message/433774?sr=search&searchId=8ce75354-b615-486c-afc9-c9398c6070...
https://github.com/rabeeh/android-imx6-kitkat/blob/master/platform/external/linux-test.git/0400-ENGR...
We were able to read the value of the Value of OTP Bank1 Word6 register using this memtool.
================================================
memtool -32 0x021bc4e0 1
Reading 0x1 count starting at address 0x021BC4E0
0x021BC4E0: 58F4F869
================================================
However, we do not seem to be able to read Tempsensor Control Register 0 correctly.
================================================
memtool -32 0x020c8180 1
Reading 0x1 count starting at address 0x020C8180
0x020C8180: 00000001
================================================
TEMPMON[19:8] = 0x000 = 0 ????
We seem that this memtool does not work on Android4 .4.3 correctly.
Does the memtool patch for Android4 .4.3 exist?
Would you tell me the procedure and contents when the correction of this patch is necessary?
Best Regards,
Yuuki
Solved! Go to Solution.
Dear Biyong-san,
Thank you for your support.
We want to read a register on Linux kernel
We were able to read a register by the following command.
$ cat /sys/devices/virtual/thermal/thermal_zone0/temp
Thanks
Best Regards,
Yuuki
cross compile the memtool with static link. It can use anywhere, yocto and android.
Also you can use the uboot command otp or common command md to read the fuse.
Dear Biyong-san,
Thank you for your support.
We want to use the memtool on Android.
Therefore we want to modify the memtool.
Would you tell me a modified point and the modified contents?
Best Regards,
Yuuki
What is the reason need to modify code?
I have replied to you use "static link". Just use original code. use any other toolchain. Even from 3.0.35 do the cross compile with static link.
that way, you don't need to ask patch for every android update.
Attached "static link" memtool.
There is anything no clear for "static link".
Also you can use the uboot command otp or common command md to read the fuse.
Dear Biyong-san,
Thank you for your support.
We want to read a register on Linux kernel
We were able to read a register by the following command.
$ cat /sys/devices/virtual/thermal/thermal_zone0/temp
Thanks
Best Regards,
Yuuki