Re: [yocto] Systemd service recipe fails while booting from initramfs

2019-01-22 Thread Zoran Stojsavljevic
Hello Peter, > I'm not sure I got your question correct but I'll try to give you *a super* > *simple *network config for systemd-networkd using dhcp. *Super simple answer.* From my previous answer (from log provided): [11982.445947] net eth0: initializing cpsw version 1.12 (0) [11982.550762] SMS

Re: [yocto] Systemd service recipe fails while booting from initramfs

2019-01-22 Thread Peter Bergin
Hi Zoran, I'm not sure I got your question correct but I'll try to give you a super simple network config for systemd-networkd using dhcp. Add the file '/etc/systemd/network/10-dhcp.network' with the following content:     [Match] Name=* [Network] DHCP=yes Then

Re: [yocto] Systemd service recipe fails while booting from initramfs

2019-01-22 Thread Nicolas Dechesne
On Tue, Jan 22, 2019 at 5:38 PM Zoran Stojsavljevic wrote: > > Hello Nicolas, > > I build ONLY initramfs to be used on BBB DUT in order to test VMs. I > do not use mtd neither flash rootfs (as mounted on flash), although in > the BBB DUT's flash I have embedded Debian stretch. I use different > as

Re: [yocto] Systemd service recipe fails while booting from initramfs

2019-01-22 Thread Zoran Stojsavljevic
Hello Nicolas, I build ONLY initramfs to be used on BBB DUT in order to test VMs. I do not use mtd neither flash rootfs (as mounted on flash), although in the BBB DUT's flash I have embedded Debian stretch. I use different ash scripts in U-Boot to bring only ramboot. Here is the proof: root@beagl

Re: [yocto] Systemd service recipe fails while booting from initramfs

2019-01-22 Thread Nicolas Dechesne
hi, On Tue, Jan 22, 2019 at 4:42 PM Zoran Stojsavljevic wrote: > > Hello Lukasz, > > Thank you very much for the advises. I did what you have suggested, and this > does work. > > And it solves my basic problem (NO GO for some reason when I had network > manager). > > I use DUT (BBB) with YOCTO

Re: [yocto] Systemd service recipe fails while booting from initramfs

2019-01-22 Thread Zoran Stojsavljevic
Hello Lukasz, Thank you very much for the advises. I did what you have suggested, and this does work. And it solves my basic problem (NO GO for some reason when I had network manager). I use DUT (BBB) with YOCTO initramfs linux as testing vehicle for my various pass-through VBox VMs (several des

Re: [yocto] Systemd service recipe fails while booting from initramfs

2019-01-21 Thread Lukasz Zemla
From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On Behalf Of Zoran Stojsavljevic Sent: Monday, January 21, 2019 7:56 AM [...] > While downloading initramfs on the target system, while bringing kernel up, > the following > happened (actual log): > [    0.00] Kern

Re: [yocto] Systemd service recipe fails while booting from initramfs

2019-01-21 Thread Peter Bergin
On 2019-01-21 07:56, Zoran Stojsavljevic wrote: Hello to all, I have added to my local.conf the following lines in order to port systemd service in YOCTO (Thud release): _/## Add systemd service VIRTUAL-RUNTIME_init_manager = "systemd" VIRTUAL-RUNTIME_dev_manager = "systemd" DISTRO_FEATURES_B

[yocto] Systemd service recipe fails while booting from initramfs

2019-01-20 Thread Zoran Stojsavljevic
Hello to all, I have added to my local.conf the following lines in order to port systemd service in YOCTO (Thud release): *## Add systemd serviceVIRTUAL-RUNTIME_init_manager = "systemd"VIRTUAL-RUNTIME_dev_manager = "systemd"DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"VIRTUAL-RUNTIME_init