<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.powerprogress.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rt1k</id>
	<title>Power Progress Community Projects Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.powerprogress.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rt1k"/>
	<link rel="alternate" type="text/html" href="https://wiki.powerprogress.org/Special:Contributions/Rt1k"/>
	<updated>2026-08-26T21:33:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://wiki.powerprogress.org/index.php?title=Debian_PPC_Starters_Manual&amp;diff=157</id>
		<title>Debian PPC Starters Manual</title>
		<link rel="alternate" type="text/html" href="https://wiki.powerprogress.org/index.php?title=Debian_PPC_Starters_Manual&amp;diff=157"/>
		<updated>2018-12-08T20:47:50Z</updated>

		<summary type="html">&lt;p&gt;Rt1k: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;Get inspiration and information from &#039;&#039; http://www.debian.org/doc/maint-guide/&lt;br /&gt;
&#039;&#039;keep this guide simple, in the form of:&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
&#039;&#039;Title / Why would you want to do that / tasks and commands to do it&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
Currently, Big Endian PowerPC architectures (powerpc/ppc64) are only classified as ports within Debian (a.k.a [https://www.ports.debian.org Debian Ports]), meaning neither are an officially supported architecture.  32-bit PowerPC (powerpc) was an officially supported architecture, with a 64-bit kernel available, until the release of Debian 9 (codenamed Stretch).  As a result the only way to run Debian on PowerPC is to use to either used the currently supported Debian 8 (codenamed Jessie) or the unstable branch known as Sid.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Why would you want to contribute to Debian PowerPC?&#039;&#039;&lt;br /&gt;
* FREE Software and DFSF&lt;br /&gt;
* PowerPC is a [[RISC architecture]]&lt;br /&gt;
* All the existing G3, G4, and G5 Mac Machines&lt;br /&gt;
* All the existing Freescale/NXP Boards/Amigas/etc.&lt;br /&gt;
* Diversity, freedom, and choice&lt;br /&gt;
* A learning opportunity for non-x86 architecture and Linux&lt;br /&gt;
* The PowerPC Notebook Project&lt;br /&gt;
* Saving the world! :-)&lt;br /&gt;
&lt;br /&gt;
==Installation of Debian PPC/PPC64==&lt;br /&gt;
First things first: check if your computer is present in the &#039;&#039;&#039;supported&#039;&#039;&#039; list:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: https://www.debian.org/ports/powerpc/inst/install&lt;br /&gt;
&lt;br /&gt;
Also make note of whether or not your system is 64-bit capable, in which case you will install the 64-bit PowerPC version of Debian.&lt;br /&gt;
&lt;br /&gt;
Now that you are ready to install Debian powerpc, you still have two more questions to answer:: Which &#039;&#039;&#039;Installation Media&#039;&#039;&#039; do you want to use?:: &#039;&#039;&#039;USB stick&#039;&#039;&#039;: Very convenient - but not really straightforward. Becomes easy when you get the hang of it.:: &#039;&#039;&#039;CD&#039;&#039;&#039; : The easiest - if you still have some CD-R / CD-RW around, and your CD writer is still working :-):: &#039;&#039;&#039;Hard Drive (HD)&#039;&#039;&#039; : Cannot see any real advantage over using &#039;&#039;&#039;USB stick&#039;&#039;&#039; - but you can do this if you want to.:: &#039;&#039;&#039;debootstrap&#039;&#039;&#039; : Very easy - almost magical - if you already have a running Debian installation on your target machine.&lt;br /&gt;
&lt;br /&gt;
: Which Target &#039;&#039;&#039;Partitioning Scheme&#039;&#039;&#039; to use?:: &#039;&#039;&#039;Debian alone&#039;&#039;&#039; on target disk - with one or several partitions - the most straightforward.:: &#039;&#039;&#039;Debian sharing the disk with other OSes&#039;&#039;&#039; (MacOSX or others) - you will need to partition your disk, and move things around. &#039;&#039;&#039;Can be (is) worth it&#039;&#039;&#039;. :: &#039;&#039;&#039;Debian alone on an external &amp;quot;firewire&amp;quot; disk&#039;&#039;&#039; - Haven&#039;t tested this. Could be interesting if you want to keep your internal disk as is, or if your internal disk is dead, and you do not have a replacement or you do not want to open your machine. &lt;br /&gt;
The rest of this section will describe an installation using a &#039;&#039;&#039;USB stick&#039;&#039;&#039;, on a &#039;&#039;&#039;supported machine&#039;&#039;&#039; - in my case, a venerable G4 PowerBook Aluminum. Debian is alone on the disk.&lt;br /&gt;
&#039;&#039;(I also have an iMac G5 MacOSX / Debian stable / Debian unstable installation - where unstable was installed using debootstrap)&#039;&#039;&lt;br /&gt;
===Download ISO===&lt;br /&gt;
Normally, I would install &#039;&#039;&#039;Debian stable&#039;&#039;&#039; first, then &#039;&#039;&#039;upgrade to Debian unstable&#039;&#039;&#039;. But we are not in a normal situation anymore, so we&#039;ll install unstable directly.&lt;br /&gt;
&lt;br /&gt;
For G4 and earlier (32-bits disk image):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: http://ftp.debian.org/debian/dists/sid/main/installer-powerpc/current/images/powerpc/netboot/mini.iso&lt;br /&gt;
&lt;br /&gt;
For G5 and later (64-bits disk image):: http://ftp.debian.org/debian/dists/sid/main/installer-powerpc/current/images/powerpc64/netboot/mini.iso&lt;br /&gt;
&lt;br /&gt;
The one I used is from the 04/07/2017 (7th of April 2017).&lt;br /&gt;
===Write ISO to USB stick===&lt;br /&gt;
If you wanted to write the boot image on &#039;&#039;&#039;CD-ROM&#039;&#039;&#039; (CD-R or CD-RW) you would use a software like &amp;lt;code&amp;gt;brasero&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For the &#039;&#039;&#039;USB stick&#039;&#039;&#039;, the easiest (only) way to do this is using the &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command (on linux or [https://langui.sh/2011/04/02/using-dd-in-os-x/ MacOSX]).&lt;br /&gt;
&lt;br /&gt;
One thing to know about the &amp;lt;code&amp;gt;dd&amp;lt;/code&amp;gt; command is that you need to be &#039;&#039;&#039;careful&#039;&#039;&#039; when using it - do not use it as root - unless you know what you&#039;re doing.&lt;br /&gt;
&lt;br /&gt;
Now the thing is, we &#039;&#039;need&#039;&#039; to use it as root to write the ISO image on the stick...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First, &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; to the directory containing the disk image.&lt;br /&gt;
&lt;br /&gt;
Then you need to get the &#039;&#039;&#039;device name&#039;&#039;&#039; for your USB stick. Plug it in and type:&lt;br /&gt;
&lt;br /&gt;
Linux:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt;&lt;br /&gt;
MacOSX:: &amp;lt;code&amp;gt;diskutil list&amp;lt;/code&amp;gt;&lt;br /&gt;
Or you can just list the mounted filesystems:&lt;br /&gt;
: &amp;lt;code&amp;gt;df&amp;lt;/code&amp;gt;&lt;br /&gt;
On my computer the USB stick is &amp;lt;code&amp;gt;/dev/sdb&amp;lt;/code&amp;gt;. There is a partition on it, and it is mounted on &amp;lt;code&amp;gt;/dev/sdb1&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Second, you need to &#039;&#039;&#039;unmount&#039;&#039;&#039; the mounted partition:: &amp;lt;code&amp;gt;sudo umount /dev/sdb1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, write the image: : &amp;lt;code&amp;gt;sudo dd if=mini.iso of=/dev/sdb&amp;lt;/code&amp;gt;&lt;br /&gt;
===Boot from USB Stick===&lt;br /&gt;
If you were using a &#039;&#039;&#039;CD-ROM&#039;&#039;&#039;, you would just boot while holding the &amp;lt;code&amp;gt;c&amp;lt;/code&amp;gt; button. &lt;br /&gt;
&lt;br /&gt;
To boot on the USB stick, you&#039;ll need to invoke &#039;&#039;&#039;Open Firmware&#039;&#039;&#039; (equivalent of BIOS / EFI).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: This is command line wizardry!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here goes:&lt;br /&gt;
&lt;br /&gt;
Plug in the USB stick and then boot your computer - while pressing on the &amp;lt;code&amp;gt;&amp;lt;command&amp;gt;&amp;lt;/command&amp;gt; + &amp;lt;option&amp;gt; + o + f&amp;lt;/option&amp;gt;&amp;lt;/code&amp;gt; buttons.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re not using an apple keyboard, you&#039;ll need to use &amp;lt;code&amp;gt;&amp;lt;windows&amp;gt; + &amp;lt;alt&amp;gt; + o + f&amp;lt;/alt&amp;gt;&amp;lt;/windows&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(if you&#039;re using a G5 machine - get earplugs or something - and &#039;&#039;&#039;do not do this at night in your room&#039;&#039;&#039; - the fans will run at maximum speed - and that&#039;s very noisy).&lt;br /&gt;
&lt;br /&gt;
First you need to &#039;&#039;&#039;identify your USB stick&#039;&#039;&#039; (in Open Firmware terminology - and this depends on your computer and the USB port you&#039;re using):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;code&amp;gt;dev / ls&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Scroll down (&amp;lt;code&amp;gt;&amp;lt;space&amp;gt;&amp;lt;/space&amp;gt;&amp;lt;/code&amp;gt;) until you get something like:&lt;br /&gt;
: &amp;lt;code&amp;gt;/usb@1b&amp;lt;/code&amp;gt;:: &amp;lt;code&amp;gt;/disk@1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we know our USB stick is on &amp;lt;code&amp;gt;usb@1b&amp;lt;/code&amp;gt; and is known as &amp;lt;code&amp;gt;disk@1&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We still need to find the &#039;&#039;&#039;alias&#039;&#039;&#039; of &amp;lt;code&amp;gt;usb@1b&amp;lt;/code&amp;gt;:&lt;br /&gt;
: &amp;lt;code&amp;gt;devalias&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You need to look for the usb0, usb1 etc... corresponding to &amp;lt;code&amp;gt;usb@1b&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
On my computer it was &amp;lt;code&amp;gt;usb1&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally, &#039;&#039;&#039;boot&#039;&#039;&#039; your computer using:&lt;br /&gt;
: &amp;lt;code&amp;gt;boot usb1/disk@1:2,\\yaboot&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(This means we are booting on partition &amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt; of &amp;lt;code&amp;gt;disk@1&amp;lt;/code&amp;gt; which is connected on &amp;lt;code&amp;gt;usb1&amp;lt;/code&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You&#039;re ready to start the installation if you get the &#039;&#039;&#039;yaboot&#039;&#039;&#039; prompt:&lt;br /&gt;
: &amp;lt;code&amp;gt;Welcome to yaboot version 1.3.17&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;Enter &amp;quot;help&amp;quot; to get some basic usage information&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;boot:&amp;lt;/code&amp;gt;&lt;br /&gt;
===Base Installation===&lt;br /&gt;
You need to be somehow familiar with the &#039;&#039;&#039;Debian Installer&#039;&#039;&#039; to consider it &#039;&#039;&#039;&#039;&#039;easy&#039;&#039;&#039;&#039;&#039;...&lt;br /&gt;
&lt;br /&gt;
It is not difficult, &#039;&#039;really&#039;&#039;, but it might get intimidating if you&#039;re doing this for the first time...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To cut this short: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: - plug in your &#039;&#039;&#039;ethernet&#039;&#039;&#039; cable (wireless networking will not work during installation).: - follow the &#039;&#039;&#039;installer steps&#039;&#039;&#039; - selecting the &#039;&#039;&#039;default options&#039;&#039;&#039; (if you&#039;re going to use the full disk - no manual partitioning).&lt;br /&gt;
&lt;br /&gt;
To give you a better idea, here is an overview of the &#039;&#039;&#039;main steps&#039;&#039;&#039; - with some comments where appropriate:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Starting with the &#039;&#039;&#039;yaboot&#039;&#039;&#039; prompt, type &#039;&#039;&#039;expert&#039;&#039;&#039; or &#039;&#039;&#039;install&#039;&#039;&#039;:: &amp;lt;code&amp;gt;boot: expert&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You&#039;ll get to the &amp;quot;familiar&amp;quot; red / grey / blue &#039;&#039;&#039;Debian installer main menu&#039;&#039;&#039;:&lt;br /&gt;
: &amp;lt;code&amp;gt;Choose language&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;Access software for a blind person using a braille display&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;Configure the keyboard&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;Detect network hardware&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;Configure the network&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;Choose a mirror of the Debian archive&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;Download installer components&amp;lt;/code&amp;gt;: ...&lt;br /&gt;
&lt;br /&gt;
All goes smoothly until you start &amp;lt;code&amp;gt;Choose a mirror of the Debian archive&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
It seems the installer is still looking for &amp;lt;code&amp;gt;stretch&amp;lt;/code&amp;gt; - and as you know, err, it has been &#039;&#039;killed&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
So, after selecting your mirror, you&#039;ll get a &#039;&#039;&#039;warning&#039;&#039;&#039; telling you:: &amp;lt;code&amp;gt;The specified (default) Debian version (stretch) is not available from the selected mirror. It is possible to continue and select a different release for your installation, but normally you should go back and select a different mirror that does support the correct version.&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt; Go back and try a different mirror?&amp;lt;/code&amp;gt;&lt;br /&gt;
You should select &amp;lt;code&amp;gt;No&amp;lt;/code&amp;gt; This will allow you later to choose &amp;lt;code&amp;gt;sid (unstable)&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then, after completing &amp;lt;code&amp;gt;Download installer components&amp;lt;/code&amp;gt;, you get back the &#039;&#039;&#039;Debian installer main menu&#039;&#039;&#039;, with some &#039;&#039;&#039;additional steps&#039;&#039;&#039; to execute: : &amp;lt;code&amp;gt;Set up users and passwords&amp;lt;/code&amp;gt;:: - disable root login (I do this for security - and use &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Root Terminal&amp;lt;/code&amp;gt; for administration): &amp;lt;code&amp;gt;configure the clock&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;Detect disks&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;Partition disks&amp;lt;/code&amp;gt;:: - use the Guided partitioning + &amp;lt;code&amp;gt;ext3&amp;lt;/code&amp;gt; filesystem (I&#039;ve had issues with yaboot and &amp;lt;code&amp;gt;ext4&amp;lt;/code&amp;gt;).: &amp;lt;code&amp;gt;Install the base system&amp;lt;/code&amp;gt;:: - I have used the &amp;lt;code&amp;gt;linux-image-powerpc kernel&amp;lt;/code&amp;gt; + &amp;lt;code&amp;gt;targeted initrd&amp;lt;/code&amp;gt;. : &amp;lt;code&amp;gt;Configure the package manager&amp;lt;/code&amp;gt; :: - do not use &amp;lt;code&amp;gt;non-free&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;contrib&amp;lt;/code&amp;gt; software. We&#039;ll later use &amp;lt;code&amp;gt;contrib&amp;lt;/code&amp;gt; for wireless - but in a controlled way.: &amp;lt;code&amp;gt;Select and install software&amp;lt;/code&amp;gt;:: - please do configure the &amp;lt;code&amp;gt;popularity-contest&amp;lt;/code&amp;gt; package. This will &#039;&#039;&#039;help Debian powerpc&#039;&#039;&#039; by showing the community people are still using it!:: - For desktop use you&#039;d also want to install &amp;lt;code&amp;gt;mate-desktop-environment&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;LXDE&amp;lt;/code&amp;gt;; you can also install a simple Window Manager like Openbox or IceWM, but will require bigger tuning work.: &amp;lt;code&amp;gt;Install yaboot on a hard disk&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;Continue without a boot loader&amp;lt;/code&amp;gt;: &amp;lt;code&amp;gt;Finish the installation&amp;lt;/code&amp;gt;:: - this will allow you to reboot into your new system!&lt;br /&gt;
===Additional Components===&lt;br /&gt;
Here are some additional components and applications to improve your Debian powerpc experience:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;compositing&#039;&#039;&#039; (buffering to improve display).:: &amp;lt;code&amp;gt;sudo apt-get install compton&amp;lt;/code&amp;gt;:: Preferences -&amp;gt; Default applications for LXSession::: Core applications -&amp;gt; Composite Manager: &amp;lt;code&amp;gt;compton&amp;lt;/code&amp;gt;::: Autostart -&amp;gt; + Add &amp;lt;code&amp;gt;compton&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;cpu frequency scaling&#039;&#039;&#039; (I like to keep my computer as silent as possible).:: &amp;lt;code&amp;gt;sudo apt-get install cpufrequtils&amp;lt;/code&amp;gt;: To get list of available cpufreq governors + statistics::: &amp;lt;code&amp;gt;cpufreq-info&amp;lt;/code&amp;gt;: To dynamically set CPU speed at max performance::: &amp;lt;code&amp;gt;sudo cpufreq-set -g performance&amp;lt;/code&amp;gt;: To dynamically set CPU at half-speed::: &amp;lt;code&amp;gt;sudo cpufreq-set -g powersave&amp;lt;/code&amp;gt;: To dynamically set CPU in adaptive speed::: &amp;lt;code&amp;gt;sudo cpufreq-set -g ondemand&amp;lt;/code&amp;gt;: To set CPU at half-speed - persistent after reboot::: &amp;lt;code&amp;gt;sudo vi /etc/default/cpufrequtils&amp;lt;/code&amp;gt;:: &amp;lt;code&amp;gt;GOVERNOR=&amp;quot;powersave&amp;quot;&amp;lt;/code&amp;gt;: To set CPU in adaptive speed - persistent after reboot::: &amp;lt;code&amp;gt;sudo vi /etc/default/cpufrequtils&amp;lt;/code&amp;gt;:: &amp;lt;code&amp;gt;GOVERNOR=&amp;quot;ondemand&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
: links2: a &#039;&#039;&#039;mega-fast web browser&#039;&#039;&#039; (graphic and command line) - firefox ESR is already installed - but it is (much) slower.:: &amp;lt;code&amp;gt;sudo apt-get install links2&amp;lt;/code&amp;gt;&lt;br /&gt;
: conkeror: another &#039;&#039;&#039;mega-fast web browser&#039;&#039;&#039; (graphic - keyboard controlled, based on firefox ESR). Believe me, you&#039;ll love it!:: &amp;lt;code&amp;gt;sudo apt-get install conkeror&amp;lt;/code&amp;gt;&lt;br /&gt;
: &#039;&#039;&#039;wireless networking&#039;&#039;&#039; - you&#039;ll need to use the &amp;lt;code&amp;gt;contrib&amp;lt;/code&amp;gt; repository - and download a non-free binary. Skip this if you want to keep a [[https://www.debian.org/social_contract#guidelines DFSG]] compliant installation. : First remove wicd (only if you installed LXDE, Mate installs network-manager by default): wireless did not work at all with wicd for me...:: &amp;lt;code&amp;gt;sudo apt-get autoremove wicd&amp;lt;/code&amp;gt;&lt;br /&gt;
: Then edit apt sources.list to add &amp;lt;code&amp;gt;contrib&amp;lt;/code&amp;gt;::: &amp;lt;code&amp;gt;sudo nano /etc/apt/sources.list&amp;lt;/code&amp;gt;:: add the word &amp;lt;code&amp;gt;contrib&amp;lt;/code&amp;gt; at the end of each line:: save the file with &amp;lt;code&amp;gt;Ctrl-o&amp;lt;/code&amp;gt; and exit with &amp;lt;code&amp;gt;Ctrl-x&amp;lt;/code&amp;gt;: Install the driver (b43)::: &amp;lt;code&amp;gt;sudo apt-get update&amp;lt;/code&amp;gt;:: &amp;lt;code&amp;gt;sudo apt-get install firmware-b43-installer&amp;lt;/code&amp;gt;: Then edit back apt sources.list to remove &amp;lt;code&amp;gt;contrib&amp;lt;/code&amp;gt;::: &amp;lt;code&amp;gt;sudo nano /etc/apt/sources.list&amp;lt;/code&amp;gt;:: delete the word &amp;lt;code&amp;gt;contrib&amp;lt;/code&amp;gt; at the end of each line:: save the file with &amp;lt;code&amp;gt;Ctrl-o&amp;lt;/code&amp;gt; and exit with &amp;lt;code&amp;gt;Ctrl-x&amp;lt;/code&amp;gt;:: &amp;lt;code&amp;gt;sudo apt-get update&amp;lt;/code&amp;gt;: Finally install network-manager (only in LXDE, in Mate Desktop, as said, it is already installed)::: &amp;lt;code&amp;gt;sudo apt-get install network-manager network-manager-gnome&amp;lt;/code&amp;gt;&lt;br /&gt;
: &#039;&#039;&#039;gfx acceleration&#039;&#039;&#039; - without changing the ROM of ATI card - you&#039;ll need to use the &amp;lt;code&amp;gt;non-free&amp;lt;/code&amp;gt; repository. (07/01/2018) I&#039;m afraid some basic  functionalities - like switching to tty Consoles stopped working without using the proprietary drivers - at least on PowerBook G4 ... I&#039;m still trying to understand why.&lt;br /&gt;
: Edit apt sources.list to add &amp;lt;code&amp;gt;non-free&amp;lt;/code&amp;gt;::: &amp;lt;code&amp;gt;sudo nano /etc/apt/sources.list&amp;lt;/code&amp;gt;:: add the word &amp;lt;code&amp;gt;non-free&amp;lt;/code&amp;gt; at the end of each line:: save the file with &amp;lt;code&amp;gt;Ctrl-o&amp;lt;/code&amp;gt; and exit with &amp;lt;code&amp;gt;Ctrl-x&amp;lt;/code&amp;gt;: Install the firmware-linux-nonfree::: &amp;lt;code&amp;gt;sudo apt-get update&amp;lt;/code&amp;gt;:: &amp;lt;code&amp;gt;sudo apt-get install firmware-linux-nonfree&amp;lt;/code&amp;gt;: Then edit back apt sources.list to remove &amp;lt;code&amp;gt;non-free&amp;lt;/code&amp;gt;::: &amp;lt;code&amp;gt;sudo nano /etc/apt/sources.list&amp;lt;/code&amp;gt;:: delete the word &amp;lt;code&amp;gt;non-free&amp;lt;/code&amp;gt; at the end of each line:: save the file with &amp;lt;code&amp;gt;Ctrl-o&amp;lt;/code&amp;gt; and exit with &amp;lt;code&amp;gt;Ctrl-x&amp;lt;/code&amp;gt;:: &amp;lt;code&amp;gt;sudo apt-get update&amp;lt;/code&amp;gt;&lt;br /&gt;
: Now you need to set the correct yaboot kernel option::: &amp;lt;code&amp;gt;sudo nano /etc/yaboot.conf&amp;lt;/code&amp;gt;:: Add a line under each &amp;lt;code&amp;gt;label=...&amp;lt;/code&amp;gt; line: &amp;lt;code&amp;gt;append=&amp;quot;radeon.agpmode=-1&amp;quot;&amp;lt;/code&amp;gt; to get something like:&lt;br /&gt;
::: &amp;lt;code&amp;gt;image=/boot/vmlinux&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: &amp;lt;code&amp;gt;        label=Linux&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: &amp;lt;code&amp;gt;        append=&amp;quot;radeon.agpmode=-1&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: &amp;lt;code&amp;gt;        read-only&amp;lt;/code&amp;gt;&lt;br /&gt;
:::: &amp;lt;code&amp;gt;        initrd=/boot/initrd.img&amp;lt;/code&amp;gt;&lt;br /&gt;
:: save the file with &amp;lt;code&amp;gt;Ctrl-o&amp;lt;/code&amp;gt; and exit with &amp;lt;code&amp;gt;Ctrl-x&amp;lt;/code&amp;gt;:: Apply your modifications by executing &amp;lt;code&amp;gt;sudo ybin -v&amp;lt;/code&amp;gt;&lt;br /&gt;
: &#039;&#039;&#039;sound setup&#039;&#039;&#039; - sound seems to work out-of-the-box now, but it is muted by default, and PCM volume is set to 0...:: open a terminal window, and execute &amp;lt;code&amp;gt;alsamixer&amp;lt;/code&amp;gt;:: Press &amp;lt;code&amp;gt;F6&amp;lt;/code&amp;gt; and select &amp;lt;code&amp;gt;SoundByLayout&amp;lt;/code&amp;gt;:: Then press &amp;lt;code&amp;gt;F5&amp;lt;/code&amp;gt; and check if &amp;lt;code&amp;gt;Master&amp;lt;/code&amp;gt; is muted (MM) - if it is, select it and press &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt;. You can increase volume using &amp;lt;code&amp;gt;UP arrow&amp;lt;/code&amp;gt;:: Then scroll right and check if &amp;lt;code&amp;gt;PCM&amp;lt;/code&amp;gt; volume is set to 0. if it is, increase volume using &amp;lt;code&amp;gt;UP arrow&amp;lt;/code&amp;gt;.&lt;br /&gt;
: &#039;&#039;gfx acceleration&#039;&#039; - changing the ROM of ATI card to use the free ROM (non-compatible with MacOS)&lt;br /&gt;
===When things go wrong (and they will...)===&lt;br /&gt;
A word to the wise: We&#039;re using &#039;&#039;&#039;unstable&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
It is &#039;&#039;&#039;&#039;&#039;unstable&#039;&#039;&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A new installation on my PowerBook G4 Al (radeon) almost works just fine on first boot...&lt;br /&gt;
&lt;br /&gt;
There is someissue with LCD &#039;&#039;&#039;backlight&#039;&#039;&#039; though.&lt;br /&gt;
&lt;br /&gt;
The major bugs were fixed (I think):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795498#27:: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863438#5But there is still a small issue: After booting, screen is dark. Just press &amp;lt;code&amp;gt;Brightness UP&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;fn&amp;gt; + &amp;lt;f2&amp;gt;&amp;lt;/f2&amp;gt;&amp;lt;/fn&amp;gt;&amp;lt;/code&amp;gt; and you&#039;ll get your backlight back.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you&#039;re still having issues (screen freeze):&lt;br /&gt;
You can try to reboot with no graphics hardware:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: Switch to a &#039;&#039;&#039;Console&#039;&#039;&#039; screen (&amp;lt;code&amp;gt;F1&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;F6&amp;lt;/code&amp;gt;)::: &amp;lt;code&amp;gt;&amp;lt;ctrl&amp;gt; + &amp;lt;option&amp;gt; + &amp;lt;f1&amp;gt;&amp;lt;/f1&amp;gt;&amp;lt;/option&amp;gt;&amp;lt;/ctrl&amp;gt;&amp;lt;/code&amp;gt;: To be sure, you might need to do it again while holding the &amp;lt;code&amp;gt;&amp;lt;fn&amp;gt;&amp;lt;/fn&amp;gt;&amp;lt;/code&amp;gt; button::: &amp;lt;code&amp;gt;&amp;lt;fn&amp;gt; + &amp;lt;ctrl&amp;gt; + &amp;lt;option&amp;gt; + &amp;lt;f1&amp;gt;&amp;lt;/f1&amp;gt;&amp;lt;/option&amp;gt;&amp;lt;/ctrl&amp;gt;&amp;lt;/fn&amp;gt;&amp;lt;/code&amp;gt;: Type &amp;lt;code&amp;gt;&amp;lt;enter&amp;gt;&amp;lt;/enter&amp;gt;&amp;lt;/code&amp;gt; 3/4 time to get rid of stray characters.: (Remember, you&#039;re still in the dark - no backlight.): Now, type your &#039;&#039;&#039;Login&#039;&#039;&#039; then &amp;lt;code&amp;gt;&amp;lt;enter&amp;gt;&amp;lt;/enter&amp;gt;&amp;lt;/code&amp;gt; then &#039;&#039;&#039;Password&#039;&#039;&#039; then &amp;lt;code&amp;gt;&amp;lt;enter&amp;gt;&amp;lt;/enter&amp;gt;&amp;lt;/code&amp;gt; and wait for a couple of seconds.: (Again type &amp;lt;code&amp;gt;&amp;lt;enter&amp;gt;&amp;lt;/enter&amp;gt;&amp;lt;/code&amp;gt; 3/4 time to get rid of any potential stray characters.): Type the command to reboot your computer::: &amp;lt;code&amp;gt;sudo shutdown -r now&amp;lt;/code&amp;gt; (followed by &amp;lt;code&amp;gt;&amp;lt;enter&amp;gt;&amp;lt;/enter&amp;gt;&amp;lt;/code&amp;gt;: Enter your &#039;&#039;&#039;Password&#039;&#039;&#039; again (for sudo)&lt;br /&gt;
&lt;br /&gt;
The computer should reboot now (wait for a couple of seconds again).&lt;br /&gt;
&lt;br /&gt;
If it doesn&#039;t, that means you&#039;re not made for typing in the dark... Try again, or just power off the machine by holding the power button (for a couple of seconds).&lt;br /&gt;
&lt;br /&gt;
Now, when you get to the yaboot prompt, start with no graphics hardware:: &amp;lt;code&amp;gt;boot: Linux &#039;&#039;&#039;nomodeset&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You&#039;ll start into an ugly and unusable login screen.&lt;br /&gt;
&lt;br /&gt;
Switch now to a &#039;&#039;&#039;Console&#039;&#039;&#039; screen (&amp;lt;code&amp;gt;F1&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;F6&amp;lt;/code&amp;gt;):: &amp;lt;code&amp;gt;&amp;lt;ctrl&amp;gt; + &amp;lt;option&amp;gt; + &amp;lt;f1&amp;gt;&amp;lt;/f1&amp;gt;&amp;lt;/option&amp;gt;&amp;lt;/ctrl&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Welcome to Debian command line OS!&lt;br /&gt;
(Wireless networking works).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In case something else happens, here is a list of links that can be of help:&lt;br /&gt;
&lt;br /&gt;
[https://www.debian.org/releases/stable/powerpc/ Debian GNU/Linux Installation Guide (powerpc).]&lt;br /&gt;
&lt;br /&gt;
[https://wiki.debian.org/PowerPC/FAQ Debian powerpc port FAQ.]&lt;br /&gt;
&lt;br /&gt;
[https://lists.debian.org/debian-powerpc/ Debian powerpc mailing list.]&lt;br /&gt;
&lt;br /&gt;
[irc://irc.debian.org/debianppc Debian powerpc IRC channel (#debianppc) on OFTC IRC network.]&lt;br /&gt;
&lt;br /&gt;
[https://wiki.ubuntu.com/PowerPCKnownIssues Ubuntu PowerPC Known Issues.]&lt;br /&gt;
&lt;br /&gt;
==Overview of Debian Bug Submission/Testing/Integration Process==&lt;br /&gt;
&#039;&#039;Simple description (graphical diagram) of content from &#039;&#039; https://wiki.debian.org/HowtoUseBTS&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Installation of Development/Debugging Tools==&lt;br /&gt;
&#039;&#039;tools used for development, debugging etc... &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==popcon: show Debian community that powerpc is still actively used!==&lt;br /&gt;
&#039;&#039;this can help bringing back Debian powerpc as a release architecture&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Obtaining Source Code &amp;amp; Building From Source==&lt;br /&gt;
There are two methods for obtaining a package&#039;s source code (and probably more) in Debian. The first is to use apt and the second is to download the source directly from it&#039;s upstream location.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:: 1) Using apt-get source &lt;br /&gt;
:: 2) Downloading Source from Upstream&lt;br /&gt;
&lt;br /&gt;
==Patches==&lt;br /&gt;
&#039;&#039;Making Patches, sharing and applying them&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Packages==&lt;br /&gt;
&#039;&#039;Creating Debian packages - Conditions and rules to follow for packages to be included in Debian&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Creating ISO Images==&lt;br /&gt;
&#039;&#039;...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Debugging and Profiling==&lt;br /&gt;
&#039;&#039;...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==64-bit / 32-bit==&lt;br /&gt;
&#039;&#039;...&#039;&#039;&lt;br /&gt;
==OpenFirmware (OF) / U-Boot==&lt;br /&gt;
[https://gitlab.com/oshw-powerpc-notebook/freescale.com-ppc-u-boot/tree/master/board/freescale/t208xrdb U-Boot readme for T2080RDB] (note about the switch settings: 0 is ON and 1 is OFF) Also see [https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf NXP SDK docs]&lt;br /&gt;
&lt;br /&gt;
To build on Debian (to be verified) &lt;br /&gt;
&lt;br /&gt;
 apt-get install gcc-powerpc-linux-gnu qemu-user-static&lt;br /&gt;
&lt;br /&gt;
powerpc-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0&lt;br /&gt;
&lt;br /&gt;
 git clone https://gitlab.com/oshw-powerpc-notebook/freescale.com-ppc-u-boot.git&lt;br /&gt;
 cd freescale.com-ppc-u-boot&lt;br /&gt;
 git clone https://github.com/qoriq-open-source/fm-ucode.git&lt;br /&gt;
&lt;br /&gt;
 make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- -j33 T2080RDB_SDCARD_config&lt;br /&gt;
 make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- -j33&lt;br /&gt;
&lt;br /&gt;
install - assuming your SD card reader is /dev/disk/by-id/usb-Mass_Storage_Device_1234567890AB-0:0 (to be verified)&lt;br /&gt;
&lt;br /&gt;
Need to make space for u-boot. Default is first partition starting at sector 2048 which is slightly before end of space reserved for u-boot.&lt;br /&gt;
&lt;br /&gt;
 sfdisk /dev/disk/by-id/usb-Mass_Storage_Device_1234567890AB-0:0 &amp;lt;&amp;lt; EOF label: dos&lt;br /&gt;
 label-id: 0x00000000&lt;br /&gt;
 device: /dev/sda&lt;br /&gt;
 unit: sectors&lt;br /&gt;
 /dev/sda1 : start=        8192, size=    15325184, type=83&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
Install u-boot&lt;br /&gt;
&lt;br /&gt;
 dd if=u-boot-with-spl-pbl.bin of=/dev/disk/by-id/usb-Mass_Storage_Device_1234567890AB-0\:0 seek=8 count=2048&lt;br /&gt;
 dd if=fm-ucode/fsl_fman_ucode_t2080_r1.1_106_4_18.bin of=/dev/disk/by-id/usb-Mass_Storage_Device_1234567890AB-0\:0 seek=2080 count=128&lt;br /&gt;
&lt;br /&gt;
create filesystem on card - newest ext4 features are not supported by dated u-boot ext4 driver so use ext3&lt;br /&gt;
&lt;br /&gt;
 mkfs.ext3 /dev/disk/by-id/usb-Mass_Storage_Device_1234567890AB-0\:0-part1&lt;br /&gt;
&lt;br /&gt;
install Debian on created filesystem&lt;br /&gt;
&lt;br /&gt;
 mount /dev/disk/by-id/usb-Mass_Storage_Device_1234567890AB-0\:0-part1 /mnt&lt;br /&gt;
 debootstrap --arch=powerpc --foreign --include linux-image-powerpc64,isc-dhcp-client oldstable /mnt/&lt;br /&gt;
 cp /usr/bin/qemu-ppc-static /mnt/usr/bin/qemu-ppc-static&lt;br /&gt;
 chroot /mnt&lt;br /&gt;
 debootstrap/debootstrap --second-stage&lt;br /&gt;
 passwd&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
Configure u-boot on SD card - this is underdocumented so YMMV&lt;br /&gt;
&lt;br /&gt;
 mkdir /mnt/boot/extlinux&lt;br /&gt;
 cat &amp;gt;/mnt/boot/extlinux/extlinux.conf &amp;lt;&amp;lt;eof &lt;br /&gt;
 TIMEOUT 100&lt;br /&gt;
 DEFAULT default&lt;br /&gt;
 MENU TITLE Boot menu &lt;br /&gt;
&lt;br /&gt;
 LABEL default        MENU LABEL Default        LINUX /vmlinuz        INITRD /initrd.img        APPEND root=/dev/mmc0p1 ro console=tty0 console=ttyS0,115200n8 &lt;br /&gt;
&lt;br /&gt;
 LABEL old        MENU LABEL old        LINUX /vmlinuz.old        INITRD /initrd.img.old        APPEND root=/dev/mmc0p1 ro console=tty0 console=ttyS0,115200n8 &lt;br /&gt;
&lt;br /&gt;
 LABEL exit        MENU LABEL Local boot script (boot.scr)        LOCALBOOT 1 &lt;br /&gt;
&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/eof&amp;gt;&lt;br /&gt;
==Building Your Own Custom Kernel==&lt;br /&gt;
&#039;&#039;...&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Altivec - PowerPC Secret Weapon==&lt;br /&gt;
&#039;&#039;...&#039;&#039;&lt;br /&gt;
==Drivers==&lt;br /&gt;
&#039;&#039;...&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Rt1k</name></author>
	</entry>
</feed>