Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w0094f3d/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/w0094f3d/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/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/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/w0094f3d/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/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/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/w0094f3d/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/w0094f3d/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/w0094f3d/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/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/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/w0094f3d/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/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/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/w0094f3d/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/w0094f3d/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/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/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/w0094f3d/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/w0094f3d/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w0094f3d/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/w0094f3d/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/w0094f3d/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/w0094f3d/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/w0094f3d/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/w0094f3d/wiki/includes/MagicWord.php on line 860
Howto boot Linux - t-hack.com - Hack X300T / X301T

Howto boot Linux

From t-hack.com - Hack X300T / X301T
Jump to: navigation, search
(Linux boot instructions)
 
m
 
Line 1: Line 1:
 
Requirements:
 
Requirements:
   *  working JTAG interface
+
   *  working JTAG interface <u>'''or'''</u> a working modchip
   *  working Serial connection
+
   *  working Serial connection, 115200 8n1 <u>'''or'''</u> use the "Compiled-in Kernel Boot Parameter"(the lazy way without a yamon/serial connection)
 
+
<br>
 
ok, lets start.
 
ok, lets start.
 
+
<br>
 
First download the Yamon boot image from '''[[Media:Ya.zip|here]]''' and the Linux boot image from '''[[Media:Lx.zip|here]]'''.
 
First download the Yamon boot image from '''[[Media:Ya.zip|here]]''' and the Linux boot image from '''[[Media:Lx.zip|here]]'''.
 
+
<br>
extract both files to the first partition of the x300t hard disk. (either upload it with FTP, or connect the drive to a PC)
+
extract both files to the first partition of the x300t hard disk (either upload it with FTP or connect the drive to a PC).
 
+
<br>
now grab the latest x300t patch tool from '''[[Media:X300tpatch3.zip|here]]'''  
+
now grab the latest x300t patch tool from '''[[Media:X300tpatch3.zip|here]]'''<br>
 
+
''(note: there are some Bugs in the Linux version, apply this [[Media:X300tpatchv3-linux-patch.diff.bz2|patch]] - Silicium)''
 +
<br>
 
use the patch tool as usual, but add the /yamon parameter when starting the tool.
 
use the patch tool as usual, but add the /yamon parameter when starting the tool.
 
as soon as you press the OK button of the x300t you should see the YAMON prompt in the terminal window.
 
as soon as you press the OK button of the x300t you should see the YAMON prompt in the terminal window.
 
+
<br>
the YAMON is only required once to set the Linux kernel parameter
+
the YAMON is required just once to set the Linux kernel parameter
 
+
<br>
 
use the setxenv command to display the current xenv parameters.
 
use the setxenv command to display the current xenv parameters.
 
+
<br>
 
usually there should not be a parameter "a.linux_cmd" .. so we have to create one like this
 
usually there should not be a parameter "a.linux_cmd" .. so we have to create one like this
 
+
<br>
setxenv a.linux_cmd "console=ttyS0 root/dev/hda3"
+
'''setxenv a.linux_cmd "console=ttyS0 root=/dev/hda3"'''
 
+
<br>
 
this command will write the new parameter to the flash.
 
this command will write the new parameter to the flash.
 
+
<br>
 
now reboot the x300t and use the patch too again, but now add the /linux parameter when starting.
 
now reboot the x300t and use the patch too again, but now add the /linux parameter when starting.
 
+
<br>
 
after some seconds you should the the Linux Kernel booting up.
 
after some seconds you should the the Linux Kernel booting up.
 +
<br>
 +
please note that you need a Linux root partition on a NFS share, USB stick or hard disk to really use the Linux.
 +
<br>
 +
'''Known Problems'''
 +
compile errors at Linux: Make sure to apply the Linux fix to compile it with gcc
 +
 +
Failed to lock /dev/parport0: No such device or address:
 +
You should remove the "lp" (lineprinter) module from the kernel with the command:
 +
''rmmod lp''
  
please note that you need a Linux root partition on a NFS share, USB stick or hard disk to really use the Linux.
+
 
 +
[[category:Linux]][[category:Software]]

Latest revision as of 14:49, 1 April 2012

Personal tools