Forum
custom kernel (initrd support etc) - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Testing & Experimental (/forum-21.html)
+--- Thread: custom kernel (initrd support etc) (/thread-230.html)



custom kernel (initrd support etc) - xcweuz - 9th Jan, 2013 12:05 AM

I would like to add some stuff to kernel like initrd support.

Is this also the correct way for xbian?
http://elinux.org/RPi_Kernel_Compilation#Perform_the_compilation


RE: custom kernel (initrd support etc) - CurlyMo - 9th Jan, 2013 12:11 AM

Not exactly, but please post your request an i will compile it for you. In my setup, i have new functions/modules compiled in about 30min or faster.

I also need to update our online compile manual. Until then, just let me do it.

Also, what are you trying to achieve? Is it worth sharing with us?


RE: custom kernel (initrd support etc) - xcweuz - 9th Jan, 2013 12:23 AM

I want to have initrd support to able to do things before actual boot.

Example:
I have on my server (not raspberry but x68) encrypted root partition which is getting decrypted on boot over network. debian has a great support for such stuff. I would like to be able to do that with raspberry pi.


RE: custom kernel (initrd support etc) - CurlyMo - 9th Jan, 2013 06:11 AM

I've pushed a new kernel + firmware including the initrd support. Let me know if it works.


RE: custom kernel (initrd support etc) - CurlyMo - 9th Jan, 2013 10:25 AM

I tried to make an initramfs image, the system says it found it, but hangs on the inability to mount root. The only thing i tried to let the ram image do is mounting the local filesystems with busybox.

Can you tel me how to create a very simple initramfs which i can then expand?

PS. i followed this tutorial: http://jootamam.net/howto-initramfs-image.htm


RE: custom kernel (initrd support etc) - martinet - 20th Jan, 2013 09:57 AM

(9th Jan, 2013 12:11 AM)CurlyMo Wrote:  Not exactly, but please post your request an i will compile it for you. In my setup, i have new functions/modules compiled in about 30min or faster.

I also need to update our online compile manual. Until then, just let me do it.

Also, what are you trying to achieve? Is it worth sharing with us?

Any progress on online compile manual? I'd like to compile one module - udlfb. I followed this instructions: http://mitchtech.net/raspberry-pi-kernel-compile/ and rpi starts but... xbmc cannot start - dmesg shows some video errors:

Terminal

vchiq_get_state: g_state.remote->initialised != 1 (0)
vchiq: vchiq has no connection to VideoCore
vchiq_get_state: g_state.remote->initialised != 1 (0)
vchiq: vchiq has no connection to VideoCore



RE: custom kernel (initrd support etc) - CurlyMo - 20th Jan, 2013 07:52 PM

You should follow the tutorial on our git: https://github.com/xbianonpi/xbian/blob/xbian-alpha5/Docs/CompileKernel.sh

However, you can always do a request for a module.


RE: custom kernel (initrd support etc) - CurlyMo - 20th Jan, 2013 10:32 PM

I just added the module:
https://github.com/xbianonpi/xbian/commit/6997add6fd960c84f9b1f22f5572643bde240e71


RE: custom kernel (initrd support etc) - martinet - 20th Jan, 2013 11:44 PM

(20th Jan, 2013 10:32 PM)CurlyMo Wrote:  I just added the module:
https://github.com/xbianonpi/xbian/commit/6997add6fd960c84f9b1f22f5572643bde240e71

Thank you!


RE: custom kernel (initrd support etc) - Agronom - 21st Jan, 2013 08:52 PM

Hello, i want to try xbian on miniand cubieboard, can you tell me what i need to do or read for this?


RE: custom kernel (initrd support etc) - CurlyMo - 21st Jan, 2013 08:58 PM

What you need to do is donate one to us and we will add support. We currently don't own one, so hard to develop for it.


RE: custom kernel (initrd support etc) - Agronom - 21st Jan, 2013 10:07 PM

(21st Jan, 2013 08:58 PM)CurlyMo Wrote:  What you need to do is donate one to us and we will add support. We currently don't own one, so hard to develop for it.

I would do it with pleasure, but I have no such an opportunity. Now i trying to start xbian on qemu, because i dont have cubieboard now. I planing to buy it in next month.


RE: custom kernel (initrd support etc) - CurlyMo - 21st Jan, 2013 10:11 PM

Let us know about your progress...