Benutzer-Werkzeuge

Webseiten-Werkzeuge


becki:linux:sheevaplug

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
becki:linux:sheevaplug [2011-02-14 13:18]
becki
becki:linux:sheevaplug [2011-06-10 10:05] (aktuell)
becki
Zeile 1: Zeile 1:
 ====== Sheevaplug == ====== Sheevaplug ==
 +
 +Installation of Slackware on a Sheevaplug with MMCard
 +
 ===== Where to buy == ===== Where to buy ==
  
Zeile 13: Zeile 16:
  
 For me (on Slack 12.2 and 13.0) it was necessary to ''​modprobe ftdi_sio vendor=0x9e88 product=0x9e8f''​ before a serial connection with seyon or minicom was possible. [[http://​www.openplug.org/​plugwiki/​index.php/​Serial_terminal_program|Source]] For me (on Slack 12.2 and 13.0) it was necessary to ''​modprobe ftdi_sio vendor=0x9e88 product=0x9e8f''​ before a serial connection with seyon or minicom was possible. [[http://​www.openplug.org/​plugwiki/​index.php/​Serial_terminal_program|Source]]
 +
 +After inserting the kernel module and powering on the Sheevaplug, ''/​var/​log/​messages''​ tells that 2 serial device files are created, eg. ''​ttyUSB1''​ and ''​ttyUSB2''​. One of them (probably the latter) ist for the serial terminal. Try both!
  
 Establish serial connection with eg: ''​screen /​dev/​ttyUSB1 115200''​ (and exit with ''​Ctrl-a K'';​ see also: [[gnu screen]]) Establish serial connection with eg: ''​screen /​dev/​ttyUSB1 115200''​ (and exit with ''​Ctrl-a K'';​ see also: [[gnu screen]])
Zeile 22: Zeile 27:
 ===== Installing Slackware == ===== Installing Slackware ==
  
-[[http://​mirror.inode.at/​data/​armedslack/​armedslack-13.1/​INSTALL_KIRKWOOD.TXT|Source]]+Source: ​[[http://​mirror.inode.at/​data/​armedslack/​armedslack-13.37/​INSTALL_KIRKWOOD.TXT|INSTALL_KIRKWOOD.TXT]] 
 + 
 +Note that it is currently not possible to [[http://​lists.armedslack.org/​2009-September/​000239.html|install Armed on the internal Sheeva NAND Flash]]. You need an MMCard or eSata card. (Used Trascend Ultimate 8GB SDHC Class10, 11,99€)
  
 ==== Activate NFS == ==== Activate NFS ==
Zeile 67: Zeile 74:
 <code bash> <code bash>
 cd /​home/​export/​armedslack cd /​home/​export/​armedslack
-rsync --exclude '​*/​source/​*'​ --delete -Pavv ftp.armedslack.org::​armedslack/​armedslack-13..+rsync --exclude '​*/​source/​*'​ --delete -Pavv ftp.armedslack.org::​armedslack/​armedslack-13.37 .
 # or use a mirror: # or use a mirror:
-rsync --exclude '​*/​source/​*'​ --delete -Pavv mirror.inode.at::​mirror/​armedslack/​armedslack-13..+rsync --exclude '​*/​source/​*'​ --delete -Pavv mirror.inode.at::​mirror/​armedslack/​armedslack-13.37 .
 </​code>​ </​code>​
 +This creates ''/​home/​export/​armedslack/​armedslack-13.37''​.
 +
 Other mirrors are listed in www.armedslack.org/​getslack. Note that it is better to use rsync than FTP, because with rsync you can resume an aborted download with reusing already downloaded files. Other mirrors are listed in www.armedslack.org/​getslack. Note that it is better to use rsync than FTP, because with rsync you can resume an aborted download with reusing already downloaded files.
  
Zeile 76: Zeile 85:
  
 <code bash> <code bash>
-mkdir /​tftpboot/​armedslack-13.1 +mkdir /​tftpboot/​armedslack-13.37 
-cd /​home/​export/​armedslack/​armedslack-13.1/+cd /​home/​export/​armedslack/​armedslack-13.37/
  
 # Copy the Slackware ARM installer: # Copy the Slackware ARM installer:
-cp -fav isolinux/​uinitrd-kirkwood.img /​tftpboot/​armedslack-13.1+cp -fav isolinux/​uinitrd-kirkwood.img /​tftpboot/​armedslack-13.37
- +
 # The Linux Kernel: # The Linux Kernel:
-cp -fav kernels/​kirkwood/​uImage* /​tftpboot/​armedslack-13.1/+cp -fav kernels/​kirkwood/​uImage* /​tftpboot/​armedslack-13.37/
  
-# The Initial RAM disk, used for booting the OS after installation  +# The Initial RAM disk, used for booting the OS after installation 
-cp -fav kernels/​kirkwood/​uinitrd* /​tftpboot/​armedslack-13.1/+cp -fav kernels/​kirkwood/​uinitrd* /​tftpboot/​armedslack-13.37/
 </​code>​ </​code>​
  
Zeile 126: Zeile 135:
 ==== Slackware ARM installation == ==== Slackware ARM installation ==
  
-Plug in the MMC card and type ''​mmcinit'':​+Plug in the MMC card and type ''​mmcinit'' ​(May not work the first time, so retry):
  
 <​code>​ <​code>​
Zeile 139: Zeile 148:
  
 <​code>​ <​code>​
-Marvell>>​ tftpboot 0x01100000 armedslack-13.1/​uinitrd-kirkwood.img +Marvell>>​ tftpboot 0x01100000 armedslack-13.37/​uinitrd-kirkwood.img 
-Marvell>>​ tftpboot 0x00800000 armedslack-13.1/​uImage-kirkwood+Marvell>>​ tftpboot 0x00800000 armedslack-13.37/​uImage-kirkwood
 Marvell>>​ printenv bootargs Marvell>>​ printenv bootargs
 [empty] [empty]
Zeile 159: Zeile 168:
 </​code>​ </​code>​
  
-Now you can log into the Sheevaplug with SSH as user root with no password.+Now you can log into the Sheevaplug with SSH as user root with no password: ''​ssh root@192.168.0.99''​. From here use the ssh, not the serial login.
  
 ''​fdisk -l''​ shows your available drive: ''/​dev/​mmcblk0''​. Use ''​fdisk''​ to partition the drive, cfdisk did not work: ''​fdisk -l''​ shows your available drive: ''/​dev/​mmcblk0''​. Use ''​fdisk''​ to partition the drive, cfdisk did not work:
Zeile 165: Zeile 174:
 <​code>​ <​code>​
 fdisk /​dev/​mmcblk0 fdisk /​dev/​mmcblk0
 +</​code>​
 +
 +Unset DOS Compatibility flag and change display/​entry units to sectors:
 +<​code>​
 Command (m for help): c Command (m for help): c
 DOS Compatibility flag is not set DOS Compatibility flag is not set
Zeile 190: Zeile 203:
  
   * Keymap: qwertz/​de-latin1-nodeadkeys.map   * Keymap: qwertz/​de-latin1-nodeadkeys.map
-  * Using ''/​dev/​mmcblk0p3''​ as ''/''​ with ext4 
   * Using ''/​dev/​mmcblk0p2''​ as swap   * Using ''/​dev/​mmcblk0p2''​ as swap
 +  * Using ''/​dev/​mmcblk0p3''​ :!:  as ''/''​ with ext4
   * Using ''/​dev/​mmcblk0p1''​ as ''/​boot''​ with ext2   * Using ''/​dev/​mmcblk0p1''​ as ''/​boot''​ with ext2
-  * Install from NFS with ''/​home/​export/​armedslack/​armedslack-13.1/​slackware''​ as source 
-  * Package selection: Everything except KDEI (=default); mode: full 
  
 +<note important>​With armedslack-13.37,​ selection of ''​ext2''​ was ignored and the ''/​boot''​ was partition formattet with ''​ext4''​ anyway! Hence booting the system failed after install. Here is a workaround:
 +  - Insert the MMCard into a Notbook after installation of armedslack has finished
 +  - Save the contents of ''/​dev/​mmcblk0p1''​
 +  - Reformat ''/​dev/​mmcblk0p1''​ with the notebook (''​mkfs.ext2 /​dev/​mmcblk0p1''​)
 +  - Restore the contents of ''/​dev/​mmcblk0p1''​
 +</​note>​
 +
 +  * Install from NFS with ''/​home/​export/​armedslack/​armedslack-13.37/​slackware''​ as source
 +  * Package selection: Everything except KDEI (=default); mode: full. Installation takes a long time.
  
 ==== Booting the Slackware ARM OS == ==== Booting the Slackware ARM OS ==
  
-FIXME+Reboot the system with ''​reboot''​ and enter U-boot once again. ​
  
 +/*
 <​code>​ <​code>​
 Marvell>>​ printenv bootargs_console Marvell>>​ printenv bootargs_console
Zeile 211: Zeile 232:
 ## Error: "​bootcmd_slk"​ not defined ## Error: "​bootcmd_slk"​ not defined
 </​code>​ </​code>​
 +
 +<​code>​
 +Marvell>>​ printenv bootargs_console
 +bootargs_console=console=ttyS0,​115200
 +Marvell>>​ printenv bootargs_root
 +bootargs_root=ubi.mtd=1 root=ubi0:​rootfs rootfstype=ubifs
 +Marvell>>​ printenv bootcmd
 +bootcmd=run bootcmd_mmc;​ run bootcmd_nand
 +Marvell>>​ printenv bootcmd_slk
 +## Error: "​bootcmd_slk"​ not defined
 +</​code>​
 +*/
  
 <​code>​ <​code>​
Zeile 223: Zeile 256:
 Marvell>> ​  reset Marvell>> ​  reset
 </​code>​ </​code>​
 +
 +===== Install Go ==
 +
 +See [[golang]]
  
 ===== Pending / Todo == ===== Pending / Todo ==
becki/linux/sheevaplug.1297689519.txt.gz · Zuletzt geändert: 2011-02-14 13:18 von becki

Impressum - Datenschutzerklärung