Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 839

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 839

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 839

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860
Software von hackdabetty - Bettyhacks.com - Hack BettyTV-Remote

Software von hackdabetty

From Bettyhacks.com - Hack BettyTV-Remote
Jump to: navigation, search
(New page: Hier kommen infos zum Kompilieren und benutzen der Tools rein)
 
 
Line 1: Line 1:
Hier kommen infos zum Kompilieren und benutzen der Tools rein
+
{{Veraltet|[[LPCTool]]|, welche aktueller, schneller und wesentlich sauberer ist, als die von hackdabetty}}
 +
 
 +
 
 +
'''Benoetigte Software'''
 +
 
 +
Benoetigt werden die arm-linux-tools [http://opensrc.sec.samsung.com/download/arm-uclinux-tools-base-gcc3.4.0-20040713.sh] und lpcprog + Die Firmware Files [http://www.hackdaworld.org/cgi-bin/gitweb.cgi?p=my-code/arm.git;a=tree;f=betty].
 +
 
 +
 
 +
'''Software vorbereiten'''
 +
 
 +
Als erstes entpackt ihr die Dateien vom Hackdaworld-Wiki[http://www.hackdaworld.org/cgi-bin/gitweb.cgi?p=my-code/arm.git;a=snapshot;h=1df785469a4cf54778b37de7b976e7e703693d1b], danach habt ihr folgende Dateien:
 +
<pre>
 +
Makefile
 +
lpcload.c
 +
lpc2xxx.h
 +
fwbc.c
 +
fwdump.c
 +
betty.c
 +
</pre>
 +
Jetzt muesst ihr die Makefile Datei noch editieren z.b. mit NANO (theborg@TBM:~/Desktop/betty/flash$ nano Makefile) da aendert ihr
 +
<pre>
 +
4 ARMCC = /scratch/arm-elf/bin/arm-elf-gcc
 +
5 ARMCFLAGS = -Wall -mcpu=arm7tdmi-s
 +
6 ARMOBJCOPY = /scratch/arm-elf/bin/arm-elf-objcopy
 +
</pre>
 +
in
 +
<pre>
 +
4 ARMCC = arm-elf-gcc
 +
5 ARMCFLAGS = -Wall -mcpu=arm7tdmi-s
 +
6 ARMOBJCOPY = arm-elf-objcopy
 +
</pre>
 +
Wenn ihr das gemacht habt reicht ein einfaches make um die benoetigten Programme und Dateien zu erstellen.
 +
Das sieht in etwa dann so aus.
 +
<pre>
 +
theborg@TBM:~/Desktop/betty/flash$ make
 +
gcc -Wall    lpcload.c  -o lpcload
 +
arm-elf-gcc -Wall -mcpu=arm7tdmi-s  -c fwbc.c -o fwbc
 +
arm-elf-objcopy -O ihex fwbc fwbc.hex
 +
</pre>
 +
'''Dateien Flashen'''
 +
<pre>
 +
./lpcload -d /dev/ttyUSB0 -f fwbc.hex -c 10000000
 +
</pre>
 +
Die Ausgabe sollte dann wie folgt aussehen(wer etwas mehr sehen moechte kann -v noch hinten anhaengen).
 +
<pre>
 +
theborg@TBM:~/Desktop/betty/flash$ ./lpcload -d /dev/ttyS0 -f fwbc.hex
 +
boot loader init ...
 +
write firmware to ram ...
 +
unlock go command ...
 +
go ...
 +
txrx bad return code!
 +
 
 +
the above error might be due to the jump!
 +
 
 +
continue listening on serial port? (ctrl+c to quit) [y|n]: n
 +
</pre>
 +
'''Original Software Auslesen'''
 +
<pre>
 +
./fwdump /dev/ttyS0 flash_content
 +
</pre>
 +
Dieses dauert sehr lange

Latest revision as of 16:31, 25 November 2007

Personal tools