[JdeRobot] Mk802IV with Jderobot
JoseMaria Cañas Plaza
josemaria.plaza at gmail.com
Wed Mar 25 13:05:17 CET 2015
Hi Andrés,
notes from Rocapal's experience installing JdeRobot in the MK802-IV, take a
look at the last item 'install jderobot':
-----------------------------------------------
** Rikomagic MK802 IV 8GB Quad Core Android TV
- Important. Arch 32bit ARM
-
http://www.pccomponentes.com/rikomagic_mk802_iv_8gb_quad_core_android_tv.html
**Install Ubuntu
- Download rkflashkit for linux and make a backup of every partitions of
MK802
http://i0.wp.com/raspberryparatorpes.net/wp-content/uploads/2013/08/PICUNTU-L02.png?fit=624%2C9999
- Download driver for windows:
http://www.rikomagic.com/en/download/download_22_1.html
- Exec and install driver: IV-AP 131017/Batch tool+driver1 v
1.7/driver/DriverInstall.exe
- Download every files (Loader, params, boot, kernel and system) from
https://plus.google.com/109451178006683865932/posts/765xvHJGWm6
- Download RKAndroidTool 1.37:
ftp://redmine.jderobot.org/MK802/RKAndroidToolv1.37.7z
- username: linuxium - password: p
Links:
- https://plus.google.com/109451178006683865932/posts/765xvHJGWm6
- https://plus.google.com/109451178006683865932/posts/Edr7cbWFit4
-
http://www.enezeta.com/zapateces/2013/tutorial-como-actualizar-el-firmware-del-rikomagic-mk802-iv/
- https://github.com/linuxerwang/rkflashkit
-
http://www.freaktab.com/showthread.php?7209-Now-available-Ubuntu-Lubuntu-or-Xubuntu-on-the-latest-MK802IV-or-T428&p=1
0233&viewfull=1#post100233
- Resize a linux image file: http://www.techpository.com/?page_id=1142
** Install openNi2 and Nite2
- Standar package installation. Install both packages: gcc-multilib
libsfstdc++6
- Download: Compile Openni2 fom GIT. There is a problem in the compilation,
you have to add some CFLAGS ( -marm
-mthumb-interwork -mfloat-abi=hard ) in the following files:
Android.mk
OPENNI2_CFLAGS += -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard
-mtune=cortex-a9 -mfpu=vfp
ThirdParty/PSCommon/BuildSystem/Platform.Arm
CFLAGS += -march=armv7-a -mtune=cortex-a9 -mfpu=neon -marm
-mthumb-interwork -mfloat-abi=hard #-mcpu=cortex-a8
More info:
http://stackoverflow.com/questions/9753749/arm-compilation-error-vpf-registered-used-by-executable-not-object-file
*
Nite2 has not support for ARM architecture
** Install Jderobot
- No problems. Install every pacakges jderobot needs.
- Just we need a change in /usr/include/IceUtil/Config.h
# Line 35
// #if !defined(ICE_LITTLE_ENDIAN) && !defined(ICE_BIG_ENDIAN)* <- COMMENT
THIS LINE
#if defined(__i386) || defined(_M_IX86) || defined(__x86_64) || \
defined(_M_X64) || defined(_M_IA64) || defined(__alpha__) || \
defined(__MIPSEL__) || (defined(__BYTE_ORDER) && (__BYTE_ORDER ==
__LITTLE_ENDIAN))
# define ICE_LITTLE_ENDIAN
#elif defined(__sparc) || defined(__sparc__) || defined(__hppa)
|| \
defined(__ppc__) || defined(__powerpc) || defined(_ARCH_COM) ||
\
defined(__MIPSEB__) || (defined(__BYTE_ORDER) && (__BYTE_ORDER ==
__BIG_ENDIAN))
2015-03-25
1/2# define ICE_BIG_ENDIAN
#else
# define ICE_LITTLE_ENDIAN
<- ADD THIS LINE
//# error "Unknown architecture" <- COMMENT THIS LINE
#endif
//#endif
<- COMMENT THIS LINE
--------------------------------------------
JoseMaria
On Wed, Mar 25, 2015 at 12:48 PM, Andrés J Hernández Escobar <
andresjhe at gmail.com> wrote:
> Hi everyone!
>
> I'm trying to install Jderobot on a MK802IV which has an ARM processor.
> I'm having problems with ICE3.4 (I have installed Ubuntu 12.04 on it). Has
> someone installed Jderobot on it or an ARM?
>
> My current problem is when I'm compiling Jderobot, ICE posts this error
> when compiling interfaces:
>
> "
> /usr/include/IceUtil/Config.h:45:5: error: #error "Unknown architecture"
> "
> I check that file and it describes the architecture and the order of bytes
> (big or little endian). But it doesn't describes ARM architecture.
> I have also written on ICE forums in case they also help me.
>
> Thank you
>
> _______________________________________________
> Jde-developers mailing list
> Jde-developers at gsyc.es
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>
>
--
Universidad Rey Juan Carlos
http://gsyc.urjc.es/jmplaza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20150325/33a23ecb/attachment.htm
More information about the Jde-developers
mailing list