All of lore.kernel.org
 help / color / mirror / Atom feed
* Installing iperf3 causes strange image corruption
@ 2017-02-01 20:28 Wilde, DonaldX
  2017-02-07 17:34 ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Wilde, DonaldX @ 2017-02-01 20:28 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1918 bytes --]

Hello, Yocto co-workers -

Our project in CHD uses the poky version Daisy, which does not include iperf3. We've decided that we just have to have the newer version built into our firmware to get the results we need.

One of our much better - but very busy, naturally - people took the Yocto recipes for iperf3 from poky 1.8 (fido) and adapted them for our build.

Unfortunately, what happens is that somewhere along the line after the initial patch and compilation, something in our image gets radically corrupted. With IMAGE_INCLUDE += "iperf3" set, the image is corrupted. Horrible results occur including that much of our NVRAM content becomes invisible and we get dumped into some kind of emergency debugging shell after about 6.3 seconds.

Here's what I want to do, and please tell me if I'm all wet. What I want to do is to find an intermediate target that will enable me to activate every task up through populate_sysroot so that I can do a diff tree on three versions of tmp/sysroots: one with no iperf recipes, one with everything enabled, and one with everything but the image including process activating iperf3.

The strange thing is that iperf3 built from the recipes does work properly even with the image whacked to un-usability. I suspected that some global variable was getting overridden but I can't see it in the iperf3-specific recipe and autoconf  patch.

I do see that iperf3 is being added to a Yocto-generated file called toe.c, but I don't know what that means yet.

In particular, this is a portion of our log that I want to look at, though what is happening to make it fail to generate this file correctly at this point is as yet unclear:

starting pid 1363, tty '': '/etc/init.d/rcS'
can't run '/etc/init.d/rcS': No such file or directory

Please press Enter to activate this console.
starting pid 1364, tty '': '-/bin/sh'


Don Wilde
Intel Connected Home Division

[-- Attachment #2: Type: text/html, Size: 4755 bytes --]

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

end of thread, other threads:[~2017-02-07 17:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-01 20:28 Installing iperf3 causes strange image corruption Wilde, DonaldX
2017-02-07 17:34 ` Burton, Ross
2017-02-07 17:42   ` Wilde, DonaldX
2017-02-07 17:43     ` Burton, Ross
2017-02-07 17:48       ` Wilde, DonaldX

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.