View Single Post
Posts: 1,225 | Thanked: 1,905 times | Joined on Feb 2011 @ Quezon City, Philippines
#25
Originally Posted by mrrhq View Post
I followed these instructions, but I am stuck on the make process. I have checkedout, patched and ran the make nokia_rx51_config command. But when I type make I get this error:

Code:
strip mkimage
make[1]: Leaving directory `/home/mrrhq/src/u-boot/tools'
make -C examples/standalone all
/bin/bash: arm-linux-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
make[1]: arm-linux-gcc: Command not found
make[1]: Entering directory `/home/mrrhq/src/u-boot/examples/standalone'
/bin/sh: 1: arm-linux-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
arm-linux-gcc  -g  -Os   -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/home/mrrhq/src/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem  -p
ipe  -DCONFIG_ARM -D__ARM__         -march=armv5 -Wall -Wstrict-prototypes    \                                                                                                                       -o hello_world.o hello_world.c -c
make[1]: arm-linux-gcc: Command not found
make[1]: *** [hello_world.o] Error 127
make[1]: Leaving directory `/home/mrrhq/src/u-boot/examples/standalone'
make: *** [examples/standalone] Error 2
Get a cross compiler with the tuple arm-linux-, or simply build it on-device using Easy-Debian.

try to "Linuxify"[*] Maemo as much as I can, while keeping the useful bits (e.g. being able to make a call).
The N900 already sort-of-works without OHMD and BME. Power management is awful though (you may want to try newer, 3.x series kernels to get slightly better PM)

If I were you, I'd build a buildmachine VM with armhf-linux- cross-compilers on the latest GCC, be able to compile 2.6.37 from scratch, and start a rootfs from a distro with lots of compiled packages for armhf (see: Debian and Ubuntu)

The Mer 2.6.37 kernel for the N900 works well enough. GTK2 is old but still works, and you could work on fixing up Hildon for newer GTK2 versions (refer to Cordia and CSSU, I guess), and throw it up on a repo.

Telephony works via Ofono while Bluetooth and WiFi work via standard Linux stuff. Audio to the loudspeakers should work via standard ALSA.

Use the lock slide as a shortcut to turn off the screen. This may be complicated, and require some sort of DBus integration or a custom daemon. This should give you a few extra hours of battery life.

I guess further down the line, you can give yourself more freedom by building packages specifically for the N900 using some sort of buildmachine.
__________________
N9 PR 1.3 Open Mode + kernel-plus for Harmattan
@kenweknot, working on Glacier for Nemo.

Last edited by Hurrian; 2012-08-02 at 12:06.