[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.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos: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 | howtos:hardware:arm:olinuxinoa10s [2014/07/28 04:41 (UTC)] (current) – balky | ||
---|---|---|---|
Line 3: | Line 3: | ||
This document can also be found at [[http:// | This document can also be found at [[http:// | ||
+ | |||
+ | NOTE: The documentation below needs updating. I recommend that you use the link I've just given above as it leads to updated documentation. I'll have the text below updated when time permits. | ||
+ | |||
====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. | ||
Line 33: | Line 36: | ||
< | < | ||
# git checkout 9ee9fc5f0988df5677f0f142b5b88a8988d283d7</ | # git checkout 9ee9fc5f0988df5677f0f142b5b88a8988d283d7</ | ||
+ | * Do a "make clean": | ||
+ | < | ||
+ | # make clean</ | ||
* Download a10s_defconfig: | * Download a10s_defconfig: | ||
< | < | ||
Line 44: | Line 50: | ||
< | < | ||
* HINT: If you're having problems with Logitech wireless keyboards and mice, don't build the following (for Linux 3.4.61): | * HINT: If you're having problems with Logitech wireless keyboards and mice, don't build the following (for Linux 3.4.61): | ||
- | * Under Kernel Configuration, | ||
* Device Drivers-> | * Device Drivers-> | ||
* HINT: To verify OTG is enabled(for Linux 3.4.61): | * HINT: To verify OTG is enabled(for Linux 3.4.61): | ||
Line 57: | Line 62: | ||
* Device Drivers-> | * Device Drivers-> | ||
* 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 http:// | + | * Download the patch hcd_axp-md.patch from http:// |
< | < | ||
# wget http:// | # wget http:// | ||
Line 154: | Line 159: | ||
* Then copy the kernel uImage to the first filesystem of the micro SD card. | * Then copy the kernel uImage to the first filesystem of the micro SD card. | ||
< | < | ||
- | * Copy the script.bin file in / | + | * Copy the script.bin file in / |
- | * Or iff you need to compile your own script.bin, you can get the fex files here in a scripts_A10s.7z archive: | + | * Or iff you need to compile your own script.bin, you can get the fex files here in a scripts_A10s.7z archive: https:// |
* Unmount / | * Unmount / | ||
< | < | ||
Line 161: | Line 166: | ||
< | < | ||
# mount /dev/sdX2 / | # mount /dev/sdX2 / | ||
- | * Extract the Slackware ARM 14.0 mini root filesystem in / | + | * Extract the Slackware ARM 14.0 mini root filesystem in / |
* Delete all contents of / | * Delete all contents of / | ||
- | * Extract this file in / | + | * Extract this file in / |
* Proceed to copy the generated kernel modules (" | * Proceed to copy the generated kernel modules (" | ||
* If the / | * If the / |