Changes

From Amahi Wiki
Jump to: navigation, search
107 bytes added ,  20:42, 14 May 2010
no edit summary
* 2 stop bits to get = Getting 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)plug booting Fedora 12 =
RPMs not available from the mirrors:
* hda-greyhole
* cadaver
* rubygem-gd2 - actually - is this one necessary?
* ruby-RMagick
 
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 the plug booting Fedora 12 =
Here are the steps to make the plug boot from USB
<!-- * General [http://fedoraproject.org/wiki/Architectures/ARM/SheevaplugUSB directions]
* get the rootfs-f12.tar.bz2 from
http://ftp.linux.org.uk/pub/linux/arm/fedora/rootfs/-->* Perform USB Flash Drive Prep (see below)
* Connect the JTAG module and connect the USB side to a terminal emulator
* Putty for windows (Serial)
* 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(this only has to be done once):
setenv mainlineLinux yes
saveenv
reset
 
= USB Flash Drive Prep =
 
In order to install the rootfs onto a flash or disk, mount the flash drive on a linux system and execute the create-clean-f12-disk.sh script. It may take a while, but this must be done before booting up the plug and installing Amahi.
 
This script is very dangerous (it can destroy the machine it is run on if not used properly). You will need to change the partition destination.
= Amahi Install =
* Configure a profile for the system in http://www.amahi.org. Pay attention to the IP of the HDA you configure. Let's call it PLUG_FIXED_IP.
* Ensure you do have done the USB Flash Drive Prep nowbefore continuing.
* Boot the system with the latest rootfs (amahi-marvell-0.2.tar.bz2).
* Until we optimize things, it will take 4 or 5 minutes to boot the first time.
With about 1/8th of the rpms on a typical x86 install, you will experience a lot of failures with apps (VPN does not work, apps will be missing deps, etc. etc.).
= USB Flash Drive Prep =* 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) RPMs not available from the mirrors:* hda-greyhole* cadaver* rubygem-gd2 - actually - is this one necessary?* ruby-RMagick 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
In order to install the rootfs onto a flash or disk, mount the flash drive on a linux system and execute the create-clean-f12-disk.sh script. It may take a while, but this must be done before booting up the plug and installing Amahi.
This script is very dangerous (it can destroy the machine it is run on if not used properly). You will need to change the partition destination.
<!-- * ssh into the plug
12,424

edits