Compiling MariaDB on Beaglebone Black

To compile MariaDB 10.0.16 on Debian GNU/Linux 7.8 (wheezy) at Beaglebone Black (based on “generic build instructions“):

  • Download the sources of MariaDB from here
  • You need install libncurses5-dev (“apt-get install libncurses5-dev”)
  • Also install cmake (“apt-get install cmake”)
  • Possibly you need a swap file, use this guide
  • Decompress the source of MariaDB and run “cmake -DWITHOUT_MROONGA_STORAGE_ENGINE=1″ to avoid this problem
  • If all it is ok run “make”, when it finish run “make install”
  • Prepare coffee and make some other stuff like biking or eat cookies :P
Screenshot of ssh on BBB showing Linux and MariaDB version

Screenshot of ssh on BBB showing Linux and MariaDB version

Happy Hacking ;)

How Long OLinuXino with Allwinner SOCs will be produced…again :) Now we know the answer – Forever!

Originally posted on olimex:

A10-OLinuXino-LIME-1

We already blogged twice about this: here and here, but you know what? People keep asking this question again and again.

Lot of serious customers are concerned about the long term availability of Allwinner SOCs before put them into their product.

Until now we didn’t know what to answer, to ask Allwinner (which is 5 years old company) if they will produce their SOC A10 for instance 10 years seems not good idea as in Chinese culture is known that they never will directly say no, and will tell you what you want to hear :)

Well now I know already how it works. We got message from Allwinner that A10 processor volumes now are low (for they normal volumes and this is understandable as no one is producing Tablets now with A10 when there is A20 at about same price and with more power). So Allwinner decide to…

View original 177 more words

Allwinner works on 64-bit Quad core Cortex-A53 SoC named Allwinner A64 to be released for $5

Originally posted on olimex:

Allwinner_A64

Just few months ago the only ARM 64-bit platform to test apps was iPhone6 and development boards with 64-bit processors cost $3000.

Now Allwinner announced that they will release entry level tablet Cortex-A53 Quad core processor for $5, this means there will be sub $100 development boards for ARM 64-bit as soon as Allwinner start selling these chips :)

Still no complete info about the features, Allwinner made practice to announce chips when they start working on them, not when they have them finished which is a bit annoying as these chips are released about year later (like the announcement for A80 one year ago).

No word for connectivity if this SOC will have SATA/Ethernet or will rely on USB3.0 as in Allwinner A80.

One more great news is that they finally decided to move to Linux 3.10 kernel and to start using device tree. This will make mainline Linux support…

View original 10 more words

Función para leer un archivo de propiedades en Lua/LuaJIT

A veces requerimos agregar la funcionalidad de parametrizar nuestro programa. En los sistemas UNIX’s estamos acostumbrados a encontrarnos con archivos de este estilo:

########################################################################
# Example #
########################################################################

msg = “Hello world!” # This string is correct
bad1 = Hello world!” # This string isn’t between two tokens
bad2 = Hello world! # The ” token is not present

trys = 1225 # This is a numeric configuration

pi = 3.1415 # Float
e = 2.71e-4 # Cientific notation
bad3 = 12c # The error is mix numbers and not valid text

number = 1 # If you repeat some parameter
number = 2 # the value that get is the last
number = 3 # appear in the file. In this case 3.

########################################################################
# End #
########################################################################

Eh creado un pequeños proyecto al cual llame LuaFRPF, una función que sirve para leer archivos de propiedades. La forma de usarla es muy sencilla y está explicada en la página.

Espero que les sirva.
Saludos.
Happy Hacking!

Xfce’s Drop Down Terminal

Originally posted on Techodyssey:

Screenshot - 011213 - 16:53:01As a followup to yesterday’s post on Tilda there is an alternative for Xfce users. The current Xfce terminal has a drop down option. However it is not obvious to most users.

It is a hidden option that applies to version 0.6.2 which is the standard version in Fedora 19. To access it you need to start the terminal with the command ‘xfce4-terminal –drop-down’. The man page gives more details and suggests you bind that command to a keyboard shortcut. That way you can press the key to open the terminal and pressing it again will hide but not close the terminal. This means there is no need to add it to your sessions or Autostart. The first time the key is pressed will launch and open it. Further presses will reveal or hide it.

I would suggest binding it to F12. To do this right click on the desktop…

View original 100 more words

Experimento para enseñar Lua directamente desde el browser

Buenas, gracias a Emscripten hoy se puede ver algunos proyectos que se traducen directamente de LLVM bytecode a JavaScript. Mi idea es aprovechar el port que se ha realizado de la máquina virtual de Lua. Utilizando la VM ahora en JS, estoy tratando de lograr una pequeña web que sirva para dar talleres y cursos de programación. Este experimento está accesible desde acá.

Screenshot de la webSaludos y Happy Hacking.

Lector de archivos de configuración al estilo Unix escrito en Lua usando tabla de validation/configuración

Esto viene siendo una interesante actualización de un post anterior. En este caso agrego una nueva función parecida a la anterior, sólo que esta vez se pasa además una tabla de validación/configuración para que sólo se rescaten del archivo los valores que están en la tabla. Además si hay elementos de la tabla que no están presentes en el archivo, estos se mantienen.

Continue reading