'embarcado' Category
-
fev242010
ipconfig over usb ethernet
I guess this post apply only if you are using Linux v.2.6.33-rc3 or above.
You would have noted that kernel IP auto-configuration is not usable for some USB-Ethenet dongles on newer kernel because it starts before the USB devices are found. This was already discussed on LKML. I proposed a workaround adding a section on menuconfig [...] -
jan302010
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 [...]
-
jan142010
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 [...]
-
out282009
Changes on kernel cross compiling
Probably if you compile – many times – Linux for embedded hardware you change Makefile to your specific architecture and compiler. An example:
# Set the ARCH and CROSS_COMPILE default values
ARCH ?= arm
CROSS_COMPILE ?= arm-unknown-linux-gnu-
Latest Linux (~2.6.31) turns it deprecated (commit 575543347b5baed0ca927cb90ba8807396fe9cc9). Now [...] -
set142009
Arduino Gentoo Install
If you are reading this post it’s probably that you already checked other resources and had some problem to build avr-g++ using crossdev utility.
crossdev -t avr -s4
Note that cpp compiler wasn’t created.
# qlist cross-avr/gcc | grep bin
/usr/i686-pc-linux-gnu/avr/gcc-bin/4.4.1/avr-gccbug
/usr/i686-pc-linux-gnu/avr/gcc-bin/4.4.1/avr-gcov
/usr/i686-pc-linux-gnu/avr/gcc-bin/4.4.1/avr-cpp
/usr/i686-pc-linux-gnu/avr/gcc-bin/4.4.1/avr-gcc
/usr/i686-pc-linux-gnu/avr/gcc-bin/4.4.1/avr-gcc-4.4.1
The problem is easy to fix. Simple edit /etc/portage/package.use/cross-avr changing ‘nocxx‘ to ‘-nocxx‘ and run emerge again.
emerge cross-avr/gcc cross-avr/avr-libc [...] -
ago212009
Using nandsim to mount large images
Since I’m still using 32-bit machines I had to switch the way I mount large (> 128MiB) JFFS2 images. Now I’m using NAND simulator, an extremely useful debugging and development tool which simulates NAND flashes in RAM. The main problem with mtdram is related with space reserved to vmalloc function on 32-bits processors (an hardware [...]
-
ago112009
libusb-1.0 with STLinux (sh4 platform)
How-to of installing libusb-0.1 on STLinux