Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp517049rdb; Fri, 5 Jan 2024 19:52:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFz89+2DKoP8zSCMmocUyCtDKDZRwxSMCZX1G8f+cKdX9IkgKGciByCBIuh6G6/RBh2Fg4W X-Received: by 2002:a05:6a00:4e57:b0:6d9:af9a:6d94 with SMTP id gu23-20020a056a004e5700b006d9af9a6d94mr138574pfb.64.1704513138278; Fri, 05 Jan 2024 19:52:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704513138; cv=none; d=google.com; s=arc-20160816; b=Y2ppEotuD0Aao4c2PXbKAe3a4/IE6UQdvPOEYYMbvpREGbqifAxshns7zQ5jHWMyN2 6ZLgoGx1HkLl80WTzP6+xcMncMk9AjTBJZlQqdSEmV/QpTEhfTXPhhylj42RfhRiImvl diVGskfCorfCBXxHgP8uQ2aWTV5rCtxpvD1WOaTmMfv1YXbXc4kI6VAjQQftzYr/3B2S jZd24Li7oB8P43+kQPUYUm6X2JNOi8qZ9/C1ZQmEoCeuFPl1DhTQPzE9dV7Cd7JW7M9S 8pdSmwFOWCR+1veo4sHUOZBCu2cJPWM/pvzChLkBtN5qemcei2Z6tIiTEAmytC9CGc1D 69Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=enno4RDG7Jc2tI8Uw9IJMPfOQP8dq6cok+ed1FX+/z8=; fh=+XseOaQVGqqGy8EBj6q+VZAaiM4Lzbgvkboa8D7Kuj4=; b=Z2KbNK33bxhFRL+yQf5uoOEMGffYdhfRU+c2qOrnh33SX15nYbi4PlDQ3EAVTSlobc gSoyIOGXYAuZ3nCJBflGqamEO5y02SRTP6vZHhP4GRn0f0/nULhSzWaLj8OdnQ1JL6sr 2VtevzhDKrgpK9Enkwp5aqd+KbKSHd5ejkqCZMZLOk9JC+RcAMh/KP6SreuS5PNoi8yr Skj3R8i9s1dgO4bmqgk97/TLQepTSYPnRINmyc0BDNiIJiOEt+PDYiQf+ho0Q1J4T9Fa j9W7YINWAYWOWe8cs3BrDnL2HGxYwO/nk2Kf/iUswNr7rZbfk5BQA4QX0dp8sOUkwH3C Bjyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@landley-net.20230601.gappssmtp.com header.s=20230601 header.b=gh7ATWRR; spf=pass (google.com: domain of linux-kernel+bounces-18473-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18473-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w4-20020a63f504000000b005bdbf2ac2d2si2347651pgh.85.2024.01.05.19.52.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 19:52:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18473-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@landley-net.20230601.gappssmtp.com header.s=20230601 header.b=gh7ATWRR; spf=pass (google.com: domain of linux-kernel+bounces-18473-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18473-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id EDC94B23594 for ; Sat, 6 Jan 2024 03:52:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60488187F; Sat, 6 Jan 2024 03:52:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=landley-net.20230601.gappssmtp.com header.i=@landley-net.20230601.gappssmtp.com header.b="gh7ATWRR" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3EA317CD for ; Sat, 6 Jan 2024 03:52:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=landley.net Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=landley.net Received: by mail-io1-f44.google.com with SMTP id ca18e2360f4ac-7bbe90357d8so14212839f.2 for ; Fri, 05 Jan 2024 19:52:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20230601.gappssmtp.com; s=20230601; t=1704513121; x=1705117921; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=enno4RDG7Jc2tI8Uw9IJMPfOQP8dq6cok+ed1FX+/z8=; b=gh7ATWRRRO4zPYNDnoVMr3CRnUPCarZxzyIwPDcu6zbDX5vLPvSxgIc9oKLWunSzS7 0udeuafrZu2rS8qq40IfQZN1ilDRFRgnUDM4lr3SflPG10c5tNCfQAYY/nti64n/FGG8 j9WIFQ4qy/tx8BrLonMjAVBJ1fvnWLffo/DYhCsYDikPt7qePXLFj4SYn5Slx3eFFdhB CgFXyQ5VEYdGG9i/fCWtvJTiSOmSNNF9w8maQLGCGPW4fyfBifas7+HcXW1l4f0TQQsq 2zynch/KZyVcxm10xo1SxtlGuKqDPZtxGODQ+N0SRt0O/GeEbM8KMr17eZpz2dW0s2Gi hJaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704513121; x=1705117921; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=enno4RDG7Jc2tI8Uw9IJMPfOQP8dq6cok+ed1FX+/z8=; b=HgCJlA5vHpTeD3nYTjAGMfTkHC2r13Zcl/PQ0+GPdC+W4jefoqwdaZ+8w4NqeEZ7Wk OrHy4fWSUyk/Q0O9S1MR1JTs8koJ0GMYoX2bf7F9dRMuTYiYnGMUI1+p2Gu0J2SSx2tL gUJWF6oZ5CkWbwT7jZh+eTc3vhP+n9I8AB/zyE8JcYsug9AUznKhoYomvvLVAHU5dK6i yj/PiWHm14rUHIDgYUFvpoyiTv2xDS+nE3FGDt6aManoK1l1NR0XdB4O3HvRuUAPeb0C Hm1fg7TbB/AVR2Eylt3XyLFDpnl2htsrO4W0B+ai9SgWBEygGrR0Lr8ZRR/nZiFnsZ1k 3kZQ== X-Gm-Message-State: AOJu0YwkfXaDf/4dZCUjkgsI6t5akWQjnLZKz+CkN+uX4DR+6oOKekc7 Te0+XktsSf2xJ7A8cDXb0eT/J/mtv37Qzw== X-Received: by 2002:a5d:8059:0:b0:7b4:28f8:519 with SMTP id b25-20020a5d8059000000b007b428f80519mr667420ior.25.1704513121061; Fri, 05 Jan 2024 19:52:01 -0800 (PST) Received: from [172.16.32.83] ([198.232.126.202]) by smtp.gmail.com with ESMTPSA id ck15-20020a0566383f0f00b004665f85c6d7sm823366jab.4.2024.01.05.19.52.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Jan 2024 19:52:00 -0800 (PST) Message-ID: <90c1ddc1-c608-30fc-d5aa-fdf63c90d055@landley.net> Date: Fri, 5 Jan 2024 21:58:30 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: Call for nommu LTP maintainer [was: Re: [PATCH 00/36] Remove UCLINUX from LTP] Content-Language: en-US To: Petr Vorel Cc: Cyril Hrubis , Geert Uytterhoeven , ltp@lists.linux.it, Li Wang , Andrea Cervesato , Greg Ungerer , Jonathan Corbet , Randy Dunlap , John Paul Adrian Glaubitz , Christophe Lyon , linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, Linux ARM , linux-riscv , Linux-sh list , automated-testing@lists.yoctoproject.org, buildroot@buildroot.org References: <20240103015240.1065284-1-pvorel@suse.cz> <20240103114957.GD1073466@pevik> <5a1f1ff3-8a61-67cf-59a9-ce498738d912@landley.net> <20240105131135.GA1484621@pevik> From: Rob Landley In-Reply-To: <20240105131135.GA1484621@pevik> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/5/24 07:11, Petr Vorel wrote: >> Nobody is maintaining "uclinux" because that was a distro, but you can build >> nommu support in buildroot and such, and people do. > > Right, there are nommu users. Will anybody join LTP development to maintain > nommu support in LTP? The needed work is to add this support to LTP new C API > [1] and use it in the relevant test. There is some implementation in the old > API, I have no idea how well it worked. > > If nobody stands for maintaing nommu, we will have to delete it. There is nobody > from the current maintainers who is using LTP on nommu HW (that is the reason why > nommu support have not been implemented in the new API). I'm interested, but overwhelmed. Not sure I've got the spoons to come up to speed on a new project and give it regular attention just now. I see you cc'd buildroot (although the message might not go through if you aren't subscribed, dunno how clogged their moderation queue is these days, and the cc: list is long enough it might twig anyway). They had a nommu fix go in earlier this week (commit 98684ba7885b). That said, qemu supports several nommu platforms and buildroot has defconfigs to build systems for them: $ git clone git://buildroot.org/buildroot $ make help $ make list-defconfigs | grep qemu $ make qemu_ppc_bamboo_defconfig $ make (time passes...) >>> host-gettext-tiny 0.3.2 Extracting gzip -d -c /home/landley/buildroot/buildroot/dl/gettext-tiny/gettext-tiny-0.3.2.tar.gz | tar --strip-components=1 -C /home/landley/buildroot/buildroot/output/build/host-gettext-tiny-0.3.2 -xf - mkdir -p /home/landley/buildroot/buildroot/output/build/host-gettext-tiny-0.3.2/gettext-gnu xzcat /home/landley/buildroot/buildroot/dl/gettext-tiny/gettext-0.22.4.tar.xz | tar --strip-components=1 -C /home/landley/buildroot/buildroot/output/build/host-gettext-tiny-0.3.2/gettext-gnu -xf - xzcat: /home/landley/buildroot/buildroot/dl/gettext-tiny/gettext-0.22.4.tar.xz: No such file or directory tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors make: *** [package/pkg-generic.mk:209: /home/landley/buildroot/buildroot/output/build/host-gettext-tiny-0.3.2/.stamp_extracted] Error 2 Sigh, never build git pull du jour of anything, buildroot's having glitch du jour. But the point is: $ grep -rl bamboo board/ board/qemu/ppc-bamboo/readme.txt $ cat board/qemu/ppc-bamboo/readme.txt Run the emulation with: qemu-system-ppc -nographic -M bamboo -kernel output/images/vmlinux -net nic,model=virtio-net-pci -net user # qemu_ppc_bamboo_defconfig The login prompt will appear in the terminal that started Qemu ------------------- In THEORY, once it builds an image (presumably using a tagged release version rather than expecting "continuous integration" to ever mean anything) you should be able to launch it with qemu. Assuming the instructions aren't also bit-rotted. (Or using one of the other nommu boards, I haven't gone through the whole list to see what they've got. I used to use a nommu arm board, but the linux kernel broke it when converting everything to device tree and not regression testing it.) Buildroot also apparently has an LTP package selectable in menuconfig: https://github.com/buildroot/buildroot/tree/master/package/ltp-testsuite But I haven't tried it... Rob P.S. I automate qemu testing all the time over in toybox, see testroot.sh under https://github.com/landley/toybox/tree/master/mkroot for an example.