Autore Topic: Installare Gambas 3 con MK802  (Letto 828 volte)

Offline vuott

  • Moderatore globale
  • Senatore Gambero
  • *****
  • Post: 11.287
  • Ne mors quidem nos iunget
    • Mostra profilo
Installare Gambas 3 con MK802
« il: 28 Settembre 2012, 14:15:12 »
Riporto il messaggio comparso sulla M.L.I.,con il quale un utente ha comunicato di essere riuscito ad installare Gambas 3 con MK802:

Long story but Gambas3 now works with MK802!!

Here is recipe:

1. Get the Lubuntu 12.04 image from here as per your device and monitor
type:
https://www.miniand.com/forums/forums/2/topics/1
The image files have been compressed with 7zip and have a .7z file
extension.

2. Get an 8GB microSDCard.
3. Decompress the .7z image from file. (In Ubuntu, this can be done with
p7zip-full.) This will result in a 4Gb image file.
4. dd the image to the 8GB microSDCard as per instructions
https://www.miniand.com/forums/forums/2/topics/1

5. The microsdcard will then have a small 17Mb partition and a 3gb
partition. Use gparted or similar tool to expand the 3gb partition to
7gb.
6. Boot the MK802 with new Lubuntu 12.04 8GB microSDCard. The default
password is miniand.

(The MK802 will need to be taken out of its casing
and a heat sink attached to the A10 chip and the other large flash
memory chip - otherwise it will overheat and crash during the operations
that follow. The two smaller RAM does not seem to get as hot - but
better to be safe and heat sink them too. The case is in 3 pieces and
more than likely you will break the small 3rd piece that covers the HDMI
connector. So be very very slow and careful when prizing open the case
by working around edges taking care not to yank at the 3rd piece. After
opening, take care not to yank the antenna cable, or you lost your wifi!
)

7. Set up the wifi by clicking the wifi icon.
8. Run up a terminal, and run "top" command. This is needed
   all the time to watch if the CPU is busy. If CPU is busy,
   then don't click on anything!!!!!!!!!!!!!!!!!!
   Just wait until each operation has finished!!
9. From the Lubuntu menu, run Update Manager in System Tools menu
10. The update manager has been nixed so that it won't update (doh!?)
   So, click settings button, then in updates tab click on enable
important security update and enable recommended updates. Then close
that dialog box. Always keep looking at the terminal to make sure the
CPU has finished each operation. Now click on "check" button, and when
that is finished, click on "install updates" button. It will take hours!
11. Reboot as guided, and then when everything is stable, open up
synaptic from system tools, search for GLES and remove the libgles2 mesa
package. About 4 packages in addition will get removed. (That will vary
with time as more dependencies get added).

11. install the subversion package
12. follow the guides at
http://gambas.sourceforge.net/
http://gambasdoc.org/help/install?en&view&v3
http://gambasdoc.org/help/install/ubuntu?v3&view
http://gambasdoc.org/help/howto/svn
and install the remaining packages. It takes several hours!

13. Do the svn command to get latest code from trunk:
svn checkout
https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/

14. Follow the above guides once again to compile and install gambas3.
It will take more hours!

Then it should all work. :-)

Photo attached.

The photo shows minimal system with a wireless keyboard and mouse
connected to HDMI monitor 1080p. Audio is present in the HDMI link.
So I installed the espeak package from
the repository and it now talks out through the monitor through the HDMI
connection with a little help from a modified gambas2 example progam
that has been converted to gambas3. (I used the shell command
to all espeak.)
joem@martindale-electric.co.uk


L'utente ha allegato anche una foto, che qui riporto, dell'installazione.
« Ultima modifica: 28 Settembre 2012, 14:17:06 da vuott »
« Chiunque, non ricorrendo lo stato di necessità, nel proprio progetto Gambas fa uso delle istruzioni Shell o Exec, è punito con la sanzione pecuniaria da euro 20,00 a euro 60,00. »

Offline vuott

  • Moderatore globale
  • Senatore Gambero
  • *****
  • Post: 11.287
  • Ne mors quidem nos iunget
    • Mostra profilo
Re: Installare Gambas 3 con MK802
« Risposta #1 il: 08 Dicembre 2012, 17:11:11 »
« Ultima modifica: 26 Febbraio 2019, 17:31:48 da Gianluigi »
« Chiunque, non ricorrendo lo stato di necessità, nel proprio progetto Gambas fa uso delle istruzioni Shell o Exec, è punito con la sanzione pecuniaria da euro 20,00 a euro 60,00. »