View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#15
I've searched everywhere, but I have to improvise now because I cannot figure out what to do about this.

I have decided to use the 0xFFFF flasher since it is free software, but there are barely any detailed instructions for flashing images to the N900 eMMC and rootfs, step by step. It seems to have support for most of the functions of flasher-3.5, except coldflash. And I can always use flasher-3.5 to "debrick" if I need to...

What I am trying to do is learn about this zImage and Fiasco format business. I am trying out SHR-Core, because the page here:

http://elektranox.org/n900/kernel/uboot.html

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
Anyway, I like the bit of criticism: "The Maemo guys ****ed up again." Haha! But I forgive you guys.

While I was playing around, thanks to the Maemo and FSO Wiki, I was able to learn about R&D mode, and I enabled that along with some flags. Now I don't have to hold down the power button anymore, yay.

I'm on a leg now, deciding if I want to try SHR or FSO (Debian) on the N900. I will probably try SHR first and possibly figure out how to dual-boot the Debian OS later.

I want to replace the bootloader (is it stored in rootfs or NAND?) with Das U-Boot, firstly, then I want it to boot a kernel that works for both FSO and SHR. Otherwise, I can use a zImage (which is used with kexec, right?) and boot up a custom kernel for each OS, stored in its own "image" (I think that's how this works).

My question is, how do I do this to eMMC and rootfs? Not to the SD Card. Can I just download a .jffs2 file from SHR-Core and flash that? Or is this process more complex as I expect it to be?

I'm guessing Maemo guys won't help me anymore on this endeavour?