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
Quoted 8 lines · Elvis Dowson
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.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Hi Gary,
Thanks for the reply!
Quoted 6 lines · Gary Thomas
Quoted 5 lines · Elvis Dowson
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.
Quoted 8 lines
Quoted 3 lines
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
Hi,
Quoted 8 lines · Gary Thomas
Quoted 5 lines
First thing, make sure that your kernel has this in the config:
CONFIG_DEVTMPFS=yCONFIG_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