From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4DB1FC636CD for ; Mon, 30 Jan 2023 21:56:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1066A857E4; Mon, 30 Jan 2023 22:56:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="lA+Ysc28"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AEFBB857FF; Mon, 30 Jan 2023 22:50:55 +0100 (CET) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 870EB852B8 for ; Mon, 30 Jan 2023 22:50:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=gerg@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9E98361280; Mon, 30 Jan 2023 21:50:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF6D8C433D2; Mon, 30 Jan 2023 21:50:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675115450; bh=Y57z5W1jiRCGSSKHAs8VGIIVC8K6IkKYxssjhZMZbOY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=lA+Ysc28X+Dz78qM/KaM98dytiu/bUOxvWt4z98Pit2QWXwobtu8lkpBs2gYE+LI8 pHnMp3UR0FQjtNl/i3VaHATFJTqUibOTubwQBxdRf7ORBk6J25oXMBlYH5pLuRmkbf TWxPC4mYvJZ3+hZOCqcKlQhEnZG++Ds0p8+ysNks9XrC1iczRPfRPuLjDklMh15nHC FhXxZnU0Q3Hc7dCHgLVD8jzAItID3inUskmKC+hrDIHkcd+/NJqNgQ0JR6ux9U9YWq FqnUjsz/HYrl6aC0deXlLI8VC/5+094tVlygAv8YsCMbKFDAVaPKGswAr0FngqnbH+ veWp9AhGDa8Hg== Message-ID: Date: Tue, 31 Jan 2023 07:50:45 +1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: U-Boot support for M68K removal Content-Language: en-US To: Tom Rini , Geert Uytterhoeven Cc: Eero Tamminen , John Paul Adrian Glaubitz , Angelo Dureghello , linux-m68k@lists.linux-m68k.org, Joshua Thompson , Philip Blundell , u-boot@lists.denx.de, Huan Wang References: <7739d9da9f49f99d156dacf645a311388e9eb628.camel@physik.fu-berlin.de> <6558aca3-63aa-c89c-93fc-a5afe48cbe78@helsinkinet.fi> From: Greg Ungerer In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 30 Jan 2023 22:56:39 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Hi Tom, On 31/1/23 05:31, Tom Rini wrote: > On Mon, Jan 30, 2023 at 08:10:36PM +0100, Geert Uytterhoeven wrote: >> Hi Eero, >> >> On Mon, Jan 30, 2023 at 8:02 PM Eero Tamminen wrote: >>> On 30.1.2023 18.34, Tom Rini wrote: >>>> That's great to hear. While I started my life on m68k machines, I never >>>> did get Linux up on one. Do the coldfire platforms you have run U-Boot >>>> today? If so, are they already supported upstream? One of my biggest >>>> concerns about the architecture, in U-Boot, is that I've just not heard >>>> of anyone using it in quite some time, and we don't have any emulated >>>> platforms either (can it be done in QEMU? We have other plaforms in CI >>>> via QEMU) so I worry it's not working. >>> >>> Qemu supports both m68k and ColdFire nowadays: >>> https://www.qemu.org/docs/master/system/target-m68k.html >>> >>> >>> - Eero >>> >>> PS. For m68k there are also a lot of other emulators that emulate >>> specific platforms. >>> >>> Aranym, 68040 Atari "clone", used a lot by Debian m68k port before Qemu >>> got m68k support. >>> >>> WinAUE, 68000-68040 Amiga emulation. Unlike Aranym or Qemu, this >>> emulates also CPU cache. >>> >>> Hatari, 68000-68040 Atari emulation (based on WinUAE CPU core). >>> >>> Previous, 68030 NeXT emulator (based on Hatari). >> >> But none of the platforms listed above boot using U-Boot, which is >> what Tom is interested in... >> >> "qemu-system-m68k -machine help" lists a.o.: >> >> an5206 Arnewsh 5206 >> mcf5208evb MCF5208EVB (default) >> >> U-Boot still contains include/configs/M5208EVBE.h, but there are no >> actual users... >> >> Angelo: so support for amcore in qemu would be nice ;-) > > I did a little searching after sending and I see there's been some > patches for mcf5208evb and U-Boot, in QEMU but the last message (2019) > was that the CPU emulation wasn't quite complete enough. But yes, one > way or another, it would be really great to get a virtualized platform > in CI to prevent future breakage. FWIW the QEMU emulation of the m5208evb is good enough to run Linux. I do a lot of kernel testing (and development!) using that. Regards Greg