![]() |
debian jessie image for N900
3 Attachment(s)
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 The image uses upstream linux 3.12 kernel from Code:
git://gitorious.org/linux-n900/linux-n900.git Code:
v3.12-rc5-n900 To boot, Pali's u-boot is required. Use the following file in Code:
/etc/bootmenu.d Code:
ITEM_NAME="debian jessie @ SD" Code:
u-boot-update-bootmenu It boots to the console and there is only the root user. The password is Code:
rootme Code:
startx You can load the n900 keyboard tweaks from the Arch Linux thread with Code:
loadkeys /usr/share/keymaps/rx51_us.map To quickly connect to wifi, use the following: Code:
wpa_supplicant -B -i interface -c <(wpa_passphrase MYSSID passphrase) Code:
/etc/network/interfaces 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 |
Re: debian jessie image for N900
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! :D
|
Re: debian jessie image for N900
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.
|
Re: debian jessie image for N900
Some screenshots will do great :)
|
Re: debian jessie image for N900
Quote:
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 |
Re: debian jessie image for N900
Quote:
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. |
Re: debian jessie image for N900
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.) -------- |
Re: debian jessie image for N900
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. |
Re: debian jessie image for N900
Quote:
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 |
Re: debian jessie image for N900
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)
|
Re: debian jessie image for N900
Is there a way to set up u-boot without flashing? I have a broken USB port and thus can't flash a new kernel.
|
Re: debian jessie image for N900
Quote:
|
Re: debian jessie image for N900
Quote:
|
Re: debian jessie image for N900
Quote:
If I get the image I can provide a quite stable though slow seed. |
Re: debian jessie image for N900
Quote:
:p |
Re: debian jessie image for N900
Quote:
The most important tweaks are the keyboard configuration, X calibration and choice of packages. Of course, the devil is in the details, so to make a script to create a really tweaked system ready for use requires a lot of work. |
Re: debian jessie image for N900
Quote:
|
Re: debian jessie image for N900
Quote:
Quote:
http://talk.maemo.org/showpost.php?p...2&postcount=14 and https://wiki.debian.org/n900-wheezy-armhf Regarding the lack of configuration, that was intentional, so as to make clear that this is not a end-user image. Nonetheless: * to add a user account user, adduser <username> and add the user to goups audio, video, netdev and plugdev * to have X autostart, apt-get install a display manager such as slim * the keymap is configured, but a loadkeys is required to load the arch-thread version of the keymap, which I like a lot but is non-standard. This can easily be automated by placing the command in /etc/rc.local. Quote:
Maybe a thumb-patched nemo kernel would even be used to run hildon in a chroot. Quote:
|
Re: debian jessie image for N900
Quote:
|
Re: debian jessie image for N900
I will try to make this link available for a few days:
https://187.115.25.181/public/n900/jessie.dd.xz |
Re: debian jessie image for N900
Quote:
https://db.tt/UvPwWoUm |
Re: debian jessie image for N900
I didn't yet get this working. I have one major problem with booting and couple on details.
I have one ext2-partition for jessie on my internal card: /dev/mmcblk0p4 I downloaded and mounted jessie.dd on my computer and this is what I got: Code:
fdisk -l jessie.dd Then I installed u-boot (package name u-boot-flasher), do I need something more? Then created item: Code:
echo 'ITEM_NAME="debian jessie" Reboot with keyboard open and I can see penguin-menu, very same than on first post on U-boot thread http://talk.maemo.org/showthread.php?t=81613 (but version number is 2013.04). So where is my jessie-entry? ----- I compiled kernel from v3.12-rc5-n900 branch (with your instructions: http://talk.maemo.org/showpost.php?p...2&postcount=14). And I got uImage generated with mkimage (help with u-boot -thread #1). How will I generate initrd.img-3.12.0-rc5+ and uInitrd? ------- I tried 'debootstrap jessie' on Maemo, but it won't work because dpkg is too old. At least libaudit is compressed with xz and it needs something like dpkg-0.8.13.1 (and maemo5 has 0.7.20.2maemo13.1). Do you get workaround for that? I run 'debootstrap -foreign' on ubuntu computer and then planning to run 'debootstrap/debootstrap --second-stage' on N900, but chroot gives "too old kernel" or "Exec format error". Do you have workaround for that? |
Re: debian jessie image for N900
Quote:
Quote:
Quote:
Quote:
Code:
update-initramfs -k 3.12.0-rc5+ -c Quote:
So why not stay in wheezy? Because e17 with illume is available in jessie, and in my view this is the most touch friendly option we have atm. That being said, I built the jessie image using another arm device. A rooted android phone or tablet with external card should do the job. I used a cubieboard. In the end, that's why I published the image, as there are several annoying details to overcome. |
Re: debian jessie image for N900
Still uboot -problem:
(Yes, this is my first time to use u-boot) 1) I wrote jessie.dd to the SD-card. (with 'fdisk -l' I can verity this step worked) 2) installed u-boot-flasher which also installs u-boot-tools. (I also installed and then removed bootmenu, can it affect? ) 3) Created file: /etc/bootmenu.d/10-jessie.item with content from post#1 (using ssh copy-paste -> no typos) 4) run u-boot-update-bootmenu, full log: Code:
Adding bootmenu entry for: 'Maemo 5 with attached kernel 2.6.28-omap1 (Internal Nand)' Code:
strings /home/user/MyDocs/bootmenu.scr 5) reboot with keyboard open -> uboot-menu without jessie-entry: There are these five entries: *Attached kernel *Internal eMMC *External SD Card *U-boot boot order *U-boot console What I'm missing? [EDIT] I found that maemo5 can't mount ext4 partition on jessie.dd. So could this be an issue? (even u-boot supports ext4). [/EDIT] |
Re: debian jessie image for N900
Formating fat partition probably solve this issue. Check u-boot thread and similar problems: http://213.128.137.28/showpost.php?p...&postcount=618
|
Re: debian jessie image for N900
Quote:
Code:
#backup MyDocs (if needed) |
Re: debian jessie image for N900
Next problem:
Now I have jessie on my bootmenu, but choosing it doesn't work. (With ubuntu computer) I downloaded jessie.dd.xz and uncompressed it. Then attached SD-card and checked what device it is. Run: Code:
sudo dd if=jessie.dd of=/dev/mmcblk0 Attached SD-card and booted keyboard closed. Checked that first partition of SD card got automounted "/dev/mmcblk1p1 on /media/mmc1" and it contains files "initrd.img-3.12.0-rc5+ uImage uInitrd". Note: it is /dev/mmcblk1p1. Is this wrong? What I can do for it? Second partition (/dev/mmcblk1p2) can't be mounted because it is ext4 (and default kernel doesn't support ext4, I think). Is this critical? Booted keyboard open and selected jessie on bootmenu, but it ends: Code:
mmc0 is current device |
Re: debian jessie image for N900
Maybe just typo now?
In bootmenu.scr you wrote /boot/uImage and in above post just /uImage? Double check that. About mmcblk: in the bootmenu mmcnum0 is the SD card and mmcnum1 is eMMC device. In the config entries you should use ${EXT_CARD} to avoid confusion. |
Quote:
I suggest you install kp52 for two reasons: you will be able to validate your u-boot setup and it has support for ext4. In a previous post you had an item file pointing to the emmc partition. Have you reverted that back to vfat on the sd? |
Re: debian jessie image for N900
Hello Aapo, I had the same problem (** Unable to read file /boot/uInitrd) and it took me hours to see that uInitrd and other files wasn't in folder /boot.
So mkdir boot and then mv files in boot dir. Hope this helps.:) |
Re: debian jessie image for N900
Quote:
-> I got it running. |
Re: debian jessie image for N900
Quote:
It was a pleasure to be able to help you. |
Re: debian jessie image for N900
Next problem (I'm feeling newbie again):
I can't connect to wifi. I'm trying to connect open access point. I thought that this will work: Code:
iwconfig wlan0 essid ESSID (connman or wpa_supplicant maybe?) |
Quote:
See http://www.aboutcher.co.uk/2012/07/l...-reason-codes/ |
Re: debian jessie image for N900
Quote:
I don't know how to disable wifi power save. I can guess: 'iwconfig wlan0 txpower fixed', close enough? wifi firmware log is somewhere on dmesg right? As I first tried without X, I didn't figure how to produce pipe or redirect output (| and >). Should firmware get started automatically? But somehow I get it connected and ssh running. Now I'm afraid to reboot device. -------- I'm so excited about this. I'm planning something like this: Add to /etc/apt/sources.list Code:
deb-src http://repository.maemo.org/ fremantle/sdk free Code:
apt-get source libhildon1 I'm open for comments. ---- Another idea (which is not yet working): add your secret nokia-binaries-key to the /etc/apt/sources.list Code:
deb http://repository.maemo.org/ fremantle/SECRET nokia-binaries Code:
apt-get install X http://wiki.maemo.org/Fremantle_closed_packages But apt-get update encounter error, because it is looking for http://repository.maemo.org/dists/fremantle/SECRET/nokia-binaries/binary-armhf/Packages but file on the server is http://repository.maemo.org/dists/fremantle/SECRET/nokia-binaries/binary-armel/Packages (verified with wget) This armhf is not part of the deb-row, so is it resolved runtime, maybe by dpkg-architecture? So how to spoof it? (I haven't yet tested is there any possibility they could work at all) |
Re: debian jessie image for N900
Quote:
Quote:
|
Re: debian jessie image for N900
Quote:
Code:
iwconfig wlan0 power off Quote:
Quote:
Quote:
Quote:
Code:
dpkg --add-architecture armel |
Re: debian jessie image for N900
Quote:
Jessie's glibc has 2.6.32 hardcoded (i.e. not just a debian dependency) as a minimum requirement. So if you want to run a Jessie glibc on top of Maemo's 2.6.28 kernel you need to patch and recompile the glibc sources. [1] The result apparently works but since I have done only very basic testing in Easy Debian I can't tell if there are any subtle problems I just didn't see. [1] http://talk.maemo.org/showpost.php?p...postcount=3030 |
Re: debian jessie image for N900
I would stick with upstream n900 kernel. fmg pointed me to the patch for the driver which contains test instructions for using ofono. I would use that along with a replacement "phone" app to remove more of the closed apps.
|
Re: debian jessie image for N900
Now my wireless are connecting easily without tricks (iwconfig essid + dhclient), don't know what happened.
What is the preferred way to get same MAC-adddress on every boot? ----------------------------- I also think that now is the moment to drop maemo's 2.x kernel. Do we have gles-driver which work with new kernel? What is the way (in the meantime) use software openGL? E.g. I tested glxgears from mesa-utils, I have installed libgl1-mesa-glx and glx-alternative-mesa, but no success: Code:
Error: couldn't get an RGB, Double-buffered visual Code:
name of display: :0 By the way: This is dmesg, just after boot http://paste.ubuntu.com/7581763/ There are couple of things I would like to point for somebody deep in kernel (even they are not show-stoppers yet): Code:
row 105: -------- I'm using 'user' -account, and I can startx and then over ssh start e.g. DISPLAY=:0 xterm When I try startx over ssh, it doesn't work: Code:
X: user not authorized to run the X server, aborting. |
All times are GMT. The time now is 20:13. |
vBulletin® Version 3.8.8