From owner-freebsd-ppc@freebsd.org Sun Aug 23 05:12:10 2020 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 657893B15E9; Sun, 23 Aug 2020 05:12:10 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BZ3K627kQz4HT8; Sun, 23 Aug 2020 05:12:10 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bdragon/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 2CDF61CBDF; Sun, 23 Aug 2020 05:12:10 +0000 (UTC) (envelope-from bdragon@FreeBSD.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id AFACC27C0054; Sun, 23 Aug 2020 01:12:09 -0400 (EDT) Received: from imap1 ([10.202.2.51]) by compute4.internal (MEProxy); Sun, 23 Aug 2020 01:12:09 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudduhedgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdluddtmdenucfjughrpefofgggkfffhffvufgtsehttdertderredt necuhfhrohhmpedfuehrrghnughonhcuuegvrhhgrhgvnhdfuceosggurhgrghhonheshf hrvggvuefuffdrohhrgheqnecuggftrfgrthhtvghrnhepffelieekffekhefhfeekledu jeehtdduhfejteehgfekveejhfettdefudehleehnecuffhomhgrihhnpehgihhthhhusg drtghomhdplhhlvhhmrdhorhhgpdhnhigtsghughdrohhrghenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsughrrghgohhnodhmvghsmhhtph gruhhthhhpvghrshhonhgrlhhithihqddutdegvdefheekieegqddukedutdekheduqdgs ughrrghgohhnpeephfhrvggvuefuffdrohhrghesihhmrghprdgttg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6F7DCC200A5; Sun, 23 Aug 2020 01:12:09 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-214-g5a29d88-fm-20200818.002-g5a29d882 Mime-Version: 1.0 Message-Id: <60daae6e-a467-437d-821c-8e8cd4938fc6@www.fastmail.com> Date: Sun, 23 Aug 2020 00:11:44 -0500 From: "Brandon Bergren" To: "FreeBSD PowerPC ML" , "FreeBSD Hackers" Subject: PowerPC64LE bringup notes Content-Type: text/plain X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2020 05:12:10 -0000 For anyone who hasn't been watching my progress in IRC: Over the last couple weekends, I have been working on experimentally bringing up a PowerPC64 Little Endian kernel and userland for the first time. Last weekend, I succeeded in booting into multiuser in qemu pseries (via a somewhat convoluted boot procedure, as pseries makes bad assumptions about kernel entry points.) This evening, I accomplished the same on a Blackbird, after having spent some time during the week making progress on qemu powernv. My work tree is at https://github.com/bdragon28/freebsd/tree/little-endian -- I will be tidying things up and getting pieces of it committed to SVN relatively soon. For the forseeable future, BE will still be the preferred platform for FreeBSD PowerPC64, as it's a heck of a lot more comfortable to debug in. I don't have install media yet for people to experiment with. (I have stand/ disabled at the moment and make release depends on it, so all I have are sets, kernels, and a cobbled-together LE rootdisk.) Additionally, I still need to get the tests for https://reviews.llvm.org/D73425 written so I can get the target addition accepted into LLVM. While I can boot multiuser and the compiler works, there appear to be some lingering issues with floating point math that I have not gotten around to debugging yet, which has some odd effects like making top hang. dmesg @ https://dmesgd.nycbug.org/index.cgi?do=view&id=5636 -- Brandon Bergren bdragon@FreeBSD.org