From owner-freebsd-arm@freebsd.org Wed Feb 26 06:19:02 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F1A2D24D75D for ; Wed, 26 Feb 2020 06:19:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic306-19.consmr.mail.gq1.yahoo.com (sonic306-19.consmr.mail.gq1.yahoo.com [98.137.68.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48S5Gq55FWz4f4w for ; Wed, 26 Feb 2020 06:18:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: IYttkMIVM1lWMMc0YzAptgmXvCr4lgRFxq1R5B9ppfzTi4Uk4uHkIqdhFxnWzhw erFsu_yERjshSlKmrc9VjVFsaR.gvoXG6Z1bGFf98_LJzLi6.1tu.b6DBydhCDATZO3H0mdclgnP 3svtqGedcvCXP.k_hGvWUhJajlXmW9ft.zTCV_0brD__CGBNWCBJXTXGarEXlMXl6I5gg1Lt4_xz cEmTjf5TjC.slqUQNnsBxmKX9X.CjPnn29QdYeIOFplboiXVecprPUS1jc3n7iXvqa9g8FOjfr9V zOne.OH46Wbrf9vIQTWgnJuTuxe9vcoyt_pj66O8QZkZPdK67aejafNigwFOHlQ_nwcLUR6Qiqtq FO55AYNy2GA.jdCZ.dUFgU1Dw1lHeBtV.lrwV8kroIIqOmAhQRJANaLU2vYWe2Zodsl3VWVo3aoy lexgxRTvTiuyKnc.9nUw67kZYdefEw9Tks.QBpquSX9.34o.9A_2U3VyRLnl1Af6z693yQNNT4tr 5WmcuEKa9CI2WYIIVTEXJZCr6GHd4lAgVwNzKP7MtU1wfv8PlSMAQBVwO2gT1aYSCHsVbBNd329b RcMPVbRCvq5Ek39B9AHVwG3eKDGWL5.QJpVEDeTk4UYdEXCUFknFsGgoWR2gdOF1sUeO5fYLi4C8 _ks55fhLRjdfeIA8prvbAxNZ8Tll8NYk4Rc6ppPjFek8RUr1aXo88k_blO9JGNT1ypDCJhjoYV.. lVJy9IKfOnzBwEuDs82KQgOHZTrOP2Fop4duI8OaKW0ueJuTl_9GSQApI2zDHJiRxDlsZZa5ZM0O _irAnuaZi_4GBJhY0rjPk.7RuZraosnirl2V2oLwMCarmDl5dH7S5eCzbXqMrhl8Rdj0f3CpDpew 17oFsisRTy3ToeF8kApl4Vbe7KW0nSiHf88.imebfkn9tMpc4OncY8qKtM6PWHOla1r.wgPJKqsC x343Y4Qardl3KTX2VGw0Dun_zYL4_PDzyb_MXSXWUGvgoWkB.UTo1ALiP78iO.XIkBt5niXS74UG XqYlLykgzU85Be9ru5uCGKFCmL4dhKdzIjEmXBu6jmJakkujSv82qAp2KqZbESxT7hE_MsU.b2fr 0uitFi730xWX2j_YLIbwzg4e_kB0h8t_7G6ojp2rexeGRSbiN_.ZmptjuFdFZBEJ.jgPe.wVlb7u LtqarLnwLctoUXpXQMs3AIp4EQYFLb2aSlbvxQq4o2qzYbTM_KKDj0WzHpSDxqdc_RW_rVw1JQ86 ctGFsdLlBuQ8XOl9glWJrR06oCHdijc0pVChDj2XTjwCoZzfciaUwRxOiU5.F.pKXUJpnv.CEdDN 8JbZ3yuWyeU4mZHcfFHwdlEtJXq4LMXWHl1RP9XaD_XfhD58KKytPZ85UnKVol8Xz4wdefXORuwt z9TXK02DKdzbS72l3harVcCU4Btk0RjWqUaB10E1i51cahf1n_cf02iiRbsMRn_9RXZA- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Wed, 26 Feb 2020 06:18:57 +0000 Received: by smtp414.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID f72f73405f563d88ce6fefc4ad2c0f3c; Wed, 26 Feb 2020 06:18:53 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: Showstoppers for RPI3 From: Mark Millard In-Reply-To: Date: Tue, 25 Feb 2020 22:18:52 -0800 Cc: bob prohaska , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <8BDC8A26-FFE6-4AE0-8EB6-643840940CC0@yahoo.com> References: <20200225175446.GA77976@www.zefox.net> <11951E01-EC13-4FBB-938A-AEB5700C4281@yahoo.com> <20200226052045.GA79939@www.zefox.net> To: =?utf-8?Q?Klaus_K=C3=BCchemann?= X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Rspamd-Queue-Id: 48S5Gq55FWz4f4w X-Spamd-Bar: - X-Spamd-Result: default: False [-1.25 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.18)[-0.182,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.56)[-0.564,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (5.78), ipnet: 98.137.64.0/21(0.83), asn: 36647(0.66), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[82.68.137.98.list.dnswl.org : 127.0.5.0]; 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, 26 Feb 2020 06:19:02 -0000 On 2020-Feb-25, at 21:32, Klaus K=C3=BCchemann via freebsd-arm = wrote: >> Am 26.02.2020 um 06:20 schrieb bob prohaska : >>=20 >>=20 >> Sounds like that fix is not yet on the horizon.=20 >>=20 >> Would explicit bug reports be helpful? >=20 > I=E2=80=99m reading here for coincidence at the moment and can=E2=80=99t= believe that the issue isn=E2=80=99t fixed=E2=80=A6. > Write hundreds of bug-reports(although we know RPI4 isn=E2=80=99t = supported and it=E2=80=99s 13-curr), > I=E2=80=99m Sorry for not working myself on that issues the last = days/week(1000 other things to do), > But that=E2=80=99s the absolute joke of the century :-) that these = issues last so long here on the mailing list=20 > And there=E2=80=99s no fix/response =E2=80=A6 Resource constrained by other priorities is not surprising in my view. > Mark Millard , if you have a patch, (if you want) please describe it = in 1 or 2 sentences and I=E2=80=99ll upload your patch the Wiki(if you = don=E2=80=99t have access there and can=E2=80=99t edit yourself)=E2=80=A6 = https://lists.freebsd.org/pipermail/freebsd-arm/2020-February/021258.html had the sysutils/u-boot-rpi4 based workaround (as seen in its build = tree): # diff ./board/raspberrypi/rpi/rpi.c.orig ./board/raspberrypi/rpi/rpi.c 485c485 < efi_add_memory_map(0, 1, EFI_RESERVED_MEMORY_TYPE, 0); --- > efi_add_memory_map(0, 2, EFI_RESERVED_MEMORY_TYPE, 0); It just changes EFI interfacing to indicate the first 2 pages as reserved instead of indicating just 1 page as reserved. I did not convert it to a form appropriate for /usr/ports/sysutils/u-boot-rpi4/files/ . I simply changed the source after the fetch patch sequence but before building and later showed the diff. Better form for adapting to a normal files/* patch would be (up to whitespace details possibly not being fully preserved): # cd /wrkdirs/usr/ports/sysutils/u-boot-rpi4/work/u-boot-2019.10/ # diff -U3 board/raspberrypi/rpi/rpi.c.orig board/raspberrypi/rpi/rpi.c --- board/raspberrypi/rpi/rpi.c.orig 2020-02-13 11:12:33.057911000 = -0800 +++ board/raspberrypi/rpi/rpi.c 2020-02-13 16:09:15.381158000 -0800 @@ -482,7 +482,7 @@ =20 #ifdef CONFIG_EFI_LOADER /* Reserve the spin table */ - efi_add_memory_map(0, 1, EFI_RESERVED_MEMORY_TYPE, 0); + efi_add_memory_map(0, 2, EFI_RESERVED_MEMORY_TYPE, 0); #endif =20 return 0; (The /wrkdirs style prefix is something I cause in my environments in order to match poudriere paths when it makes tar files that I sometimes expand. So that need not be duplicated/used.) I have not looked at sysutils/u-boot-rpi3 . I'd expect something similar for it. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)