[yocto] How to check if systemd is correctly setup
Hi, I haven't used systemd before, and I've just built a linux kernel image using the latest yocto poky/master. The boot process starts as normal, but it just displays freeing memory (some value) and I get no console prompt. Q1: Which config setting or recipe code, controls the inclusion of systemd in the root filesystem? Q2: How can I check to see if systemd is properly configured for my target (virtex-5-powerpc-405-ml507-softfloat)? Best regards, Elvis Dowson ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] How to check if systemd is correctly setup
On 2012-12-08 07:19, Elvis Dowson wrote: Hi, I haven't used systemd before, and I've just built a linux kernel image using the latest yocto poky/master. The boot process starts as normal, but it just displays freeing memory (some value) and I get no console prompt. Q1: Which config setting or recipe code, controls the inclusion of systemd in the root filesystem? Q2: How can I check to see if systemd is properly configured for my target (virtex-5-powerpc-405-ml507-softfloat)? First thing, make sure that your kernel has this in the config: CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y The latest udev (rev 182) has to have this to work. -- Gary Thomas | Consulting for the MLB Associates |Embedded world ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] How to check if systemd is correctly setup
Hi Gary, Thanks for the reply! On Dec 8, 2012, at 8:02 PM, Gary Thomas g...@mlbassoc.com wrote: On 2012-12-08 07:19, Elvis Dowson wrote: Hi, I haven't used systemd before, and I've just built a linux kernel image using the latest yocto poky/master. The boot process starts as normal, but it just displays freeing memory (some value) and I get no console prompt. Q1: Which config setting or recipe code, controls the inclusion of systemd in the root filesystem? Q2: How can I check to see if systemd is properly configured for my target (virtex-5-powerpc-405-ml507-softfloat)? First thing, make sure that your kernel has this in the config: CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y The latest udev (rev 182) has to have this to work. Yes, my defconfig has the above two configs set. Which file control if systemd gets pulled into the core-image-minimal recipe? Where are the systemd configuration files stored? Best regards, Elvis Dowson ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] How to check if systemd is correctly setup
Hi, On Dec 8, 2012, at 8:02 PM, Gary Thomas g...@mlbassoc.com wrote: First thing, make sure that your kernel has this in the config: CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y The latest udev (rev 182) has to have this to work. In my kernel boot message, devtmpfs: mounted Freeing unused kernel memory : 168k freed _ I am able to ping to the board from a terminal console on the host, and I get a reply. However, I don't see a console prompt, even though on my bootargs i have set init=/bin/sh Best regards, Elvis Dowson ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto