[BTC-dev] (EXPERIMENTAL) Pogoization of 'Miracast'

Stanislav Datskovskiy stas at loper-os.org
Tue Jul 21 19:02:14 UTC 2015


Name: README_s.txt
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150721/README_s_8a9ebf8ca0b219b7a184f32f13803ab64012864f.txt>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Reading/Writing FW of 'Miracast' [1] and similar machines.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1) Obtain a ~straight~ (not 'Y') usb cable that fits your unit.
2) While pressing and holding the button on the unit, plug in
   the usb cable.
3) Miracast will enumerate! Mine is 2207:292a. If yours differs,
   change the magic constant in the included patch.
4) If you have the serial cable, you will see something like this
   in your terminal:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DDR Version 1.04 20130517
In
DDR3
300MHz
Bus Width=16 Col=10 Bank=8 Row=14 CS=1 Die Bus-Width=16 Size=256MB
Memory OK
OUT
BUILD=====7
SdmmcInit=0 20
emmc reset for reinit
emmc reset for reinit
SdmmcInit=2 20
Spi_ChipId = ef4019
magic = fcdc8c3b
OK! 93079
unsigned!
no sys part.
SecureBootEn = 0 0
Boot ver: 2013-09-06#1.38
RECOVERY key is pressed
UsbBoot,130415
UsbHook,783970
powerOn,783993
 942841 UsbConnected
 1096003 UsbConnected
 1206284 UsbConnected
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Note that you do not actually need the terminal to read and write
the EEPROM! But ~testing~ a new firmware without the serial cable
will prove very painful - just as with Pogo. Warm up the soldering
iron and attach the cable!

5) Keep in mind that all units given to 'rkflashtool' are in blocks
   (512 byte). E.g.,

   ./rkflashtool r 0x00 0x680

   extracts the boot partition.

6) See rkflashtool.c for how to write fw and reboot the machine
   (convenient.)


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[1] http://log.bitcoin-assets.com/?date=20-07-2015#1207435
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBCgAGBQJVrpaBAAoJELmCKKABq//H2A8H/038nogcuqrr9SI04dfUBv2R
+u3cRpa8HflNPTZAZN/gKOuNvUJpcuyVJhI5oMdFxsy3F1DoAP92TGk1hDjAVBNR
OzQEyZjFJ49l+8EGQhqAJxbcWqh9tXseU8A7aTdjSxGV9u8mwIURFq6XcMGjkyTZ
ZtfjkpU6mQK5r7bfKr6NO++6/axZbkbmh3lWXGISX22QnDGD1l1fNs0frlm0pMkM
XYs3o9kQH61sPhGgyZqHSHWr2QUj38jUGKUzeAExoABaLbFqhjxRZJ7fnF6c/YkV
wsS42bK372nGk4r3E0Wq7LtZ8+wMEyjxQ8dhwcd8EFex0k9Ct2PKV8O/3THVtp8=
=WZUa
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rkflashtool.c
Type: text/x-csrc
Size: 6141 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150721/rkflashtool_36bb78d845cee7b7cf93a50140f69deff26d3c24.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rkflashtool.c.sig
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150721/rkflashtool_8f16f19d646b6081ca38ecac7bdc092ac983103f.c.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asciilifeform_rockchip.patch
Type: text/x-patch
Size: 568 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150721/asciilifeform_rockchip_1a4094c709db3658bfdac62046c19ecf271514f0.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asciilifeform_rockchip.patch.sig
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150721/asciilifeform_rockchip_e1a50ea1f605093d73c770c363333b3bd7381990.patch.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boot.bin
Type: application/octet-stream
Size: 851968 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150721/boot_db1768cbae34139d8e12ba4119cd0c0de3f93185.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boot.bin.sig
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150721/boot_0701da3f62efe734730f00981fa6a5eb6ffe93ad.bin.sig>


More information about the BTC-dev mailing list