• jan
    30
    2010

    First prototype for Beagle Board box

    After drawing a sketch for BeagleBoard this week I coud try something real. The board fit perfectly inside the box.

    The whole for DVI-D would be a little bigger, the way it is the user need stick the connector well to don’t loose image quality.

    The entries for USB and MMC fits together in the same whole.  I put [...]

  • jan
    28
    2010

    Byte Order

    In the book about Linux Kernel Programming the author Robert Love demonstrated a trick to check your hardware endianness.

    int x = 1;
    if (*(char *)&x == 1)
    /* little endian */
    else
    /* big endian */

    Using GCC you can use -mbig-endian or -mlittle-endian to generate appropriate endianess. Remember to check man pages section on your architecture (i.e: i386 and [...]

  • jan
    16
    2010

    Convertendo videos do Youtube para audio (MP3)

    Programas necessários:

    Alguma distribuição GNU/Linux
    mplayer
    lame (caso queria converter para mp3)
    vorbis-tools (caso queira converter para ogg)

    Os videos do YouTube, normalmente qualquer conteúdo Flash, fica armazenados na pasta /tmp do sistema operacional na forma FlashXXXX (exemplo: FlashaOiW6k). Para cada arquivo flash existirá um arquivo correspondente, para descobrir de qual se trata utilize o mplayer, no console (cd /tmp):
    mplayer FlashaOiW6k
    Após [...]

  • jan
    14
    2010

    First sketch for Beagle Board box

    This is my first approach to make a case for Beagle Board. I used a plastic one that fits almost perfect, needed basically a 12 mm. spacer to height adjust. The box would be like this picture:

    And the BB would fit, inside the box, more or less like that:

    I still need consider some points:

    Even with [...]