Difference between revisions of "Plug notes"

From Amahi Wiki
Jump to: navigation, search
Line 27: Line 27:
 
= Getting it Going =
 
= Getting it Going =
 
Here are the steps to make it boot from USB
 
Here are the steps to make it boot from USB
 +
* General [http://fedoraproject.org/wiki/Architectures/ARM/SheevaplugUSB
 +
directions]
 
* get the rootfs-f12.tar.bz2 from
 
* get the rootfs-f12.tar.bz2 from
        http://fedoraproject.org/wiki/Architectures/ARM/SheevaplugUSB
+
    http://ftp.linux.org.uk/pub/linux/arm/fedora/rootfs/
 
* Connect the JTAG module and connect the USB side to a terminal emulator
 
* Connect the JTAG module and connect the USB side to a terminal emulator
 
* Putty for windows (Serial)
 
* Putty for windows (Serial)

Revision as of 09:02, 11 May 2010

  • 2 stop bits to get the bootloader to recognize keyboard and stop autobooting
  • speed: 115200 /dev/ttyUSB1
  • root/fedoraarm default password
  • rpms installed for development: rsync, git, vim-enhanced, sudo, make, rpm-build, tar, httpd-devel, boot-devel, gcc-c++
  • passenger: need rubygems-1.3.5-4.fc12.noarch.rpm with macro changes
  • rpms installed for amahi: httpd, ruby, samba,
  • build hdactl, hda-platform, install (with --nodeps)


Missing deps in the installer:

  • httpd, samba, cadaver, bind-utils

RPMs not available from the mirrors:

  • hda-greyhole
  • rubygem-gd2 - actually - is this one necessary?

Other:

  • VPN does not work (had to turn it off in servers). This could be due to the kernel not having all that it needs for TUN/TAP?:
     Cannot allocate TUN/TAP dev dynamically
  • Greyhole not working - hda-greyhole needed
  • crontab does not appear to be working
  • had to add with noatime in / to prevent flash burnout
  • should control monit - it keeps on pounding the flash with messages in /var/log/monit
  • would like to add swap to flash based drives
  • mt-daapd and amahi-transmission are dying

Getting it Going

Here are the steps to make it boot from USB

directions]
  • get the rootfs-f12.tar.bz2 from
    http://ftp.linux.org.uk/pub/linux/arm/fedora/rootfs/
  • Connect the JTAG module and connect the USB side to a terminal emulator
  • Putty for windows (Serial)
  • gtkterm for linux (use 2 stop bits!)
  • Reset the device from the JTAG module
  • At the terminal, press enter a couple of seconds after boot to prevent it booting to the flash
  • There are some commands to make it permanently boot off USB:
         setenv mainlineLinux yes
         setenv arcNumber 2097
         setenv bootargs_root 'root=/dev/sda1 rootdelay=10'
         setenv bootcmd_usb 'usb start; ext2load usb 0:1  0x6400000 /boot/uImage-2.6.30-sheevaplug'
         setenv bootcmd 'setenv bootargs $(console) $(bootargs_root); run bootcmd_usb; bootm 0x6400000'
         saveenv
         reset

Amahi Install

  • ssh into the plug
  • yum -y install httpd
  • proceed to the Self-install-existing instructions, but use the armv5tel hdactl
  • input the install code!
  • report bugs!