Hi, my name is Franco, and I'm interested in adding this new device to the
sunxi-boards repo in order to be able to build a new kernel and get rid of
android. My idea is to use this tablet as a control center for some smart
devices in my house.

So far I was able to retrieve most of the device information. I have both
bootinfo.txt and script.fex files with the extracted dram parameters. I 
wasn't
able to extract information about the touchscreen and other sensors because 
it
seems that android is now broken. I can only boot recovery interrupting 
u-boot
and manually loading the recovery partition. The so called, normal boot, 
ends
up with the device stuck on the bootlogo and on serial I can only see the
"Starting kernel..." text.
I've tried to manually change the loglevel hoping to see some kind of 
messages
from the kernel but nothing. I also haven't found a way to read boot logs on
u-boot, so I think android is done for the moment.

In theory, I now have to add support to u-boot, but for that, I need a 
device
tree, and I don't really know how to write one. My previous experiences with
dtb and kernel compilations are with the WonderMedia's 8650 soc. I only 
copied
text that I gathered from different messages and pasted it on the dtb file, 
and
things just worked.
I want to learn how to write dtb files, but in the meaning time, I was
wondering if someone could guide me a little bit on what route should I 
take.
The device page is here <https://linux-sunxi.org/X-View_Proton_Tab_2>, with 
all the information I was able to find, and I
also attach both bootinfo.txt and script.fex files to see if you can tell me
what already written dtb file is the closest one to what my device needs.

Thanks in advance.

Cheers,
Franco.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/5c57bf79-3dec-4a96-b47c-d0d5ffae5c2dn%40googlegroups.com.
       4:       Magic     : eGON.BT1
      10:       Length    : 409600
      14:       HSize     : 48
      18:       HEAD ver  : 1100
      1c:       FILE ver  : 1230
      20:       BOOT ver  : 1230
      24:       eGON ver  : 11
      28:       platform  : 1.7.0
      30:       FHSize    : 33488
      34:       FILE ver  : 1230
      38:       UART port : 1
      3c:        GPIO 0   : port=G3, sel=4, pull=1, drv=255, data=255, 
reserved=00,00
      44:        GPIO 1   : port=G4, sel=4, pull=1, drv=255, data=255, 
reserved=00,00
      4c:       DRAM base : 0x40000000
      50:       DRAM clk  : 384
      54:       DRAM type : 3
      58:       DRAM rank : 1
      5c:       DRAM den  : 4096
      60:       DRAM iow  : 16
      64:       DRAM busw : 16
      68:       DRAM cas  : 9
      6c:       DRAM zq   : 125
      70:       DRAM odt  : 0x0
      74:       DRAM size : 512
      78:       DRAM tpr0 : 0x42d899b7
      7c:       DRAM tpr1 : 0xa090
      80:       DRAM tpr2 : 0x22a00
      84:       DRAM tpr3 : 0x0
      88:       DRAM tpr4 : 0x0
      8c:       DRAM tpr5 : 0x0
      90:       DRAM emr1 : 0x0
      94:       DRAM emr2 : 0x10
      98:       DRAM emr3 : 0x0
    809c:       Set Clock : 1008
    80a0:       Set Core Vol: 1450
    80a4:       Vol Threshold: 3600
    80a8:       TWI port  : 0
    80ac:        GPIO 0   : port=B0, sel=2, pull=255, drv=255, data=255, 
reserved=00,00
    80b4:        GPIO 1   : port=B1, sel=2, pull=255, drv=255, data=255, 
reserved=00,00
    80bc:       Debug     : 0
    80c0:       Hold key min : 0
    80c4:       Hold key max : 0
    80c8:       Work mode : 0
    80cc:       STORAGE   :
    80cc:        type   : 0
    81d0:        DATA 00  : 01 00 01 00 01 01 01 01 01 02 10 00 00 01 00 08
    81e0:        DATA 10  : 88 11 00 00 28 04 ad d7 94 91 60 ff ff ff 90 03
    81f0:        DATA 20  : 90 03 00 00 08 07 03 00 00 00 00 00 00 00 00 00
    8200:        DATA 30  : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    8210:        DATA 40  : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    8220:        DATA 50  : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    8230:        DATA 60  : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    8240:        DATA 70  : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    8250:        DATA 80  : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    8260:        DATA 90  : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    8270:        DATA a0  : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    8280:        DATA b0  : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    8290:        DATA c0  : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    82a0:        DATA d0  : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    82b0:        DATA e0  : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    82c0:        DATA f0  : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Attachment: script.fex
Description: Binary data

Reply via email to