From nobody Mon Dec 5 22:09:04 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NQyPv415Yz4jjVy for ; Mon, 5 Dec 2022 22:09:23 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-24.consmr.mail.gq1.yahoo.com (sonic311-24.consmr.mail.gq1.yahoo.com [98.137.65.205]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NQyPv16hBz3wDv for ; Mon, 5 Dec 2022 22:09:23 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1670278160; bh=iTno9TcNsxm8jYR//5dfP1r9/dTfJeMbYZwjQfr2hgU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=TMe4p8UaplsFLlp7NsFhF2+c8ZOvlyS97S+R+hAWRiUM5hN7sEbN+jrO4bk+SDnVNr04HD4QTzDStKy+wyWY+ByFXxzrLzz3VAwjhrSUaiC1gZic7fxilEVaPs9cgpm6HoqI8Hh6ARawzd/tiQMqYO04hyBxo0UHIwi6giBpXFA9ozZrZ0lAOMJ0kCgzO1pPYwdlNL2iPNgybntY9HRCd3VsqKQcv7Bs9/uC9e3mIyk5rsSjB/IVz1CXIfhhvC6p5zoJz4VlKseP4v1qz/hWM/5Z2UkZLXPD59Fg7wNcLlxUL+RUqfElBG8LQMZAu/Icv8Nz8/QansyerkFJZklfzg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1670278160; bh=jYkP5+TRB6zKnIhi3iDO6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2LrVWGZquVfN34pA0otXQAdXBgjha4lLXJnbfNCgXD.aSXgxl6R4nvJpbAezAAo0O MdWSqufHXNhvkDimTMyWcwLWSbC79SIN4bIQtVC.6MTPVijy8hcUeM3pcftrS_yaM0U8BrO3CCNP DVrtSsi34hV1PJhiulhfJ.Spnt1zlIjV3gMUVmpml5Po3enAekSkFgHRyxzw9nDWZx4mXdFdjyoe vArKmjGx28uHtCsTEXlYjgWH2g0PEiwqOv9lhXYg_hmjgA7C.FWqhpNutRE9D6vcq0WKOsKGypUU oQUK_8zYoAsTC2NzMLceEk_PW.gwSWgE5_6UNrym3uLtZW9AFL4uKUmGyLKDxfSIgl5SgvjKK5oQ 9VUFBcGjZr1WY4PhQpQftZ6_sQ4vL0wDSv5nK7ZACkxTVzeZeFVGseu26kS0ULMG.Te.lteEiXkH 4e.SNt2HtdvashI13pHyWdHTz0M4cPgq2cc6wg7oa3Hff7jC7BZIxL11UqxFL3CpZF64Jh7qXZgR nS2.QeY5dhux9nSGEHoSwVYwtcoLG2ooOM0E2p26wHZ4Mtvm2_Wkm2XlBaDqNKeMgARTTmTerPw- - X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Mon, 5 Dec 2022 22:09:20 +0000 Received: by hermes--production-bf1-5458f64d4-97x65 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 974482cd8202c0a5a7aa4b3b109ccfe0; Mon, 05 Dec 2022 22:09:17 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: Succeeded to boot on Lenovo Yoga C630 From: Mark Millard In-Reply-To: Date: Mon, 5 Dec 2022 14:09:04 -0800 Cc: "freebsd-arm@freebsd.org" , Warner Losh Content-Transfer-Encoding: quoted-printable Message-Id: <36C6E8E6-4324-43B6-B0BA-C70C9ED981CE@yahoo.com> References: To: hiroo.ono+freebsd@gmail.com X-Mailer: Apple Mail (2.3731.200.110.1.12) X-Rspamd-Queue-Id: 4NQyPv16hBz3wDv X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[freebsd]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Dec 5, 2022, at 13:11, Warner Losh wrote: > On Mon, Dec 5, 2022, 10:40 AM Hiroo Ono (=E5=B0=8F=E9=87=8E=E5=AF=9B=E7=94= =9F) wrote: >> Hello, >>=20 >> I cannot find the original mail in my mailbox, but it is continued >> from this mail. >> = https://freebsd-arm.freebsd.narkive.com/dBBAi0yX/loader-efi-does-not-boot-= on-lenovo-yoga-c630 >>=20 >> FreeBSD's bootaa64.efi that is distributed officially does not boot = on >> Lenovo Yoga C630. >> OpenBSD 7.2's bootaa64.efi booted fine on Yoga C630, so I merged >> OpenBSD's start.S and ldscript.arm64. >> boot1.efi booted fine, but loader_lua.efi still needed to be tweaked. >>=20 >> It seems that probing on serial console freezes the loader. >> Commenting out serialconsole made the loader_lua.efi to boot the = kernel. >> And then, the kernel stopped and complained that it cannot find the >> device tree blob. >>=20 >> So my questions are: >> 1. Can I disable loader from probing comconsole by some = configuration? >> (without tweaking the source.) >> 2. How should I make the loader or kernel to find the dtb file? >=20 > There are some BIOSes that hate our serial code. So far it has just = been in the cloud. But I'd just disable serial to confirm it's the same = problem. >=20 > Also, the kernel is weird with both DTB and ACPI right now. You have = to pick one and it defaults to dtb... and I have systems that require = manually setting this to ACPI. >=20 I'll note that if one gets to the boot loader prompt, one can try following loader command to figure out the ACPI vs. FDT (Device Tree) type of boot, at least in many cases: OK configuration . . . ACPI 2.0 Table at 0xef830018 . . . vs. (output compare/contrast): OK configuration . . . FDT Table at 0x7ef0000 . . . Although, it is possible to have an environment that provides with the ACPI Table and the FDT Table. In that case, what is being used requires more information than just configuration output. =3D=3D=3D Mark Millard marklmi at yahoo.com