From nobody Mon Dec 5 17:40:39 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 4NQrS60lxDz4kFZj for ; Mon, 5 Dec 2022 17:40:54 +0000 (UTC) (envelope-from hiroo.ono@gmail.com) Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NQrS50qBLz4HJG for ; Mon, 5 Dec 2022 17:40:53 +0000 (UTC) (envelope-from hiroo.ono@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=T63uj0Sx; spf=pass (mx1.freebsd.org: domain of hiroo.ono@gmail.com designates 2607:f8b0:4864:20::102e as permitted sender) smtp.mailfrom=hiroo.ono@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pj1-x102e.google.com with SMTP id o1-20020a17090a678100b00219cf69e5f0so3588382pjj.2 for ; Mon, 05 Dec 2022 09:40:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:reply-to:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=ctL8xjVEry7m6QRlCzny5LYpJAi/oTgk081Ao5BRqfw=; b=T63uj0SxAy3678gRQwHE43MezUutRcSH3GxMaLq6AHXna64i/OkaGEH9+DquqC8oNA uTNEFYJtD8myrTaxDSCXHeHSCNEEvhVBz2+GoCjtqjPCc29gy+L5KWBfOpWEf4aLWikQ qDy9x48AnNvcmIzzByRggrDzfshyiMTW4Ye2Fmp3R+MUZ8b8f17SX+mLVWEt3ec+QIXz 1HLJvJyFmKOcbw/YpqDBiEqcGOKbb9WlX1/5NR6K99gedaPLKGpPUX8ne5CVUXqKMDJu 3WSc114YQSpAJxPk+cIulCd3NSdjA0Wh0mFvKlgX6rnPZoBXS+l4cST1TKR2lt2MDlnv w82w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:reply-to:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ctL8xjVEry7m6QRlCzny5LYpJAi/oTgk081Ao5BRqfw=; b=U6d4AtbYIIWUymY/GLkk8FJ3m55zNZxfuLg0VLvOfQEonvljRkOMvz7MxC1W4TsJZF w72e29UTa/OePe/Un1UCE5cfGzW4uEwFTtFx2jNlg41/kQLsGVqeXqFjx3wjrfqPVRK0 Zc1c3wEa5xTaQynnkroS6lGAbUDU5HfSe+T42c/vPOj65OKnjwz3rOmxQ+cWo68R+20U A3pRZAxdFxcuVm/5esIEDhMiJyZEwQ29lwbsAy5nhfUZX5EhoDrtgj7Q7bTX59vzHG3C bCH0WNRoIMBJ75No6FOqZUQHdg6dWwNjKXPUJX/TQBBfppnD1ico8CjXlE9+i5EyTgYF 1AIg== X-Gm-Message-State: ANoB5pnQ30LagGTWAI3HjUM8HSqzq/gK4EULVDlsts9SO/LaycigXvyz Stt8O0i1oatlNo7ObElUdMUU0cJpL6FScrgidM/0/8C2LNM= X-Google-Smtp-Source: AA0mqf5TXB7obEKpq3uNUp+WJ0wYx0XatO4/rpBACOlzssKWxuIvnF8wCZsgA6xuDB9gh/JGNcfTda4X2eUYdLyVdGM= X-Received: by 2002:a17:902:f78c:b0:186:8c13:50b3 with SMTP id q12-20020a170902f78c00b001868c1350b3mr65544532pln.153.1670262051211; Mon, 05 Dec 2022 09:40:51 -0800 (PST) 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 Reply-To: hiroo.ono+freebsd@gmail.com From: =?UTF-8?B?SGlyb28gT25vICjlsI/ph47lr5vnlJ8p?= Date: Tue, 6 Dec 2022 02:40:39 +0900 Message-ID: Subject: Succeeded to boot on Lenovo Yoga C630 To: freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-3.34 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.96)[-0.964]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_LONG(-0.38)[-0.378]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_REPLYTO(0.00)[hiroo.ono+freebsd@gmail.com]; FREEMAIL_REPLYTO(0.00)[gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102e:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TAGGED_FROM(0.00)[freebsd]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4NQrS50qBLz4HJG X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hello, 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 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. 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. 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? Thank you. Hiroo Ono