![]() |
Debian "squeeze" Image easy installer
Hello,
here is an easy installer which installs a bootstraped Debian "squeeze" Image on the internal flash (which will wipe MyDocs!) https://github.com/DennisHeine/DebianOnN900 to set your wifi access data, edit /etc/wpa_supplicant/wpa_supplicant.cfg from within maemo (simply mount /dev/mmcbll0p1 somewhere) root password is changeit Flaws: screen callibration is missing (you have to run set.sh manually from a terminal) no phone is installed no network manager is installed fn-key not mapped yet windowmanager is not autostarting I'm currently working on an updated version to get those fixed. Hope you like it, Dennis |
Re: Debian "squeeze" Image easy installer
Support for Squeeze ended 3 years ago (5 if you consider, that LTS does not cover anything beyond x86). Is there a reason why you don't use a more recent release?
If you still want to chroot into the system from Maemo, then you should be able to use Jessie after patching glibc. [1] I can provide you patched packages. If you don't care for chroot, I'd suggest to go straight to to Buster. You may also want to consider contacting @wicket, who ran a pretty similar project called DebiaN900, but abandoned it in favor of the Maemo Leste project, which you should have a look at. btw: The N900 supports armhf, it's just Nokia's stock kernel for Fremantle that doesn't - "kernel power" does. [1] https://talk.maemo.org/showpost.php?...postcount=3138 |
Re: Debian "squeeze" Image easy installer
maybe i'm going to do that next, but i will have to finish this one first. it's a pain to get the omap and modules and all that stuff together ^^
the reason i'm using squeeze is that it uses the same kernel version as the maemo kernel, so it is possible to simply copy the kernel modules. |
Re: Debian "squeeze" Image easy installer
Quote:
Quote:
Wheezy should still be fully functional on 2.6.32 (and probably 2.6.28 - at least it works in a chroot). Jessie is a slightly different story. It still boots on 2.6.32 (but by default not on 2.6.28, hence the glibc patch), but Systemd requires a newer kernel, so some things won't work. Stretch won't work on 2.6.32 anymore, or at least the amount of patching glibc would require is far beyond my skills and would likely mean to fork it. |
Re: Debian "squeeze" Image easy installer
Another problem is that most tutorials out there are not working, because they require quemu-arm-static which would have to be compiled manually. at least, there is no armel build for it in any repository thats compatible with the provided libc.
the only tutorial i have found is: https://wiki.debian.org/MaemoAndSqueeze in combination with https://n900.elektranox.org/installation.html (i had to heavily tweak the tutorials and to combine them to get everything working) about binary compatibility of the modules: they don't really care, because you can use the 2.6.28 kernel for squeeze some guy kindly provided it at http://atrey.karlin.mff.cuni.cz/~pal...12.04-1.tar.gz (so saying "it uses the same kernel" wasn't really correct - the build is using the same kernel.) afaik, the main problem for building a new kernel is that the blockdevice support, and fbcon have to compiled into the build. also, current patched kernels for the N900 are broken (necessary drivers are missing), so it will be necessary to find a working build. but that is something for the future, when the final squeeze image is finished. most stuff is fixed allready, the dpi etc have been changed for the small display and some other stuff. currently, i'm trying to find a working phone software which is compatible with ofono. they do provide N900-patched kernel sources: https://elinux.org/N900 at https://github.com/pali/linux-n900 the last two versions of the 4.x kernel i tried failed with a missing rx51_defconfig build target, so i'm going to try the latest 3.x next. (edit: just checked the repository. the v3.12-rc1 seems to support it.) also, something seems to be draining the battery. i'm charging my phone with 2A, and it's still going off after a while being drained. there are really dozens of problems to get a working phone up, which is usable in daily life. |
Re: Debian "squeeze" Image easy installer
Hi Dennis,
As sulu mentioned, I worked on a similar project. Instead of providing an installable image, I wrote a couple of scripts to facilitate building your own kernel and Debian distribution with various tweaks. I haven't used it for some time and it's unmaintained, it should mostly work but it's possible some dependencies have changed and that may mean that some stuff is broken. If you're still interested, you can find it here: https://github.com/dderby/debian900/ There is a also a link to the related thread with more information in my signature. Having said that, I recommend you check out Maemo Leste, which is the main reason I orphaned my project. Its basically modern Debian/Devuan with mainline Linux (currently 4.15.7 with patches for PowerVR) and Hildon. It's still in pre-alpha but it's actively developed and the first alpha release is expected in the next few weeks. The only "gotcha" is that if you want to run Xfce or something other than Hildon, you can't, at least not out-of-the-box. I have managed to run other desktop environments/window managers with a few hacks but this process could be made easier. I was looking at this months ago but then lack free time meant it never got done. Hopefully I'll be able to submit some patches for this in the near future. |
Re: Debian "squeeze" Image easy installer
Hi wicket,
thanks a lot, maybe it can help me building a newer debian release. i'm giving up the old one now, it's pointless unless i can get ofono to work. creation of the /cmt device seems to fail, or something else like that. i found a softphone with ofono support which was running after fixing python2.6 and compiling gnutk, but is useless without a running ofono... thanks again, by now you helped me with the power button problem: sed -i 's/\(action=\).*$/\1'$POWER_BUTTON_ACTION'/' $MOUNTPOINT/etc/acpi/events/powerbtn-acpi-support that keyboard patch could become handy too, currently i'm mapping keys using autokey. the only problem is that i don't want to use qemu-arm-static. EDIT: *holdstheguntohishead* speech support patch is for kernel 4.x |
Re: Debian "squeeze" Image easy installer
Quote:
|
Re: Debian "squeeze" Image easy installer
Quote:
it will require some effort, because the latest kernel that is available hasn't got a patch required to enable speech support. maybe i can patch it in manually, but i dont know how much of an effort it is yet. |
Re: Debian "squeeze" Image easy installer
Out of selfish motives I recommend you to join the Leste team, because afaik so far GSM is not a primary goal and besides power consumption GSM is my main reason for sticking with Fremantle.
|
Re: Debian "squeeze" Image easy installer
I really want to get a standart debian working on this phone :)
|
Re: Debian "squeeze" Image easy installer
Quote:
https://bugs.debian.org/cgi-bin/bugr...cgi?bug=893814 As for GSM, Maemo Leste already has SMS and 2G/3G data working with ofono although I don't believe they have been integrated into the UI yet. Phone calls have been reported to work but are currently of poor quality. See here for more info: https://github.com/maemo-leste/bugtracker/issues/77 https://github.com/maemo-leste/bugtracker/issues/76 You may want to check out unicsy_demo, which has recently been packaged and is available in Leste: https://github.com/pavelmachek/unicsy_demo If you really are serious about getting this working and you believe you can help, I second sulu's suggestion and recommend that work together with the Maemo Leste team. If pure Debian is what you are after, it will be easy enough get telephony running on Debian once it's running on Leste. |
Re: Debian "squeeze" Image easy installer
Quote:
https://files.devuan.org/devuan_ascii/embedded/ Those will be even closer to standard Debian and you will be able to install Xfce, etc. easily without the issues I mentioned in my other post. |
Re: Debian "squeeze" Image easy installer
Quote:
|
Re: Debian "squeeze" Image easy installer
Quote:
If you've really got a dying need to run systemd, there's nothing stopping you from adding Debian repositories, but I would recommend against it. Those Devuan images were cut for the stable release so they are quite old now. If you run Maemo Leste, you'll get Devuan, plus a newer kernel which is regularly updated and contains a number of fixes for the N900 that would be missing from the Devuan stable kernel. I guess what I'm trying to say is that the only reason for running standard Devuan over Maemo Leste would be if you want to run an alternate WM/DE instead of Hildon. You're really tempting me to get off my arse and work on those patches that will fix this. ;) |
Re: Debian "squeeze" Image easy installer
Quote:
kernel 4.9 is currently compiling, but it takes a hell of time to complete on the n900. the gsm phone shouldnt be much of a problem, the curernt kernel contains a n900 modem/gsm driver (maybe it has to get patched for voice data, but it seems possible.), which is another reason for me wanting to get a clean install. i've found a python phone that uses ofono after hours of searching which runs with fixed python repositories and manually compiled pygtk, as long as the modem driver is running. maybe i can contribute it to the Devuan team. do you know which kernel they are using? (n900 modem support has been added to 3.16 afaik). it could become hard to get it into devuan, because as said before it needs a patched kernel for voice support (mainline kernel only has got ssi, whereas voice requires hsi). i don't know if the project maintainer will give his ok to this. edit: yeah, my phone drained again... damn bs, it has to be restarted every half an hour, and kernel compilations takes hours, up to days. in my next live, i'll start a carreer as a politican. that's much less of an hassle. |
Re: Debian "squeeze" Image easy installer
Quote:
I don't think you've understood me yet, Maemo Leste is built on top of Devuan, that means it includes the entire Devuan software library which is almost identical to Debian. The same Firefox, Chrome, Docker and GNOME 3 packages are available in Leste. The kernel is currently missing all of the config options required for full container support. I recently built a kernel based on the Leste kernel with these options enabled. You can find the config here: https://github.com/dderby/n9xx-linux...rx51_defconfig This should make its way into the Leste kernel at some point. The plan is to support Anbox containers, so that might be a better way for you to run WhatsApp, if it doesn't run out of memory that is. Quote:
Quote:
Quote:
Quote:
|
Re: Debian "squeeze" Image easy installer
Quote:
@Dennis: Just try firefox-esr under Easy Debian Jessie and you'll see, that it's unbearably slow (if it starts at all, that is). Tbh I haven't tried Firefox/Iceweasel under ED since Wheezy, but even then it was nigh unusable. The "Quantum update" was mainly about parallelizing things, which is great on a modern x86 PC with umpteen cores, but useless on a single-core Cortex A8. On my EEE 901 netbook I see basically no speed improvement, because all the puny Atom N270 has to offer in terms of parallelizing is hyperthreading of a single core. What I see is, that now both threads are running at 100% for a minute instead of one, until the GUI is loaded. Quote:
When I started toying around with Easy Debian I pretty soon decided that I wouldn't compile on the N900. But I also was too lazy to properly learn how to cross-compile. Qemu was unbearably slow (even on my i7-2700k it was slower than on the N900), so I decided to buy a Cubieboard 2. Edit: Wait a second, I believe this actually IS the watchdog: Quote:
|
Re: Debian "squeeze" Image easy installer
Quote:
Here are some commands that you may be interested in. I use them to build my own kernel for Maemo Leste: Code:
# Install build deps: |
Re: Debian "squeeze" Image easy installer
Quote:
Quote:
the worst problem is, that it goes off every hour, even though it's being charged. Quote:
Quote:
|
Re: Debian "squeeze" Image easy installer
Quote:
the watchdog is kept alive by the watchdog daemon which pings the watchdog every 5 seconds. |
Re: Debian "squeeze" Image easy installer
1 Attachment(s)
Just to show it is possible. With chromium 57 using jessie through easy debbie. First message sent. But not working with speed or ways you would accept. Still trying to get it work faster but on my thread about chromium 57 I have described my problems with the browser.
|
Re: Debian "squeeze" Image easy installer
1 Attachment(s)
When you can't through you go around. I don't know how to get the keyboard working but I know how to google workaround: on chromium 57 you can install input tools extension. So platform is from facebook and keyboard is owned by google. Not to type the most secret stuff. But with input tools you can change easy with whatever language characters. Just typed a message on the fly. Debbie stays open behind and not giving headache to use whatsapp.
|
Re: Debian "squeeze" Image easy installer
Quote:
firefox-esr is available for Jessie in version 60.5.1esr-1~deb9u1. It installs fine under ED. The first start of the browser takes almost 10 minutes until the CPU (900MHz) goes idle again. Each subsequent start takes half that time. The first thing I usually do after a fresh firefox installation is to get some privacy add-ons to keep the adware and spyware at bay that has spread amongst the web like a cancer. When trying to load the add-on page, firefox runs out of memory and crashes. |
Re: Debian "squeeze" Image easy installer
Quote:
I am also interested in Debian on the N900, in addition to Leste |
All times are GMT. The time now is 02:16. |
vBulletin® Version 3.8.8