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
 
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}}
  
'''Benötigte Software'''
 
  
Benötigt werden die arm-linux-tools [http://www.UCLinux.org] und lpcprog + Die Firmware Files [http://www.hackdaworld.org/cgi-bin/gitweb.cgi?p=my-code/arm.git;a=tree;f=betty].
+
'''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'''
 
'''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.
+
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
 
Makefile
 
lpcload.c
 
lpcload.c
Line 16: Line 17:
 
fwdump.c
 
fwdump.c
 
betty.c
 
betty.c
 
+
</pre>
Jetzt müsst ihr die Makefile Datei noch editieren z.b. mit NANO (theborg@TBM:~/Desktop/betty/flash$ nano Makefile) da ändert ihr  
+
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
 
4 ARMCC = /scratch/arm-elf/bin/arm-elf-gcc
 
5 ARMCFLAGS = -Wall -mcpu=arm7tdmi-s  
 
5 ARMCFLAGS = -Wall -mcpu=arm7tdmi-s  
 
6 ARMOBJCOPY = /scratch/arm-elf/bin/arm-elf-objcopy
 
6 ARMOBJCOPY = /scratch/arm-elf/bin/arm-elf-objcopy
 +
</pre>
 
in
 
in
 +
<pre>
 
4 ARMCC = arm-elf-gcc
 
4 ARMCC = arm-elf-gcc
 
5 ARMCFLAGS = -Wall -mcpu=arm7tdmi-s  
 
5 ARMCFLAGS = -Wall -mcpu=arm7tdmi-s  
 
6 ARMOBJCOPY = arm-elf-objcopy
 
6 ARMOBJCOPY = arm-elf-objcopy
 
+
</pre>
Wenn ihr das gemacht habt reicht ein einfachen make um die benötigten Programme und Dateien zu erstellen.
+
Wenn ihr das gemacht habt reicht ein einfaches make um die benoetigten Programme und Dateien zu erstellen.
 
Das sieht in etwa dann so aus.
 
Das sieht in etwa dann so aus.
 
+
<pre>
 
theborg@TBM:~/Desktop/betty/flash$ make
 
theborg@TBM:~/Desktop/betty/flash$ make
 
gcc -Wall    lpcload.c  -o lpcload
 
gcc -Wall    lpcload.c  -o lpcload
 
arm-elf-gcc -Wall -mcpu=arm7tdmi-s  -c fwbc.c -o fwbc
 
arm-elf-gcc -Wall -mcpu=arm7tdmi-s  -c fwbc.c -o fwbc
 
arm-elf-objcopy -O ihex fwbc fwbc.hex
 
arm-elf-objcopy -O ihex fwbc fwbc.hex
 
+
</pre>
 
'''Dateien Flashen'''
 
'''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'''
 
'''Original Software Auslesen'''
 +
<pre>
 +
./fwdump /dev/ttyS0 flash_content
 +
</pre>
 +
Dieses dauert sehr lange

Latest revision as of 15:31, 25 November 2007

Personal tools