THE Rikomagic MK802 II Recovery How to, Tools, Firmware and Benchmarks

915 views
Skip to first unread message

javieros

unread,
Nov 5, 2012, 5:18:56 AM11/5/12
to pico...@googlegroups.com
I have used the Rikomagic without the Picochess image to watch movies on the TV set, surf the internet, use Google Maps and play with the Android games from the Play Market of Google.
I have installed also Chess Genius and Chess Shredder on it.

Yesterday, I used the Rikomagic with Picochess image and I had problems to boot and one of the times it booted well, with Picochess running, it hang at move 5 of the game.

I wonder if these problems are related with using Rikomagic with Android. Really when you install apps and change the configuration the system is writing in the internal memory information and this information may collide with the information written in Picochess linux, that also writes to "disk" (internal memory) for example the wifi settings.

So I have searched and found this link to recovery Rikomagic MK802II to its initial state.


Before do it, I want to know the opinion of Jean-Francois and Shiv

Javier


Jean-Francois Romang

unread,
Nov 5, 2012, 5:36:17 AM11/5/12
to pico...@googlegroups.com
Hello Javier, there is no need to recover your Rikomagic ; Pico is 100% independant from the android OS. It is most likely a pico bug...we have to catch it. Did it hang in book mode ?


2012/11/5 javieros <javi...@us.es>


--
You received this message because you are subscribed to the Google Groups "PicoChess" group.
To unsubscribe from this group, send email to picochess+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

javieros

unread,
Nov 5, 2012, 6:30:03 AM11/5/12
to pico...@googlegroups.com
Yes, it was in book mode. 
It is very easy to save the log with Putty settings and I have the log of the above session, I will publish here when I will arrive home.
Looking at the screen I have noted that sometimes the clock is frozen and the screen has no refreshing and other times the clock is running with the screen refreshing very fast.

I like very much the message "ponderhit!!" :)

Javier

javieros

unread,
Nov 5, 2012, 8:49:13 AM11/5/12
to pico...@googlegroups.com
Here it is

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.11.04 20:30:28 =~=~=~=~=~=~=~=~=~=~=~=
login as: miniand
min...@192.168.0.198's password: 
Access denied
min...@192.168.0.198's password: 
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.0.36-t1+ armv7l)

 * Documentation:  https://help.ubuntu.com/

Last login: Sun Nov  4 21:46:37 2012 from j-pc.local

]0;miniand@miniand: ~ miniand@miniand:~$ sudo su
[sudo] password for miniand: 
]0;root@miniand: /home/miniand root@miniand:/home/miniand# screen -D -R -S 521.sf ls [K
There is a screen on:

520.sf (05/11/12 03:28:59) (Detached)
1 Socket in /var/run/screen/S-root.


]0;root@miniand: /home/miniand root@miniand:/home/miniand# screen -ls D -R -S 521.sf 01.sf [1P.sf
[?1049h [r [m [2J [H [?7h [?1;4;6l [4l [?1h = [0m (B [1;24r [H [2J [H [2JSending message:performance
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
-------------------------Move:0
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:q removed from B5 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_REMOVE (q on G4) to the engine
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
-------------------------Move:0
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:Q added on F5 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_ADD (Q on C4) to the engine
rnbqkbnr/pppppppp/8/8/2Q5/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
Sending message:bli500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
-------------------------Move:0
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:Q removed from F5 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_REMOVE (Q on C4) to the engine 
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
-------------------------Move:0
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:Q added on E5 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_ADD (Q on D4) to the engine 
rnbqkbnr/pppppppp/8/8/3Q4/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
Sending message:bli000
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
-------------------------Move:0
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:Q removed from E5 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_REMOVE (Q on D4) to the engine 
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
-------------------------Move:0
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:Q added on D5 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_ADD (Q on E4) to the engine 
rnbqkbnr/pppppppp/8/8/4Q3/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
Sending message:bli500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
-------------------------Move:0
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:Q removed from D5 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_REMOVE (Q on E4) to the engine 
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
-------------------------Move:0
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:k removed from D1 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_REMOVE (k on E8) to the engine 
rnbq1bnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
You play black
-------------------------Move:0
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:k added on D1 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_ADD (k on E8) to the engine 
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
-------------------------Move:0
Sending message:  book
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
[c2 c4 ]
Sending message:c2 c4 
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:P removed from F7 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_REMOVE (P on C2) to the engine 
rnbqkbnr/pppppppp/8/8/8/8/PP1PPPPP/RNBQKBNR w KQkq - 0 1
-------------------------Move:0
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:P added on F5 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_ADD (P on C4) to the engine 
rnbqkbnr/pppppppp/8/8/2P5/8/PP1PPPPP/RNBQKBNR w KQkq - 0 1
-------------------------Move:0
Sending message:459500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
Sending message:458500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
Sending message:457500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
Sending message:456500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
Sending message:455500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
Sending message:454500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:n removed from B1 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_REMOVE (n on G8) to the engine 
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:n added on C3 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_ADD (n on F6) to the engine 
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
rnbqkb1r/pppppppp/5n2/8/2P5/8/PP1PPPPP/RNBQKBNR w KQkq - 0 1
-------------------------Move:4013
Sending message:  book
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
[d2 d4 ]
Sending message:d2 d4 
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:P removed from E7 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_REMOVE (P on D2) to the engine 
rnbqkb1r/pppppppp/5n2/8/2P5/8/PP2PPPP/RNBQKBNR w KQkq - 0 1
-------------------------Move:0
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:P added on E5 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_ADD (P on D4) to the engine 
rnbqkb1r/pppppppp/5n2/8/2PP4/8/PP2PPPP/RNBQKBNR w KQkq - 0 1
-------------------------Move:0
Sending message:453500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
Sending message:452500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:p removed from D2 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_REMOVE (p on E7) to the engine 
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:p added on D3 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_ADD (p on E6) to the engine 
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
rnbqkb1r/pppp1ppp/4pn2/8/2PP4/8/PP2PPPP/RNBQKBNR w KQkq - 0 1
-------------------------Move:3372
Sending message:  book
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
[g1 f3 ]
Sending message:g1 f3 
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:N removed from B8 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_REMOVE (N on G1) to the engine 
rnbqkb1r/pppp1ppp/4pn2/8/2PP4/8/PP2PPPP/RNBQKB1R w KQkq - 0 1
-------------------------Move:0
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:N added on C6 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_ADD (N on F3) to the engine 
rnbqkb1r/pppp1ppp/4pn2/8/2PP4/5N2/PP2PPPP/RNBQKB1R w KQkq - 0 1
-------------------------Move:0
Sending message:451500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:p removed from E2 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_REMOVE (p on D7) to the engine 
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
Sending message:450500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:p added on E4 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_ADD (p on D5) to the engine 
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
rnbqkb1r/ppp2ppp/4pn2/8/2PP4/5N2/PP2PPPP/RNBQKB1R w KQkq - 0 1
-------------------------Move:0
rnbqkb1r/ppp2ppp/4pn2/3p4/2PP4/5N2/PP2PPPP/RNBQKB1R w KQkq - 0 1
-------------------------Move:3299
Sending message:  book
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
[b1 c3 ]
Sending message:b1 c3 
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:N removed from G8 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_REMOVE (N on B1) to the engine 
rnbqkb1r/ppp2ppp/4pn2/3p4/2PP4/5N2/PP2PPPP/R1BQKB1R w KQkq - 0 1
-------------------------Move:0
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:N added on F6 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_ADD (N on C3) to the engine 
rnbqkb1r/ppp2ppp/4pn2/3p4/2PP4/2N2N2/PP2PPPP/R1BQKB1R w KQkq - 0 1
-------------------------Move:0
Sending message:449500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
Sending message:448500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:p removed from F2 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_REMOVE (p on C7) to the engine 
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:p added on F3 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_ADD (p on C6) to the engine 
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
rnbqkb1r/pp3ppp/2p1pn2/3p4/2PP4/2N2N2/PP2PPPP/R1BQKB1R w KQkq - 0 1
-------------------------Move:3242
Sending message:  book
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
[e2 e3 ]
Sending message:e2 e3 
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:P removed from D7 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_REMOVE (P on E2) to the engine 
rnbqkb1r/pp3ppp/2p1pn2/3p4/2PP4/2N2N2/PP3PPP/R1BQKB1R w KQkq - 0 1
-------------------------Move:0
dgtnix-debug:Received _DGTNIX_FIELD_UPDATE from the board
dgtnix-debug:P added on D6 on the board
dgtnix-debug:Sending DGTNIX_MSG_MV_ADD (P on E3) to the engine 
rnbqkb1r/pp3ppp/2p1pn2/3p4/2PP4/2N1PN2/PP3PPP/R1BQKB1R w KQkq - 0 1
-------------------------Move:0
Sending message:446500
dgtnix-debug:Sending message to clock
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
dgtnix-debug:Received _DGTNIX_BWTIME from the board
dgtnix-debug:clock ACK received
Sending message:445500
dgtnix-debug:Sending message to clock
dgtnix-debug:invalid message -4- int readMessageFromBoard(int g_descriptorDriverBoard) :�
dgtnixManagerFunc:read error
dgtnix critical:sendMessageToClock: write() error
: Bad file descriptor
dgtnix-debug:dgtnix_errno:Bad file descriptor:close() < 0
[?1l > [24;1H
[?1049l[screen is terminating]
]0;root@miniand: /home/miniand root@miniand:/home/miniand# screen -D -R -S 520.sf ls [K
No Sockets found in /var/run/screen/S-root.


]0;root@miniand: /home/miniand root@miniand:/home/miniand# 

Shivkumar Shivaji

unread,
Nov 5, 2012, 1:32:10 PM11/5/12
to pico...@googlegroups.com
Great to have a log. The information at the end is quite useful. Not sure why its happening this time. Jean will probably have ideas relating to number of messages/events sent to the clock and board.

Sending message:445500
dgtnix-debug:Sending message to clock
dgtnix-debug:invalid message -4- int readMessageFromBoard(int g_descriptorDriverBoard) :�
dgtnixManagerFunc:read error
dgtnix critical:sendMessageToClock: write() error
: Bad file descriptor
dgtnix-debug:dgtnix_errno:Bad file descriptor:close() < 0

Jean, when looking at the above log and the relevant code, I see that if a bad message is read from the board, pico chess essentially terminates. Maybe bad messages should never occur (and the cause can be debugged and fixed). I also wonder if it makes sense to try to do a reconnect to the board if a bad message is received rather than terminating. 

Javier, I wonder if your o-droidx problems are related to the same cause. Can you get a log from your o-droidx as well? I am attaching a screenshot of how to connect your odroid-x to wifi. Getting a log should be very similar excepting that the username for the o-droidx is "linaro".

Shiv

javieros

unread,
Nov 6, 2012, 2:48:22 AM11/6/12
to pico...@googlegroups.com
Thank you Shiv, finally I have connected it via ethernet and after played several games there were no problems.

Javier

Jean-Francois Romang

unread,
Nov 6, 2012, 3:09:29 AM11/6/12
to pico...@googlegroups.com
I suspect this is a USB cable problem ; be I may be wrong.
You are right Shiv, pico should try to reconnect when it enconters such errors (even if you plug/unplug the board). Something more on the to do list :-)


2012/11/6 javieros <javi...@us.es>
Reply all
Reply to author
Forward
0 new messages