From owner-freebsd-arm@freebsd.org Sun Feb 24 03:07:51 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2168150F6B0 for ; Sun, 24 Feb 2019 03:07:51 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vtr.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9ED2A82F53 for ; Sun, 24 Feb 2019 03:07:50 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vtr.rulingia.com (8.15.2/8.15.2) with ESMTPS id x1O37dxW076678 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 24 Feb 2019 14:07:45 +1100 (AEDT) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id x1O37XEu011572 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 24 Feb 2019 14:07:33 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id x1O37XV8011571 for freebsd-arm@freebsd.org; Sun, 24 Feb 2019 14:07:33 +1100 (AEDT) (envelope-from peter) Date: Sun, 24 Feb 2019 14:07:33 +1100 From: Peter Jeremy To: freebsd-arm@freebsd.org Subject: Fixing the missing "cpu" devclass on RPi Message-ID: <20190224030733.GA11137@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.11.1 (2018-12-01) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 03:07:52 -0000 --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On the RPi, the "cpu" devclass is created by dev/ofw/ofw_cpu.c and depends on the presence of a "cpus" block in the FDT. This exists in the FreeBSD trees (eg bcm2835-rpi-b-plus.dtb) but not in the Linux FDT populated by the latest firmware. This means that (eg) bcm2835_cpufreq never gets probed[1]. Injecting "cpus" via a fdt overlay was suggested but I can't get that to work. I have rpi-cpus.dtso as follows: =3D=3D=3D=3D=3D /dts-v1/; /plugin/; / { compatible =3D "brcm,bcm2835"; }; &{/} { cpus { cpu@0 { compatible =3D "arm,1176jzf-s"; device_type =3D "cpu"; }; }; }; =3D=3D=3D=3D=3D When I compile it and de-compile it, the result looks sane: =3D=3D=3D=3D $ dtc -I dtb -O dts rpi-cpus.dtbo /dts-v1/; / { compatible =3D "brcm,bcm2835"; fragment@0 { target-path =3D "/"; __overlay__ { cpus { cpu@0 { compatible =3D "arm,1176jzf-s"; device_type =3D "cpu"; }; }; }; }; __symbols__ { }; }; =3D=3D=3D=3D I've added rpi-cpus.dtbo to fdt_overlays in loader.conf and the boot messages report that it's being loaded but the "cpus" section is still missing from hw.fdt I presume I've got something wrong in my dtso but I'm not sure what - I haven't found a great deal of documentation on writing overlays and the above looks correct according to what I've found. [1] There's a separate bug in bcm2835_cpufreq.c so it'll never attach, but that's just a matter of fixing the compatible list. --=20 Peter Jeremy --ibTvN161/egqYuK8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAlxyCnVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzTZCA//XGWihd3u8p/0txIUzP3c+hS5zpKzJZameYOwv1CJFJ/vcIcHVhoMAXX5 +zbgcg+w9GZUsLUw04LF7dsXkpLwbfBK4uQCQ0o25vBgBRS15aMCE3D3M9yxhCcJ TvAYzT22biaAqD8Z+YvJg8wxhbG341sWxKaj4hOnXGNGYGzD93pVH7H3JRYUxA37 dBwyeP7K9LDkLxUN+EcYBUAkvMhAQQxntLX0aGuPeuwRbmhqsnVYMjXyyyKZE9JV Ptv1SbraIyv8lDMRumtOdqzWuo8+JYDMngLKrCQq+cdxY3pC847TuiTeuYAbF4FK rF7H5OIKfbLd9F8ZhNHmcQ+gCTP2QJBN9Flo07CcVO/iJ2mFUya62UOZbDJ0PBLg JZ8Uba1WQVf4G/wULvj0jJoqU9KeobOUm673LEwRMOZAnNwj0APmPAahwI45SnUh ZPK+NHIo6GwV/oIQjz3elGQKrcgmtmuEb5TgtUuaYsJIKvAcMGY1H5rf+RMJTIcH y7nldYeY3+0rzUveiaUjnewevvBQUa5jZ+TMZ8pGTcakkPeFJcliB7+4g2R1OiNh fzmy4KrNf50I8302CbjNamYaPf3OupGjNZlNFNx/DX0XB/Bua1Q8/Zdk/kJQP2yT JYqPYKI5ru+Cv6KL+d4mtepLxQpjFKC/ncf/G2uytqwx1BqJ2/8= =l2uY -----END PGP SIGNATURE----- --ibTvN161/egqYuK8-- From owner-freebsd-arm@freebsd.org Sun Feb 24 06:16:55 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A83B1513F2B for ; Sun, 24 Feb 2019 06:16:55 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vtr.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 71C3C882B2 for ; Sun, 24 Feb 2019 06:16:54 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vtr.rulingia.com (8.15.2/8.15.2) with ESMTPS id x1O6GgGs077265 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 24 Feb 2019 17:16:49 +1100 (AEDT) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id x1O6GbVg012633 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 24 Feb 2019 17:16:37 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id x1O6GbvH012632 for freebsd-arm@freebsd.org; Sun, 24 Feb 2019 17:16:37 +1100 (AEDT) (envelope-from peter) Date: Sun, 24 Feb 2019 17:16:37 +1100 From: Peter Jeremy To: freebsd-arm@freebsd.org Subject: Re: Fixing the missing "cpu" devclass on RPi Message-ID: <20190224061637.GA12597@server.rulingia.com> References: <20190224030733.GA11137@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <20190224030733.GA11137@server.rulingia.com> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.11.1 (2018-12-01) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 06:16:55 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-Feb-24 14:07:33 +1100, Peter Jeremy wro= te: >I've added rpi-cpus.dtbo to fdt_overlays in loader.conf and the boot >messages report that it's being loaded but the "cpus" section is still >missing from hw.fdt > >I presume I've got something wrong in my dtso but I'm not sure what - >I haven't found a great deal of documentation on writing overlays and >the above looks correct according to what I've found. Actually, I had a typo in my fdt_overlays and missed the error message that reported the load failed. :-( bcm2835_cpufreq is working for me again. --=20 Peter Jeremy --jI8keyz6grp/JLjh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAlxyNsRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzSSEA/9FiIg3BcEsrG0cldf/r88AvbrPBbDF28VZeHUirC88MCxQh6XSQccwYrc 6RZI+j2wA7Y3XUB423wOmezXl4/b3KXLS5CM/PQsvZxmfQRf1g6db3suwIRVXoim XpdJG1jCIVkLJtdVTEExRcaEINSxhfjAk0cpbBql5AcpnCBib8wQqr0oLKA6XnCC qNJWPJDxjBylP6DF1PxbbYP9uJwyeucGa15Qa6x9QXQ0BrDFkUq3fL88BAnXPeqD 9vaABOSkh01VwOAhGvh9Ur4wzE2bcmZeMV7avFRprwrpJAJfr4OClbRYQV7VF+lW qCsMpOVaI/AjuPhLV43prQVPJIT16NrQy/IGqclcV9YKVu3+Aaq6e3uzA+I+ez7O lh7RHP01WcJCvVixQy1D0gyJbnNKq6HQlFQyLvYp2JfkddXHxQDWWnW4ZigM2d/2 4KvePLSISgt1366wHFlY4nW/v528qIchg2Kz2+pHW1PxKMm46UPjjy7W6RDw+iaT zGoCic2TDXdcQ5Vmdl4kiXFf6ZBElVuzoQv08w0L6eecfMI5aDpgeJrJApIcfHIM AuS8ez6GCK+63S7R1M3EAFnvlltZZinCBpxlkf+zKwQvhyaYTS2hs5TgE3t3rfy/ 3aGOXLWfYXl1/G64XnMlZNPDdNowerPns0x15EU4dLEBYT3PPdQ= =GUet -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh-- From owner-freebsd-arm@freebsd.org Mon Feb 25 21:42:56 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10D351516EC2 for ; Mon, 25 Feb 2019 21:42:56 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it1-f176.google.com (mail-it1-f176.google.com [209.85.166.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DDDFA8339A; Mon, 25 Feb 2019 21:42:54 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it1-f176.google.com with SMTP id z124so828054itc.2; Mon, 25 Feb 2019 13:42:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MQIe0F3jjYYXabLrFP+NvUi+CYbyqJmA/qHJb4s4BLM=; b=X0GRypDDvVzuAPkRnJM6qNY2wPYHSjSrIo1C0ipc0bbwcm2cbX6pXdvFoRwO7xpFcU kIBRzbR1Ly9MhdXa3PqBYNBcNDL6Cw+mDhr1So1NciZ5Db95sw22aSiYhlrXE5Xkd3Nc Lmrct6z1E8w2z18Y9AYJ9q2/WuL6ovY/fXw44gtudv3GZHoFApXfiHp+DNZpFuPz6VDJ jOqs+kfKULrVkrdDM3qCBlXeOmCUBYUZk1YkvHLc6wQg8tcx/OXrMFf5UAPGmGr3XSTn Oa1f4xdne7JvbThdUF9HDggBAuSKYBzAaP0j5GZo4Wk4GNQCD94K61x5gM00PuJsNVeY pX/g== X-Gm-Message-State: AHQUAuZ5hQBwPRN/xQFZjV0AQJUii9b/7/KSgrNPaXKx1zAsSz7xdnfS gtlgaqDcfKLZihYgxdXn6L/exuoo4SLLr8YzH2TQGg== X-Google-Smtp-Source: APXvYqxigY25HSj3tNMDSlEG/QlYzWaBhUU7EZaj06tm+oRI6zJ/+6dZeZOJkqfFiuSfz7L0eKurtAI+YOHI5rUUNj4= X-Received: by 2002:a24:5a8d:: with SMTP id v135mr567964ita.87.1551130968006; Mon, 25 Feb 2019 13:42:48 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Mon, 25 Feb 2019 16:42:34 -0500 Message-ID: Subject: Re: FreeBSD on ThunderX2 update To: "Jayachandran C." Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: DDDFA8339A X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.176 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-5.55 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.82)[ip: (-8.21), ipnet: 209.85.128.0/17(-3.81), asn: 15169(-2.00), country: US(-0.07)]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[176.166.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.73)[-0.727,0]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2019 21:42:56 -0000 On Sun, 17 Feb 2019 at 19:18, Jayachandran C. wrote: > > If you have access to a ThunderX2 board, let me know if > it works for you. The Sabre system I have here is running a build from my WIP branch (FreeBSD HEAD + some toolchain and other work in progress) just fine. I expect it will remain in my office for a little longer, then I will take it to Sentex to be added to the test cluster there. From owner-freebsd-arm@freebsd.org Tue Feb 26 01:37:00 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9297C151F350 for ; Tue, 26 Feb 2019 01:37:00 +0000 (UTC) (envelope-from shigeru@os-hackers.jp) Received: from mailssl03.asahi-net.or.jp (mailssl03.asahi-net.or.jp [202.224.55.62]) by mx1.freebsd.org (Postfix) with ESMTP id 203E58D623 for ; Tue, 26 Feb 2019 01:36:57 +0000 (UTC) (envelope-from shigeru@os-hackers.jp) Received: from localhost (w142149.ppp.asahi-net.or.jp [121.1.142.149]) (Authenticated sender: WJ8S-YMMT) by mailssl03.asahi-net.or.jp (Postfix) with ESMTPSA id 01BEF4005E for ; Tue, 26 Feb 2019 10:36:46 +0900 (JST) Date: Tue, 26 Feb 2019 10:36:42 +0900 (JST) Message-Id: <20190226.103642.800483869366373977.shigeru@os-hackers.jp> To: freebsd-arm@freebsd.org Subject: patch: make SD images for arm64 boards at same release.sh From: YAMAMOTO Shigeru X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 203E58D623 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=fail (mx1.freebsd.org: domain of shigeru@os-hackers.jp does not designate 202.224.55.62 as permitted sender) smtp.mailfrom=shigeru@os-hackers.jp X-Spamd-Result: default: False [3.97 / 15.00]; ARC_NA(0.00)[]; R_SPF_FAIL(1.00)[-all]; URL_IN_SUBJECT(0.40)[release.sh]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.38)[0.384,0]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[os-hackers.jp]; NEURAL_SPAM_SHORT(0.05)[0.045,0]; MX_GOOD(-0.01)[mx.mgw.jp]; NEURAL_SPAM_LONG(0.67)[0.669,0]; MID_CONTAINS_FROM(1.00)[]; IP_SCORE(-0.02)[country: JP(-0.08)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4685, ipnet:202.224.32.0/19, country:JP]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 01:37:00 -0000 Hi, all, I try to change src/release/release.sh to make SD images for RPI3/PINE64/PINE64-LTE/PINEBOOK. diff for head is https://github.com/bsd-hacker/freebsd/pull/3 A sequence of making a SD image is 1. make cross compile environment 2. make user land binarys 3. make kernel 4. install user land binarys to a SD image 5. install kernel to a SD image 6. install ipl/u-boot to a SD image 7. configure /etc For RPI3/PINE64/PINE64-LTE/PINEBOOK, there is no differences without step 6. So I change step 6 to loop for each boards. I test RPI3, PINE64. I can boot using RPI3 and PINE64 SD image. I don't test PINE64-LTE, PINEBOOK because I have no them. Thanks, --- YAMAMOTO Shigeru From owner-freebsd-arm@freebsd.org Tue Feb 26 03:08:36 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D47DD1504777 for ; Tue, 26 Feb 2019 03:08:36 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EC07F93C3E for ; Tue, 26 Feb 2019 03:08:35 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id B4F2C17080; Tue, 26 Feb 2019 03:08:28 +0000 (UTC) Date: Tue, 26 Feb 2019 03:08:26 +0000 From: Mark Linimon To: YAMAMOTO Shigeru Cc: freebsd-arm@freebsd.org Subject: Re: patch: make SD images for arm64 boards at same release.sh Message-ID: <20190226030825.GA6404@lonesome.com> References: <20190226.103642.800483869366373977.shigeru@os-hackers.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190226.103642.800483869366373977.shigeru@os-hackers.jp> User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: EC07F93C3E X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [0.55 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; URL_IN_SUBJECT(0.40)[release.sh]; NEURAL_HAM_MEDIUM(-0.07)[-0.067,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.77)[0.773,0]; IP_SCORE(-0.27)[ipnet: 18.220.0.0/14(0.06), asn: 16509(-1.35), country: US(-0.07)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lonesome.com]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.97)[-0.969,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[11.6.222.18.list.dnswl.org : 127.0.5.2]; MX_GOOD(-0.01)[mail.soaustin.net]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:18.220.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 03:08:37 -0000 Would it be acceptable if I opened a review on Phabricator pointing to these changes so that they do not get lost? Thanks. mcl From owner-freebsd-arm@freebsd.org Tue Feb 26 07:38:45 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23FEC150EDB4 for ; Tue, 26 Feb 2019 07:38:45 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CCCBB70267 for ; Tue, 26 Feb 2019 07:38:43 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x1Q7ceHB043671; Mon, 25 Feb 2019 23:38:40 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id x1Q7cdhU043670; Mon, 25 Feb 2019 23:38:39 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201902260738.x1Q7cdhU043670@pdx.rh.CN85.dnsmgr.net> Subject: Re: patch: make SD images for arm64 boards at same release.sh In-Reply-To: <20190226030825.GA6404@lonesome.com> To: Mark Linimon Date: Mon, 25 Feb 2019 23:38:39 -0800 (PST) CC: YAMAMOTO Shigeru , freebsd-arm@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: CCCBB70267 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.83 / 15.00]; ARC_NA(0.00)[]; URL_IN_SUBJECT(0.40)[release.sh]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.95)[0.954,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.41)[0.406,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: pdx.rh.CN85.dnsmgr.net]; NEURAL_SPAM_LONG(0.20)[0.197,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.01)[ip: (0.01), ipnet: 69.59.192.0/19(0.01), asn: 13868(-0.01), country: US(-0.07)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 07:38:45 -0000 > Would it be acceptable if I opened a review on Phabricator pointing > to these changes so that they do not get lost? If the submitter is ok with that, would you please add me to the created review? > Thanks. > mcl -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-arm@freebsd.org Tue Feb 26 18:53:03 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 984E01522C82 for ; Tue, 26 Feb 2019 18:53:03 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 365A96DB6F for ; Tue, 26 Feb 2019 18:53:01 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id x1QIrQ0b058370 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 26 Feb 2019 10:53:27 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x1QIrQRX058369; Tue, 26 Feb 2019 10:53:26 -0800 (PST) (envelope-from fbsd) Date: Tue, 26 Feb 2019 10:53:26 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Re: Clang segfault on rpi3 workaround using -O2 Message-ID: <20190226185326.GA58325@www.zefox.net> References: <20190219180757.GA13504@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190219180757.GA13504@www.zefox.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 365A96DB6F X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.44 / 15.00]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.83)[0.831,0]; IP_SCORE(0.22)[ip: (0.78), ipnet: 50.1.16.0/20(0.39), asn: 7065(-0.01), country: US(-0.07)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.71)[0.711,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: www.zefox.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.79)[0.789,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 18:53:03 -0000 On Tue, Feb 19, 2019 at 10:07:57AM -0800, bob prohaska wrote: > The segfaults in clang during buildworld on rpi3 persisted past > r339376, but a hint from > https://github.com/android-ndk/ndk/issues/386 > suggested trying CFLAGS=-O2 as a long-shot workaround. > > To my surprise, it worked. Three passes were required to > clear the segfaults, but now a -j4 buildworld/buildkernel > cycle runs without error to completion. A test of www/chromium > is underway now, and about half finished with no errors yet, > using r344113. > > The github report is more than a year old and notes that > clang was fixed around that time. Is it possible the fix > didn't find its way into FreeBSD? > The CFLAGS=-O2 workaround also seems to (mostly) work building www/chromium. There was only one segfault compiling chromium, restarting make permitted a successful installation. Previously make segfaulted several times per day, seemingly independent of swap usage, so it doesn't seem related to VM pressure. Unfortunately that version of chromium had a (now corrected) libray bug so it wouldn't run. www/chromium is now up to date and make is trying again. There's a bit more detail at http://www.zefox.net/~fbsd/rpi3/clang_trouble/r344113/readme in case anybody's interested. Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Wed Feb 27 03:55:27 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48465150EF8F for ; Wed, 27 Feb 2019 03:55:27 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 731B68AFE3 for ; Wed, 27 Feb 2019 03:55:26 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id x1R3thDp060356 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 26 Feb 2019 19:55:44 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x1R3th7p060355; Tue, 26 Feb 2019 19:55:43 -0800 (PST) (envelope-from fbsd) Date: Tue, 26 Feb 2019 19:55:43 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Kernel build failure on rpi2 at 344613 Message-ID: <20190227035542.GA60321@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 731B68AFE3 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.17 / 15.00]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.45)[0.448,0]; IP_SCORE(0.21)[ip: (0.75), ipnet: 50.1.16.0/20(0.38), asn: 7065(-0.01), country: US(-0.07)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.77)[0.775,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: www.zefox.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.85)[0.845,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2019 03:55:27 -0000 In trying to make world and kernel on RPI2 at r344613 buildworld ran to completion, but buildkernel stopped wtih --- machdep_boot.o --- /usr/src/sys/arm/arm/machdep_boot.c:170:34: error: too few arguments to function call, single argument 'cmdline' was not specified boothowto |= boot_parse_cmdline(); ~~~~~~~~~~~~~~~~~~ ^ /usr/src/sys/sys/boot.h:37:1: note: 'boot_parse_cmdline' declared here int boot_parse_cmdline(char *cmdline); ^ 1 error generated. *** [machdep_boot.o] Error code 1 make[2]: stopped in /usr/obj/usr/src/sys/RPI2 The machine is running FreeBSD www.zefox.com 11.2-STABLE FreeBSD 11.2-STABLE #0 r343555: Wed Jan 30 04:55:19 PST 2019 bob@www.zefox.com:/usr/obj/usr/src/sys/RPI2 arm Any idea how to get past this impediment? Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Wed Feb 27 05:06:38 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E95DC1510CB8 for ; Wed, 27 Feb 2019 05:06:37 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 552B88D526 for ; Wed, 27 Feb 2019 05:06:37 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1551243989; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=f3UmJ29EzPIL8/1IXF13BRznD6T28HRBtKJJ0MbYmQ9NwBE9LKFHITKLZ04VGUUeN92R4BiboGo2e ir4Dz/JMRdV4IXOuMxfFn8fCYIb7gkuPB726ocnH/kcrYCR77VWvzOLN1CSthEm4Pbb4YG9RhxGOxl +M80zSYkIDqW4RUlNBZ3Ca28ZlexjFrwrdlRJ9xdZSieCYqVbmxoXFtixb0ZchSHcHIAdAA6NRoQbA 8SeE/At15xUyrkROf8dIETAN0TWvHAJBMa2rBAs7/6AJhO1Rj3Pp5NEgBhM2giD50jJ1fQ8VFsYb+r dr1wrjtqyAfi0qFpFojGIC1SODVP2hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=V/L8HgO41dqAVj76bPB3f1PL4Vif2a1HoS9SaycxF2s=; b=q8w6YrQ54P2Qk3OWDBJ0Tv+IjlApVEJDP8SohavZCV6Eh8UUz0z9Z8VSWaAs1omk28yJjGojApln3 40wabzEOhQKzohj0Lmm02Cc62g7qP4BDV8aowC/7dlQun2EkjtLZrrNC4EOSpd7z4vxNiRg7HEt9lu ViC3sJADwm6XVp4VWejBkM5MUviv4Jy3AXtmERmQBwql13Wa/Lfj5pJytHFn1L3JO1vNkswEvrElIP kM4XyaT8nVa9Clyrl586FNuYMkx6QrDcBVXW+panVnOIaPi8UoDN5B7V1QAO7Ao4owW2mGG/ClC2bu t9T6ekj0a9Vj4mfVm9fMocUYLeUICaA== ARC-Authentication-Results: i=1; outbound2.eu.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=V/L8HgO41dqAVj76bPB3f1PL4Vif2a1HoS9SaycxF2s=; b=WohstDZr6xbvrqhjNBzOJmbAj32jNT3GyIgg/Pmb1MYWg/iIN+8MLhgQ2wDindHx5nU2OvxBNX+92 u4dmbkSskBdJGIVuGZrhVkGYgHbn55K8416U5rJpEp3ZSx++VNKmlQtSHn2DYcEYIHWncUiQSdlJ58 r0toqxayZFiwIJnzu70qktlFGJzuq+P7jjHaw1mkjkWD9Zej1SBc4vc0jmNgbQp/rboPsCNrHV36IQ qoUzuBa8ZYUkKnRj8ulMly7HaBR11Tchy1r/bWTuXoPfDg+SQgP5E8B7IlzgLTS558XYPgzVyNyktz OL+mWEKgb/CVkRCpC/NtKUCVcEcUZ4w== X-MHO-RoutePath: aGlwcGll X-MHO-User: 6dd9ece3-3a4d-11e9-803b-31925da7267c X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound2.eu.mailhop.org (Halon) with ESMTPSA id 6dd9ece3-3a4d-11e9-803b-31925da7267c; Wed, 27 Feb 2019 05:06:27 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x1R56NUO003156; Tue, 26 Feb 2019 22:06:23 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <4c983cf9d039bf95bd19433cbf640f2ae68b0580.camel@freebsd.org> Subject: Re: Kernel build failure on rpi2 at 344613 From: Ian Lepore To: bob prohaska , freebsd-arm@freebsd.org Date: Tue, 26 Feb 2019 22:06:23 -0700 In-Reply-To: <20190227035542.GA60321@www.zefox.net> References: <20190227035542.GA60321@www.zefox.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 552B88D526 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:52.58.0.0/15, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2019 05:06:38 -0000 On Tue, 2019-02-26 at 19:55 -0800, bob prohaska wrote: > In trying to make world and kernel on RPI2 at r344613 buildworld ran > to > completion, but buildkernel stopped wtih > --- machdep_boot.o --- > /usr/src/sys/arm/arm/machdep_boot.c:170:34: error: too few arguments > to function call, single argument 'cmdline' was not specified > boothowto |= boot_parse_cmdline(); > ~~~~~~~~~~~~~~~~~~ ^ > /usr/src/sys/sys/boot.h:37:1: note: 'boot_parse_cmdline' declared > here > int boot_parse_cmdline(char *cmdline); > ^ > 1 error generated. > *** [machdep_boot.o] Error code 1 > > make[2]: stopped in /usr/obj/usr/src/sys/RPI2 > > The machine is running > FreeBSD www.zefox.com 11.2-STABLE FreeBSD 11.2-STABLE #0 r343555: Wed > Jan 30 04:55:19 PST 2019 bob@www.zefox.com:/usr/obj/usr/src/sys/R > PI2 arm > > Any idea how to get past this impediment? > > Thanks for reading, > > bob prohaska > Fix should be committed soon; to get moving right away, apply this patch: https://svnweb.freebsd.org/base/head/sys/arm/arm/machdep_boot.c?r1=336244&r2=336262&view=patch -- Ian From owner-freebsd-arm@freebsd.org Wed Feb 27 06:34:48 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5668C1512D3B for ; Wed, 27 Feb 2019 06:34:48 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E33EF8FCB8; Wed, 27 Feb 2019 06:34:46 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id x1R6ZBiU060963 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 26 Feb 2019 22:35:12 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x1R6ZBL3060962; Tue, 26 Feb 2019 22:35:11 -0800 (PST) (envelope-from fbsd) Date: Tue, 26 Feb 2019 22:35:10 -0800 From: bob prohaska To: Ian Lepore Cc: freebsd-arm@freebsd.org Subject: Re: Kernel build failure on rpi2 at 344613 Message-ID: <20190227063510.GA60901@www.zefox.net> References: <20190227035542.GA60321@www.zefox.net> <4c983cf9d039bf95bd19433cbf640f2ae68b0580.camel@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4c983cf9d039bf95bd19433cbf640f2ae68b0580.camel@freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: E33EF8FCB8 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.81 / 15.00]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.91)[0.912,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.85)[0.846,0]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(0.21)[ip: (0.74), ipnet: 50.1.16.0/20(0.37), asn: 7065(-0.01), country: US(-0.07)]; MX_GOOD(-0.01)[cached: www.zefox.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.96)[0.959,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2019 06:34:48 -0000 On Tue, Feb 26, 2019 at 10:06:23PM -0700, Ian Lepore wrote: > On Tue, 2019-02-26 at 19:55 -0800, bob prohaska wrote: > > In trying to make world and kernel on RPI2 at r344613 buildworld ran > > to > > completion, but buildkernel stopped wtih > > --- machdep_boot.o --- > > /usr/src/sys/arm/arm/machdep_boot.c:170:34: error: too few arguments > > to function call, single argument 'cmdline' was not specified > > boothowto |= boot_parse_cmdline(); > > ~~~~~~~~~~~~~~~~~~ ^ > > /usr/src/sys/sys/boot.h:37:1: note: 'boot_parse_cmdline' declared > > here > > int boot_parse_cmdline(char *cmdline); > > ^ > > 1 error generated. > > *** [machdep_boot.o] Error code 1 > > > > make[2]: stopped in /usr/obj/usr/src/sys/RPI2 > > > > The machine is running > > FreeBSD www.zefox.com 11.2-STABLE FreeBSD 11.2-STABLE #0 r343555: Wed > > Jan 30 04:55:19 PST 2019 bob@www.zefox.com:/usr/obj/usr/src/sys/R > > PI2 arm > > > > Any idea how to get past this impediment? > > > > Thanks for reading, > > > > bob prohaska > > > > Fix should be committed soon; to get moving right away, apply this > patch: > > https://svnweb.freebsd.org/base/head/sys/arm/arm/machdep_boot.c?r1=336244&r2=336262&view=patch > Done. Thank you! bob prohaska From owner-freebsd-arm@freebsd.org Wed Feb 27 11:06:47 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0960915199F4 for ; Wed, 27 Feb 2019 11:06:47 +0000 (UTC) (envelope-from shigeru@os-hackers.jp) Received: from mailssl03.asahi-net.or.jp (mailssl03.asahi-net.or.jp [202.224.55.62]) by mx1.freebsd.org (Postfix) with ESMTP id 2B38B71E12 for ; Wed, 27 Feb 2019 11:06:43 +0000 (UTC) (envelope-from shigeru@os-hackers.jp) Received: from localhost (w142149.ppp.asahi-net.or.jp [121.1.142.149]) (Authenticated sender: WJ8S-YMMT) by mailssl03.asahi-net.or.jp (Postfix) with ESMTPSA id 8F8DE4005E; Wed, 27 Feb 2019 20:06:34 +0900 (JST) Date: Wed, 27 Feb 2019 20:06:26 +0900 (JST) Message-Id: <20190227.200626.369049015219997925.shigeru@os-hackers.jp> To: linimon@lonesome.com Cc: freebsd-arm@freebsd.org Subject: Re: patch: make SD images for arm64 boards at same release.sh From: YAMAMOTO Shigeru In-Reply-To: <20190226030825.GA6404@lonesome.com> References: <20190226.103642.800483869366373977.shigeru@os-hackers.jp> <20190226030825.GA6404@lonesome.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 2B38B71E12 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; spf=fail (mx1.freebsd.org: domain of shigeru@os-hackers.jp does not designate 202.224.55.62 as permitted sender) smtp.mailfrom=shigeru@os-hackers.jp X-Spamd-Result: default: False [3.33 / 15.00]; ARC_NA(0.00)[]; R_SPF_FAIL(1.00)[-all]; URL_IN_SUBJECT(0.40)[release.sh]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; NEURAL_SPAM_SHORT(0.30)[0.296,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[os-hackers.jp]; NEURAL_HAM_MEDIUM(-0.39)[-0.393,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mx.mgw.jp]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; NEURAL_SPAM_LONG(0.55)[0.549,0]; IP_SCORE(-0.02)[country: JP(-0.08)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4685, ipnet:202.224.32.0/19, country:JP]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2019 11:06:47 -0000 >>>>> "Mark" == Mark Linimon writes: Mark> Would it be acceptable if I opened a review on Phabricator pointing to Mark> these changes so that they do not get lost? I add a review at https://reviews.freebsd.org/D19380 Thanks, --- YAMAMOTO Shigeru From owner-freebsd-arm@freebsd.org Wed Feb 27 13:00:49 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 564E5151C7A3; Wed, 27 Feb 2019 13:00:49 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) 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 EF91F7566A; Wed, 27 Feb 2019 13:00:48 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id A0BC75E6C; Wed, 27 Feb 2019 13:00:48 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lj1-f169.google.com with SMTP id z7so13710903lji.0; Wed, 27 Feb 2019 05:00:48 -0800 (PST) X-Gm-Message-State: AHQUAuaDksdg5ZY28U5ZRcT3n//Y9olD42j/bAV51h8kFPcpLn9UWbz1 W2BKdxAsrcGhPc7vMvcYc8SOfcgupxPXRx8EcUI= X-Google-Smtp-Source: APXvYqxQySV40zsI3j5BHQGlqg5Oq7bM2WjZRUGdnWr6aSDzZg1HbrCClW+0s4CJqCuLo0fniR/fK1nHUmivn5netZ8= X-Received: by 2002:a2e:9ec2:: with SMTP id h2mr1381055ljk.186.1551272447143; Wed, 27 Feb 2019 05:00:47 -0800 (PST) MIME-Version: 1.0 References: <20190227035542.GA60321@www.zefox.net> <4c983cf9d039bf95bd19433cbf640f2ae68b0580.camel@freebsd.org> In-Reply-To: <4c983cf9d039bf95bd19433cbf640f2ae68b0580.camel@freebsd.org> From: Kyle Evans Date: Wed, 27 Feb 2019 07:00:35 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Kernel build failure on rpi2 at 344613 To: Ian Lepore , freebsd-testing@freebsd.org Cc: bob prohaska , "freebsd-arm@freebsd.org" , Li-Wen Hsu Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: EF91F7566A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.93 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.94)[-0.936,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2019 13:00:49 -0000 On Tue, Feb 26, 2019 at 11:06 PM Ian Lepore wrote: > > On Tue, 2019-02-26 at 19:55 -0800, bob prohaska wrote: > > In trying to make world and kernel on RPI2 at r344613 buildworld ran > > to > > completion, but buildkernel stopped wtih > > --- machdep_boot.o --- > > /usr/src/sys/arm/arm/machdep_boot.c:170:34: error: too few arguments > > to function call, single argument 'cmdline' was not specified > > boothowto |= boot_parse_cmdline(); > > ~~~~~~~~~~~~~~~~~~ ^ > > /usr/src/sys/sys/boot.h:37:1: note: 'boot_parse_cmdline' declared > > here > > int boot_parse_cmdline(char *cmdline); > > ^ > > 1 error generated. > > *** [machdep_boot.o] Error code 1 > > > > make[2]: stopped in /usr/obj/usr/src/sys/RPI2 > > > > The machine is running > > FreeBSD www.zefox.com 11.2-STABLE FreeBSD 11.2-STABLE #0 r343555: Wed > > Jan 30 04:55:19 PST 2019 bob@www.zefox.com:/usr/obj/usr/src/sys/R > > PI2 arm > > > > Any idea how to get past this impediment? > > > > Thanks for reading, > > > > bob prohaska > > > > Fix should be committed soon; to get moving right away, apply this > patch: > > https://svnweb.freebsd.org/base/head/sys/arm/arm/machdep_boot.c?r1=336244&r2=336262&view=patch > I clearly failed to catch it, but I'm also trying to decide why Jenkins' stable/11 job didn't catch it... machdep_boot is standard arm*, but the build didn't skip a beat. CC'ing lwhsu@/freebsd-testing@ because that seems like it might be indicative of a slightly larger problem. In either case, thanks for the pointer! MFC is getting committed momentarily. From owner-freebsd-arm@freebsd.org Wed Feb 27 15:44:18 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A48015203D0 for ; Wed, 27 Feb 2019 15:44:18 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1.eu.mailhop.org (outbound1.eu.mailhop.org [52.28.251.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6996D838C7 for ; Wed, 27 Feb 2019 15:44:17 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1551281285; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=WY3sEEK0i5DcJfO57lhCjcWJkUa72GTSCtD5qvE8r+h+XG1UqCrofgXgWZwnTaJygRKr+jU5zrSNv udYsrTBq9XoFGWA/hz5L3hbqRcjSfUPOjtnPXBdgFSSjSa5FP+tUW6x6coMxQt19yCqwk/HpJZrp0q xsl4LSeiuufMpQFHGp39pAjUnthZHx665Q6UWgvlPuvkUj6QIW29uC6bCq7vX7mQnsHdJe4cStgT14 TYsBnhniAFFmctGGTTeMJTGIWaNlUgzUb3zJ0+9fWRow1aF2JyFS1q7PAnGw36Cgp7tIoScS7oFrST NdA8EAAXh8ELrtKEU+L2u/AYLKBAw2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=Az6hiNyspiBZgQAnXqhyLVs+svA286PeqhO2HLHhRaM=; b=H+rYkDpT2s8vIWNDe2t6XWtJy8gT7uC8wGRqH6X5AtVPNP6/4K1Df0k5aqPEaoR1oKQemA+1pUESe 7lV7xkZv4zwt+HM7qTqTPhJ77SsKxoPA+y+ndyXOrWGRXaRP4UOPSzBp34n+NVNdGUvKC6sia2SSeX w4KUonefioBbzY7Li4gktFBjhX1D42wKyZ3/EtbZlE3HMaMIM9Zt4BUfnItIjkMa65qNAWCbQmomb9 ErQ+7kTLXXY/nqp40bdTQ6xXCdn9PydQnBZqffiyu8k3PvdqbFZM59ElCV6rouhHn6zNyBIqjMPNiW sThsteVDFngTvmoE7yPRZwVrsJxrx2A== ARC-Authentication-Results: i=1; outbound3.eu.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=Az6hiNyspiBZgQAnXqhyLVs+svA286PeqhO2HLHhRaM=; b=WQRKs1J3uy1sPUgMCqNhPFLQn6JsYRWjS1Y6qau7TwdLfMm6oLc437KrUir5CRNk+ftzKRNkVBoZl 0Z77HrwIkxCN2Nv6q1YA6s9RukJSMS0CKnZ3wqA/HHfpgblIZKFMnWxMR+0UF3pD5NI2UIqf7Orkx0 8FL3SmGI0YNjwDaTnIxFLocxkOmD4pHRZjqq7BdA2IJMjZc5xQQ3Ux+0BFjlp+NpHUiJY4eAnGKLb+ rqz0FVcIK2Dk3mbhafsX2mpaA5PGjgaHHHvb0y5bYpom0rwDbbpzVfFR5/ge2f/NT7iL4I9Xb+VqjS j6uFF6Ys+bxMYlY1RlFbktPaaXX0+Ww== X-MHO-RoutePath: aGlwcGll X-MHO-User: 3f4c16e0-3aa4-11e9-908b-352056dbf2de X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.eu.mailhop.org (Halon) with ESMTPSA id 3f4c16e0-3aa4-11e9-908b-352056dbf2de; Wed, 27 Feb 2019 15:27:54 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x1RFRpEm004248; Wed, 27 Feb 2019 08:27:51 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <8ecba76475a9e59f966e4db6e52e36a171bf0707.camel@freebsd.org> Subject: Re: Kernel build failure on rpi2 at 344613 From: Ian Lepore To: Kyle Evans , freebsd-testing@freebsd.org Cc: "freebsd-arm@freebsd.org" , Li-Wen Hsu Date: Wed, 27 Feb 2019 08:27:51 -0700 In-Reply-To: References: <20190227035542.GA60321@www.zefox.net> <4c983cf9d039bf95bd19433cbf640f2ae68b0580.camel@freebsd.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 6996D838C7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; ASN(0.00)[asn:16509, ipnet:52.28.0.0/16, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2019 15:44:18 -0000 On Wed, 2019-02-27 at 07:00 -0600, Kyle Evans wrote: > On Tue, Feb 26, 2019 at 11:06 PM Ian Lepore wrote: > > > > On Tue, 2019-02-26 at 19:55 -0800, bob prohaska wrote: > > > In trying to make world and kernel on RPI2 at r344613 buildworld > > > ran > > > to > > > completion, but buildkernel stopped wtih > > > --- machdep_boot.o --- > > > /usr/src/sys/arm/arm/machdep_boot.c:170:34: error: too few > > > arguments > > > to function call, single argument 'cmdline' was not specified > > > boothowto |= boot_parse_cmdline(); > > > ~~~~~~~~~~~~~~~~~~ ^ > > > /usr/src/sys/sys/boot.h:37:1: note: 'boot_parse_cmdline' declared > > > here > > > int boot_parse_cmdline(char *cmdline); > > > ^ > > > 1 error generated. > > > *** [machdep_boot.o] Error code 1 > > > > > > make[2]: stopped in /usr/obj/usr/src/sys/RPI2 > > > > > > The machine is running > > > FreeBSD www.zefox.com 11.2-STABLE FreeBSD 11.2-STABLE #0 r343555: > > > Wed > > > Jan 30 04:55:19 PST 2019 bob@www.zefox.com:/usr/obj/usr/src/s > > > ys/R > > > PI2 arm > > > > > > Any idea how to get past this impediment? > > > > > > Thanks for reading, > > > > > > bob prohaska > > > > > > > Fix should be committed soon; to get moving right away, apply this > > patch: > > > > https://svnweb.freebsd.org/base/head/sys/arm/arm/machdep_boot.c?r1=336244&r2=336262&view=patch > > > > I clearly failed to catch it, but I'm also trying to decide why > Jenkins' stable/11 job didn't catch it... machdep_boot is standard > arm*, but the build didn't skip a beat. CC'ing lwhsu@/freebsd- > testing@ > because that seems like it might be indicative of a slightly larger > problem. > > In either case, thanks for the pointer! MFC is getting committed > momentarily. > _______________________________________________ > That code is conditional on option LINUX_BOOT_ABI, but that option should be on for GENERIC and all rpi builds. -- Ian From owner-freebsd-arm@freebsd.org Wed Feb 27 15:50:05 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A3FD152059B; Wed, 27 Feb 2019 15:50:05 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) 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 1157283A72; Wed, 27 Feb 2019 15:50:05 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id B682570CF; Wed, 27 Feb 2019 15:50:04 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lj1-f175.google.com with SMTP id w6so14400314ljd.7; Wed, 27 Feb 2019 07:50:04 -0800 (PST) X-Gm-Message-State: AHQUAubdn7f1Jq+qk1F/U7zLC/XWHpLbC+FqC8CQN9jLfXynFHFGHzjK /KDeFwd+NtqVfzXvEKT2DzYVifTB96Li5tI9/QY= X-Google-Smtp-Source: APXvYqzN35mUpTbP6GEKYclrcOuTzpnkJlk4i7eZ9XwWfkknUiRhLjSdfO3EiKBpp28qlwc4vwE0BRyh+gVTLiaa5Bk= X-Received: by 2002:a2e:9ec2:: with SMTP id h2mr1840737ljk.186.1551282603153; Wed, 27 Feb 2019 07:50:03 -0800 (PST) MIME-Version: 1.0 References: <20190227035542.GA60321@www.zefox.net> <4c983cf9d039bf95bd19433cbf640f2ae68b0580.camel@freebsd.org> <8ecba76475a9e59f966e4db6e52e36a171bf0707.camel@freebsd.org> In-Reply-To: <8ecba76475a9e59f966e4db6e52e36a171bf0707.camel@freebsd.org> From: Kyle Evans Date: Wed, 27 Feb 2019 09:49:32 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Kernel build failure on rpi2 at 344613 To: Ian Lepore Cc: Kyle Evans , freebsd-testing@freebsd.org, "freebsd-arm@freebsd.org" , Li-Wen Hsu Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 1157283A72 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2019 15:50:05 -0000 On Wed, Feb 27, 2019 at 9:44 AM Ian Lepore wrote: > > On Wed, 2019-02-27 at 07:00 -0600, Kyle Evans wrote: > > On Tue, Feb 26, 2019 at 11:06 PM Ian Lepore wrote: > > > > > > On Tue, 2019-02-26 at 19:55 -0800, bob prohaska wrote: > > > > In trying to make world and kernel on RPI2 at r344613 buildworld > > > > ran > > > > to > > > > completion, but buildkernel stopped wtih > > > > --- machdep_boot.o --- > > > > /usr/src/sys/arm/arm/machdep_boot.c:170:34: error: too few > > > > arguments > > > > to function call, single argument 'cmdline' was not specified > > > > boothowto |= boot_parse_cmdline(); > > > > ~~~~~~~~~~~~~~~~~~ ^ > > > > /usr/src/sys/sys/boot.h:37:1: note: 'boot_parse_cmdline' declared > > > > here > > > > int boot_parse_cmdline(char *cmdline); > > > > ^ > > > > 1 error generated. > > > > *** [machdep_boot.o] Error code 1 > > > > > > > > make[2]: stopped in /usr/obj/usr/src/sys/RPI2 > > > > > > > > The machine is running > > > > FreeBSD www.zefox.com 11.2-STABLE FreeBSD 11.2-STABLE #0 r343555: > > > > Wed > > > > Jan 30 04:55:19 PST 2019 bob@www.zefox.com:/usr/obj/usr/src/s > > > > ys/R > > > > PI2 arm > > > > > > > > Any idea how to get past this impediment? > > > > > > > > Thanks for reading, > > > > > > > > bob prohaska > > > > > > > > > > Fix should be committed soon; to get moving right away, apply this > > > patch: > > > > > > > https://svnweb.freebsd.org/base/head/sys/arm/arm/machdep_boot.c?r1=336244&r2=336262&view=patch > > > > > > > I clearly failed to catch it, but I'm also trying to decide why > > Jenkins' stable/11 job didn't catch it... machdep_boot is standard > > arm*, but the build didn't skip a beat. CC'ing lwhsu@/freebsd- > > testing@ > > because that seems like it might be indicative of a slightly larger > > problem. > > > > In either case, thanks for the pointer! MFC is getting committed > > momentarily. > > _______________________________________________ > > > That code is conditional on option LINUX_BOOT_ABI, but that option > should be on for GENERIC and all rpi builds. > Ahh, I missed that. stable/11's CI build only does BEAGLEBONE IMX6 VIRT; we should add RPI2 or RPI-B to that list to broaden the horizons a bit. From owner-freebsd-arm@freebsd.org Wed Feb 27 17:59:14 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57AF21500A3C for ; Wed, 27 Feb 2019 17:59:14 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [18.222.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.soaustin.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9449F88BDC for ; Wed, 27 Feb 2019 17:59:13 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from lonesome.com (unknown [18.188.142.31]) by mail.soaustin.net (Postfix) with ESMTPSA id D65F117080; Wed, 27 Feb 2019 17:59:06 +0000 (UTC) Date: Wed, 27 Feb 2019 17:59:05 +0000 From: Mark Linimon To: YAMAMOTO Shigeru Cc: freebsd-arm@freebsd.org Subject: Re: patch: make SD images for arm64 boards at same release.sh Message-ID: <20190227175904.GA17264@lonesome.com> References: <20190226.103642.800483869366373977.shigeru@os-hackers.jp> <20190226030825.GA6404@lonesome.com> <20190227.200626.369049015219997925.shigeru@os-hackers.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190227.200626.369049015219997925.shigeru@os-hackers.jp> User-Agent: Mutt/1.5.21 (2010-09-15) X-Rspamd-Queue-Id: 9449F88BDC X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-0.60 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; URL_IN_SUBJECT(0.40)[release.sh]; NEURAL_HAM_MEDIUM(-0.84)[-0.837,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.37)[0.373,0]; IP_SCORE(-0.26)[ipnet: 18.220.0.0/14(0.06), asn: 16509(-1.30), country: US(-0.07)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lonesome.com]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.96)[-0.962,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[11.6.222.18.list.dnswl.org : 127.0.5.2]; MX_GOOD(-0.01)[mail.soaustin.net]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:18.220.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2019 17:59:14 -0000 Thank you. mcl From owner-freebsd-arm@freebsd.org Thu Feb 28 16:43:03 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5A22150E05B; Thu, 28 Feb 2019 16:43:03 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B8A9B73416; Thu, 28 Feb 2019 16:43:02 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id x1SGhJgm069506 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 28 Feb 2019 08:43:20 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x1SGhJlP069505; Thu, 28 Feb 2019 08:43:19 -0800 (PST) (envelope-from fbsd) Date: Thu, 28 Feb 2019 08:43:19 -0800 From: bob prohaska To: freebsd-ports@freebsd.org, freebsd-arm@freebsd.org Subject: unknown type name '__uint128_t' Message-ID: <20190228164319.GA69446@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: B8A9B73416 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.75 / 15.00]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(0.20)[ip: (0.71), ipnet: 50.1.16.0/20(0.36), asn: 7065(-0.01), country: US(-0.07)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.78)[0.775,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.96)[0.961,0]; MX_GOOD(-0.01)[cached: www.zefox.net]; NEURAL_SPAM_LONG(0.92)[0.925,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2019 16:43:03 -0000 On an rpi3 with system at r344605, ports at 494124 and CFLAGS=-O2 in /etc/make.conf, an attempt to compile www/chromium stopped, reporting In file included from ../../base/third_party/libevent/event.c:49: In file included from /usr/include/signal.h:42: /usr/include/machine/ucontext.h:46:2: error: unknown type name '__uint128_t' __uint128_t fp_q[32]; ^ 1 error generated. followed a few lines later by In file included from ../../base/third_party/libevent/evdns.c:37: In file included from /usr/include/sys/types.h:46: /usr/include/machine/endian.h:89:19: error: invalid operand in inline asm: 'rev16 ${0:w}, ${1:w}' __asm __volatile("rev16 %w0, %w1\n" ^ /usr/include/machine/endian.h:89:19: error: invalid operand in inline asm: 'rev16 ${0:w}, ${1:w}' /usr/include/machine/endian.h:89:19: error: unexpected token in operand :1:8: note: instantiated into assembly here rev16 , ^ In file included from ../../base/third_party/libevent/evdns.c:37: In file included from /usr/include/sys/types.h:46: /usr/include/machine/endian.h:89:19: error: invalid operand in inline asm: 'rev16 ${0:w}, ${1:w}' __asm __volatile("rev16 %w0, %w1\n" ^ /usr/include/machine/endian.h:89:19: error: invalid operand in inline asm: 'rev16 ${0:w}, ${1:w}' Errors continue in the same general vein until make gives up. A month ago chromium would compile (with clang difficulties) and even run more or less reasonably, so whatever is wrong happened in a fairly recent timeframe. Can anybody suggest a fix or workaround? Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Fri Mar 1 03:12:31 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E944315015B0 for ; Fri, 1 Mar 2019 03:12:30 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 66DCE7149D; Fri, 1 Mar 2019 03:12:28 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id x213CJVp022677 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 1 Mar 2019 04:12:20 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1551409941; bh=oDqmDdsxzNU8bVEteU3opsQJQLnLd71BkQDlKXo29dw=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=YowRw7YqaFLB0zF+1DLKq7ndcFrF3Rw4ZyXXmHhn0/Yj2U74x8+PPejg7KGt1dT9M 3ptDstIZXYnRf5ndtYb2LY/N1VGoZBoprGAnydGSOeb51bz3oDPmZHUI3ZLydnHRcu J4NPVubLahoe+isz61AT+Aelqp7qFTo+X6gOBZvE= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id x213CFYN015392 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Mar 2019 04:12:15 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id x213CF1v054362; Fri, 1 Mar 2019 04:12:15 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x213CFOT054361; Fri, 1 Mar 2019 04:12:15 +0100 (CET) (envelope-from ticso) Date: Fri, 1 Mar 2019 04:12:15 +0100 From: Bernd Walter To: Ian Lepore Cc: freebsd-arm Subject: Re: about netbooting on armv6 [was: Fwd: SDIO Patch D4761.diff Not Building For Me] Message-ID: <20190301031213.GE23492@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <5432b449f37a481bc7099fbab25fbd2e@bakulin.de> <1458751414.1091.47.camel@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1458751414.1091.47.camel@freebsd.org> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 66DCE7149D X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=YowRw7Yq X-Spamd-Result: default: False [-1.12 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_SPAM_SHORT(0.45)[0.447,0]; NEURAL_HAM_LONG(-0.96)[-0.961,0]; IP_SCORE(-0.00)[country: DE(-0.01)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; MX_GOOD(-0.01)[mx1.bwct.de]; NEURAL_HAM_MEDIUM(-0.80)[-0.798,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 03:12:31 -0000 On Wed, Mar 23, 2016 at 10:43:34AM -0600, Ian Lepore wrote: > > The quick and easy config for netbooting armv6 these days is to set a > few vars in your uboot env. This assumes that you let uboot load > ubldr.bin from sdcard, and then have ubldr load the kernel and the > kernel will mount nfsroot. > > If you have a dhcp server to provide an IP, this is all you need in > uboot env: > > loaderdev=net > rootpath=:/ > > If you manually configure the ip, add these: > > ipaddr= > netmask=255.etc.etc.etc Ok - I'm lost with this. I've setup a card for a Pi1-B with just the DOS partition on it. This is what I get: MMC: mmc@7e300000: 1 Loading Environment from FAT... In: serial Out: vidconsole Err: vidconsole Net: No ethernet found. starting USB... USB0: scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0 MMC Device 0 not found no mmc device at slot 0 switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found EFI removable media binary efi/boot/bootarm.efi libfdt fdt_check_header(): FDT_ERR_BADMAGIC Scanning disk mmc@7e300000.blk... Found 2 disks FDT memrsv map 0: Failed to add to map 583472 bytes read in 56 ms (9.9 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC FDT memrsv map 0: Failed to add to map ## Starting EFI application at 00080000 ... Consoles: EFI console FreeBSD/arm EFI loader, Revision 1.1 Command line arguments: l EFI version: 2.70 EFI Firmware: Das U-Boot (rev 8216.2304) Console: efi (0) Load Path: /\efi\boot\bootarm.efi Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x800,0x19000) Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x800,0x19000) Setting currdev to disk0p1: Failed to find bootable partition Startup error in /boot/lua/loader.lua: seconds LUA ERROR: cannot open /boot/lua/loader.lua: no such file or directory. can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK So - ok it can't find its partition on the card. But how can I setup those variables? MMC: mmc@7e300000: 1 Loading Environment from FAT... In: serial Out: vidconsole Err: vidconsole Net: No ethernet found. starting USB... USB0: scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 0 U-Boot> loaderdev=net U-Boot> saveenv Saving Environment to FAT... Failed (1) Same problem with saveenv not being functional on the original image as well, not just on mine. I've tried uEnv.txt, but it is just as it isn't there. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Fri Mar 1 03:14:57 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A8F215016CA for ; Fri, 1 Mar 2019 03:14:57 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 545B87161E for ; Fri, 1 Mar 2019 03:14:56 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1551410094; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=W1Ko0k9T8AmZN9Nytdl/gt7mLmLVQXK4AJoS4P0uIRqjGX5NHgPXow7puSKU9rKu9i3pMyVDBKtVH FGqxdXLYVUdDhm1jgEjl5YHrYNoLdh/83n/IKl+2ybIePR9tCxvUh6O2guOY8vxONNZmLRrOol195w fdnCUDT8CP6DsKUNLtnMlUtzZFVQKHg7/KQ4kygXJwuGqTd6u1kkZDnpKpNRqcSYS7S+XMGRzR7ifD ti48Ngwibc4y6J1pxR8lKr7FJXSQNm2AT5dfjOtA4tSsi5OJI0MMohKbmWoshOtrIme8gc35SgMuF4 o1niqfEFEDFkUmHCj0imv2WHw+7dyQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=OZ/YmTE0gmZV65Ff8QNBgwFAunQemGRnKq8mAGvkA28=; b=pee+XzOBsTXAW3j624m5nUsn40gNZLZ+/rrc41PtI87ZYAUoR56bIgeF84EHv+p99l6qsROBCSh6m hJnolFnH4kGgnMI332ewgNTQix+M5+j+kvkMhdcfhJHcZaZW28EzysKyy2cpPDaHUF/TNRkwnsXqJu xfsOH0vqrQFNghutPQAprbsj1fnxsEYQ/SQljpzk2RrZNMpYhkS9XJzKezrzzvLQi9ytdxvACm33D2 rYKmBXFmWqCc62B/R+ddwrpYC1gScrHvjkHS9qI49tPbF5x89MAEsYUa+DKeo1UqytUtRLTu6DnXYF lw8pkOVHeCWFsn3Bt3J9knuG/UHZ0/g== ARC-Authentication-Results: i=1; outbound2.eu.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=OZ/YmTE0gmZV65Ff8QNBgwFAunQemGRnKq8mAGvkA28=; b=Vi0+dW/AbP00yvxhLYqTvxClimHqpn1eBaC0VY1eugw9f7JIiNaRRt7k3caXXxPKqGgLUhuL7ktXg OROT0hyZZdfsSXwjfW7z9vPWHp36JGJwxDhxUkKRpMT2U6t5UUmO6PgEJ6XGg3QGeQvZHJOBnzHihS CoVmUH4//290JrllQfSCXlx8xp9yQiEm+DE7H2+Umhugh8nypIk1sZCdFny55X7A9LGUQ5/DsYr83l FQLYBIKF6iIffCOfuJdEcgxjD8Vz7Za5k0JwMyo0HeIrVFLx0Ayh+G/KwIu9LJjLlsLS6YJRneZr52 O4+B3vHNF6zR92Yhw6Sg7P1ktsDoFwQ== X-MHO-RoutePath: aGlwcGll X-MHO-User: 2c8bcf53-3bd0-11e9-803b-31925da7267c X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound2.eu.mailhop.org (Halon) with ESMTPSA id 2c8bcf53-3bd0-11e9-803b-31925da7267c; Fri, 01 Mar 2019 03:14:51 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x213EnwP009071; Thu, 28 Feb 2019 20:14:49 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1797d7376b308236366305ad5ae18661b1d2a80c.camel@freebsd.org> Subject: Re: about netbooting on armv6 [was: Fwd: SDIO Patch D4761.diff Not Building For Me] From: Ian Lepore To: ticso@cicely.de Cc: freebsd-arm Date: Thu, 28 Feb 2019 20:14:49 -0700 In-Reply-To: <20190301031213.GE23492@cicely7.cicely.de> References: <5432b449f37a481bc7099fbab25fbd2e@bakulin.de> <1458751414.1091.47.camel@freebsd.org> <20190301031213.GE23492@cicely7.cicely.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 545B87161E X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.956,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:52.58.0.0/15, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 03:14:57 -0000 On Fri, 2019-03-01 at 04:12 +0100, Bernd Walter wrote: > On Wed, Mar 23, 2016 at 10:43:34AM -0600, Ian Lepore wrote: > > > > The quick and easy config for netbooting armv6 these days is to set > > a > > few vars in your uboot env. This assumes that you let uboot load > > ubldr.bin from sdcard, and then have ubldr load the kernel and the > > kernel will mount nfsroot. > > > > If you have a dhcp server to provide an IP, this is all you need in > > uboot env: > > > > loaderdev=net > > rootpath=:/ > > > > If you manually configure the ip, add these: > > > > ipaddr= > > netmask=255.etc.etc.etc > > Ok - I'm lost with this. > > I've setup a card for a Pi1-B with just the DOS partition on it. > This is what I get: > MMC: mmc@7e300000: 1 > Loading Environment from FAT... In: serial > Out: vidconsole > Err: vidconsole > Net: No ethernet found. > starting USB... > USB0: scanning bus 0 for devices... 3 USB Device(s) found > scanning usb for storage devices... 0 Storage Device(s) found > Hit any key to stop autoboot: 0 > MMC Device 0 not found > no mmc device at slot 0 > switch to partitions #0, OK > mmc1 is current device > Scanning mmc 1:1... > Found EFI removable media binary efi/boot/bootarm.efi > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > Scanning disk mmc@7e300000.blk... > Found 2 disks > FDT memrsv map 0: Failed to add to map > 583472 bytes read in 56 ms (9.9 MiB/s) > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > FDT memrsv map 0: Failed to add to map > ## Starting EFI application at 00080000 ... > Consoles: EFI console > FreeBSD/arm EFI loader, Revision 1.1 > > Command line arguments: l > EFI version: 2.70 > EFI Firmware: Das U-Boot (rev 8216.2304) > Console: efi (0) > Load Path: /\efi\boot\bootarm.efi > Load Device: /VenHw(e61d73b9-a384-4acc-aeab- > 82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x800,0x19000) > Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab- > 82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x800,0x19000) > Setting currdev to disk0p1: > Failed to find bootable partition > Startup error in /boot/lua/loader.lua: seconds > LUA ERROR: cannot open /boot/lua/loader.lua: no such file or > directory. > > can't load 'kernel' > > Type '?' for a list of commands, 'help' for more detailed help. > OK > > So - ok it can't find its partition on the card. > But how can I setup those variables? > MMC: mmc@7e300000: 1 > Loading Environment from FAT... In: serial > Out: vidconsole > Err: vidconsole > Net: No ethernet found. > starting USB... > USB0: scanning bus 0 for devices... 3 USB Device(s) found > scanning usb for storage devices... 0 Storage Device(s) found > Hit any key to stop autoboot: 0 > U-Boot> loaderdev=net > U-Boot> saveenv > Saving Environment to FAT... Failed (1) > > Same problem with saveenv not being functional on the original image > as well, > not just on mine. > I've tried uEnv.txt, but it is just as it isn't there. > All of what I said back then is valid only for ubldr. EFI is a whole 'nother story. I've never gotten netbooting to work with EFI. So mostly I just use old u-boot (from the 2015-2016 era) on all my boards. -- Ian From owner-freebsd-arm@freebsd.org Fri Mar 1 03:23:34 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A41DA1501A59 for ; Fri, 1 Mar 2019 03:23:34 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CC00071A40; Fri, 1 Mar 2019 03:23:33 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id x213NUPv022905 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 1 Mar 2019 04:23:31 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1551410611; bh=zhgqBzmF49AQdqfd8k3eY7rMW8/6MscJWWDCfQEKf6E=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=r0jvwNtI7/FFb9jjXLY4/6gYpZd6uNNDl2XKYTm+7L8ASLUjpydiG2vqllDDogCSM MQH/LOPhBa3V74GDib5uiRBqSDinMXKjZ/uVdhmQnpPfUCDGv14HtURrktmVSy8yz5 0z2UOEl02cdvHIL73w4va3UKFLGSQI7iY/NL58+M= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id x213NQvj015663 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Mar 2019 04:23:27 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id x213NQES054513; Fri, 1 Mar 2019 04:23:26 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x213NQ7b054512; Fri, 1 Mar 2019 04:23:26 +0100 (CET) (envelope-from ticso) Date: Fri, 1 Mar 2019 04:23:26 +0100 From: Bernd Walter To: Ian Lepore Cc: ticso@cicely.de, freebsd-arm Subject: Re: about netbooting on armv6 [was: Fwd: SDIO Patch D4761.diff Not Building For Me] Message-ID: <20190301032326.GF23492@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <5432b449f37a481bc7099fbab25fbd2e@bakulin.de> <1458751414.1091.47.camel@freebsd.org> <20190301031213.GE23492@cicely7.cicely.de> <1797d7376b308236366305ad5ae18661b1d2a80c.camel@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1797d7376b308236366305ad5ae18661b1d2a80c.camel@freebsd.org> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: CC00071A40 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=r0jvwNtI X-Spamd-Result: default: False [-1.19 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.97)[-0.971,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.44)[0.436,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; MX_GOOD(-0.01)[cached: mx1.bwct.de]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; NEURAL_HAM_MEDIUM(-0.84)[-0.838,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 03:23:34 -0000 On Thu, Feb 28, 2019 at 08:14:49PM -0700, Ian Lepore wrote: > On Fri, 2019-03-01 at 04:12 +0100, Bernd Walter wrote: > > On Wed, Mar 23, 2016 at 10:43:34AM -0600, Ian Lepore wrote: > > > > > > The quick and easy config for netbooting armv6 these days is to set > > > a > > > few vars in your uboot env. This assumes that you let uboot load > > > ubldr.bin from sdcard, and then have ubldr load the kernel and the > > > kernel will mount nfsroot. > > > > > > If you have a dhcp server to provide an IP, this is all you need in > > > uboot env: > > > > > > loaderdev=net > > > rootpath=:/ > > > > > > If you manually configure the ip, add these: > > > > > > ipaddr= > > > netmask=255.etc.etc.etc > > > > Ok - I'm lost with this. > > > > I've setup a card for a Pi1-B with just the DOS partition on it. > > This is what I get: > > MMC: mmc@7e300000: 1 > > Loading Environment from FAT... In: serial > > Out: vidconsole > > Err: vidconsole > > Net: No ethernet found. > > starting USB... > > USB0: scanning bus 0 for devices... 3 USB Device(s) found > > scanning usb for storage devices... 0 Storage Device(s) found > > Hit any key to stop autoboot: 0 > > MMC Device 0 not found > > no mmc device at slot 0 > > switch to partitions #0, OK > > mmc1 is current device > > Scanning mmc 1:1... > > Found EFI removable media binary efi/boot/bootarm.efi > > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > > Scanning disk mmc@7e300000.blk... > > Found 2 disks > > FDT memrsv map 0: Failed to add to map > > 583472 bytes read in 56 ms (9.9 MiB/s) > > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > > FDT memrsv map 0: Failed to add to map > > ## Starting EFI application at 00080000 ... > > Consoles: EFI console > > FreeBSD/arm EFI loader, Revision 1.1 > > > > Command line arguments: l > > EFI version: 2.70 > > EFI Firmware: Das U-Boot (rev 8216.2304) > > Console: efi (0) > > Load Path: /\efi\boot\bootarm.efi > > Load Device: /VenHw(e61d73b9-a384-4acc-aeab- > > 82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x800,0x19000) > > Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab- > > 82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x800,0x19000) > > Setting currdev to disk0p1: > > Failed to find bootable partition > > Startup error in /boot/lua/loader.lua: seconds > > LUA ERROR: cannot open /boot/lua/loader.lua: no such file or > > directory. > > > > can't load 'kernel' > > > > Type '?' for a list of commands, 'help' for more detailed help. > > OK > > > > So - ok it can't find its partition on the card. > > But how can I setup those variables? > > MMC: mmc@7e300000: 1 > > Loading Environment from FAT... In: serial > > Out: vidconsole > > Err: vidconsole > > Net: No ethernet found. > > starting USB... > > USB0: scanning bus 0 for devices... 3 USB Device(s) found > > scanning usb for storage devices... 0 Storage Device(s) found > > Hit any key to stop autoboot: 0 > > U-Boot> loaderdev=net > > U-Boot> saveenv > > Saving Environment to FAT... Failed (1) > > > > Same problem with saveenv not being functional on the original image > > as well, > > not just on mine. > > I've tried uEnv.txt, but it is just as it isn't there. > > > > All of what I said back then is valid only for ubldr. EFI is a whole > 'nother story. I've never gotten netbooting to work with EFI. So > mostly I just use old u-boot (from the 2015-2016 era) on all my boards. Oh - that's the difference. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Fri Mar 1 03:41:04 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7692F1502221 for ; Fri, 1 Mar 2019 03:41:04 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B35BB7210B; Fri, 1 Mar 2019 03:41:03 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id x213exsR023232 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 1 Mar 2019 04:41:00 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1551411661; bh=e1gezZRtsrzMWn/eSiJIGmrd5BSRneCq5DNrrOfaf1E=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=eIhSBXcGeAhilF3KKhp/LB91BEoLJeiGiVdedUP0kQHygsBX0hSW+vrvY//HO22T7 bg54o9mGAw4/n2/V1fp9L1hgETjkG2YJnZAUsQna4gCrnFJ+p+voCyllctrnOZ+LY8 pKIMb8bC5e36HWgkm92GBu4oputAhaC/UzgAZ9zo= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id x213evei016083 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 1 Mar 2019 04:40:57 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id x213euR7054589; Fri, 1 Mar 2019 04:40:56 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x213euMj054588; Fri, 1 Mar 2019 04:40:56 +0100 (CET) (envelope-from ticso) Date: Fri, 1 Mar 2019 04:40:56 +0100 From: Bernd Walter To: Ian Lepore Cc: freebsd-arm , ticso@cicely.de Subject: Re: about netbooting on armv6 [was: Fwd: SDIO Patch D4761.diff Not Building For Me] Message-ID: <20190301034056.GG23492@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <5432b449f37a481bc7099fbab25fbd2e@bakulin.de> <1458751414.1091.47.camel@freebsd.org> <20190301031213.GE23492@cicely7.cicely.de> <1797d7376b308236366305ad5ae18661b1d2a80c.camel@freebsd.org> <20190301032326.GF23492@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190301032326.GF23492@cicely7.cicely.de> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: B35BB7210B X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=eIhSBXcG X-Spamd-Result: default: False [-1.22 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.97)[-0.971,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.41)[0.407,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; MX_GOOD(-0.01)[cached: mx1.bwct.de]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; NEURAL_HAM_MEDIUM(-0.85)[-0.847,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 03:41:04 -0000 On Fri, Mar 01, 2019 at 04:23:26AM +0100, Bernd Walter wrote: > On Thu, Feb 28, 2019 at 08:14:49PM -0700, Ian Lepore wrote: > > On Fri, 2019-03-01 at 04:12 +0100, Bernd Walter wrote: > > > On Wed, Mar 23, 2016 at 10:43:34AM -0600, Ian Lepore wrote: > > > > > > > > The quick and easy config for netbooting armv6 these days is to set > > > > a > > > > few vars in your uboot env. This assumes that you let uboot load > > > > ubldr.bin from sdcard, and then have ubldr load the kernel and the > > > > kernel will mount nfsroot. > > > > > > > > If you have a dhcp server to provide an IP, this is all you need in > > > > uboot env: > > > > > > > > loaderdev=net > > > > rootpath=:/ > > > > > > > > If you manually configure the ip, add these: > > > > > > > > ipaddr= > > > > netmask=255.etc.etc.etc > > > > > > Ok - I'm lost with this. > > > > > > I've setup a card for a Pi1-B with just the DOS partition on it. > > > This is what I get: > > > MMC: mmc@7e300000: 1 > > > Loading Environment from FAT... In: serial > > > Out: vidconsole > > > Err: vidconsole > > > Net: No ethernet found. > > > starting USB... > > > USB0: scanning bus 0 for devices... 3 USB Device(s) found > > > scanning usb for storage devices... 0 Storage Device(s) found > > > Hit any key to stop autoboot: 0 > > > MMC Device 0 not found > > > no mmc device at slot 0 > > > switch to partitions #0, OK > > > mmc1 is current device > > > Scanning mmc 1:1... > > > Found EFI removable media binary efi/boot/bootarm.efi > > > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > > > Scanning disk mmc@7e300000.blk... > > > Found 2 disks > > > FDT memrsv map 0: Failed to add to map > > > 583472 bytes read in 56 ms (9.9 MiB/s) > > > libfdt fdt_check_header(): FDT_ERR_BADMAGIC > > > FDT memrsv map 0: Failed to add to map > > > ## Starting EFI application at 00080000 ... > > > Consoles: EFI console > > > FreeBSD/arm EFI loader, Revision 1.1 > > > > > > Command line arguments: l > > > EFI version: 2.70 > > > EFI Firmware: Das U-Boot (rev 8216.2304) > > > Console: efi (0) > > > Load Path: /\efi\boot\bootarm.efi > > > Load Device: /VenHw(e61d73b9-a384-4acc-aeab- > > > 82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x800,0x19000) > > > Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab- > > > 82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x800,0x19000) > > > Setting currdev to disk0p1: > > > Failed to find bootable partition > > > Startup error in /boot/lua/loader.lua: seconds > > > LUA ERROR: cannot open /boot/lua/loader.lua: no such file or > > > directory. > > > > > > can't load 'kernel' > > > > > > Type '?' for a list of commands, 'help' for more detailed help. > > > OK > > > > > > So - ok it can't find its partition on the card. > > > But how can I setup those variables? > > > MMC: mmc@7e300000: 1 > > > Loading Environment from FAT... In: serial > > > Out: vidconsole > > > Err: vidconsole > > > Net: No ethernet found. > > > starting USB... > > > USB0: scanning bus 0 for devices... 3 USB Device(s) found > > > scanning usb for storage devices... 0 Storage Device(s) found > > > Hit any key to stop autoboot: 0 > > > U-Boot> loaderdev=net > > > U-Boot> saveenv > > > Saving Environment to FAT... Failed (1) > > > > > > Same problem with saveenv not being functional on the original image > > > as well, > > > not just on mine. > > > I've tried uEnv.txt, but it is just as it isn't there. > > > > > > > All of what I said back then is valid only for ubldr. EFI is a whole > > 'nother story. I've never gotten netbooting to work with EFI. So > > mostly I just use old u-boot (from the 2015-2016 era) on all my boards. > > Oh - that's the difference. Just from the loader it looks good: ... Failed to find bootable partition Startup error in /boot/lua/loader.lua: seconds LUA ERROR: cannot open /boot/lua/loader.lua: no such file or directory. can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. OK lsdev disk devices: disk0: 15523841 X 512 blocks (removable) disk0s1: DOS/Windows net devices: net0: OK show console=efi currdev=disk0p1: efi-version=2.70 interpret=OK loaddev=disk0p1: prompt=${interpret} script.lang=lua twiddle_divisor=1 OK set currdev=net0 OK ls Waiting for Ethernet connection... done. net0: cannot set rx. filters (status=3) / d dev d var d boot d tmp d mnt d root d proc d home .profile d rescue firstboot d lib COPYRIGHT d media d sbin d bin d usr .cshrc d libexec d net d .snap d etc OK And yes - it actually boots from that point. The question is how to get currdev properly into the loader. It is using the DOS partition, so maybe I can add a loader script onto that partition instead. I have to deal with something being on the card anyways. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Fri Mar 1 18:02:40 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41CEE151F735 for ; Fri, 1 Mar 2019 18:02:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BB7378AA04 for ; Fri, 1 Mar 2019 18:02:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7AA607DDA for ; Fri, 1 Mar 2019 18:02:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x21I2Zmc081622 for ; Fri, 1 Mar 2019 18:02:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x21I2ZRZ081608 for freebsd-arm@FreeBSD.org; Fri, 1 Mar 2019 18:02:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 236135] Banana Pi M1+ no sound device Date: Fri, 01 Mar 2019 18:02:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: uzsolt@uzsolt.hu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2019 18:02:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236135 Bug ID: 236135 Summary: Banana Pi M1+ no sound device Product: Base System Version: 12.0-RELEASE Hardware: arm OS: Any Status: New Severity: Affects Some People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: uzsolt@uzsolt.hu I bought a Banana Pi M1+ and install FreeBSD on it - but it doesn't have so= und. # kldstat Id Refs Address Size Name 1 11 0xc0000000 cae570 kernel 2 1 0xc0cb0000 691c umodem.ko 3 2 0xc0cb7000 97cc ucom.ko 4 1 0xdb400000 8000 nullfs.ko 5 1 0xdb408000 4000 mac_ntpd.ko # kldload snd_driver kldload: can't load snd_driver: No such file or directory Exit 1 # dmesg ... link_elf: symbol isa_dma_acquire undefined KLD snd_driver.ko: depends on snd_ad1816 - not available or version mismatch Do (did) I something wrong or it's a bug? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Sat Mar 2 06:31:15 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8B0E1515028 for ; Sat, 2 Mar 2019 06:31:14 +0000 (UTC) (envelope-from bounces+9749946-713b-freebsd-arm=freebsd.org@sendgrid.net) Received: from o1678910x203.outbound-mail.sendgrid.net (o1678910x203.outbound-mail.sendgrid.net [167.89.10.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0F0C6807F2 for ; Sat, 2 Mar 2019 06:31:13 +0000 (UTC) (envelope-from bounces+9749946-713b-freebsd-arm=freebsd.org@sendgrid.net) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me; h=from:to:subject:mime-version:content-type; s=smtpapi; bh=vczees8iOeXMgG0DjZ/wmxO9LFw=; b=aduSvd9vCiOyDYwKK1bNvd+3bcMeE ySSbvm/QWhQ++DigbO7YtwnqLgA/si+a5a3zARYG9CgaYO1FjOirDW9v4pLDkhDS V6WJzNC/IyG/D3A/91QlXC+KM9FqTox/d+JAmMGfQFAv0znJbi9MnDnJRQZUY3We rvJzO+yVbMOJxQ= Received: by filter0077p3iad2.sendgrid.net with SMTP id filter0077p3iad2-21007-5C7A2127-27 2019-03-02 06:22:31.817605813 +0000 UTC m=+110728.864660718 Received: from WINN3MREAI5AD8 (unknown [38.132.124.234]) by ismtpd0030p1iad2.sendgrid.net (SG) with ESMTP id HbuPL6ifSryfhOsYtgwIJQ for ; Sat, 02 Mar 2019 06:22:31.824 +0000 (UTC) thread-index: AdTRSKCpTAywSvcQQsKHvsSsnk6fjA== Thread-Topic: Update payment method now M7PA.87855-212673-8774-1477 From: "service@netflix.com" To: Subject: Update payment method now M7PA.87855-212673-8774-1477 Date: Sat, 02 Mar 2019 06:23:32 +0000 (UTC) Message-ID: <115C44E3D6A54C37869B40A9540F9766@WINN3MREAI5AD8> MIME-Version: 1.0 X-Mailer: Microsoft CDO for Windows 2000 Content-Class: urn:content-classes:message Importance: normal Priority: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7601.23651 X-SG-EID: t2fXfoZHCw6vGsGKHqKxJ/rV5oGMz4+ZVTdCT99I5wWqOLNeHZyQvXsMKuCRP8V0K2NB++UdKV7vpw LiI0q4poTb0PvI1u1rWRD9kY+w0F2AXsetpGmSFs4ptwHI+KLzxCMjQlqlo61w6Oh7XT6l3xY9Zen7 IRdE/Nr10O3YsQDS0IMg/zcW/7U97FhzNEYlj7/iFCSByuIrnVa3Ie5lznouRWQ9pmmMXJvlGkH2iL qlUHQJy125Y1vUyghS58TA X-Rspamd-Queue-Id: 0F0C6807F2 X-Spamd-Bar: +++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sendgrid.me header.s=smtpapi header.b=aduSvd9v; spf=pass (mx1.freebsd.org: domain of bounces@sendgrid.net designates 167.89.10.203 as permitted sender) smtp.mailfrom=bounces@sendgrid.net X-Spamd-Result: default: False [9.45 / 15.00]; R_SPF_ALLOW(0.00)[+ip4:167.89.0.0/17]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[sendgrid.me:+]; MX_GOOD(-0.01)[cached: mx.sendgrid.net]; FORGED_SENDER(0.30)[app126121478@xxxxx.com,bounces@sendgrid.net]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(0.23)[ip: (5.91), ipnet: 167.89.0.0/18(-0.94), asn: 11377(-3.75), country: US(-0.07)]; ASN(0.00)[asn:11377, ipnet:167.89.0.0/18, country:US]; MIME_TRACE(0.00)[0:+,1:+]; TAGGED_FROM(0.00)[9749946-713b-freebsd-arm=freebsd.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[sendgrid.me:s=smtpapi]; FROM_NEQ_DISPLAY_NAME(4.00)[xxxxx.com,netflix.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[app126121478@xxxxx.com,bounces@sendgrid.net]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; URIBL_GREY(1.50)[sendgrid.net.multi.uribl.com,sendgrid.me.multi.uribl.com]; RCPT_COUNT_ONE(0.00)[1]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_MEDIUM(1.00)[0.997,0]; NEURAL_SPAM_SHORT(0.93)[0.935,0]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[203.10.89.167.list.dnswl.org : 127.0.15.0]; MID_RHS_NOT_FQDN(0.50)[]; GREYLIST(0.00)[pass,body] X-Spam: Yes Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2019 06:31:15 -0000 =20=09 Hi Dear Customer,=09 We weren't able to complete your last payment for your Netflix membership. We'll try charging you again over the next couple of days, but if we aren't able to complete a payment soon, you'll lose access to Netflix. Update payment method now =20 =20=09 =20=09 Need help? Contact support or visit our Help Center. Please do not reply to this email. View or make changes to your Netflix Red membership at any time. You'll need a supported device and an Internet connection to stream videos or to save videos to watch offline. =20=09 =20=09 =20=09 =A92019 Netflix, LLC 901 Cherry Ave, San Bruno, CA 94066 You have received this mandatory email service announcement to update you about important changes to your Netflix product or account. View your email options in your Netflix account.