Monthly Archives: May 2011

Linux kernel 3.0

http://www.phoronix.com/scan.php?page=news_item&px=OTUwMg

Posted in Uncategorized | Leave a comment

ARM board with SATA (slave) connection

http://www.geek.com/articles/chips/punkthis-an-arm-computer-for-your-notebooks-sata-bay-20110530/

Posted in Uncategorized | Leave a comment

Reverse Engineering Firmware

http://www.devttys0.com/2011/05/reverse-engineering-firmware-linksys-wag120n/

Posted in Uncategorized | Leave a comment

BeagleBoard-XM + DSP boot

mmc init fatload mmc ${mmcdev} ${loadaddr} uImage-2.6.37 setenv bootargs root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait mem=200M bootm ${loadaddr} After booting, load the drivers: insmod dsplinkk.ko insmod lpm_omap3530.ko insmod cmemk.ko phys_start=0x8C900000 phys_end=0x8D900000 pools=20×4096,10×131072,2×1048576,1×5250000,4×829440,2×691200 root@beagleboard:/lib/modules/2.6.37/kernel/drivers/dsp# lsmod Module Size Used by cmemk 20171 0 lpm_omap3530 … Continue reading

Posted in Uncategorized | 2 Comments

Booting a different kernel in BeagleBoard-XM

1. Simply copy the kernel image to the SD-Card 2. Enter uboot menu and type the commands: OMAP3 beagleboard.org # mmc init OMAP3 beagleboard.org # fatload mmc ${mmcdev} ${loadaddr} uImage-2.6.37 OMAP3 beagleboard.org # bootm ${loadaddr}

Posted in Uncategorized | Leave a comment

Blinking BeagleBoard-XM LED (C version)

#include void main() { FILE *fp; //Configures LED to be manually controlled fp = fopen(“/sys/class/leds/beagleboard\:\:usr0/trigger”, “w”); fprintf(fp, “none”); fclose(fp); while (1) { fp = fopen(“/sys/class/leds/beagleboard\:\:usr0/brightness”, “w”); fprintf(fp, “1”); fclose(fp); sleep(1); fp = fopen(“/sys/class/leds/beagleboard\:\:usr0/brightness”, “w”); fprintf(fp, “0”); fclose(fp); sleep(1); } }

Posted in Uncategorized | 9 Comments

Blinking BeagleBoard-XM LED (Shell Script)

OLD=`cat /sys/class/leds/beagleboard\:\:usr0/trigger` echo “Valor atual: $OLD” echo “none” > /sys/class/leds/beagleboard\:\:usr0/trigger while :; do echo 0 > /sys/class/leds/beagleboard\:\:usr0/brightness sleep 1 echo 1 > /sys/class/leds/beagleboard\:\:usr0/brightness sleep 1 done

Posted in Uncategorized | Leave a comment