All of lore.kernel.org
 help / color / mirror / Atom feed
* How to check if systemd is correctly setup
@ 2012-12-08 14:19 Elvis Dowson
  2012-12-08 16:02 ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Elvis Dowson @ 2012-12-08 14:19 UTC (permalink / raw)
  To: Yocto Discussion Mailing List

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to check if systemd is correctly setup
  2012-12-08 14:19 How to check if systemd is correctly setup Elvis Dowson
@ 2012-12-08 16:02 ` Gary Thomas
  2012-12-08 17:49   ` Elvis Dowson
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2012-12-08 16:02 UTC (permalink / raw)
  To: yocto

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
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to check if systemd is correctly setup
  2012-12-08 16:02 ` Gary Thomas
@ 2012-12-08 17:49   ` Elvis Dowson
  2012-12-08 18:41     ` Elvis Dowson
  0 siblings, 1 reply; 4+ messages in thread
From: Elvis Dowson @ 2012-12-08 17:49 UTC (permalink / raw)
  To: Yocto Discussion Mailing List

Hi Gary,
                Thanks for the reply!

On Dec 8, 2012, at 8:02 PM, Gary Thomas <gary@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to check if systemd is correctly setup
  2012-12-08 17:49   ` Elvis Dowson
@ 2012-12-08 18:41     ` Elvis Dowson
  0 siblings, 0 replies; 4+ messages in thread
From: Elvis Dowson @ 2012-12-08 18:41 UTC (permalink / raw)
  To: Yocto Discussion Mailing List

Hi,

> 
> On Dec 8, 2012, at 8:02 PM, Gary Thomas <gary@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-12-08 18:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-08 14:19 How to check if systemd is correctly setup Elvis Dowson
2012-12-08 16:02 ` Gary Thomas
2012-12-08 17:49   ` Elvis Dowson
2012-12-08 18:41     ` Elvis Dowson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.