Samstag, 29. August 2009


Check whether GPS is switched on:
cat /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.7/neo1973-pm-gps.0/power_on

Switch on GPS:
echo 1 > /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.7/neo1973-pm-gps.0/power_on

Montag, 8. Dezember 2008

Prepare uboot to boot Android

Connect to uboot:
Type in Macosx console: screen /dev/tty.usbmodem0000001
And start in parallel on Freerunner uboot menu: Connect to USB

Reconfigure uboot:
setenv bootcmd setenv bootargs \${bootargs_base} \${mtdparts}\; nand read.e 0x32000000 kernel 0x300000\; bootm 0x32000000

Mittwoch, 5. November 2008

uboot configuration

Load uboot configuration file:
nanddump -b -o -f /media/card/u-boot-env /dev/mtd2

Get editing programs:
chmod +x

Convert to human-readable txt file:
./ -s 262144 -p -i /home/username/u-boot-env > /home/username/u-boot-env.txt


Dienstag, 4. November 2008

Mounting JFFS2

modprobe mtdcore
modprobe jffs2
modprobe mtdram total_size=sizeOfRequiredRAM
modprobe mtdchar
modprobe mtdblock

dd if=image-jffs2 of=/dev/mtd0
mount -t jffs2 /dev/mtdblock0 mnt