Reply
Thread Tools
Posts: 191 | Thanked: 415 times | Joined on Jan 2012
#1
I prepared a card image of debian jessie to try on the N900. I am posting the torrent here for those willing to have some fun with it :-)

This is a minimal image, and not meant to be production-ready, but I find it worth a look.

The image is to be flashed to a 2Gb+ micro SD card:
Code:
xzcat jessie.dd.xz > /dev/sdX
where sdX is your device. This will destroy the contents on the card!

The image uses upstream linux 3.12 kernel from
Code:
git://gitorious.org/linux-n900/linux-n900.git
with branch
Code:
v3.12-rc5-n900
Check http://elinux.org for the current kernel status.

To boot, Pali's u-boot is required. Use the following file in
Code:
/etc/bootmenu.d
Code:
ITEM_NAME="debian jessie @ SD"
ITEM_KERNEL="uImage"
ITEM_INITRD="uInitrd"
ITEM_DEVICE="${EXT_CARD}p1"
ITEM_FSTYPE="vfat"
ITEM_OMAPATAG="1"
ITEM_CMDLINE="root=/dev/mmcblk0p2 rootwait vram=12M console=tty0 quiet"
Then run
Code:
u-boot-update-bootmenu
and if all goes well, you can reboot and choose debian at the menu.

It boots to the console and there is only the root user. The password is
Code:
rootme
By executing
Code:
startx
you can start enlightenment. Choosing the mobile profile gives a nice touch friendly interface.

You can load the n900 keyboard tweaks from the Arch Linux thread with
Code:
loadkeys /usr/share/keymaps/rx51_us.map
In that thread there is even a map of the keyboard http://talk.maemo.org/showpost.php?p...&postcount=205

To quickly connect to wifi, use the following:
Code:
wpa_supplicant -B -i interface -c <(wpa_passphrase MYSSID passphrase)
dhclient wlan0 &
When you are satisfied, you may proceed to network configuration in
Code:
/etc/network/interfaces
or using the network manager of choice.

I am thankful to the authors of all the pieces that have been used here to make this possible!

Have fun ;-)

thread hilights:
* for keyboard led, see post 53
* for battery info, see post 54
* to chroot into maemo, see post 57
* to set keyboard under X, see post 58
* kernel 3.16.0-rc1 on post 99; instructions on post 98
Attached Images
  
Attached Files
File Type: zip n900-jessie.zip (31.8 KB, 560 views)

Last edited by caveman; 2014-06-18 at 17:33. Reason: added refs to further info on later posts/fix u-boot config
 

The Following 36 Users Say Thank You to caveman For This Useful Post:
Boemien's Avatar
Posts: 770 | Thanked: 558 times | Joined on Mar 2010 @ Abidjan
#2
Thanks for your efforts and your work. I'm going to have more informations about debian jessie and test this image. I will post my feedbacks or problems!
__________________
If you find this post useful for you, or for another member, just hit the Thanks! button
 

The Following User Says Thank You to Boemien For This Useful Post:
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#3
Thanks. I've been working on something similar. I plan to release some helper scripts very soon that will make it easy for anyone to bootstrap and customise their own Debian Jessie system with a recent kernel. I hope that eventually Debian will be a real alternative to Maemo. I'll be sure to check out your image to see what you've done and if there's anything useful I can use in my scripts.
__________________
DebiaN900 - Native Debian on the N900. Deprecated in favour of Maemo Leste.

Maemo Leste for N950 and N9 (currently broken).
Devuan for N950 and N9.

Mobile devices with mainline Linux support - Help needed with documentation.

"Those who do not understand Unix are condemned to reinvent it, poorly." - Henry Spencer
 

The Following 11 Users Say Thank You to wicket For This Useful Post:
nokiabot's Avatar
Posts: 1,974 | Thanked: 1,834 times | Joined on Mar 2013 @ india
#4
Some screenshots will do great
 

The Following 2 Users Say Thank You to nokiabot For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#5
Originally Posted by wicket View Post
I hope that eventually Debian will be a real alternative to Maemo.
I appreciate your work and like your optimism, so not mean to discourage at all... But as history of such efforts have shown, I'm afraid that, if we add up all the bits to have Maemo-comparable battery usage in Debian-like system (thus, implementing power-saving features and rules) - not to mention such "fancy" things like phone functionality - we will end up with something like Mer. Realizing, that we've re-created work that others did already, years ago.

One of the Mer developers just told me, once (in another "Debian-as-alternative-to-Maemo" thread), that it starts with patch to ignore screen input when locked. Then, it proceeds to actually shutting down touchpad (which eats lotta hell of power, if compared to really idle standby), not only ignoring it. Then you add... And, after months of work what started as mainstream any-distro on N900/whatever device, becomes a patched together frankenstein, or, at best, a Mer clone.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
wicket's Avatar
Posts: 634 | Thanked: 3,266 times | Joined on May 2010 @ Colombia
#6
Originally Posted by Estel View Post
I appreciate your work and like your optimism, so not mean to discourage at all... But as history of such efforts have shown, I'm afraid that, if we add up all the bits to have Maemo-comparable battery usage in Debian-like system (thus, implementing power-saving features and rules) - not to mention such "fancy" things like phone functionality - we will end up with something like Mer. Realizing, that we've re-created work that others did already, years ago.

One of the Mer developers just told me, once (in another "Debian-as-alternative-to-Maemo" thread), that it starts with patch to ignore screen input when locked. Then, it proceeds to actually shutting down touchpad (which eats lotta hell of power, if compared to really idle standby), not only ignoring it. Then you add... And, after months of work what started as mainstream any-distro on N900/whatever device, becomes a patched together frankenstein, or, at best, a Mer clone.

/Estel
If I wanted Mer I would be using and contributing to Nemo. Whilst I appreciate the work that the Mer team have put into their project, I'm afraid it's not an acceptable solution for my usage. The beauty of Debian is that it's very modular and components can easily be swapped out with an "apt-get install". Try running an init system other than systemd on Mer. It can be done but not without porting effort and even so, I doubt it they would accept it as part of their project as they intentionally have a very specific base system. Mer is also plagued by being business-focused which means they stick to outdated GPLv2 packages to allow vendors to Tivoise their products. Not to mention the array of software that Debian has accumulated over the years which you will never see in Mer.

I realise there will be many patches involved to achieve the power saving performance of Maemo but I don't see why it has to be a Frankenstein. Focusing on a specific Debian release means that it will be far less of a Frankenstein than the Etch+Lenny+Squeeze monster we like to refer to as Fremantle.

The Debian effort will be far from a Mer clone. We may have to recreate a lot of the work that others have done in Mer but it will be worthwhile in the end in order have a mobile operating system that excels where Mer and Maemo don't.
__________________
DebiaN900 - Native Debian on the N900. Deprecated in favour of Maemo Leste.

Maemo Leste for N950 and N9 (currently broken).
Devuan for N950 and N9.

Mobile devices with mainline Linux support - Help needed with documentation.

"Those who do not understand Unix are condemned to reinvent it, poorly." - Henry Spencer
 

The Following 13 Users Say Thank You to wicket For This Useful Post:
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#7
Seeders? Or direct download link?
--------
How you did this image? How about adding user-account, autostarting X, and keymap (things mentioned on first post)? I know it will still not be production-ready, but little closer.

I see lot of potential of this (more than my latest attempt to seriously update Fremantle: http://talk.maemo.org/showthread.php?t=91709).

--------
Can I use repartitioned internal flash instead of card? (No spare cards on hands.)
--------
 

The Following 10 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 1,203 | Thanked: 3,027 times | Joined on Dec 2010
#8
Does qt5 work with touch and hw keyboard? If so I could be really interested here.

Aapo: Maybe you could try building hildon or qildon using this image. See how much fremantle stuff can be shoe-horned into jessie as opposed to trying to shove jessie into fremantle.

As its targeting a specific debian release, why not make it its own release instead of trying to keep 100% compatible with fremantle. We now have mce and bme replacements. Replacement apps in qt4 should be easy to port to qt5. microbe was based off sailfish-browser, so that can easily be changed to qt5. FMG, Pail and co. have been working on upstream kernel.

Maybe even swap in connman.

Last edited by Android_808; 2014-05-29 at 14:22.
 

The Following 6 Users Say Thank You to Android_808 For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#9
Originally Posted by wicket View Post
If I wanted Mer I would be using and contributing to Nemo. Whilst I appreciate the work that the Mer team have put into their project, I'm afraid it's not an acceptable solution for my usage. The beauty of Debian is that it's very modular and components can easily be swapped out with an "apt-get install".
Incidentally, it's my situation, as well I just lost hope for a N900'ized Debian long time ago, amongst ashesh of plentora of projects that were left unfinished, due to overhelming amount of work needed, and to few hands willing (or able, skill-wise) to do the job.

Anyway, if it would ever happen, I would be very, very glad. Count me in for any testing, or anything else that I'm not short on knowledge, for

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following User Says Thank You to Estel For This Useful Post:
Posts: 2,076 | Thanked: 3,268 times | Joined on Feb 2011
#10
Would also be interested in booting/testing from internal, mmc currently in use in Jolla. (and count me in if you need testers or other low skilled helpers)
 

The Following User Says Thank You to szopin For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:03.