[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howtos:hardware:arm:olinuxinoa10s [2013/11/07 05:46 (UTC)] – [Setup of development environment] balkyhowtos:hardware:arm:olinuxinoa10s [2013/11/11 03:04 (UTC)] – [Compiling the kernel (Copied from http://olimex.wordpress.com/2013/06/19/building-linux-for-a10s-from-scratch/ and http://olimex.wordpress.com/2013/10/28/building-debian-sd-card-for-linux-with-kernel-3-4-from-scratch-for-a10s-olinuxino-micro/ with some m balky
Line 4: Line 4:
 This document can also be found at [[http://www.malaya-digital.org/setting-up-slackware-arm-14-0-on-the-olinuxino-a10s-from-scratch/]] This document can also be found at [[http://www.malaya-digital.org/setting-up-slackware-arm-14-0-on-the-olinuxino-a10s-from-scratch/]]
 ====Setup of development environment==== ====Setup of development environment====
- * Create a VirtualBox VM for Debian 7.2.0 i386. I allocated 1024MB of RAM to it. As for the virtual hard drive space, I allocated 8GB. I also recommend that you disable audio support for the VM. +  * Create a VirtualBox VM for Debian 7.2.0 i386. I allocated 1024MB of RAM to it. As for the virtual hard drive space, I allocated 8GB. I also recommend that you disable audio support for the VM. 
- * Download the Net Install ISO image for Debian 7.2.0 i386. Boot the mentioned ISO in the VirtualBox VM you've created. I used the "Install" option in the installer boot menu. +  * Download the Net Install ISO image for Debian 7.2.0 i386. Boot the mentioned ISO in the VirtualBox VM you've created. I used the "Install" option in the installer boot menu. 
- * This set of instructions will work with everything deselected under "Software selection." You may select software to your taste during installation. +  * This set of instructions will work with everything deselected under "Software selection." You may select software to your taste during installation. 
- * After the installation, the guest OS will automatically get an IP Address via DHCP. +  * After the installation, the guest OS will automatically get an IP Address via DHCP. 
- * As root in your guest OS:+  * As root in your guest OS:
 <code># apt-get update <code># apt-get update
 # apt-get upgrade</code> # apt-get upgrade</code>
- * Install OpenSSH client and server software as root in your guest OS if this will make file transfers and access to your development environment convenient for you:+  * Install OpenSSH client and server software as root in your guest OS if this will make file transfers and access to your development environment convenient for you:
 <code># apt-get install openssh-client openssh-server</code> <code># apt-get install openssh-client openssh-server</code>
   * As root in your guest OS:   * As root in your guest OS:
Line 18: Line 18:
 # wget https://launchpad.net/linaro-toolchain-binaries/trunk/2013.01/+download/gcc-linaro-arm-linux-gnueabihf-4.7-2013.01-20130125_linux.tar.bz2 # wget https://launchpad.net/linaro-toolchain-binaries/trunk/2013.01/+download/gcc-linaro-arm-linux-gnueabihf-4.7-2013.01-20130125_linux.tar.bz2
 # tar xjfv gcc-linaro-arm-linux-gnueabihf-4.7-2013.01-20130125_linux.tar.bz2</code> # tar xjfv gcc-linaro-arm-linux-gnueabihf-4.7-2013.01-20130125_linux.tar.bz2</code>
- * Add toolchain directory to $PATH in your guest OS(You may want to add this to /etc/profile . Appending it will do.):+  * Add toolchain directory to $PATH in your guest OS(You may want to add this to /etc/profile . Appending it will do.):
 <code>export PATH=/root/gcc-linaro-arm-linux-gnueabihf-4.7-2013.01-20130125_linux/bin:$PATH</code> <code>export PATH=/root/gcc-linaro-arm-linux-gnueabihf-4.7-2013.01-20130125_linux/bin:$PATH</code>
- * Restart your guest OS as root:+  * Restart your guest OS as root:
 <code># shutdown -r now</code> <code># shutdown -r now</code>
 ====Compiling the kernel (Copied from http://olimex.wordpress.com/2013/06/19/building-linux-for-a10s-from-scratch/ and http://olimex.wordpress.com/2013/10/28/building-debian-sd-card-for-linux-with-kernel-3-4-from-scratch-for-a10s-olinuxino-micro/ with some modifications)==== ====Compiling the kernel (Copied from http://olimex.wordpress.com/2013/06/19/building-linux-for-a10s-from-scratch/ and http://olimex.wordpress.com/2013/10/28/building-debian-sd-card-for-linux-with-kernel-3-4-from-scratch-for-a10s-olinuxino-micro/ with some modifications)====
Line 57: Line 57:
         * Device Drivers->Network device support->Ethernet driver support-><*> Allwinner Ethernet MAC support         * Device Drivers->Network device support->Ethernet driver support-><*> Allwinner Ethernet MAC support
   * Note that before compiling kernel, you have to patch it:   * Note that before compiling kernel, you have to patch it:
-    * Download the patch hcd_axp-md.patch from <a href="http://www.malaya-digital.org/hcd_axp-md.patch">http://www.malaya-digital.org/hcd_axp-md.patch</a>:+    * Download the patch hcd_axp-md.patch from http://www.malaya-digital.org/hcd_axp-md.patch:
 <code># cd ~/linux-sunxi/ <code># cd ~/linux-sunxi/
 # wget http://www.malaya-digital.org/hcd_axp-md.patch</code> # wget http://www.malaya-digital.org/hcd_axp-md.patch</code>
 howtos:hardware:arm:olinuxinoa10s ()