Am 18.09.2014 um 13:14 schrieb Ivan Skytte Jørgensen:
On Thursday 18 September 2014 09:53:19 Alexander Graf wrote:
Am 18.09.2014 um 09:23 schrieb Ivan Skytte Jørgensen <isj-opensusearm@i1.dk>:
...
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 :-/
3.0.x can work, but Ubuntu is likely missing some systemd-related kernel options, be sure to enable CONFIG_FHANDLE if you want a working serial console, absence of CONFIG_FANOTIFY=y or CONFIG_AUTOFS4=m leads to warnings only, lack of CONFIG_CGROUPS can screw things up for no apparent reason. If you build everything essential into the kernel, you can boot without an initrd initially. Then in the newly booted system you can generate the initrd and use it from there on - you may need to assure that the relevant MMC drivers (or whatever you boot from) get included (/etc/sysconfig/kernel). Cheers, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org