Hi Fabio,
I struggled with getting the fex file for the two A31 devices I have.
The simplest way is to try to locate an update file for the device and
try and extract it from there. Here is some discussions on IRC I had
with Wens http://irclog.whitequark.org/linux-sunxi/2014-11-18#10892942.
I didn't follow up on actually getting the fex from the device, my
plan at the time was to dump the entire NAND image and run it through
a hex editor to locate some obvious text from the fex file. Then I
would of used that offset to extract it and pass it through bin2fex.
Good luck,
CK

On 1 February 2016 at 12:34, Fabio Fumi <[email protected]> wrote:
> The new WiKi page is at
>
> http://linux-sunxi.org/Ditter_v21
>
> One more thing I noticed is that, trying to gather same "script.bin" dumping
> /dev/block/nanda content:
>
> $ cd /home/fabio/disk5/a31s/sunxi/sunxi-tools
> $ adb shell "cat /dev/block/nanda > /mnt/extsd/nanda.img"
> $ adb pull /mnt/extsd/nanda.img ./nanda.img
>
>
> $ sudo mount -o loop,uid=1000,gid=1000 -t vfat nanda.img nanda
> ...
>
> $ cd nanda
> $ ls -la
> total 828
> drwxr-xr-x 3 fabio fabio  16384 gen  1  1970 .
> drwxrwxr-x 6 fabio fabio   4096 feb  1 10:31 ..
> drwxr-xr-x 2 fabio fabio   2048 gen  1  1980 bat
> -rwxr-xr-x 1 fabio fabio 117704 gen  1  1980 bootlogo.bmp
> -rwxr-xr-x 1 fabio fabio 344813 gen  1  1980 font24.sft
> -rwxr-xr-x 1 fabio fabio 357443 gen  1  1980 font32.sft
> -rwxr-xr-x 1 fabio fabio    512 gen  1  1980 magic.bin
>
> What I can see, there is no script.bin file here, as it should...
>
> Hopefully someone can help me in digging into this device.
>
> thanks
> Fabio
>
>
>
> On Thursday, 28 January 2016 16:06:34 UTC+1, Fabio Fumi wrote:
>>
>> Hi all,
>>
>> I've got a Ditter V21 HDMI Android TV stick, based upon Allwinner A31s
>> SoC:
>>
>>
>> http://freaktab.com/forum/tv-player-support/allwinner-tv-players/10567-ditter-v21-a31s-1gb-ram
>>
>> Mine gets with the two buttons on the main board (v1.3).
>>
>> I'd like to get on FEL mode on this, and my first question to the group
>> here is whether anyone can give more info about this board and where to find
>> the serial pads on it (if any...).
>>
>> I anyhow tried getting to FEL though button+power mode, just trying to
>> push the right button while pluggin it the USB cable.
>>
>> Seems like working (I think), as I can read basic FEL info, once plugged
>> in:
>>
>> $ sudo ./sunxi-fel ver
>> AWUSBFEX soc=00001633(A31) 00000001 ver=0001 44 08 scratchpad=00007e00
>> 00000000 00000000
>>
>> but the 'fel read' command:
>>
>> $ sudo ./sunxi-fel read 0x42400000 0x82d0 boot1.header
>>
>> just hangs... Later, also 'fel ver' fails (returns nothing).
>> I also noticed chip getting very hot.
>>
>> I managed to extract meminfo and script_extractor (from the Android stock
>> firmmware), but I'm stuck.
>>
>> I'd really like to contribute to the Wiki with my device, but apart from
>> these info I can't provide much more...
>>
>> Any suggestion?
>>
>> thanks
>> Fabio
>> (Rome)
>>
>>
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to