Difference between revisions of "AmigaOne Linux"

From wiki.amiga.org
Jump to navigation Jump to search
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  
== Welcome ==
+
= Welcome =
  
 
This page details the installation process of Linux distributions on the [[AmigaONE X5000]] and [[AmigaOne A1222]]
 
This page details the installation process of Linux distributions on the [[AmigaONE X5000]] and [[AmigaOne A1222]]
 +
 +
 +
  
 
= AmigaOne X5000 Linux Guide =
 
= AmigaOne X5000 Linux Guide =
 +
 +
 +
'''1.''' Download the image from the following link:
 +
[https://dl.dropboxusercontent.com/u/5429075/Computers/Linux/_img/X5000_Ubuntu_16.04.1_Live_USB-3.img X5000 Live USB installation]
 +
 +
'''2.''' Please use the following Uboot commands to boot the image:
 +
 +
<pre style="color: black; background:lightgray; font-family:courier; width:90%">
 +
setenv bootargs root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper rootdelay=10  mem=3500M radeon.pcie_gen2=1
 +
fatload usb 0:1 1000000 uImage-cyrus
 +
fatload usb 0:1 1c00000 cyrus_5020.dtb
 +
fatload usb 0:1 2000000 uRamdisk
 +
 +
bootm 1000000 2000000 1c00000
 +
</pre>
  
 
=AmigaOne A1222 Linux Guide=
 
=AmigaOne A1222 Linux Guide=
  
This guide gives instructions on downloading the latest Linux images and installing them to USB flash drives or hard disk drives for use on the AmigaOne A1222 computer.
+
The following guide gives instructions on downloading the latest Linux images and installing them to USB flash drives or hard disk drives for use on the AmigaOne A1222 computer.
  
  
Line 14: Line 32:
  
 
'''1.''' Download the image from the following link:
 
'''1.''' Download the image from the following link:
http://www.fun-kart-racer.de/2bb57b2bbf87b668a94c/Tabor_debian_8_powerpcspe_5.7z
+
[http://www.fun-kart-racer.de/2bb57b2bbf87b668a94c/Tabor_debian_8_powerpcspe_5.7z Tabor Debian 8 PowerPC SPE]
  
 
Please use the following login details to download the file:
 
Please use the following login details to download the file:
  
<pre style="color: black; background:lightgray; font-family:courier; width:50%">
+
<pre style="color: black; background:lightgray; font-family:courier; width:60%">
 
User Name: tabor
 
User Name: tabor
Password: amigaone
+
Password: [available on request]
 
</pre>
 
</pre>
  
'''2.''' Decompress the downloaded image with 7-Zip
 
  
 +
'''2.''' Decompress the downloaded image with '''7-Zip'''
  
  
'''3.''' Copy it with “dd“ (Linux) or with the USB image Tool (Windows) to a USB pen drive.
+
 
 +
'''3.''' Copy it with '''dd''' on Linux or with the [http://www.alexpage.de/usb-image-tool/download USB image Tool] on Windows to a USB flash drive.
  
 
For example with Linux:  
 
For example with Linux:  
  
<pre style="color: black; background:lightgray; font-family:courier; width:50%">
+
<pre style="color: black; background:lightgray; font-family:courier; width:60%">
 
dd if=“Tabor_debian_8_powerpcspe_5“ of=“disk drive ID“
 
dd if=“Tabor_debian_8_powerpcspe_5“ of=“disk drive ID“
 
</pre>
 
</pre>
Line 39: Line 58:
 
'''4.''' To boot Linux image from the USB flash drive, insert the USB flash drive into the A1222.  Next enter the following at the '''A1222>''' prompt (pressing enter after each line):
 
'''4.''' To boot Linux image from the USB flash drive, insert the USB flash drive into the A1222.  Next enter the following at the '''A1222>''' prompt (pressing enter after each line):
  
<pre style="color: black; background:lightgray; font-family:courier; width:50%">
+
<pre style="color: black; background:lightgray; font-family:courier; width:60%">
setenv bootargs root=/dev/sdb2 rootdelay=5
+
setenv bootargs root=/dev/sda2 rootdelay=5
 
fatload usb 0:1 1000000 uImage.sdk17.2
 
fatload usb 0:1 1000000 uImage.sdk17.2
 
fatload usb 0:1 2000000 tabor2.dtb
 
fatload usb 0:1 2000000 tabor2.dtb
Line 48: Line 67:
  
  
'''5.''' Login:
+
'''5.''' The login details are as follows:
  
'''root''' with password '''amigaone'''
+
Username of '''root''' has the password '''amigaone'''
  
'''amigaone''' with password '''amigaone'''
+
Username of '''amigaone''' has the password '''amigaone'''
  
 
==Installing Debian 8 on a Hard Drive==
 
==Installing Debian 8 on a Hard Drive==
Line 61: Line 80:
  
  
'''1.''' Download the image:
+
'''1.''' Download the image from the following link:
http://www.fun-kart-racer.de/2bb57b2bbf87b668a94c/Tabor_debian_8_powerpcspe_5.7z
+
[http://www.fun-kart-racer.de/2bb57b2bbf87b668a94c/Tabor_debian_8_powerpcspe_5.7z Tabor Debian 8 PowerPC SPE]
 +
 
 +
Please use the following login details to download the file:
  
User: tabor
+
<pre style="color: black; background:lightgray; font-family:courier; width:60%">
 +
User Name: tabor
 
Password: amigaone
 
Password: amigaone
 +
</pre>
  
  
Line 74: Line 97:
  
  
'''3.''' Copy it with “dd“ to a hard disk:  
+
'''3.''' Copy it with '''dd''' to a hard disk:  
  
<pre style="color: black; background:lightgray; font-family:courier; width:50%">
+
<pre style="color: black; background:lightgray; font-family:courier; width:60%">
 
dd if=Tabor_debian_8_powerpcspe_5 of=“disk drive ID“.  
 
dd if=Tabor_debian_8_powerpcspe_5 of=“disk drive ID“.  
 
</pre>
 
</pre>
Line 82: Line 105:
 
For example:  
 
For example:  
  
<pre style="color: black; background:lightgray; font-family:courier; width:50%">
+
<pre style="color: black; background:lightgray; font-family:courier; width:60%">
dd if=Tabor_debian_8_powerpcspe_5 of=/dev/sda.
+
dd if=Tabor_debian_8_powerpcspe_5 of=/dev/sdb.
 
</pre>
 
</pre>
 +
 +
Use /dev/sda if your system has no other hard disks installed.  If there is one hard disk already installed, then the USB flash drive will  be assigned /dev/sdb
 +
 +
'''Important Note:''' Using '''dd''' will destroy any existing data on your hard disk, please backup before using this command.
 +
  
  
Line 93: Line 121:
 
'''5.''' To boot Linux image from the hard drive, enter the following at the '''A1222>''' prompt (pressing enter after each line):
 
'''5.''' To boot Linux image from the hard drive, enter the following at the '''A1222>''' prompt (pressing enter after each line):
  
<pre style="color: black; background:lightgray; font-family:courier; width:50%">
+
<pre style="color: black; background:lightgray; font-family:courier; width:60%">
 
setenv bootargs root=/dev/sda2
 
setenv bootargs root=/dev/sda2
 
fatload usb 0:1 1000000 uImage.sdk17.2
 
fatload usb 0:1 1000000 uImage.sdk17.2
Line 102: Line 130:
 
Or you could directly boot the kernel and the DTB file from a hard disk by entering the following at the '''A1222>''' prompt (pressing enter after each line):
 
Or you could directly boot the kernel and the DTB file from a hard disk by entering the following at the '''A1222>''' prompt (pressing enter after each line):
  
<pre style="color: black; background:lightgray; font-family:courier; width:50%">
+
<pre style="color: black; background:lightgray; font-family:courier; width:60%">
 
setenv bootargs root=/dev/sda2
 
setenv bootargs root=/dev/sda2
 
load sata 1:2 1000000 /boot/uImage.sdk17.2
 
load sata 1:2 1000000 /boot/uImage.sdk17.2
 
load sata 1:2 2000000 /boot/tabor2.dtb
 
load sata 1:2 2000000 /boot/tabor2.dtb
 
bootm 1000000 - 2000000
 
bootm 1000000 - 2000000
 +
</pre>
 +
 +
==Upgrading Debian 8 to the latest Sid version==
 +
 +
'''1.''' Download the GnuPG archive keyring from the following link:
 +
[https://packages.debian.org/sid/all/debian-ports-archive-keyring/download debian-ports-archive-keyring_2016.11.28_all.deb]
 +
 +
 +
 +
'''2.''' Install the GnuPG archive keyring:
 +
<pre style="color: black; background:lightgray; font-family:courier; width:60%">
 +
# dpkg -i debian-ports-archive-keyring_2016.11.28_all.deb
 +
</pre>
 +
 +
 +
 +
'''3.''' Add the following lines to your sources.list:
 +
<pre style="color: black; background:lightgray; font-family:courier; width:60%">
 +
# binary default
 +
deb http://ftp.ports.debian.org/debian-ports/ unstable main
 +
deb http://ftp.ports.debian.org/debian-ports/ unreleased main
 +
deb http://incoming.debian-ports.org/buildd unstable main
 +
 +
# source
 +
deb-src http://ftp.debian.org/debian/ unstable main
 +
</pre>
 +
 +
 +
 +
'''4.''' Update the package index:
 +
<pre style="color: black; background:lightgray; font-family:courier; width:60%">
 +
# apt-get update
 +
</pre>
 +
 +
 +
 +
'''5.''' Repair the broken package dependencies:
 +
<pre style="color: black; background:lightgray; font-family:courier; width:60%">
 +
# apt-get install -f
 +
</pre>
 +
 +
 +
 +
'''6.''' Now, you can install some new packages from the Debian Sid ports repository
 +
 +
==A1222 Debian User Guide==
 +
 +
For more detailed information, please consult the '''A1222 Linux User Guide''' with the following link:
 +
 +
[http://www.fun-kart-racer.de/2bb57b2bbf87b668a94c/Linux_installation_instructions_A1222_Tabor_v0.9.4.pdf A1222 Linux User Guide]
 +
 +
Please use the following login details to download the file:
 +
 +
<pre style="color: black; background:lightgray; font-family:courier; width:60%">
 +
User Name: tabor
 +
Password: amigaone
 
</pre>
 
</pre>

Latest revision as of 22:36, 25 May 2017

Welcome

This page details the installation process of Linux distributions on the AmigaONE X5000 and AmigaOne A1222



AmigaOne X5000 Linux Guide

1. Download the image from the following link: X5000 Live USB installation

2. Please use the following Uboot commands to boot the image:

setenv bootargs root=/dev/ramdisk file=/cdrom/preseed/ubuntu-mate.seed boot=casper rootdelay=10  mem=3500M radeon.pcie_gen2=1
fatload usb 0:1 1000000 uImage-cyrus
fatload usb 0:1 1c00000 cyrus_5020.dtb
fatload usb 0:1 2000000 uRamdisk 

bootm 1000000 2000000 1c00000

AmigaOne A1222 Linux Guide

The following guide gives instructions on downloading the latest Linux images and installing them to USB flash drives or hard disk drives for use on the AmigaOne A1222 computer.


Installing Debian 8 on a USB Flash Drive

1. Download the image from the following link: Tabor Debian 8 PowerPC SPE

Please use the following login details to download the file:

User Name: tabor
Password: [available on request]


2. Decompress the downloaded image with 7-Zip


3. Copy it with dd on Linux or with the USB image Tool on Windows to a USB flash drive.

For example with Linux:

dd if=“Tabor_debian_8_powerpcspe_5“ of=“disk drive ID“


4. To boot Linux image from the USB flash drive, insert the USB flash drive into the A1222. Next enter the following at the A1222> prompt (pressing enter after each line):

setenv bootargs root=/dev/sda2 rootdelay=5
fatload usb 0:1 1000000 uImage.sdk17.2
fatload usb 0:1 2000000 tabor2.dtb
bootm 1000000 - 2000000


5. The login details are as follows:

Username of root has the password amigaone

Username of amigaone has the password amigaone

Installing Debian 8 on a Hard Drive

After trying out you could copy it with "dd" to a hard disc from your booted Debian. You don't need to create any partitions. You just need to copy the image with "dd" from the booted Debian to a hard disk.


1. Download the image from the following link: Tabor Debian 8 PowerPC SPE

Please use the following login details to download the file:

User Name: tabor
Password: amigaone


2. Decompress it with Xarchiver or Engrampa or use "Extract Here" in the context menu (right-click).


3. Copy it with dd to a hard disk:

dd if=Tabor_debian_8_powerpcspe_5 of=“disk drive ID“. 

For example:

dd if=Tabor_debian_8_powerpcspe_5 of=/dev/sdb.

Use /dev/sda if your system has no other hard disks installed. If there is one hard disk already installed, then the USB flash drive will be assigned /dev/sdb

Important Note: Using dd will destroy any existing data on your hard disk, please backup before using this command.


4. After that, you could increase the Linux partition with GParted if you like.


5. To boot Linux image from the hard drive, enter the following at the A1222> prompt (pressing enter after each line):

setenv bootargs root=/dev/sda2
fatload usb 0:1 1000000 uImage.sdk17.2
fatload usb 0:1 2000000 tabor2.dtb
bootm 1000000 - 2000000

Or you could directly boot the kernel and the DTB file from a hard disk by entering the following at the A1222> prompt (pressing enter after each line):

setenv bootargs root=/dev/sda2
load sata 1:2 1000000 /boot/uImage.sdk17.2
load sata 1:2 2000000 /boot/tabor2.dtb
bootm 1000000 - 2000000

Upgrading Debian 8 to the latest Sid version

1. Download the GnuPG archive keyring from the following link: debian-ports-archive-keyring_2016.11.28_all.deb


2. Install the GnuPG archive keyring:

# dpkg -i debian-ports-archive-keyring_2016.11.28_all.deb


3. Add the following lines to your sources.list:

# binary default
deb http://ftp.ports.debian.org/debian-ports/ unstable main
deb http://ftp.ports.debian.org/debian-ports/ unreleased main
deb http://incoming.debian-ports.org/buildd unstable main

# source
deb-src http://ftp.debian.org/debian/ unstable main


4. Update the package index:

# apt-get update


5. Repair the broken package dependencies:

# apt-get install -f


6. Now, you can install some new packages from the Debian Sid ports repository

A1222 Debian User Guide

For more detailed information, please consult the A1222 Linux User Guide with the following link:

A1222 Linux User Guide

Please use the following login details to download the file:

User Name: tabor
Password: amigaone