So far, most of this is from https://wiki.debian.org/CrossToolchains.
Add the Debian Cross-toolchains Repository
Create the file /etc/apt/sources.list.d/crosstools.list
with the following contents:
deb http://emdebian.org/tools/debian/ jessie main
deb-src http://emdebian.org/tools/debian/ jessie main
curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | sudo apt-key add -
sudo dpkg --add-architecture armhf
sudo apt-get update
apt-get install build-essential crossbuild-essential-armhf cross-gcc-dev \
g++-arm-linux-gnueabihf gcc-arm-linux-gnueabihf nasm
If you get an error like:
Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
Then modify the relevant file(s) in /etc/apt/sources.list.d/ by adding [arch=amd64]
between deb
and the repo URI — changing arm64
to your actual architecture if necessary.
For example, given:
deb https://software.fancy/debian jessie main
Change it to read:
deb [arch=amd64] https://software.fancy/debian jessie main
I'm working on it.
-
This repository contains the open source packages and patches that are used on the Kobo Reader and Kobo Desktop applications.
documentation/ Some general documentation. build/ This contains the scripts necessary to create a working development environment. config/ This contains the configuration script that Kobo uses to build Qt for embedded devices. fickel/ This contains the source code for a daemon process that dispatches events from iwlib to a named pipe that the Kobo Wireless Reader listens on. hw/ This contains the source code for the Linux kernel and U-Boot used on the family of Kobo Readers. packages/ This contains the source code for the application stack used to support to the Kobo Reader and Kobo Desktop applications patches/ This contains the patches to the packages to get them to compile on ARM, OS X, Windows, etc.. examples/ This contains Video Poker and Blackjack - the easter eggs found on the Kobo Reader family. poser/ This is a small interposing library used to sniff ioctl’s. Kobo used this to reverse engineer some of the Netronix EB600em API in times when documentation was sparse. -
drj11/kobonotes — Hacking the Kobo Mini
Cross compiling for arm7.
sudo apt-get install gcc-arm-linux-gnueabi arm-linux-gnueabi-gcc foo.c
For compiling node (which uses floating point):
export AR=arm-linux-gnueabihf-ar export CC=arm-linux-gnueabihf-gcc export CXX=arm-linux-gnueabihf-g++ export LINK=arm-linux-gnueabihf-g++ ./configure --prefix kobonode --without-snapshot --dest-cpu=arm --with-arm-float-abi=hard # make && make install # (you'll need to hack the #! line for npm)
-
GitHub - dropmeaword/kobo-aura-remote — Enable remote access on a Kobo Aura eReader