ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Olof Johansson <olof@lixom.net>
To: Guenter Roeck <linux@roeck-us.net>
Cc: Segher Boessenkool <segher@kernel.crashing.org>,
	"ksummit-discuss@lists.linuxfoundation.org"
	<ksummit-discuss@lists.linuxfoundation.org>
Subject: Re: [Ksummit-discuss] Fwd: Rough notes from testing unconference
Date: Sun, 24 Aug 2014 11:47:47 -0700	[thread overview]
Message-ID: <CAOesGMi31DbacOdrCidzLLs04whnzdkoQFhjaTZwFgyiVd8nng@mail.gmail.com> (raw)
In-Reply-To: <53FA30CC.9020404@roeck-us.net>

On Sun, Aug 24, 2014 at 11:37 AM, Guenter Roeck <linux@roeck-us.net> wrote:
> On 08/24/2014 11:15 AM, Geert Uytterhoeven wrote:
>>
>> On Sun, Aug 24, 2014 at 7:12 PM, Grant Likely <grant.likely@secretlab.ca>
>> wrote:
>>>
>>> Cross building the kernel isn't the problem. That's easy. Getting a
>>> rootfs and the tests into the rootfs can be hard, depending on the
>>> platform (a problem for some embedded targets).
>>
>>
>> In the past, I have used OpenWRT to build the rootfs for the test
>> target.
>>
> I very much prefer Grant's direct method - it ensures that the available
> test code is automatically integrated into the root file system, and that
> there are no architecture / target dependencies.
>
> For my part I have used various means to create root file systems for my
> own tests, depending on the architecture. I see it as significant
> improvement
> to have it all together in a single place, in our control, and to have it
> as simple as possible.

Yep. Unfortunately, having a cross-toolchain that includes libc is a
significant complexity improvement over just having one that can build
a kernel. I wouldn't mind having pre-built rootfs:es available just
like we have toolchains today, but that won't help me when it comes to
building the kselftest binaries.

I have traditionally been using Segher's buildall
(http://git.infradead.org/users/segher/buildall.git) to build and
populate toolchains locally, and that will no longer be enough. Unless
someone convinces Segher to improve his scripts, of course. :)


-Olof

  reply	other threads:[~2014-08-24 18:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20140819163621.GA15109@linux.vnet.ibm.com>
2014-08-22 14:19 ` Grant Likely
2014-08-22 17:59   ` Shuah Khan
2014-08-22 18:08     ` Amit Kucheria
2014-08-28 21:54       ` Shuah Khan
2014-08-23 13:35     ` Bird, Tim
2014-08-23 21:12       ` Grant Likely
2014-08-30  1:09       ` [Ksummit-discuss] [kselftest] kselftest wiki (was RE: Fwd: Rough notes from testing unconference) Bird, Tim
2014-08-30  2:55         ` Shuah Khan
2014-08-30  5:15           ` Konstantin Ryabitsev
2014-08-23  8:12   ` [Ksummit-discuss] Fwd: Rough notes from testing unconference Fengguang Wu
2014-08-24 17:12     ` Grant Likely
2014-08-24 18:14       ` Guenter Roeck
2014-08-25  9:23         ` Grant Likely
2014-08-25 10:43           ` Guenter Roeck
2014-08-24 18:15       ` Geert Uytterhoeven
2014-08-24 18:37         ` Guenter Roeck
2014-08-24 18:47           ` Olof Johansson [this message]
2014-08-24 19:14             ` Jason Cooper
2014-08-24 19:16               ` Jason Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOesGMi31DbacOdrCidzLLs04whnzdkoQFhjaTZwFgyiVd8nng@mail.gmail.com \
    --to=olof@lixom.net \
    --cc=ksummit-discuss@lists.linuxfoundation.org \
    --cc=linux@roeck-us.net \
    --cc=segher@kernel.crashing.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox