losetup -f –show my.img -> we have now mounted image as loop0 partprobe /dev/loop0 -> we have now the partitions which is required for gparted gparted /dev/loop0 -> resize as usual now and apply losetup -d /dev/loop0 -> loop not needed anymore fdisk -l my.img -> Platte my.img: 8068 MByte, 8068792320 Byte 255 Köpfe, 63… Continue reading resize an raspi sd card image
Author: admin
fritzbox 7390 – module building – MIPS_24K vs MIPS32_R2
just change arch/mips/include/asm/module.h from #define MODULE_PROC_FAMILY “MIPS32_R2 ” to #define MODULE_PROC_FAMILY “MIPS_24K ” ———— building modules for a different system is not always an easy task. required information’s and where to get: 1. cat /proc/cpuinfo to find out what kind of cpu (mips,arm,sh4 etc) 2. file busybox – any elf file and find out if… Continue reading fritzbox 7390 – module building – MIPS_24K vs MIPS32_R2
make(-file) modules
obj-m = ati_remote.o KVERSION = $(shell uname -r) all: make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules clean: make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean
oktolight.exe
here is the first version of okotlight.exe Beta v0.1. feel free to use it in your _not_ commercial products. Download for Windows: oktolight Beta v0.1 For linux use boblight For Enigma2 use Boblight-enigma2
valgrind and gprof – performance messure tools
to create a graph of all call from your executable, use valgrind: valgrind –tool=callgrind –dump-instr=yes –simulate-cache=yes –collect-jumps=yes program arguments then open in kcachegrind (also available for Windows) gprof: you need to compile with -pg. then a gmon.out file will be created. open that file with: gprof program gmon.out > gprof.txt gprof program gmon.out |… Continue reading valgrind and gprof – performance messure tools
cross compile – configure script
./configure CC=mipsel-unknown-linux-gnu-gcc CXX=mipsel-unknown-linux-gnu-g++ –host=mipsel-unknown-linux-gnu –prefix=/opt/tools/mipsel-unknown-linux-gnu/mipsel-unknown-linux-gnu/sysroot/usr/ CPPFLAGS=”-mhard-float -march=mips32 -mtune=mips32 -ffast-math -ggdb” download last pack from http://crosstool-ng.org/ [21:24] hg clone http://crosstool-ng.org/hg/crosstool-ng [21:24] cd crosstool-ng [21:24] ./bootstrap [21:24] ./configure –enable-local [21:24] make [21:24] ./ct-ng help [21:24] ./ct-ng menuconfig [21:24] ./ct-ng build thanks speedy, always looking for it 🙂
outlook 2010 – hängt bei : profil wird geladen
wenn mit “Outlook /safe” Outlook nicht mehr startet: entweder “kb2794707” deinstallieren, erneut probieren. wenn das auch nicht hilft, Reparatur durchführen.
Digital portable power supply atmega168
1.25V – 30V 1A CC and CV. powered by a 9V block battery if you like or up to 30V DC input. short safe due to CC. Limit your mA and it then the max CC.
433MHz USB sender
Usb sender 433MHz incl antenna
quick electronic formulars
monoflop time: t=0,7*(C1*R2) == C1=t/(0,7*R2) == R2=t/(0,7*C1) == beispiel: C1=22µF, R2=10K == t=0.154 Sec. beispiel: C1=22µF, R2=100K == t=1.54 Sec. effektiv wert wechselspannung 1/(wurzel 2) * wechselspannung. Beispiel: ~12V * 1/(Wurzel 2) = ~12V * 1/1,4142 = ~12V * 0,7071 = ~12V = 8,4852V eff. aber meistens sind ~12V nur der Effektivwert und tatsächlich 17V… Continue reading quick electronic formulars
