Le 18/09/2014 13:14, Ivan Skytte Jørgensen a écrit :
On Thursday 18 September 2014 09:53:19 Alexander Graf wrote:
Am 18.09.2014 um 09:23 schrieb Ivan Skytte Jørgensen <[email protected]>:
...
Since it already boots into Linux I'm wondering if I have really have to go the 
virtualbox+crosscompiliation route.

I have an NFS server already so I could use nfsroot in U-Boot. As an 
intermediate step I could also set up Opensuse in an LXC container to verify 
that userland works.

I'm not sure what the easiest approach would be. My goal is to use it as a 
headless searver running named/postfix/ssh/...
So the easiest path to something that feels like native openSUSE is to reuse the existing 
uboot and kernel. There you can just download our JeOS rootfs, put it on some storage 
that you can reach from the existing kernel and change your root= parameter in the kernel 
cmdline to boot into it. With a bit of luck, that may "just work".

Next step would be to use an upstream kernel. Your board has upstream support 
since 3.14, so everything should already be around in our current Factory 
kernel. Just pass in the correct device tree and see whether it works ;).
I just saw that the preinstalled ubuntu kernel is 3.0.35-cm-fx6-6.1 which is 
pretty old, so I'm not very confident that userland will work. So I think I 
will have to create kernel+initrd and then see if JeOS will work :-/

You can just reuse initrd and /lib/modules folder from your old rootfs with 
JeOS-rootfs.
Otherwise, you can just extract JeOS-rootfs in a folder on your running system 
and then chroot to it. Then, you will have access to openSUSE software.

Then, as Alex wrote, openSUSE kernel from Factory has support for your board 
(using the right device tree). So, you should be able to create a JeOS flavour 
for your board quite easily.


Guillaume

--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to