Home

Software Developer Kit para crear Plugins

nasky

OpenSpa Team
Miembro del equipo
Admin OpenSPA
19 Mar 2007
9.176
1.168
0
Hola a todos,

Dejo esto para los usuarios mas avanzados que quieran hacer un plugin o simplemente por curiosidad

Software Development Kit for AzBox HD. With this everybody can develop Plugins for AzBox HD

Código:
http://www.file-upload.net/download-1543974/Plugins_SDK_-AzboxHD.rar.html
 

gorski

Usuario Destacado
Loco por OpenSPA
10 Abr 2009
1.334
9
0
Soon, the community of developers might see the "plugin source open", I was told by a birdie last night...:thumbsup:

So, given a good will of the community we may see all sorts... soon... Oh, yes!!! ;)
 

ilander

AZvip
Fan de OpenSPA
3 Feb 2009
174
1
0
alhien ha intentado compilar algo. por ejemplo el mwkeytest que hay en samples.
salu2
 

ilander

AZvip
Fan de OpenSPA
3 Feb 2009
174
1
0
otra consulta a ver si hay suerte.
se compila sobre el terminal del mismo deco ó sobre algún emulador ó máquina virtual en el pc??
hay que instalar algún compilador como el gcc??
salu2
 

morser

OpenSpa Team
Miembro del equipo
21 Mar 2007
7.252
1.394
0
59
Supongo que esto sera como en la dream, yo tengo un portatil con linux y el gcc instalado, he intentado compilar el ejemplo y aun no lo he conseguido, me da unos errores. Si alguien sabe como hay que hacerlo que lo diga.
 

mpiero

OpenSpa Team
Miembro del equipo
22 Jun 2007
2.017
326
0
admin, podrías enterarte de que version de Sistema Operativo y de gcc es la óptima para compilar plugIns, tengo algo de tiempo ahora y quería meterle mano a esto.
 

morser

OpenSpa Team
Miembro del equipo
21 Mar 2007
7.252
1.394
0
59
A ver si consigues algo colega, creo que lo que se necesita es una version de gcc para mipsel (mipsel-linux-gcc) y en cuanto la version, creo que sera la 4.2 o 4.0 pero yo no he encontrado ningun gcc para mipsel.
 

mpiero

OpenSpa Team
Miembro del equipo
22 Jun 2007
2.017
326
0
tinos dijo:
Yo he visto mencionar el entorno nanox... asi que igual es lo que se necesita:
[url]http://www.microwindows.org/[/URL]

Si, esta página ya la había visto yo. Me da dolor de cabeza cada vez que la veo. Yo creo que es basicamente documentación, las librería ya están incluidas en el sdk. Lo que necesitamos es algo más sencillo, un paso a paso para compilar el ejemplo, con lo requisitos de software (Sistema operativo, versión compilador).
 

nasky

OpenSpa Team
Miembro del equipo
Admin OpenSPA
19 Mar 2007
9.176
1.168
0
Yo estoy a ver si me contestan lo que me preguntasteis, en cuanto tenga noticias os digo algo
 

tinos

Usuario
Amigo OpenSPA
Forero
26 Mar 2009
52
0
0
He encontrado esto que nos sirve... tanto codigo del Popcorn Hour como WDTV ambos con chipset Sigma 8635:

http://wiki.wdtv.org/doku.php?id=se...ing&DokuWiki=eb0571d87cd0f2c7b68529b78e02ba1c

http://www.networkedmediatank.com/wiki/index.php/Sd_toolchain

http://lundman.net/wiki/index.php/NMT:cross

Con esta info y el toolchain del AzBox creo que se puede conseguir algo en Windows via vmware con Linux, cygwin ó con Linux x86.

Otra alternativa:

nmt-OsX-intel-toolchain-gcc-4.0.4-linux-2.6.15.7-uclibc-0.9.28.3-lundman-P1.tgz The OsX binary toolchain. Intel only probably.
nmt-linux-intel-toolchain-gcc-4.0.4-linux-2.6.15.7-uclibc-0.9.28.3-lundman-P1.tgz The Linux binary toolchain.
nmt-cygwin-toolchain-gcc-4.2.2-linux-2.6.15.7-uclibc-0.9.28.3.tar.bz2 The Windows cygwin binary toolchain by wizziwig
 

morser

OpenSpa Team
Miembro del equipo
21 Mar 2007
7.252
1.394
0
59
Ayer consegui compilar la CAM de ejemplo para el OPenXCAS. Ya es un paso. A ver si consigo compilar tambien el plugin de ejemplo.
 

tinos

Usuario
Amigo OpenSPA
Forero
26 Mar 2009
52
0
0
Gracias, a ver que conseguimos... voy a pillar el toolchain y tengo una imagen de ubuntu en vmware para desarrollo a ver si consigo algo también. Al menos podré saber de que se trata realmente...
 

tinos

Usuario
Amigo OpenSPA
Forero
26 Mar 2009
52
0
0
A ver sacado del Toolchain son casi 500MB (smp86xx_toolchain_2.8.0.1), añado una version actualizada (sigue siendo antigua) del HXOpenXCAS con documentación.

Del README, veo que tenemos los requerimientos... para busybox 1.00 ya que el AzBox viene con ese:
MMP[~]$ busybox
BusyBox v1.00 (2008.04.24-06:54+0000) multi-call binary
Por lo que marco en negrita los requerimientos:

This is the Sigma Designs release of the MIPS toolchain customized for the
SMP86xx family of chips.

Contents
1) Configuration
2) Build
3) Use

1) Configuration

The toolchain is minimally configurable. In order to build the toolchain, first
run 'make menuconfig' in order to configure your future toolchain.

The main option that you will be interested in is 'Toolchain Options --->', in
order to set which versions of gcc, uClibc, and binutils will be used in the
toolchain.
Two toolchains are supported by Sigma starting:
a) A GCC 3.4 based toolchain composed of :
- gcc 3.4.2
- binutils 2.15.91.0.2
- uClibc 0.9.27
which must be paired with busybox 1.0 from the rootfs package.


b) A GCC 4.0 based toolchain composed:
- gcc 4.0.4
- binutils 2.17
- uClibc 0.9.28.3
which must be paired with busybox 1.50 from the rootfs package.

These are the only two combinations of tools versions supported. By default,
the toolchain composed of gcc 3.4.2, binutils 2.15.91.0.2, uClibc 0.9.27 is built
in the toolchain package, and busybox 1.00 is built by default in the rootfs package.

Also of interest is the option 'Toolchain and header file location?'
under 'Build options', in order to choose where the toolchain will
be built. Please use an absolute directory for the value, although you are
allowed to use "well-known" variables of the build system, such as $(BASE_DIR),
which represents the build directory or $(BUILD_DIR), which represents the work
directory (build_<platform>).

The other option of interest under 'Build options' is 'Download site' where you
get to decide where the source packages will be downloaded from. The default
value is the Sigma Designs FTP server. If you have an up-to-date server that has
better bandwidth, you can use it instead. Note that you need to enter a URL
suitable for wget.

2) Build

When the toolchain is configured to suit your particular situation, you can
proceed and build it. The toolchain building process is monolithic. Just run
'make' at the prompt, and in 20 to 45 minutes, depending on the power of
your machine, you will get a brand new toolchain.

Note: given how long it takes to build the toolchain, we recommend that at
any given site, the toolchain be built only once and then shared over the
network.

3) Use

Once your toolchain is built, a configuration file named 'toolchain-path.env'
is created. You can then source the file in your shell (sh-compatible only) to
add your brand new toolchain to your path.

The toolchain being a cross-compilation toolchain, the usual tools (gcc, g++,
etc.) are prefixed with an identifier for the target platform, in this case
'mipsel-linux-'. So, in order to invoke the cross-compiling gcc, invoke
'mipsel-linux-gcc'
Los ficheros y documentación antigua ya estaban aqui: http://azboxhd.es/foro/showthread.php?t=84
 
L

linarense

Invitado
Alguno ha conseguido compilar el toolchain desde cygwin???? porque no lo consigo...
 

mpiero

OpenSpa Team
Miembro del equipo
22 Jun 2007
2.017
326
0
morser dijo:
Ayer consegui compilar la CAM de ejemplo para el OPenXCAS. Ya es un paso. A ver si consigo compilar tambien el plugin de ejemplo.

¿Podrías decirnos que pasos has seguido para compilar?
La verdad es que no se por donde empezar.
 

morser

OpenSpa Team
Miembro del equipo
21 Mar 2007
7.252
1.394
0
59
Bueno, tengo un portatil con Ubuntu instalado y he seguido los pasos que ha puesto gorski aqui: http://azboxhd.es/foro/showthread.php?t=859 con alguna salvedad, ya que el usuario con el que trabajo no me permite crear nada en la raiz, asi que o entras como administrador o pones "sudo su" en la consola para que tengas los permisos.
 

Musho

Usuario
Fan de OpenSPA
14 Abr 2009
179
5
0
tinos dijo:
Por si a alguien le interesa yo utilizo en VMWare esta imagen ya preparada muy facil de arrancar Ubuntu dentro de Windows con VMWare. Lo mejor para hacer desarrollo. Te bajas el VMplayer y a funcionar... te ahorras mucho tiempo de configuración.

[url]http://jars.de/english/ubuntu-804-vmware-image-download-english[/URL]

[url]http://www.vmware.com/products/player/[/URL]

Con que usuario/password hay que entrar en ese Ubuntu virtualizado? A ver si consigo compilar yo tambien.