Notices


Reply
Thread Tools
joerg_rw's Avatar
Posts: 2,179 | Thanked: 12,228 times | Joined on Mar 2010 @ SOL 3
#1
Enrico_Menotti started documenting how to run Parazyd's Devuan image on N900, see http://wiki.maemo.org/Devuan_on_N900

cheers
jOERG
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 

The Following 9 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 9 | Thanked: 18 times | Joined on Mar 2017
#2
First issue ready. Thanks for reading!
 

The Following 8 Users Say Thank You to Enrico Menotti For This Useful Post:
wicket's Avatar
Posts: 486 | Thanked: 2,203 times | Joined on May 2010 @ Colombia
#3
This doesn't use Parazyd's Devuan image, this bootstraps a Devuan system from scratch, similar to what my DebiaN900 scripts do after changing the repository URL to Devuan's. I am planning an update to make Devuan and mainline Linux the default.

This guide seems to have a few redundant steps. Emdebian was discontinued several years ago and cross compilation is possible using standard Debian, Devuan, Ubuntu, etc. There's no need to pin systemd-sysv as it's not available in Devuan. It's probably not a good idea to pin udev. As far as I'm aware, Devuan Jessie uses udev and will do so until the vdev replacement is ready.
__________________
DebiaN900 - Native Debian on the N900.

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

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

Last edited by wicket; 2017-05-07 at 02:34.
 

The Following 6 Users Say Thank You to wicket For This Useful Post:
Posts: 9 | Thanked: 18 times | Joined on Mar 2017
#4
Originally Posted by wicket View Post
This doesn't use Parazyd's Devuan image, this bootstraps a Devuan system from scratch, similar to what my DebiaN900 scripts do after changing the repository URL to the Devuan's. I am planning an update to make Devuan and mainline Linux the default.
Right, it's not Parazyd's image.

This guide seems to have a few redundant steps. Emdebian was discontinued several years ago and cross compilation is possible using standard Debian, Devuan, Ubuntu, etc.
Kernel cross-compilation is possible by arm-none-eabi-gcc (I did it this way). But I did not find the crypt library there, which I used for re-compiling the system V init process. I did not find other toolchains in the Devuan mirrors. It is very possible I'm not aware of simpler steps.

There's no need to pin systemd-sysv as it's not available in Devuan.
It was already pinned in my debootstrapped image - I just left the pinning there.

It's probably not a good idea to pin udev. As far as I'm aware, Devuan Jessie uses udev and will do so until the vdev replacement is ready.
Yes, Devuan Jessie uses udev. But in the absence of an initrd, as in my case, the loopback lo device is not mounted before udev starts net.agent, which waits for lo and hangs the boot for 30 seconds, until it times out. Also udev is not needed for hotplug on the N900, right? That's why I did it this way. Using udev would be probably cleaner, but I think needs modifications of udev itself to avoid the boot delay.

Thanks for reading and for the useful comments!
 

The Following 2 Users Say Thank You to Enrico Menotti For This Useful Post:
wicket's Avatar
Posts: 486 | Thanked: 2,203 times | Joined on May 2010 @ Colombia
#5
Originally Posted by Enrico Menotti View Post
Right, it's not Parazyd's image.



Kernel cross-compilation is possible by arm-none-eabi-gcc (I did it this way). But I did not find the crypt library there, which I used for re-compiling the system V init process. I did not find other toolchains in the Devuan mirrors. It is very possible I'm not aware of simpler steps.



It was already pinned in my debootstrapped image - I just left the pinning there.



Yes, Devuan Jessie uses udev. But in the absence of an initrd, as in my case, the loopback lo device is not mounted before udev starts net.agent, which waits for lo and hangs the boot for 30 seconds, until it times out. Also udev is not needed for hotplug on the N900, right? That's why I did it this way. Using udev would be probably cleaner, but I think needs modifications of udev itself to avoid the boot delay.

Thanks for reading and for the useful comments!
It's been a while since I've done anything on my project but I hope to pick things up again soon. The last time I did anything and used Devuan was back in October so things might have changed since then. Back then I didn't run into any problems with SELinux so I didn't need to recompile SysVInit. If it was enabled, I didn't notice.

I overlooked the fact that you aren't using an initrd. Right now there's no hotplug but there has previously been talk of mainlining work for USB hostmode so it might be needed in the future. Also, I've never had to manually load modules for wifi or battery charging, I believe udev was responsible for loading these automatically.

It's great to see more people interested in this. If you haven't already seen my scripts, please do take a look. The code is commented throughout but if you have any queries about anything, please ask. I welcome contributions. As I said earlier, I've still to update them to make Devuan the default which I will be doing soon, but right now it does install Debian without systemd.
__________________
DebiaN900 - Native Debian on the N900.

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 4 Users Say Thank You to wicket For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:13.