From owner-freebsd-arm@freebsd.org Sun Jan 15 00:58:35 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29D4ACA48AF for ; Sun, 15 Jan 2017 00:58:35 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) Received: from nm27-vm3.bullet.mail.gq1.yahoo.com (nm27-vm3.bullet.mail.gq1.yahoo.com [98.136.216.146]) (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 F3BD01905 for ; Sun, 15 Jan 2017 00:58:34 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1484441736; bh=q6vUuev4QR7iwDvKpT4IxAlxE2bseeizQGVW+kMjU1A=; h=Subject:From:In-Reply-To:Date:References:To:From:Subject; b=KOvi93RPb0Lo2fOR5AP1HY1zP1d9Pt5FC7irMQJtFj18MkOKsOwkhS39DWbwGnwQjaz9AkJuoI4p4IbQhYgEyegWhS76E1J/+0kA9TJGnVdug+6e+4oEeP2O1dTMIThWGIB39bWjhKukpUmVa464w6wYG0deoHkWR+Mb8qwFu95PddUOHwaf60GivleY+mPwk3e5LGsflRpmBVsJv4WMA6lBp+OnsAmN/e7Mdd/37ZRSj3vNbyMzOeP2rrrSbnpqFLq084QGpxVWwwjC85WXh+C9U5gAfraK6CqLpEcFp/p7vtJFNfuB9SOvqLBiEqzb/Nts6woYssZ9QwuQQjSRRQ== Received: from [98.137.12.174] by nm27.bullet.mail.gq1.yahoo.com with NNFMP; 15 Jan 2017 00:55:36 -0000 Received: from [208.71.42.199] by tm13.bullet.mail.gq1.yahoo.com with NNFMP; 15 Jan 2017 00:55:36 -0000 Received: from [127.0.0.1] by smtp210.mail.gq1.yahoo.com with NNFMP; 15 Jan 2017 00:55:36 -0000 X-Yahoo-Newman-Id: 393073.27158.bm@smtp210.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: seROozYVM1n2NVKzMsT1hncTb8EGvO_O77QIAeK4L7lNKJu 6bSNVGXucTBhJ0B6ZldWnWjIoN.jfC7OM5wZKDRdjYc_3240ZCbsw1HhQXuk 3GaIXYIva7.XZGbPUO_4XWDXdqgLZ1uaXM1nwc4tkg1Y2Y.vvURgAb4xrhh7 20UIeCBMxdCFBXM7Q9VsL.x4Y14f9vj4twmFrxPgfetE2k4GxIXhyzdULvPz N5RUQTA0Cnavd3lstcMiB3sASvPZ9b_80sj_9pp6pT07mIS_lgrHRMsnS2yA wsGvFaRlStWZaCGQv55BmRt.po6NvK2P5jlK_.JD0yFmi8HpzSjif2twF2TK OrKOMO9pqtZizL8F1nPJbqJF7_SXDlh3EK8mJGlyLA9niDH6i2v6T5TZcAtU 9JGvD4YVP6rvvWde_ehd4aMLendwxCDtLkVjOEh3lA25uVSsxkH7YdW9bzJR PA1UMXIWh4LWFxPSyaamTILnWKmvU3KvMRaen5oxzuhBYCe1DvkxxuTeqhH7 cO7kPvTRBBkcM.Wyf7TWN1sby0Xnkp3DodvvoH8poFVRVRknJhpD3Sd6OOnU V58DREHuqw5AxitbX X-Yahoo-SMTP: .8Dytk6swBAeTUTcf.ezO8BKaYfn.mUV Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Finally bringing FreeBSD to Parallella From: Thomas Skibo In-Reply-To: <20170114215137.4b77f54ef7d7b9cb3b11bc6c@getmail.no> Date: Sat, 14 Jan 2017 16:55:36 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <261ECA50-CFB9-4A4A-9B90-467133A6ED5D@yahoo.com> References: <2CAC521E-AB65-453F-B1CC-DE025DA43596@yahoo.com> <4B0F21E0-D0FD-409D-81A5-C0DBBFF26251@yahoo.com> <20170114215137.4b77f54ef7d7b9cb3b11bc6c@getmail.no> To: Torfinn Ingolfsen , freebsd-arm@FreeBSD.org X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2017 00:58:35 -0000 > On Jan 14, 2017, at 12:51 PM, Torfinn Ingolfsen = wrote: >=20 > Hello, >=20 > On Mon, 2 Jan 2017 10:08:59 -0800 > Thomas Skibo via freebsd-arm wrote: >=20 >>=20 >> I found the instructions I wrote a while ago on booting FreeBSD on = Parallella and put it back on my site: = http://www.skibo.net/zedbsd/#parallella . It explains how to modify the = Zedboard SD card image and >> boot it on Parallella. I updated the .dtb file in the tarball = because the old one isn?t compatible with 11-release. It would help if = somebody could give this a whirl and give me feedback. >=20 > The instructions works. There is one small change: the bitstreams are = no longer discussed in in Parallella's guide for creating an SD card. I = just used a bistream I had from back when I got the card. > The image created appears to work also, but I get no output on the = serial console. Is this image supposed to have serial console? > I use > cu -l /dev/cuau0 -s 115200 > with a PL2303HX usb-to-serial cable Thanks for the feedback. Yes, it should output to the serial console. = Does u-boot output anything? >=20 > Also, which username and password can log in via ssh? > I tried root/root, freebsd/freebsd and variations. Now I only get = here: > tingo@kg-core1$ ssg 10.1.161.32 > Warning: Permanently added '10.1.161.32' (ECDSA) to the list of known = hosts. > Password for tingo@zedboard: > Password for tingo@zedboard: > Password for tingo@zedboard: > Permission denied (publickey,keyboard-interactive). My image doesn=E2=80=99t have any default username/passwords. Maybe I = should add one. I=E2=80=99ll look into what the other boards do. >=20 > HTH > --=20 > Torfinn Ingolfsen Thanks, =E2=80=94Thomas From owner-freebsd-arm@freebsd.org Sun Jan 15 03:45:29 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5464CB0AB5 for ; Sun, 15 Jan 2017 03:45:29 +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 mx1.freebsd.org (Postfix) with ESMTPS id D50301EE8 for ; Sun, 15 Jan 2017 03:45:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v0F3jTNF000711 for ; Sun, 15 Jan 2017 03:45:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 216092] FreeBSD-11.0-RELEASE-arm-armv6-RPI2.img - ifconfig does not show wireless interface Date: Sun, 15 Jan 2017 03:45:29 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vermaden@interia.pl 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.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2017 03:45:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216092 Bug ID: 216092 Summary: FreeBSD-11.0-RELEASE-arm-armv6-RPI2.img - ifconfig does not show wireless interface Product: Base System Version: 11.0-RELEASE Hardware: arm OS: Any Status: New Severity: Affects Many People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: vermaden@interia.pl I just installed (or dd'ed) FreeBSD-11.0-RELEASE-arm-armv6-RPI2.img.xz into= SD card and booted into Rasberry Pi 2 board. I attached USB 802.11n wireless card, which works fine and shows as below on dmesg(8) output. urtwn0: on usbus0 urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R urtwn0: enabling 11n ... but this card is not listed in ifconfig(8) command as for example iwn0 cards are, why? Regards, vermaden --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Sun Jan 15 03:53:18 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B86E6CB0E48 for ; Sun, 15 Jan 2017 03:53:18 +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 mx1.freebsd.org (Postfix) with ESMTPS id A6C0214BC for ; Sun, 15 Jan 2017 03:53:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v0F3rI2c028657 for ; Sun, 15 Jan 2017 03:53:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 216093] FreeBSD-11.0-RELEASE-arm-armv6-RPI2.img - ZFS NOTICE: KSTACK_PAGES is 2 Date: Sun, 15 Jan 2017 03:53:18 +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: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vermaden@interia.pl 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.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2017 03:53:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216093 Bug ID: 216093 Summary: FreeBSD-11.0-RELEASE-arm-armv6-RPI2.img - ZFS NOTICE: KSTACK_PAGES is 2 Product: Base System Version: 11.0-RELEASE Hardware: arm OS: Any Status: New Severity: Affects Many People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: vermaden@interia.pl Hi, > ZFS NOTICE: KSTACK_PAGES is 2 which could result in stack overflow panic! > Please consider adding 'options KSTACK_PAGES=3D4' to your kernel config why the default kernel for FreeBSD-11.0-RELEASE-arm-armv6-RPI2.img image has KSTACK_PAGES set to only 2? Can it be incread to '4' in GENERIC so kernel rebuild will not be necessary? Regards, vermaden --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Sun Jan 15 05:10:26 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38611CB09EC for ; Sun, 15 Jan 2017 05:10:26 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C27891F4C for ; Sun, 15 Jan 2017 05:10:25 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id d140so3998621wmd.0 for ; Sat, 14 Jan 2017 21:10:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=oVhCo/Uux6Ndi+4vizGoVk0HDw6lay5bgK6xZIl77g0=; b=cbF5qoAwSBEC9Vmo9s/Qnwot/7YK5BAGx/VqXMBhEoW1WKBmZsvcQMd4OIC/f6yznD vvmIrvLWe74OLk4xaBR7Jwg4AuO8dyMV8V9pPiBE/xwsMBBDR/E62elABZ1KBBRx5Yrz ddUqQgHQ3IohXBHEbwentn2k30nrDpXlZjCBjVtOLBuBzvsmJVtKTunDEwwnKwlHiSJt 80GsNKM0/KXuHSDQGfo0skTWsV76TtfVf7r2oSYJLmFktUMqVlsqAxG+5IoiNhc9dd1n FoLMYmCo6tilNNVd4ehIohrNZEv2e5a6/9Ag9X594HRZqVKVuFHPmz9ta2Pc/IWKV9O6 y+Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oVhCo/Uux6Ndi+4vizGoVk0HDw6lay5bgK6xZIl77g0=; b=FpR5Q0wjT5G72C6IkBwo08OyS78OINwWfnaG7UQ8CR42tp991/ixBiyXrzgQzP5UlQ 2ipFGFO2Zms9sESjYaHSRBrINVcP3XNG/LUyq7BEJugcYLA56xdJHe4/3qASlEYx4Ohs 7/UX4JI/Q3dgj4q9wnrKMSAa6IsPHUzpu0TCL6lyrgXUz2HgzGTA6ynAtHD6gcjmKer2 pVEd/hg0KhhGrghIJKLcm/5N+s6MHL5W7TJ7QYIbZL3o6SHjpdXkdsGK6ndiIslKh3dY A/IfZ288iDEUz4CBlFFo62WfTXYpaC1VEn6NOsE/l0efUBexoUTRSgM8NI2/voPG1t1n lznQ== X-Gm-Message-State: AIkVDXLaaUeqCuYcj1wS28Ey7KaNGHbvqbn/dn+L4dBDkB7+JSNGZr8gpdW9cnHgnowiesKDJ7eo2I833SFW4w== X-Received: by 10.28.58.204 with SMTP id h195mr6824413wma.116.1484457024324; Sat, 14 Jan 2017 21:10:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.82.162 with HTTP; Sat, 14 Jan 2017 21:10:22 -0800 (PST) In-Reply-To: <261ECA50-CFB9-4A4A-9B90-467133A6ED5D@yahoo.com> References: <2CAC521E-AB65-453F-B1CC-DE025DA43596@yahoo.com> <4B0F21E0-D0FD-409D-81A5-C0DBBFF26251@yahoo.com> <20170114215137.4b77f54ef7d7b9cb3b11bc6c@getmail.no> <261ECA50-CFB9-4A4A-9B90-467133A6ED5D@yahoo.com> From: Adrian Chadd Date: Sat, 14 Jan 2017 21:10:22 -0800 Message-ID: Subject: Re: Finally bringing FreeBSD to Parallella To: Thomas Skibo Cc: Torfinn Ingolfsen , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2017 05:10:26 -0000 ooo interesting. ok, so how can I build an image from source for this? Sorry, I'm still living in MIPS world for the most part. -adrian From owner-freebsd-arm@freebsd.org Sun Jan 15 05:48:20 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80E20CB0747 for ; Sun, 15 Jan 2017 05:48:20 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) Received: from nm5-vm6.bullet.mail.gq1.yahoo.com (nm5-vm6.bullet.mail.gq1.yahoo.com [98.136.218.181]) (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 4EBF71DE9 for ; Sun, 15 Jan 2017 05:48:19 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1484459149; bh=I5Xqc/juHx0aBOkMB/aQKAmZUME/VS/QtmdVndNT1ko=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject; b=L0H/QQDbD6KK8++YIYpq+blXal2IW43D2DB/mUPTYXqC1uhlN9W/Jk/bxEUnPO22PSV59F+GrIMpSVpyIeqiVbnypSKZvS7RbSE84RrVYeivcb+SXW1CnKmOXiQhhFj89kAB84tOBjTaBg6KWC/EhW21BemAa7qVrGUb3fcf46TK3PXtMqPcl7hy91JXTjWQxVerSdXAE4WU2nGz32w5aKpLbACUDvrQmQcQwmkD7t5d9ym6OtilvxopjuDhBEL4LD3GeHAQuDPo5KSP3D37/kJmcWt4jp4TNK+forsE90acMDov1B0ezihhWolnuzEc4lCP7v/kdMtZCX83pzLjNQ== Received: from [98.137.12.62] by nm5.bullet.mail.gq1.yahoo.com with NNFMP; 15 Jan 2017 05:45:49 -0000 Received: from [98.136.164.69] by tm7.bullet.mail.gq1.yahoo.com with NNFMP; 15 Jan 2017 05:45:49 -0000 Received: from [127.0.0.1] by smtp231.mail.gq1.yahoo.com with NNFMP; 15 Jan 2017 05:45:49 -0000 X-Yahoo-Newman-Id: 747269.64588.bm@smtp231.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: avrmrAsVM1mmhM8sNAml2ViUWEqFGKANJwD8TNI_x7V6add dtQrCNKAIKJf0WMdz4_0Xn_rm0c4nG6lvGqNjXe1PkxXABglKsSpLS3a8BBW JofLUE5XkNOVPrut380U7q7r5cJDHcq7tkSitrx5Vlw1JQCrH1JG2uNzf4GO vNd2zDa1vcfuKbzXyBNHok8Jg8haECyMsO0WAqI2fhd9Y05oo.9.qo4U7Qw6 IyQScP.W8ZeE.T_wmHxZZusgkNxp05TLovTXbfnB_VwkHWmE7prILLqrmu7W QhtOAJETqDZgf_4IYdxXsZwg3myb6RQETQDGzQkXsa6x._XuPdRTyrg67DDV 9rGdfnDKH_CuqYX_PJxTZTKkCytV2Qyc_qkACsGrzmTH1Ze97pneJk1hQkA_ njOJsA3m4ibT3AbAHFlTFfkk2A0VZMg57TeYU9_yVt4dxyxGpsIts.j.09qo _5O9rVWSW2frLdye2LiCXDhbCM1g_HqnV6Q0CrKIUw4FWtXt0U_Oap9ewNDF _NjywM21OR8EuZMizlPy_V8c.Y_jpZmRklkW_oz51E0H4jYMq0asExiY.wJP 5jzff9n4qdQfey9937U7HTERozYfXew5J5yL_Uw-- X-Yahoo-SMTP: .8Dytk6swBAeTUTcf.ezO8BKaYfn.mUV Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Finally bringing FreeBSD to Parallella From: Thomas Skibo In-Reply-To: Date: Sat, 14 Jan 2017 21:45:49 -0800 Cc: Torfinn Ingolfsen , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <4888A920-E8B9-43A8-9E27-C4C515DF15B5@yahoo.com> References: <2CAC521E-AB65-453F-B1CC-DE025DA43596@yahoo.com> <4B0F21E0-D0FD-409D-81A5-C0DBBFF26251@yahoo.com> <20170114215137.4b77f54ef7d7b9cb3b11bc6c@getmail.no> <261ECA50-CFB9-4A4A-9B90-467133A6ED5D@yahoo.com> To: Adrian Chadd X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2017 05:48:20 -0000 > On Jan 14, 2017, at 9:10 PM, Adrian Chadd = wrote: >=20 > ooo interesting. ok, so how can I build an image from source for this? > Sorry, I'm still living in MIPS world for the most part. >=20 >=20 >=20 > -adrian I was just updating the Zedboard wiki page last night: = https://wiki.freebsd.org/FreeBSD/arm/Zedboard. It goes through building = an SD image for Zedboard from source. For parallella, skip building = u-boot. My zedbsd page (http://www.skibo.net/zedbsd/#parallella) has a tarball = with two of the files you need in the boot partition: uImage and = devicetree.dtb. I should describe on my page how those are made from = source. uImage is the Zedboard kernel wrapped using mkimage (which gets = built as part of u-boot I think) and devicetree.dtb is compiled from the = parallella.dts file I posted in an earlier email. You also need to put = your board-specific FPGA bitstream, parallella.bit.bin, in the boot = partition. Let me know if something doesn=E2=80=99t work for you. Cheers, =E2=80=94 Thomas Skibo thomasskibo@yahoo.com From owner-freebsd-arm@freebsd.org Sun Jan 15 06:53:24 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CD0BCB1830 for ; Sun, 15 Jan 2017 06:53:24 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-14.reflexion.net [208.70.210.14]) (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 F16951C6A for ; Sun, 15 Jan 2017 06:53:23 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 3749 invoked from network); 15 Jan 2017 06:54:45 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 15 Jan 2017 06:54:45 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.20.1) with SMTP; Sun, 15 Jan 2017 01:53:16 -0500 (EST) Received: (qmail 13548 invoked from network); 15 Jan 2017 06:53:16 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 15 Jan 2017 06:53:16 -0000 Received: from [192.168.1.111] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 783BDEC8A88; Sat, 14 Jan 2017 22:53:15 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: qemu-arm-static appears to have problems with signal delivery during (at least) poudrirer-devel based cross builds of some ports with ALLOW_MAKE_JOBS=yes Message-Id: Date: Sat, 14 Jan 2017 22:53:14 -0800 To: freebsd-arm , FreeBSD Toolchain X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2017 06:53:24 -0000 [Context: head (12) -r312009 and ports head -r431413.] I've been experimenting on amd64 with poudriere-devel with -x for -a arm.armv6 and I ran into: > TCG temporary leak before 00021826 > qemu: uncaught target signal 4 (Illegal instruction) - core dumped in 3 of the 31 ports for the build, but 4 skipped so 3 of 27 attempted. The 00021826 is the same number in all the examples so far (whatever its base). These seem to be the only TCG messages and each failure starts with one and then reports the qemu message. (Also true for the below.) As far as I can tell the TCG notice is the report of an internal qemu problem that is then translated into an Illegal instruction. This was with ALLOW_MAKE_JOBS=yes but -J 1 for poudriere. For 2 of the problem ports retries worked, still using ALLOW_MAKE_JOBS=yes and -J 1 . But the 3rd port failed each time tried with ALLOW_MAKE_JOBS=yes --but in a different step each time. In all failure cases it was gmake that got the "illegal instruction". But disabling ALLOW_MAKE_JOBS=yes appears (so far) to avoid the issue. For example, that 3rd failing port built fine. (I've been doing more ports since, with ALLOW_MAKE_JOBS=yes repeatedly failing and lack of it working.) My guess is SIGCHLD delivery sometimes touches something (or a timing) that is not handled well in qemu-arm-static. I've had not problems on an rpi2 or bpim3 in the past. (I have seen some analogous "soemtimes" issues on powerpc under and version of lang that mishandled the stack part of the ABI FreeBSD uses, SIGCHLD sometimes getting on the stack at a bad-time for the messed up code generation, leading to stack corruption. Code not getting signals had no problems.) Note: The amd64 context is FreeBSD under VirtualBox under macOS and it has had no problem for native builds of world, kernel, or ports. === Mark Millard markmi at dsl-only.net From owner-freebsd-arm@freebsd.org Sun Jan 15 10:29:59 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C2F7CA5BD3 for ; Sun, 15 Jan 2017 10:29:59 +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 mx1.freebsd.org (Postfix) with ESMTPS id 7BD421D46 for ; Sun, 15 Jan 2017 10:29:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v0FATxtA015314 for ; Sun, 15 Jan 2017 10:29:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 216104] arm cpufunc.h uses only mis-spelled __ARM_ARCH_6ZK__ for __ARM_ARCH_6KZ__ Date: Sun, 15 Jan 2017 10:29:59 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ler@freebsd.org 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 attachments.created 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.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2017 10:29:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216104 Bug ID: 216104 Summary: arm cpufunc.h uses only mis-spelled __ARM_ARCH_6ZK__ for __ARM_ARCH_6KZ__ Product: Base System Version: CURRENT Hardware: arm OS: Any Status: New Severity: Affects Some People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: ler@freebsd.org Created attachment 178906 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178906&action= =3Dedit patch for __ARM_ARCH_6KZ__ arm's cpufunc.h doesn't use the __ARM_ARCH_6KZ__ define which clang (since = 3.8) defines.=20 See PR 216065 for fallout of this with sysutils/lsof.=20 Vic Abell has worked around it, but we should fix it. see: Comment #9 from mikael.urankar@gmail.com --- ARM_NARCH and ARM_NMMUS are 0 because clang defines __ARM_ARCH_6KZ__ since clang3.8 iirc. 6ZK is a mispelling of 6KZ: https://gcc.gnu.org/ml/gcc-patches/2015-06/msg01679.html --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Sun Jan 15 14:09:17 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F2706CB16CC for ; Sun, 15 Jan 2017 14:09:17 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-18.reflexion.net [208.70.210.18]) (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 B2F971EF8 for ; Sun, 15 Jan 2017 14:09:17 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 26886 invoked from network); 15 Jan 2017 14:09:16 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 15 Jan 2017 14:09:16 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.20.1) with SMTP; Sun, 15 Jan 2017 09:09:16 -0500 (EST) Received: (qmail 30581 invoked from network); 15 Jan 2017 14:09:15 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 15 Jan 2017 14:09:15 -0000 Received: from [192.168.1.111] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 270CDEC7B11; Sun, 15 Jan 2017 06:09:15 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: qemu-arm-static appears to have problems with signal delivery during (at least) poudrirer-devel based cross builds of some ports with ALLOW_MAKE_JOBS=yes Date: Sun, 15 Jan 2017 06:09:14 -0800 References: To: freebsd-arm , FreeBSD Toolchain In-Reply-To: Message-Id: <7AF92A3C-3563-4B2E-B14A-D6BAF30A16A2@dsl-only.net> X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2017 14:09:18 -0000 On 2017-Jan-14, at 10:53 PM, Mark Millard = wrote: > [Context: head (12) -r312009 and ports head -r431413.] >=20 > I've been experimenting on amd64 with poudriere-devel with -x > for -a arm.armv6 and I ran into: >=20 >> TCG temporary leak before 00021826 >> qemu: uncaught target signal 4 (Illegal instruction) - core dumped >=20 > in 3 of the 31 ports for the build, but 4 skipped so 3 of 27 > attempted. The 00021826 is the same number in all the examples > so far (whatever its base). >=20 > These seem to be the only TCG messages and each failure starts with > one and then reports the qemu message. (Also true for the below.) > As far as I can tell the TCG notice is the report of an internal > qemu problem that is then translated into an Illegal instruction. >=20 > This was with ALLOW_MAKE_JOBS=3Dyes but -J 1 for poudriere. >=20 > For 2 of the problem ports retries worked, still using > ALLOW_MAKE_JOBS=3Dyes and -J 1 . >=20 > But the 3rd port failed each time tried with ALLOW_MAKE_JOBS=3Dyes > --but in a different step each time. >=20 > In all failure cases it was gmake that got the "illegal instruction". >=20 > But disabling ALLOW_MAKE_JOBS=3Dyes appears (so far) to avoid the > issue. For example, that 3rd failing port built fine. (I've > been doing more ports since, with ALLOW_MAKE_JOBS=3Dyes repeatedly > failing and lack of it working.) >=20 > My guess is SIGCHLD delivery sometimes touches something (or a timing) > that is not handled well in qemu-arm-static. I've had not problems > on an rpi2 or bpim3 in the past. >=20 > (I have seen some analogous "soemtimes" issues on powerpc under > and version of lang that mishandled the stack part of the ABI > FreeBSD uses, SIGCHLD sometimes getting on the stack at a bad-time > for the messed up code generation, leading to stack corruption. Code > not getting signals had no problems.) >=20 > Note: The amd64 context is FreeBSD under VirtualBox under macOS > and it has had no problem for native builds of world, kernel, > or ports. Avoiding ALLOW_MAKE_JOBS=3Dyes is not sufficient to guarantee builds will work. Here is one that got near the end before failing the same way: . . . install -m 0644 = /wrkdirs/usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/cp/type-util= s.h = /wrkdirs/usr/ports/devel/arm-none-eabi-gcc/work/stage/usr/local/lib/gcc/ar= m-none-eabi/6.3.0/plugin/include/cp/type-utils.h install: DONTSTRIP set - will not strip installed binaries TCG temporary leak before 00021826 qemu: uncaught target signal 4 (Illegal instruction) - core dumped gmake[1]: *** [Makefile:4176: install-gcc] Illegal instruction gmake[1]: Leaving directory = '/wrkdirs/usr/ports/devel/arm-none-eabi-gcc/work/.build' *** Error code 2 Stop. make: stopped in /usr/ports/devel/arm-none-eabi-gcc =3D=3D=3D=3D>> Cleaning up wrkdir =3D=3D=3D> Cleaning for arm-none-eabi-gcc-6.3.0 build of devel/arm-none-eabi-gcc ended at Sun Jan 15 00:04:02 PST 2017 build time: 02:52:28 !!! build failure encountered !!! Going back to the earlier initial problem (that I happen to have the material for handy): expanding the .tbz of the failed build and finding the core showed: # find . -name "*.core" -exec file {} \; = = = = ./work/binutils-2.27/ld/qemu_gmake.core: ELF 32-bit LSB core file ARM, = version 1 (FreeBSD), FreeBSD-style, from 'ke' [I've not figured out what I can do with that --or how.] One thing unusual on my part is that I use -mcpu=3Dcortex-a7 . That matches how I historically buildworld buildkernel for installation on the rpi2 and bpim3. I've never had problems like this with builds on the rpi2 or the bpim3 (buildworld, buildkernel, port builds). It might be that qemu-arm-static has a problem with -mcpu=3Dcortex-a7 code that is generated --but not always. Using the make.conf as an example: # more /usr/local/etc/poudriere.d/head-cortex-a7-make.conf WANT_QT_VERBOSE_CONFIGURE=3D1 # DEFAULT_VERSIONS+=3Dperl5=3D5.24 WITH_DEBUG=3D WITH_DEBUG_FILES=3D MALLOC_PRODUCTION=3D # #system clang 3.8+ (gcc6 rejects -march=3Darmv7a): #CFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 #CXXFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 #CPPFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 # #lang/gcc6's xgcc stage considers the above conflicting so use just: CFLAGS+=3D -mcpu=3Dcortex-a7 CXXFLAGS+=3D -mcpu=3Dcortex-a7 CPPFLAGS+=3D -mcpu=3Dcortex-a7 For my context poudriere with -x for -a arm.armv6 and the use of qemu-arm-static does not look reliable enough to depend on. It is not obvious that the -x use contributes to the problem: it may well not. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-arm@freebsd.org Sun Jan 15 18:23:08 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8CDECB15AF for ; Sun, 15 Jan 2017 18:23:08 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from lamora.getmail.no (lamora.getmail.no [84.210.184.7]) by mx1.freebsd.org (Postfix) with ESMTP id A6F6F1217 for ; Sun, 15 Jan 2017 18:23:08 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id 598D510628B for ; Sun, 15 Jan 2017 19:23:05 +0100 (CET) Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id uUTOOV-gWYRz for ; Sun, 15 Jan 2017 19:23:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id E61B01062B0 for ; Sun, 15 Jan 2017 19:23:04 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.9.2 lamora.getmail.no E61B01062B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1484504584; bh=xshL+FSEm90i7aQi0PqC09Z6951d+VOZdmLvsqg9rzE=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=5eV81VimNWuURKfDDwwU6rJP8cngHE17aCe30EwsqlX/GAZjM/EugjjNPklv9hZ3c lbbRYrGcH+Echj6aVazvsFdvnVemPQOzouHHi8voaCBGDYCG03nMyPx5VVhqBX1AME arnxTA4aSucX/mNUX9rgv/ceGsvuSYeA0qQb2zeM= X-Virus-Scanned: amavisd-new at lamora.get.c.bitbit.net Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JSx84gDQyjS8 for ; Sun, 15 Jan 2017 19:23:04 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.209.39.108.getinternet.no [84.209.39.108]) by lamora.getmail.no (Postfix) with ESMTPSA id C12F910628B for ; Sun, 15 Jan 2017 19:23:04 +0100 (CET) Date: Sun, 15 Jan 2017 19:23:04 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: Finally bringing FreeBSD to Parallella Message-Id: <20170115192304.9aaf0e5df83441d9828bb3c4@getmail.no> In-Reply-To: <261ECA50-CFB9-4A4A-9B90-467133A6ED5D@yahoo.com> References: <2CAC521E-AB65-453F-B1CC-DE025DA43596@yahoo.com> <4B0F21E0-D0FD-409D-81A5-C0DBBFF26251@yahoo.com> <20170114215137.4b77f54ef7d7b9cb3b11bc6c@getmail.no> <261ECA50-CFB9-4A4A-9B90-467133A6ED5D@yahoo.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2017 18:23:09 -0000 On Sat, 14 Jan 2017 16:55:36 -0800 Thomas Skibo wrote: > Thanks for the feedback. Yes, it should output to the serial console. D= oes u-boot output anything? No it doesn't. Maybe my PL2303HX cable is broken somehow (it has worked in = the past). I've also tried switching RX and TX, but still no output. > My image doesn?t have any default username/passwords. Maybe I should add= one. I?ll look into what the other boards do. well, that explains it then. IMHO, a default username allowing access via ssh is very useful on images w= here one usually don't have local console access. --=20 Torfinn Ingolfsen From owner-freebsd-arm@freebsd.org Sun Jan 15 19:01:54 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98237CB1F9A for ; Sun, 15 Jan 2017 19:01:54 +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 2C1451698 for ; Sun, 15 Jan 2017 19:01:53 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: ec565080-db54-11e6-9357-bffcd86bd944 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id ec565080-db54-11e6-9357-bffcd86bd944; Sun, 15 Jan 2017 19:00:48 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v0FJ0bmk012804; Sun, 15 Jan 2017 12:00:37 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1484506837.86335.106.camel@freebsd.org> Subject: Re: Finally bringing FreeBSD to Parallella From: Ian Lepore To: Torfinn Ingolfsen , freebsd-arm@FreeBSD.org Cc: Thomas Skibo Date: Sun, 15 Jan 2017 12:00:37 -0700 In-Reply-To: <20170114215137.4b77f54ef7d7b9cb3b11bc6c@getmail.no> References: <2CAC521E-AB65-453F-B1CC-DE025DA43596@yahoo.com> <4B0F21E0-D0FD-409D-81A5-C0DBBFF26251@yahoo.com> <20170114215137.4b77f54ef7d7b9cb3b11bc6c@getmail.no> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2017 19:01:54 -0000 On Sat, 2017-01-14 at 21:51 +0100, Torfinn Ingolfsen wrote: > Hello, > > On Mon, 2 Jan 2017 10:08:59 -0800 > Thomas Skibo via freebsd-arm wrote: > > > > > > > I found the instructions I wrote a while ago on booting FreeBSD on > > Parallella and put it back on my site: http://www.skibo.net/zedbsd/ > > #parallella .  It explains how to modify the Zedboard SD card image > > and > > boot it on Parallella.  I updated the .dtb file in the tarball > > because the old one isn?t compatible with 11-release.  It would > > help if somebody could give this a whirl and give me feedback. > The instructions works. There is one small change: the bitstreams are > no longer discussed in in Parallella's guide for creating an SD card. > I just used a bistream I had from back when I got the card. > The image created appears to work also, but I get no output on the > serial console. Is this image supposed to have serial console? > I use > cu -l /dev/cuau0 -s 115200 > with a PL2303HX usb-to-serial cable > Was this just a typo in the mail?  The usb serial device is cuaU0, uppercase U. -- Ian From owner-freebsd-arm@freebsd.org Mon Jan 16 14:20:53 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53EE2CB1630 for ; Mon, 16 Jan 2017 14:20:53 +0000 (UTC) (envelope-from rj@obsigna.com) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E5A2F1279 for ; Mon, 16 Jan 2017 14:20:52 +0000 (UTC) (envelope-from rj@obsigna.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1484576449; l=3360; s=domk; d=obsigna.com; h=In-Reply-To:To:References:Date:Subject:Mime-Version: Content-Transfer-Encoding:Content-Type:From; bh=3AGEn6COOZt6MSrcT1qLs7ocGsxhK3ai5yZyM0P6zaQ=; b=sKceAuP1rY5fxdpfdc14EC11txo0PGHGVbKbOdPXoz3G+bRy+ehvp6xn68/rk1msRC LOuczgoII4OSLV61Yoo4yuOoy66vXQYlJwxYeeucNpNVydT5eOzeghFu73i0S7AAvUPN JDA4YTg5z1cLDF97oabMNk5wBfm4A2zTPaGxY= X-RZG-AUTH: :O2kGeEG7b/pS1EK7WHa0hxqKZr4lnx6UhT0M0o35iAdWtoM07Gt3wQHFGh0i99HgKKA= X-RZG-CLASS-ID: mo00 Received: from mail.obsigna.com (bb02b584.virtua.com.br [187.2.181.132]) by smtp.strato.de (RZmta 39.11 DYNA|AUTH) with ESMTPSA id j090f4t0GEKnmXu (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Mon, 16 Jan 2017 15:20:49 +0100 (CET) Received: from rolf.projectworld.net (rolf.projectworld.net [192.168.222.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.obsigna.com (Postfix) with ESMTPSA id 613317506D97 for ; Mon, 16 Jan 2017 12:20:46 -0200 (BRST) From: "Dr. Rolf Jansen" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: lldb on BeagleBone Black Date: Mon, 16 Jan 2017 12:20:45 -0200 References: <3DA2368D-AE7B-4D69-A634-2861D2EFA9AE@obsigna.com> <8FDE5FCC-9BA8-4601-A32E-04FBAB5FFBEA@obsigna.com> <0ee18ae6-7588-97c9-bc04-3ad83b0c33b3@freebsd.org> <34EB351A-3BA9-4D38-AF1C-96B065564C42@obsigna.com> To: freebsd-arm@freebsd.org In-Reply-To: <34EB351A-3BA9-4D38-AF1C-96B065564C42@obsigna.com> Message-Id: <06672183-F0A6-47C9-AC53-091515CBEBC3@obsigna.com> X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 14:20:53 -0000 > Am 13.01.2017 um 21:48 schrieb Dr. Rolf Jansen : >> Am 11.01.2017 um 14:43 schrieb Michal Meloun = : >> On 11.01.2017 14:20, Dr. Rolf Jansen wrote: >>>> Am 09.01.2017 um 00:59 schrieb Dr. Rolf Jansen : >>>>=20 >>>> I am running FreeBSD 12.0-CURRENT (BEAGLEBONE) #0 r311461: Fri Jan = 6 03:13:01 UTC 2017 >>>>=20 >>>> Does any of the llvm ports build on the BBB? I am looking for a = working lldb, and pre-build packages are not available, and I fear there = is a certain reason why not -- perhaps build failures? >>>>=20 >>>> Therefore, is it actually possible to obtain a working lldb (with = gui option) for armv6 by building e.g. devel/llvm-devel on my BeagleBone = Black? >>>>=20 >>>> Which of the llvm-ports would be most promising? >>>=20 >>> I tried building devel/llvm-devel having the ports tree attached on = a fast USB disk. After 36 h of building it bailed out because of some = obscure error in the AArch64 code generator. >>>=20 >>> Finally, I don't think that building any LLVM port is viable on the = BBB, first because building takes forever. The BBB needs 1 minute for = compiling a C++ file which got only 20 lines of code. Of course this = comes because the C++ experts tend for some ingenious reasons to hide = all the implementations into the headers which need then to be compiled = again and again. Second, it doesn't make sense at all to build LLVM for = all the possible targets on a machine which I will never ever use for = cross-development. >>>=20 >>> I will now try a non-ports build of LLVM 3.91 for the armv6 target = only. >>>=20 >>> Best regards >>>=20 >>> Rolf >>=20 >> Latest buildable llvm is 37. Any newer fails with overflow for >> R_ARM_CALL relocation. >> Michal >=20 > Michal, thank you very much for your hint. >=20 > I started with the non-ports build of LLVM 3.91 for the ARM target = already once I received your message, and for the sake of satisfying my = curiosity I let it go. As a matter of fact, building and installing = completed successfully, only it took apprx. 48 h. >=20 > cmake .. -DLLVM_TARGETS_TO_BUILD=3D"ARM" -DCMAKE_BUILD_TYPE=3DRelease = -G Ninja > ninja lldb install >=20 > However, the resulting lldb fails to run any target, even the simplest = hello-world one crashes. >=20 > # lldb -- hello > (lldb) target create "hello" > Current executable set to 'hello' (arm). > (lldb) run > Process 592 launching > Process 592 launched: '/root/install/hello' (arm) > Process 592 stopped > * thread #1: tid =3D 100089, 0x000083a8 hello, stop reason =3D = signal SIGILL: illegal instruction > frame #0: 0x000083a8 hello > hello`: > -> 0x83a8 <+0>: mov r5, r2 > 0x83ac <+4>: mov r4, r1 > 0x83b0 <+8>: mov r3, r0 > 0x83b4 <+12>: ldr r0, [sp] >=20 >=20 > I am now building LLVM 37 from the ports on the BeagleBone Black = running FreeBSD 12.0-CURRENT. I will let you now the results. Building and installation of devel/llvm37 from the ports went well = without problems, however, lldb37 is only of minor usefulness since = stepping-into/over lines of code does not work. I can set breakpoint, = and execution stops fine on breakpoints, however, when I hit 'n' or 's', = the program simply continues execution in a normal fashion until end. Best regards Rolf From owner-freebsd-arm@freebsd.org Mon Jan 16 14:44:11 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C99ECCB2003 for ; Mon, 16 Jan 2017 14:44:11 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id B9CF112E5 for ; Mon, 16 Jan 2017 14:44:11 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id B92C3CB2001; Mon, 16 Jan 2017 14:44:11 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B8D45CB2000 for ; Mon, 16 Jan 2017 14:44:11 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (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 7860F12E4 for ; Mon, 16 Jan 2017 14:44:11 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.80.77]) by kabab.cs.huji.ac.il with esmtp id 1cT8Vq-000Ao3-EK for arm@freebsd.org; Mon, 16 Jan 2017 16:43:58 +0200 From: Daniel Braniss Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: error while compiling latest kernel for ALLWINNER Message-Id: <1025381D-3897-4D90-A5D6-E9B65ECADFB5@cs.huji.ac.il> Date: Mon, 16 Jan 2017 16:43:58 +0200 To: "freebsd-arm@freebsd.org" X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 14:44:11 -0000 Hi, this is the error: =E2=80=A6 linking kernel.full r21au_attach.o: In function `r21au_vap_preattach': /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:115: undefined = reference to `r21au_newstate' /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:115: undefined = reference to `r21au_newstate' r21au_attach.o: In function `r21a_postattach': /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:89: undefined = reference to `r21au_chan_check' /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:89: undefined = reference to `r21au_chan_check' /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:96: undefined = reference to `r21au_scan_start' /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:96: undefined = reference to `r21au_scan_start' /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:98: undefined = reference to `r21au_scan_end' /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:98: undefined = reference to `r21au_scan_end' *** Error code 1 Stop. bmake[2]: stopped in = /home/obj/rnd/armv6/orangepi/arm.armv6/r+d/vanilla/12/sys/ALLWINNER *** Error code 1 From owner-freebsd-arm@freebsd.org Mon Jan 16 15:03:04 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E154CB278C for ; Mon, 16 Jan 2017 15:03:04 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9261C05 for ; Mon, 16 Jan 2017 15:03:04 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id 3BD5FCB278B; Mon, 16 Jan 2017 15:03:04 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B78BCB2789 for ; Mon, 16 Jan 2017 15:03:04 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (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 EDBAC1C04 for ; Mon, 16 Jan 2017 15:03:03 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.80.77]) by kabab.cs.huji.ac.il with esmtp id 1cT8oH-000BMP-Ar for arm@freebsd.org; Mon, 16 Jan 2017 17:03:01 +0200 From: Daniel Braniss Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: error while compiling latest kernel for ALLWINNER Date: Mon, 16 Jan 2017 17:03:01 +0200 References: <1025381D-3897-4D90-A5D6-E9B65ECADFB5@cs.huji.ac.il> To: "freebsd-arm@freebsd.org" In-Reply-To: <1025381D-3897-4D90-A5D6-E9B65ECADFB5@cs.huji.ac.il> Message-Id: <856C64DC-08DD-4F5B-8208-EA4BC99C4240@cs.huji.ac.il> X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 15:03:04 -0000 > On 16 Jan 2017, at 16:43, Daniel Braniss wrote: >=20 > Hi, > this is the error: > =E2=80=A6 >=20 > linking kernel.full > r21au_attach.o: In function `r21au_vap_preattach': > /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:115: = undefined reference to `r21au_newstate' > /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:115: = undefined reference to `r21au_newstate' > r21au_attach.o: In function `r21a_postattach': > /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:89: undefined = reference to `r21au_chan_check' > /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:89: undefined = reference to `r21au_chan_check' > /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:96: undefined = reference to `r21au_scan_start' > /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:96: undefined = reference to `r21au_scan_start' > /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:98: undefined = reference to `r21au_scan_end' > /r+d/vanilla/12/sys/dev/rtwn/rtl8821a/usb/r21au_attach.c:98: undefined = reference to `r21au_scan_end' > *** Error code 1 >=20 > Stop. > bmake[2]: stopped in = /home/obj/rnd/armv6/orangepi/arm.armv6/r+d/vanilla/12/sys/ALLWINNER > *** Error code 1 >=20 this did the trick: Index: /r+d/vanilla/12/sys/conf/files =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /r+d/vanilla/12/sys/conf/files (revision 312286) +++ /r+d/vanilla/12/sys/conf/files (working copy) @@ -2716,6 +2716,7 @@ dev/rtwn/rtl8821a/r21a_rx.c optional rtwn dev/rtwn/rtl8821a/usb/r21au_attach.c optional rtwn_usb dev/rtwn/rtl8821a/usb/r21au_init.c optional rtwn_usb +dev/rtwn/rtl8821a/usb/r21au_dfs.c optional rtwn_usb rtwn-rtl8188eufw.c optional rtwn-rtl8188eufw | rtwnfw = \ compile-with "${AWK} -f $S/tools/fw_stub.awk = rtwn-rtl8188eufw.fw:rtwn-rtl8188eufw:111 -mrtwn-rtl8188eufw = -c${.TARGET}" \ no-implicit-rule before-depend local =20 >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Mon Jan 16 15:47:10 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0015DCB25E6 for ; Mon, 16 Jan 2017 15:47:09 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from bouvier.getmail.no (bouvier.getmail.no [84.210.184.8]) by mx1.freebsd.org (Postfix) with ESMTP id B1D531956 for ; Mon, 16 Jan 2017 15:47:09 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 0D1B94170F for ; Mon, 16 Jan 2017 16:41:34 +0100 (CET) Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Oa_4lp_i8Sog for ; Mon, 16 Jan 2017 16:41:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 9D5BD41A50 for ; Mon, 16 Jan 2017 16:41:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.9.2 bouvier.getmail.no 9D5BD41A50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1484581293; bh=6CIxO6YqN01LXd8WkFF/o0W6ZuzL/H8hNTVnOv/EWWw=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=LaRmeanI9y8NaCy6ppz8zx73Pwq6OkDpGlHoKaWpeRJpeNUS0fEAfe8dKYPrnVDjK EYTNt8RnpvlJPZrFSlh4WfVvRWPp4s8k6wVSjyE5vx7C+r3OOmAUJgUxN+Jb9aafX9 7Jx719Ad5tRov+ceyq75G4ylNNESDUreqyDOgK3U= X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id gcCaNnx9x8-r for ; Mon, 16 Jan 2017 16:41:33 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.209.39.108.getinternet.no [84.209.39.108]) by bouvier.getmail.no (Postfix) with ESMTPSA id 6D0C14170F for ; Mon, 16 Jan 2017 16:41:33 +0100 (CET) Date: Mon, 16 Jan 2017 16:41:33 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: Finally bringing FreeBSD to Parallella Message-Id: <20170116164133.ece175555297d1c73a65b34e@getmail.no> In-Reply-To: <1484506837.86335.106.camel@freebsd.org> References: <2CAC521E-AB65-453F-B1CC-DE025DA43596@yahoo.com> <4B0F21E0-D0FD-409D-81A5-C0DBBFF26251@yahoo.com> <20170114215137.4b77f54ef7d7b9cb3b11bc6c@getmail.no> <1484506837.86335.106.camel@freebsd.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 15:47:10 -0000 On Sun, 15 Jan 2017 12:00:37 -0700 Ian Lepore wrote: >=20 > Was this just a typo in the mail? =A0The usb serial device is cuaU0, > uppercase U. No, it was user error. Using /dev/cuaU0 now, and serial console works, u-bo= ot and all. Thanks! I blame the confusion on my recent upgrade from 9.3 -> 10.3 on this worksta= tion :-P --=20 Torfinn Ingolfsen From owner-freebsd-arm@freebsd.org Mon Jan 16 16:53:01 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BAAA8CAF77F for ; Mon, 16 Jan 2017 16:53:01 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) Received: from nm26-vm3.bullet.mail.gq1.yahoo.com (nm26-vm3.bullet.mail.gq1.yahoo.com [98.136.216.130]) (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 941801EA3 for ; Mon, 16 Jan 2017 16:53:01 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1484585475; bh=d4iL2s7G+IFGA033kg+FaH3O9rmMbQn9DDkTORzJMlI=; h=From:Subject:Date:To:From:Subject; b=LfJPRXZIaNPUb9UcPCmrXTEChmuqQzyylRGtbimhFMgIw/zAUzp8mlQCeeZ+1ItSybkOd87uJcEqIH8xaGc1B7HyEzg3w7xDOpe0Zpb4qFOykdP7oyDtRgn7VVFVgJFMiKkYw+lR0fFWS9z5jKeLAMegqwijrwoTL0mOBF4rDHFoVJOzhIMcXiayrozYI4OswKdmnXEcp6JRZ5u87FSuUJ+s9FgU4i+hKnSGFk7gj1UKFFBR+Q8x72aHMTqBWwoyjzH5nRUYcV1//e1gHFrIynDUsag5tYwqlmJP2azojCDTfvtxm5tS3QeZnLM3TAhtqOziE/PadG4v3Bk0iAR2QA== Received: from [216.39.60.180] by nm26.bullet.mail.gq1.yahoo.com with NNFMP; 16 Jan 2017 16:51:15 -0000 Received: from [208.71.42.208] by tm16.bullet.mail.gq1.yahoo.com with NNFMP; 16 Jan 2017 16:51:15 -0000 Received: from [127.0.0.1] by smtp219.mail.gq1.yahoo.com with NNFMP; 16 Jan 2017 16:51:15 -0000 X-Yahoo-Newman-Id: 367012.42808.bm@smtp219.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 9yyDx6EVM1k6CYC.AAyUb0JgzpsipG3y4UKONZMXliYlvvs ZV__KAPbI7UbhMOtoUxTq5S7.vX0OVpjDTARaWFqP2IY7_yq4ZBdqz8aWWCs 8NcfW50jgIA6h_ivpRsOC_mZIPDOGxngDUd0FfLk3.P5ImPgAvtQ65tw1OC5 8oPMPmlKt77Clq4.ieCxiNsNXuInhiOO7_mQWvKcBkSkh8.J98rJmRKGBSK0 .ObDywavnzc9TnDGOLg3LrQnCfybfkJ3HpAX8kpDiSS6X3srOPe3pqXWHCqX CWdZcQB4tE1_SYpNeOSuWuUtgY8HeDMwcsrRXcQCK05OliadmaeCDwZ1VNlg h9UCYWU9k8LZ4Qz1ORM40tJJchUemZJRMFAX5I2QodXFdpmUeBmD68m4X7Yb X0qbNTU1QMeA2gHWmAb2qQVNtQ.57h9O2Y0GwsSmGmlbVMN9U60zwtPrZkao rd15bJDCQhgWQGPvJWkdyQ20Z0iRcNERDu8YOACGaaXgjqQmCfLZLG41Tmpw psZH_CSKDPBzLEsib5pgOSX4x7m5_lgnHrA2.0seDIonxRLMhTX6LFfWNjvR bJm32zLcf5OQ7DA-- X-Yahoo-SMTP: .8Dytk6swBAeTUTcf.ezO8BKaYfn.mUV From: Thomas Skibo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: u-boot ports for Zedboard and Zybo Message-Id: <640059E8-B9DD-4289-BA59-2E02A4D91F87@yahoo.com> Date: Mon, 16 Jan 2017 08:51:17 -0800 To: freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 16:53:01 -0000 Hi. I have ports of u-boot for Zedboard and Zybo. If I could get those = committed, I can then make a pull request to crochet to utilize them. = It=E2=80=99s how I have been creating SD images for Zedboard and Zybo = for a while now. I also think I can get crochet to build an SD image for Parallella. Thanks, =E2=80=94Thomas =E2=80=94 Thomas Skibo thomasskibo@yahoo.com From owner-freebsd-arm@freebsd.org Mon Jan 16 16:55:10 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56A2BCAF819 for ; Mon, 16 Jan 2017 16:55:10 +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 mx1.freebsd.org (Postfix) with ESMTPS id 4520D1F28 for ; Mon, 16 Jan 2017 16:55:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v0GGtA5A083919 for ; Mon, 16 Jan 2017 16:55:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 216104] arm cpufunc.h uses only mis-spelled __ARM_ARCH_6ZK__ for __ARM_ARCH_6KZ__ Date: Mon, 16 Jan 2017 16:55:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ian@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: cc bug_status resolution Message-ID: In-Reply-To: References: 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.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 16:55:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216104 Ian Lepore changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian@FreeBSD.org Status|New |Closed Resolution|--- |FIXED --- Comment #3 from Ian Lepore --- Instead of applying the supplied patch (thanks!), I just deleted the whole cpuconf.h file, and thus removed the unnecessary check that was failing when the file got included by lsof. This fix can be MFC'd to stable-11, but perhaps not to stable-10 (some kern= el sources in 10 may still refer to the old arch symbols from cpuconf.h), so t= he workaround applied to lsof in bug 216065 may have to remain in place for a while. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Mon Jan 16 18:15:10 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13BECCB2CC0 for ; Mon, 16 Jan 2017 18:15:10 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) Received: from nm27-vm10.bullet.mail.gq1.yahoo.com (nm27-vm10.bullet.mail.gq1.yahoo.com [98.136.216.153]) (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 E228F1CFA for ; Mon, 16 Jan 2017 18:15:09 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1484590503; bh=IWmataiuP0fgDrGzErxnrQAgu+D/KErvIK+1zgt222k=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject; b=NyfGx2KHerf6d2B9QaGWV2/VMRIcWFjw0F8mT+xi3i7Mdgk89NE6LmZrUU0k67QjW0GgBxQ9PABrr8XuZ2NWo8IeJ2Em7FH/jiLxZoy0jyZ4FQJftO+FvQCnaDfXYyPBDIFPn77aHSMDYfHG5D+cRS/zs3wNBdLySVEbQClhXq59vqD2gragngI8kbULOMzST1L+svFkasshn6xuYUIy5eWNe39B9Mnw3UvnG5dRMeDZAhqFc0d7Jiqw+Xq5OD5MGrUsk/9qmf5BmyFaddiPc0KCVDmtzhQlwKUYyFTTGQY3osrAgng+vRQAEYec9HJuL3/6F2b0Bs+s+0yxxrkyIg== Received: from [98.137.12.55] by nm27.bullet.mail.gq1.yahoo.com with NNFMP; 16 Jan 2017 18:15:03 -0000 Received: from [208.71.42.214] by tm15.bullet.mail.gq1.yahoo.com with NNFMP; 16 Jan 2017 18:15:03 -0000 Received: from [127.0.0.1] by smtp225.mail.gq1.yahoo.com with NNFMP; 16 Jan 2017 18:15:03 -0000 X-Yahoo-Newman-Id: 258130.6871.bm@smtp225.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: ud874_EVM1n_6v5pySqwN7J48fHidHk85qVCQncCsCfr3pN XyFIwKMfZSQFt5guE3L8xCx.BSGS7omde.CPK18Hh01Oo1v0jv_z_zvqrkzg Q.w_dXKJvyt3CvG9Tl73GB2RX1GyDQ7nCAsqD0JoNamzIIlYIcJrYIs5C5kg BQRmL_CeENW36AKhb3H7S.OytJAwwd2Fc._j7AAzwTFxbVRxpKxz.5ouoZGr 0oCuYxUv9jOrlstmgodNjP3tB5jJDIWhLIrgXK3iOnxmkFUDHVZ_.BqndGoR tj8JuFrGAJHN1SqTaj9dNqF1kjZ4PY8Pcdl8GiHfHDhv2zQeHs0Pez_pdVBv 5wHKvxQQt8NSZbAB9.w9HQrxBOAvrK3zUN6aP6Mho0Zyt7XdM70MWAbTWED2 osMzqb.V_c9HhuYwmml1O3JKDhFCCwe8I0Bi.wv4MJKDw_Mdmb5sl5.cw584 uE76JIh_Jko_o.EHq5WXv26jADAkjsVOIViMx9zu9tHVxLw_VmMRoXnwPbGI s4bR4twRqf9VqlxagAh1Dn5twmiB6VzHXVx7RYCAHw7ykdKbjiDqwt.v0M4v oERrWmMXKjJI06eoVXP2IWPCxzeFd9.0hZok- X-Yahoo-SMTP: .8Dytk6swBAeTUTcf.ezO8BKaYfn.mUV From: Thomas Skibo Content-Type: multipart/mixed; boundary="Apple-Mail=_C5F07AB8-E0A2-471D-8943-693EC63543EE" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: u-boot ports for Zedboard and Zybo Date: Mon, 16 Jan 2017 10:15:05 -0800 References: <640059E8-B9DD-4289-BA59-2E02A4D91F87@yahoo.com> <20170116173329.GH13006@home.opsec.eu> To: Kurt Jaeger , freebsd-arm@freebsd.org In-Reply-To: <20170116173329.GH13006@home.opsec.eu> X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 18:15:10 -0000 --Apple-Mail=_C5F07AB8-E0A2-471D-8943-693EC63543EE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 16, 2017, at 9:33 AM, Kurt Jaeger wrote: >=20 > Hi! >=20 >> I have ports of u-boot for Zedboard and Zybo. >=20 > In some PR ? On github ? Where would those be ? >=20 > --=20 > pi@opsec.eu +49 171 3101372 3 years = to go ! Attached to this e-mail! I=E2=80=99ll stage my crochet additions to my fork of crochet at = http://www.github.com/skibo/crochet-freebsd. =E2=80=94Thomas --Apple-Mail=_C5F07AB8-E0A2-471D-8943-693EC63543EE Content-Disposition: attachment; filename=u-boot-ports.tgz Content-Type: application/octet-stream; name="u-boot-ports.tgz" Content-Transfer-Encoding: base64 H4sIAMMMfVgAA+0aa3ObSHK/il/RJbv2ERvEG1tZ7UWRsK2N9TiB86pUUQgGiTICHSA/kvJ/v54B yZLixMmd7eztqatsDcP0Y7p7unuGmfOjJMn5j8QfJW7q1356BBBF0dA0oL8Im7/Fg6SIiiGLuqwZ IEqqpBk/gfYYwmzCPMvdFEVJUQ1fG3c5IST6yvvNyf2PwHzD/l33nARhRB6SB+pDV9Uv2l9WFH1h f03VZLS/pktof/EhhfgS/J/bfwdaKXFz4sPoug72JJm6GVjn4SiB3zP68+IoJeSl1RaSdPwHtwO7 5fMut4NPgyTNIQmgcCOIEtcnKQRJCvmEwNswCuMreH8d/4sfuRkyeV/6Gbgx/kVZAi4gx5ykSGxG iVHcBJHTVTSGkyFHbtAf2r1m1/xH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ILZa8kzUXXZ5kTSTrL7Lkg74RTd1wkUYpIXUEx NHSBPcXQcRVST2DuxU5uFoc+F1dvkvQ8K2RzYzBPj4ARKjxufUFZ7ywH5Xa6zbdO23zdaZkV6bNV 1xx0KKM7UE/bVmvYGdgAVTf1JuzAaepivqGBY/FJIPKzKuL/6PD4t4dF/r8eJY9y94PCt57/sPsf qo71v6Ko+vb85ylg1f6P8e2Hwj31nySpK99/JPb9R1K39d+TwDd//0EHebhvP0hs+91n+91nCz8c VuP/Y9z9o3Df+Z+qlvlflDVFoef/qmFsv/8/CfwX9/+Wd/Fur+LRuP7w9+cY1c27c8WlPXYpbPeT 0DobsgtCgvDZ/YLlvajFTSskt7xqtbw3VKW3qUqKN8uVUN2Gri1sYQt/W/g3yIloiwAyAAA= --Apple-Mail=_C5F07AB8-E0A2-471D-8943-693EC63543EE-- From owner-freebsd-arm@freebsd.org Mon Jan 16 18:20:19 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AEF26CB2E71 for ; Mon, 16 Jan 2017 18:20:19 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 819901037 for ; Mon, 16 Jan 2017 18:20:19 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22a.google.com with SMTP id r185so88278495ita.0 for ; Mon, 16 Jan 2017 10:20:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=4/CZW4MnDjjC6D1t4BTEG05Ku9J5Adi6R5jhOXHTAs0=; b=asqpA+uN26KHJE1VgpxaFCSU81oPbrL1VGqZOtcxvBuSsH1phIs8sZuI3PDiNd/t1s UAviKnGXEz0Wvis3/iMAJ+Ujgf4PGH+f+wehEjkYg+KlTONhjF5te0zSEeBVcLpU8mQ7 YDCabAwf+TmoYa+xUo7jegIO1YCjO7lXsGPQj/huEvxthNNHe1oOl3hN0U71caO2mOd+ nN4iQt633rq/YAOdFGj2mNDINTMiouIRuJ8bLH/2IsZcL1az7+z/1dXxsqobNncga0Ev 59G9E9nsUh+imYuwX65ZkiOO/9Zl2xrdtXfLgPkIvxSZGKKO9hlLjMY/OiakQnu/acux VdbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=4/CZW4MnDjjC6D1t4BTEG05Ku9J5Adi6R5jhOXHTAs0=; b=ge3hg8vc42in+jX5jgVGhCzjrLvJBBAq1czL9Z3sROaDW33JL18Cq6E+YzW3oA2URr T2sC2EmCdhWZf5xKmV0e2tQweAeXmKVtmlERMMEXhawISzXC2Ydv6jiRu/b71XE2bF0Z 6xGrUAXbY4CUjHrahkZsjoBRGBSi1aJlPxcHlPhj5JR68FM5lcIhEplFxFrPRoLj+tAx cC7tiXPnpRqf2KSGDlrULoy+xwABavbrEnS12VAMRfNVLOut1TwNBFpCJv4lfAMSmRte XX3vrKdkfHE55OLVtSiEl07aJJtkWCtQ+sjVGBXsiVdCNngnzGhm24R5Yv5sCymQDUKA BHGw== X-Gm-Message-State: AIkVDXKYIyHLEUX2RnVXy29tp7W/C1n/Vzia4o53NZAyHTbZMv0IHp1nC2b0els+PYmwndEnNNqzKFiWuz4UWQ== X-Received: by 10.36.79.13 with SMTP id c13mr15808667itb.103.1484590818710; Mon, 16 Jan 2017 10:20:18 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.145.217 with HTTP; Mon, 16 Jan 2017 10:20:18 -0800 (PST) X-Originating-IP: [50.253.99.174] In-Reply-To: References: <640059E8-B9DD-4289-BA59-2E02A4D91F87@yahoo.com> <20170116173329.GH13006@home.opsec.eu> From: Warner Losh Date: Mon, 16 Jan 2017 11:20:18 -0700 X-Google-Sender-Auth: Qcqx5_jfZCRp2rP9g_JKppvoJUk Message-ID: Subject: Re: u-boot ports for Zedboard and Zybo To: Thomas Skibo Cc: Kurt Jaeger , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 18:20:19 -0000 Any chance you could rebase this onto the new u-boot-master framework? Or are the changes not yet merged back into u-boot upstream? Warner On Mon, Jan 16, 2017 at 11:15 AM, Thomas Skibo via freebsd-arm wrote: > >> On Jan 16, 2017, at 9:33 AM, Kurt Jaeger wrote: >> >> Hi! >> >>> I have ports of u-boot for Zedboard and Zybo. >> >> In some PR ? On github ? Where would those be ? >> >> -- >> pi@opsec.eu +49 171 3101372 3 years t= o go ! > > Attached to this e-mail! > > I=E2=80=99ll stage my crochet additions to my fork of crochet at http://w= ww.github.com/skibo/crochet-freebsd. > > =E2=80=94Thomas > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Mon Jan 16 19:35:38 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18AC3CB309E for ; Mon, 16 Jan 2017 19:35:38 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) Received: from nm14-vm10.bullet.mail.gq1.yahoo.com (nm14-vm10.bullet.mail.gq1.yahoo.com [98.136.218.186]) (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 DDCDC1D67 for ; Mon, 16 Jan 2017 19:35:37 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1484595331; bh=pisgxAdlJSo9zqPjTY4WNNZKpH/BVVSVhbfXeBGUbeY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject; b=PEfqC4bF9OQEueQFHCZ5ciTN9P0ENqFLm+SgCEmnjqnmQg44gZNpNIRbqz3XjRowLzz3sGfaO+i4nB5cEwvs7rUJl2+7C0/AcKvZH9Lge/Bj30yEXSFyJhMGmrtKlebJr9vnan5So5D+v7OwEimk3nY/uYwH8opi9+T0nf/eEOsikSlcVN9qZXI/vdvoTPa56hjYAKHS5h2yE0YWMgoMxJm5qvBULUwKrF1qIEW/OvCesO4AGLEG3+38JCeauutwFmqRn7puhWODMdubebOZYNpsGcEEqoQi0vGxCKztxFKrklii8GYdoJumI7hTQfcB0BeKjtH0TRWbbeDWEYn9Sg== Received: from [98.137.12.190] by nm14.bullet.mail.gq1.yahoo.com with NNFMP; 16 Jan 2017 19:35:31 -0000 Received: from [98.136.164.78] by tm11.bullet.mail.gq1.yahoo.com with NNFMP; 16 Jan 2017 19:35:31 -0000 Received: from [127.0.0.1] by smtp240.mail.gq1.yahoo.com with NNFMP; 16 Jan 2017 19:35:31 -0000 X-Yahoo-Newman-Id: 736830.95519.bm@smtp240.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: AU44ohgVM1mrqnxml0Yi3fIxqVSh03mh7A8fKOoP7aGrrbA KeC09YpaxfFtuGOvOB4IABVU3AmioxHJ.Wnbj06C.DocCg6vHqwEt6uoJVBq nSQN.cm5I.s.gZ_89EH_84tbBqy1fN5N74gvbntZE8YZvAdwhRQb3yj7AxcG jBMLWKVzgvdJB9L_WO.GL7dlKCGfMiAwVcg7kxT4QUlJl4IVNhkOXX6KUeGp 6N6smBbl6lb6BN9n7XjNkdVSSCDjbxVlMB3oEOGa9iFa91dGTCSYiEnoYKa3 AsF7Hv3irtGhvwUAXROork.2GMeYP7knylTzWiPmNfTXO.f_tVuoEK01u6m8 wHyXVqROrfRMOGKDtOirJ.r0HrOLHKGDapiW7zDnS5IdIXXUvY.N7hMjdSvG 7_6OyON_RC4zdffCFsEzN31UJQlH6oAlQOutzp2TpM4.eP1s374li8pLJFW6 VqmhYxeGvf4iVbfo82yuqo8iJwjhV4Hu0ZaZDigNKonKADWIPHzfU8yIEG2U RgFzkytoPjsuuAjQJ58cfNQ1Ymq2TSDNfbq6DjjwU8ogitV8hdTeV X-Yahoo-SMTP: .8Dytk6swBAeTUTcf.ezO8BKaYfn.mUV Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: u-boot ports for Zedboard and Zybo From: Thomas Skibo In-Reply-To: Date: Mon, 16 Jan 2017 11:35:35 -0800 Cc: Kurt Jaeger , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <475E6524-A4AB-44F4-8192-F5A5884905B6@yahoo.com> References: <640059E8-B9DD-4289-BA59-2E02A4D91F87@yahoo.com> <20170116173329.GH13006@home.opsec.eu> To: Warner Losh X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 19:35:38 -0000 > On Jan 16, 2017, at 10:20 AM, Warner Losh wrote: >=20 > Any chance you could rebase this onto the new u-boot-master framework? > Or are the changes not yet merged back into u-boot upstream? >=20 > Warner >=20 >=20 I tried that last night but it failed mysteriously: gmake[1]: Leaving directory = '/usr/ports/sysutils/u-boot-zed2/work/u-boot-ports-v2017.01.00.1' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the = failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/u-boot-zed2 I=E2=80=99m pretty sure Zybo and Zedboard have been merged into upstream = u-boot but I=E2=80=99ve had better luck building from Xilinx=E2=80=99s = u-boot repository. I=E2=80=99ll take a second look and see what went = wrong=E2=80=A6 =E2=80=94Thomas From owner-freebsd-arm@freebsd.org Mon Jan 16 19:40:40 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9EB4CCB3284 for ; Mon, 16 Jan 2017 19:40:40 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) Received: from nm19-vm10.bullet.mail.gq1.yahoo.com (nm19-vm10.bullet.mail.gq1.yahoo.com [98.136.217.215]) (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 74276101A for ; Mon, 16 Jan 2017 19:40:40 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1484595498; bh=Fe6dY5+N7vmKxVr5khmsT7ibJoKvrmxSq5uUnBxeamc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject; b=hGZpig1h4Wq1vsugYHL52VmAbTK1E18ybdkn5UzUjTUdIfV1XQId3DMYzBAGSNzJ/AYJeIZXjhLzMz6ZbsqebQcqJmDXMK1l4VTsAd6/IIpQ048SXHBgWLdjJkw1wLzESk9xpy3rVQw0zB4iNg7te5EbXlvvmp2bHlA7gneGoxvzm0gWSk2qdG5t1JqECwojDRjLKf25v4NE+zPZ7X4yWSAN6GCWwBXad0PB2TnxqU8o3SRN1K2FO9UowsECw9nkup0Q4+AaIRZH5JF2jJzhZ2pbWqJSryc52aBUkdSPOLISwlACWriCWRGQ0hMg56S71oG6ATUowvilUBrRfGbQng== Received: from [98.137.12.62] by nm19.bullet.mail.gq1.yahoo.com with NNFMP; 16 Jan 2017 19:38:18 -0000 Received: from [208.71.42.210] by tm7.bullet.mail.gq1.yahoo.com with NNFMP; 16 Jan 2017 19:38:18 -0000 Received: from [127.0.0.1] by smtp221.mail.gq1.yahoo.com with NNFMP; 16 Jan 2017 19:38:18 -0000 X-Yahoo-Newman-Id: 175761.81155.bm@smtp221.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 1235j8oVM1n42XSJldySw7.RV507jaREfAtR0awZ6SRTnQ9 LtdQ21K3VTqKVSt8_A8Xl96z.o8Ek0RORaoewuc2F_soCBTCV1F_630K1lSQ Ejtesg429l59JnXRH833Z8StO.JdMwSEU7k5FezzGmB_Ygi8aFvfQOEj17Fq lPY_E3QE8y0FiNomwKSPEaOsN5C0beqb9jQrvhnUGUGVsp0qSB7dRCNxXUcS Doq3TPMmCWbu0h06h2_SLxPVQaU0DUe_d7tBNxf92bXs_tw0xv0gvmMpZ.H0 SVKfw.nbpkwQbomSB7V00_tduge4dlnZtvS2a85VI55vz8udvBrTMAbCZui8 IHXcytiaGabp9xDI7PcsoO6hGAsOsNqFHUz6gagFXeGnIvwLnLQ66yecoRnr RMikBhxL9s15LpClVzZsRkq4I4sgaGumb4.yOu5Z8hRrrBx6QKR7MP8AqOuf vnGxp2eUMlWS7UjYuAsMlb2x7W9NLuhy_HL2fcYdfMsF8ZcD_QKo1BHiunPA 1v3aJQ8nxJhhPDd16Hf_qkMGAbHuz4f2fWaxo46kuAVjQ2hyacyph X-Yahoo-SMTP: .8Dytk6swBAeTUTcf.ezO8BKaYfn.mUV Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: u-boot ports for Zedboard and Zybo From: Thomas Skibo In-Reply-To: Date: Mon, 16 Jan 2017 11:38:20 -0800 Cc: Kurt Jaeger , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <58C09F42-D34B-4B84-A894-7147613214B9@yahoo.com> References: <640059E8-B9DD-4289-BA59-2E02A4D91F87@yahoo.com> <20170116173329.GH13006@home.opsec.eu> To: Warner Losh X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 19:40:40 -0000 > On Jan 16, 2017, at 10:20 AM, Warner Losh wrote: >=20 > Any chance you could rebase this onto the new u-boot-master framework? > Or are the changes not yet merged back into u-boot upstream? >=20 > Warner >=20 >=20 Oh, wait, here=E2=80=99s the breakage: arm-none-eabi-gcc -Wp,-MD,cmd/.bootm.o.d -nostdinc -isystem = /usr/local/lib/gcc/arm-none-eabi/6.3.0/include -Iinclude = -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ = -D__UBOOT__ -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin = -ffreestanding -Os -fno-stack-protector -fno-delete-null-pointer-checks = -g -fstack-usage -Wno-format-nonliteral -Werror=3Ddate-time -D__ARM__ = -marm -mno-thumb-interwork -mabi=3Daapcs-linux -mword-relocations = -fno-pic -mno-unaligned-access -ffunction-sections -fdata-sections = -fno-common -ffixed-r9 -msoft-float -pipe -march=3Darmv7-a = -D__LINUX_ARM_ARCH__=3D7 -I./arch/arm/mach-zynq/include = -D"KBUILD_STR(s)=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(bootm)" = -D"KBUILD_MODNAME=3DKBUILD_STR(bootm)" -c -o cmd/bootm.o cmd/bootm.c api/api_storage.c: In function 'dev_read_stor': api/api_storage.c:337:9: error: 'struct blk_desc' has no member named = 'block_read' if ((dd->block_read) =3D=3D NULL) { ^~ api/api_storage.c:342:11: error: 'struct blk_desc' has no member named = 'block_read' return dd->block_read(dd, start, len, buf); ^~ api/api_storage.c:343:1: warning: control reaches end of non-void = function [-Wreturn-type] } ^ I have run into a lot of trouble with the API when I try to build from = the official u-boot repository. For some reason, the Xilinx repository = works better despite that they don=E2=80=99t enable CONFIG_API on any of = their boards. =E2=80=94Thomas From owner-freebsd-arm@freebsd.org Mon Jan 16 20:15:00 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7996ACB3B86 for ; Mon, 16 Jan 2017 20:15:00 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from mailout09.t-online.de (mailout09.t-online.de [194.25.134.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 41715174A for ; Mon, 16 Jan 2017 20:14:59 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from fwd02.aul.t-online.de (fwd02.aul.t-online.de [172.20.26.148]) by mailout09.t-online.de (Postfix) with SMTP id 9B8DB42387BC for ; Mon, 16 Jan 2017 21:14:49 +0100 (CET) Received: from [192.168.10.43] (bjXvcMZSrhbtSp613AW7Zo93pbipyazlUsUxyCdK6W+VX-64HUdzHIwawOYcmJ6wZf@[86.56.56.128]) by fwd02.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1cTDfw-1xKy0W0; Mon, 16 Jan 2017 21:14:44 +0100 To: freebsd-arm From: diffusae Subject: RPi Zero won't boot Message-ID: Date: Mon, 16 Jan 2017 21:14:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-ID: bjXvcMZSrhbtSp613AW7Zo93pbipyazlUsUxyCdK6W+VX-64HUdzHIwawOYcmJ6wZf X-TOI-MSGID: 6efc25e3-4f67-41d2-a861-6b7730c955e1 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 20:15:00 -0000 Hello! I've tried the RPI-B snapshot image for a Raspberry Pi Zero and it ends up in a boot loop just after u-boot. I can not connect a keyboard to hold the screen. It might be better to solder the GPIO header and use a USB to TTL serial cable. Maybe you have a suggestion of what went wrong? According to the Wiki it should work with the RPI-B snapshots. https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi Thank you in advance Regards, From owner-freebsd-arm@freebsd.org Mon Jan 16 20:33:39 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2047ACB2611 for ; Mon, 16 Jan 2017 20:33:39 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DADE7147F for ; Mon, 16 Jan 2017 20:33:38 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from fwd00.aul.t-online.de (fwd00.aul.t-online.de [172.20.26.147]) by mailout11.t-online.de (Postfix) with SMTP id 7CE17421909E for ; Mon, 16 Jan 2017 21:25:05 +0100 (CET) Received: from [192.168.10.43] (EByM9YZJYhVBREuJFqfLiO7adEtaccS89tFshBTMfGq9wuQy1iKkBgr54iZXtygw1A@[86.56.56.128]) by fwd00.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1cTDpw-1y4L4q0; Mon, 16 Jan 2017 21:25:04 +0100 Subject: Re: latest current/SNAPSHOT on Raspberry PI zero References: To: freebsd-arm@freebsd.org From: diffusae Message-ID: <232eff3c-6eb1-dc8c-6390-1833e148630c@t-online.de> Date: Mon, 16 Jan 2017 21:25:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-ID: EByM9YZJYhVBREuJFqfLiO7adEtaccS89tFshBTMfGq9wuQy1iKkBgr54iZXtygw1A X-TOI-MSGID: ed607277-ddc3-4c13-9d9d-e2fa7ada012b X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 20:33:39 -0000 Hi Yoshiro, did you solve the issue? I've had the same problem with a FreeBSD-11.0-STABLE-arm-armv6-RPI-B-20170105-r311441.img. It won't boot or ends up in a boot loop. Actually it look like a kernel issue or the DTB isn't a the right address? I am not sure. Do you have any suggestions? Regards, On 08.12.2016 13:40, Yoshiro MIHIRA wrote: > Hi > > I have a Raspberry PI zero and I installed latest snapshot and latest > current into 20161117-r308737, but I could not boot. Please let me know to > solve issue. > > [Tested Snapshot] > FreeBSD-12.0-CURRENT-arm-armv6-RPI-B-20161130-r309302.img.xz NG > FreeBSD-12.0-CURRENT-arm-armv6-RPI-B-20161117-r308737.img.xz OK > > [Tested kernel] > after install FreeBSD-12.0-CURRENT-arm-armv6-RPI-B-20161117-r308737.img.xz, > I update latest kernel NG > > [boot message] > U-Boot 2016.01 (Nov 17 2016 - 07:06:53 +0000) > > DRAM: 480 MiB > RPI Zero (0x900093) > MMC: bcm2835_sdhci: 0 > reading uboot.env > > ** Unable to read "uboot.env" from mmc0:1 ** > Using default environment > > In: serial > Out: lcd > Err: lcd > Net: Net Initialization Skipped > No ethernet found. > reading uEnv.txt > ** Unable to read file uEnv.txt ** > Hit any key to stop autoboot: 0 > starting USB... > USB0: Core Release: 2.80a > scanning bus 0 for devices... 2 USB Device(s) found > scanning usb for storage devices... 0 Storage Device(s) found > scanning usb for ethernet devices... 0 Ethernet Device(s) found > Booting from: mmc 0 ubldr.bin > reading ubldr.bin > 225016 bytes read in 35 ms (6.1 MiB/s) > ## No elf image at address 0x00200000 > ## Starting application at 0x00200000 ... > Consoles: U-Boot console > Compatible U-Boot API signature found @0x1db464d0 > > FreeBSD/armv6 U-Boot loader, Revision 1.2 > (root@releng3.nyi.freebsd.org, Thu Nov 17 07:20:15 UTC 2016) > > DRAM: 480MB > Number of U-Boot devices: 1 > U-Boot env: loaderdev='mmc 0' > Found U-Boot device: disk > Checking unit=0 slice= partition=... good. > Booting from disk0s2a: > /boot/kernel/kernel data=0x775724+0x1828dc syms=[0x4+0x87b80+0x4+0x9b9f0] > /boot/kernel/carp.ko text=0x73e8 data=0x4d0+0x74 > syms=[0x4+0x14a0+0x4+0x1111] > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Using DTB provided by U-Boot at address 0x100. > Kernel entry at 0x400100... > Kernel args: (null) > > [NG] > > U-Boot 2016.01 (Nov 17 2016 - 07:06:53 +0000) > > Yours > Yoshiro MIHIRA > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@freebsd.org Mon Jan 16 21:07:43 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3CF4CB333E for ; Mon, 16 Jan 2017 21:07:43 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A8F471F17 for ; Mon, 16 Jan 2017 21:07:43 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from fwd30.aul.t-online.de (fwd30.aul.t-online.de [172.20.26.135]) by mailout06.t-online.de (Postfix) with SMTP id DAB8141C6A38 for ; Mon, 16 Jan 2017 21:57:53 +0100 (CET) Received: from [192.168.10.43] (XNBxFiZ6QhvyxkEybcxEAF8o2-FOxYH7sCGITzKfSzlAvwNAKu0vC+QCXLpK22Qw3m@[86.56.56.128]) by fwd30.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1cTELc-2TPMem0; Mon, 16 Jan 2017 21:57:48 +0100 Subject: Re: latest current/SNAPSHOT on Raspberry PI zero References: To: freebsd-arm@freebsd.org From: diffusae Message-ID: <121cb191-d97b-86d3-9058-d3f8906fabd0@t-online.de> Date: Mon, 16 Jan 2017 21:57:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-ID: XNBxFiZ6QhvyxkEybcxEAF8o2-FOxYH7sCGITzKfSzlAvwNAKu0vC+QCXLpK22Qw3m X-TOI-MSGID: 725ff247-68ed-4ec4-8940-2799b7aa39af X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 21:07:44 -0000 Hi again, I can confirm that the RPI Zero will boot with the following image: FreeBSD-11.0-STABLE-arm-armv6-RPI-B-20161117-r308738.img.xz All later snapshots won't boot now. Regards, On 08.12.2016 13:40, Yoshiro MIHIRA wrote: > Hi > > I have a Raspberry PI zero and I installed latest snapshot and latest > current into 20161117-r308737, but I could not boot. Please let me know to > solve issue. > > [Tested Snapshot] > FreeBSD-12.0-CURRENT-arm-armv6-RPI-B-20161130-r309302.img.xz NG > FreeBSD-12.0-CURRENT-arm-armv6-RPI-B-20161117-r308737.img.xz OK > > [Tested kernel] > after install FreeBSD-12.0-CURRENT-arm-armv6-RPI-B-20161117-r308737.img.xz, > I update latest kernel NG > > [boot message] > U-Boot 2016.01 (Nov 17 2016 - 07:06:53 +0000) > > DRAM: 480 MiB > RPI Zero (0x900093) > MMC: bcm2835_sdhci: 0 > reading uboot.env > > ** Unable to read "uboot.env" from mmc0:1 ** > Using default environment > > In: serial > Out: lcd > Err: lcd > Net: Net Initialization Skipped > No ethernet found. > reading uEnv.txt > ** Unable to read file uEnv.txt ** > Hit any key to stop autoboot: 0 > starting USB... > USB0: Core Release: 2.80a > scanning bus 0 for devices... 2 USB Device(s) found > scanning usb for storage devices... 0 Storage Device(s) found > scanning usb for ethernet devices... 0 Ethernet Device(s) found > Booting from: mmc 0 ubldr.bin > reading ubldr.bin > 225016 bytes read in 35 ms (6.1 MiB/s) > ## No elf image at address 0x00200000 > ## Starting application at 0x00200000 ... > Consoles: U-Boot console > Compatible U-Boot API signature found @0x1db464d0 > > FreeBSD/armv6 U-Boot loader, Revision 1.2 > (root@releng3.nyi.freebsd.org, Thu Nov 17 07:20:15 UTC 2016) > > DRAM: 480MB > Number of U-Boot devices: 1 > U-Boot env: loaderdev='mmc 0' > Found U-Boot device: disk > Checking unit=0 slice= partition=... good. > Booting from disk0s2a: > /boot/kernel/kernel data=0x775724+0x1828dc syms=[0x4+0x87b80+0x4+0x9b9f0] > /boot/kernel/carp.ko text=0x73e8 data=0x4d0+0x74 > syms=[0x4+0x14a0+0x4+0x1111] > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Using DTB provided by U-Boot at address 0x100. > Kernel entry at 0x400100... > Kernel args: (null) > > [NG] > > U-Boot 2016.01 (Nov 17 2016 - 07:06:53 +0000) > > Yours > Yoshiro MIHIRA > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@freebsd.org Mon Jan 16 21:41:38 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C2F0FCB23BD for ; Mon, 16 Jan 2017 21:41:38 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from mailout07.t-online.de (mailout07.t-online.de [194.25.134.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A4281970 for ; Mon, 16 Jan 2017 21:41:38 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from fwd02.aul.t-online.de (fwd02.aul.t-online.de [172.20.26.148]) by mailout07.t-online.de (Postfix) with SMTP id 9F5D142C4390 for ; Mon, 16 Jan 2017 22:32:58 +0100 (CET) Received: from [192.168.10.43] (Xph44BZf8haukvUpsEtea8B7VZ6UstDDgUJi6adyipxmwyj8pMPi+69OW5wZv0QQ+Q@[86.56.56.128]) by fwd02.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1cTEtc-4Vj8aW0; Mon, 16 Jan 2017 22:32:56 +0100 Subject: Re: RPi Zero won't boot References: To: freebsd-arm@freebsd.org From: diffusae Message-ID: <9e1ac251-c63d-db6b-5f34-bf8043318b15@t-online.de> Date: Mon, 16 Jan 2017 22:32:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ID: Xph44BZf8haukvUpsEtea8B7VZ6UstDDgUJi6adyipxmwyj8pMPi+69OW5wZv0QQ+Q X-TOI-MSGID: 8def2917-a5ad-404b-bd4c-b8460b831508 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 21:41:38 -0000 Hi! I have to correct this: It seems, that only the latest snapshot of FreeBSD-11.0-STABLE-arm-armv6-RPI-B-20170105-r311441.img.xz don't boot. The images before 2017 are booting fine with FreeBSD-11.0-STABLE and the RPi Zero. Regards, On 16.01.2017 21:14, diffusae wrote: > Hello! > > I've tried the RPI-B snapshot image for a Raspberry Pi Zero and it ends > up in a boot loop just after u-boot. I can not connect a keyboard to > hold the screen. It might be better to solder the GPIO header and use a > USB to TTL serial cable. > > Maybe you have a suggestion of what went wrong? > > According to the Wiki it should work with the RPI-B snapshots. > > https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi > > Thank you in advance > > Regards, > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@freebsd.org Tue Jan 17 12:05:53 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 637F0CB4C6B for ; Tue, 17 Jan 2017 12:05:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 534ED1126 for ; Tue, 17 Jan 2017 12:05:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id 4FB0CCB4C6A; Tue, 17 Jan 2017 12:05:53 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F566CB4C69 for ; Tue, 17 Jan 2017 12:05:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (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 0FFD01125 for ; Tue, 17 Jan 2017 12:05:52 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from sgi-2.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1cTSWI-000IaB-N2 for arm@freebsd.org; Tue, 17 Jan 2017 14:05:46 +0200 From: Daniel Braniss Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: orange pi zero and wifi (rtl8189?) support Message-Id: Date: Tue, 17 Jan 2017 14:05:46 +0200 To: "freebsd-arm@freebsd.org" X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 12:05:53 -0000 Hi, this little board just landed on my desk, it=E2=80=99s running ok, using = an orangepi-one image. the on board wifi is not detected, from the schematics, and from the non = chinese, it seems to be an RTL899FTV. cheers, danny From owner-freebsd-arm@freebsd.org Tue Jan 17 12:10:14 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5939CB4EDA for ; Tue, 17 Jan 2017 12:10:14 +0000 (UTC) (envelope-from aggaz@paranoici.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8EAC112A6 for ; Tue, 17 Jan 2017 12:10:14 +0000 (UTC) (envelope-from aggaz@paranoici.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8DFECCB4ED9; Tue, 17 Jan 2017 12:10:14 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8DAB2CB4ED8 for ; Tue, 17 Jan 2017 12:10:14 +0000 (UTC) (envelope-from aggaz@paranoici.org) Received: from perdizione.investici.org (perdizione.investici.org [IPv6:2001:41d0:2:33d0::19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.autistici.org", Issuer "Autistici/Inventati Certification Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5954C12A5 for ; Tue, 17 Jan 2017 12:10:14 +0000 (UTC) (envelope-from aggaz@paranoici.org) Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: aggaz@paranoici.org) by localhost (Postfix) with ESMTPSA id DCEB1120F8D; Tue, 17 Jan 2017 12:10:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paranoici.org; s=stigmate; t=1484655011; bh=N6Jto26ytrpnAPj2DupZVgfC6ag3xojI18O76ZohkbE=; h=In-Reply-To:References:Subject:From:Date:To; b=Zx1hEDHWSiVtLj9bDUKn4tXEsDDMnXJJ0/xHssg/bCJdpchJ9kIYUZMydvkXyNvYZ eQfahH6euYa5y70Oy0Fx31NSdvDMExmqQtZ+qaCGwxSz67fcLQMeAZiCzL5OHgZkc1 WtlH3WW+UyMFCk6bYTbTz8A2sfkt7DOZYNO7/hgQ= User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Subject: Re: orange pi zero and wifi (rtl8189?) support From: aggaz Date: Tue, 17 Jan 2017 13:10:06 +0100 To: Daniel Braniss , "freebsd-arm@freebsd.org" Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 12:10:14 -0000 Where did you get an orange pi one freebsd image? Il 17 gennaio 2017 13:05:46 CET, Daniel Braniss ha scritto: >Hi, >this little board just landed on my desk, it’s running ok, using an >orangepi-one image. >the on board wifi is not detected, from the schematics, and from the >non chinese, it seems >to be an RTL899FTV. > >cheers, > danny > > > >_______________________________________________ >freebsd-arm@freebsd.org mailing list >https://lists.freebsd.org/mailman/listinfo/freebsd-arm >To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Tue Jan 17 17:50:59 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DEFDFCB4BCB for ; Tue, 17 Jan 2017 17:50:59 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CB04A1BE8 for ; Tue, 17 Jan 2017 17:50:59 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id C73E4CB4BCA; Tue, 17 Jan 2017 17:50:59 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6D83CB4BC9 for ; Tue, 17 Jan 2017 17:50:59 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (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 83DCA1BE6 for ; Tue, 17 Jan 2017 17:50:59 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from imac.bs.cs.huji.ac.il ([132.65.179.42]) by kabab.cs.huji.ac.il with esmtp id 1cTXtm-00010h-0B; Tue, 17 Jan 2017 19:50:22 +0200 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: orange pi zero and wifi (rtl8189?) support From: Daniel Braniss In-Reply-To: Date: Tue, 17 Jan 2017 19:50:14 +0200 Cc: "freebsd-arm@freebsd.org" Message-Id: References: To: aggaz X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 17:51:00 -0000 > On 17 Jan 2017, at 2:10 PM, aggaz wrote: >=20 > Where did you get an orange pi one freebsd image? >=20 built my own. more in: https://wiki.freebsd.org/FreeBSD/arm/Allwinner = > Il 17 gennaio 2017 13:05:46 CET, Daniel Braniss = ha scritto: > Hi, > this little board just landed on my desk, it=E2=80=99s running ok, = using an orangepi-one image. > the on board wifi is not detected, from the schematics, and from the = non chinese, it seems > to be an RTL899FTV. >=20 > cheers, > danny >=20 >=20 >=20 >=20 > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm = > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Tue Jan 17 17:57:30 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E35FECB420E for ; Tue, 17 Jan 2017 17:57:30 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id C8257103E for ; Tue, 17 Jan 2017 17:57:30 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: by mailman.ysv.freebsd.org (Postfix) id C773FCB420D; Tue, 17 Jan 2017 17:57:30 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7144CB420C for ; Tue, 17 Jan 2017 17:57:30 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 436A1103D for ; Tue, 17 Jan 2017 17:57:29 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 6000825d; Tue, 17 Jan 2017 18:57:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=2UOKhc52Bh8ee2HI0C7aDXve6zI=; b=Uvjl2jCedtgDsYLRrHSYMkyyIRGM PdjeYvW7glJBzaC6vsErdicTAUiMVom8q0P13OfSjrs1VsbVVWhRuDbu+mSvcxld EHmaZt3I6Dr8nlbypTOXJ7w2cVmcGSYA2TuV284Qb3YnfC2Jh+9vQyBmjneBHEOT iimFAbWPPlLKbro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=l4hVrQLW0pveNukUvCEB6km1QM8kfHAQM1max6f4oT0ZlFaAkxYEw2vd xNwu3RDEhl27x1GhqQ2kHa5te9Zutm2u/yffwEwWZuLOvZoJjOlt1QsmgQweZf09 xF6UwwMBo4REShIHdEfYAU6mB7omNUMU50bEOZqtdredAltt1xE= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 5e4a334b TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Tue, 17 Jan 2017 18:57:27 +0100 (CET) Date: Tue, 17 Jan 2017 18:57:23 +0100 From: Emmanuel Vadot To: Daniel Braniss Cc: "freebsd-arm@freebsd.org" Subject: Re: orange pi zero and wifi (rtl8189?) support Message-Id: <20170117185723.ec03e576d52c65f428596bfd@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 17:57:31 -0000 On Tue, 17 Jan 2017 14:05:46 +0200 Daniel Braniss wrote: > Hi, > this little board just landed on my desk, it?s running ok, using an orang= epi-one image. > the on board wifi is not detected, from the schematics, and from the non = chinese, it seems > to be an RTL899FTV. >=20 > cheers, > danny Wifi chip is SDIO so that will not happen anytime soon I think. --=20 Emmanuel Vadot From owner-freebsd-arm@freebsd.org Tue Jan 17 18:45:32 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7185CB33DC for ; Tue, 17 Jan 2017 18:45:32 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from mailout09.t-online.de (mailout09.t-online.de [194.25.134.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D98014CA for ; Tue, 17 Jan 2017 18:45:32 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from fwd36.aul.t-online.de (fwd36.aul.t-online.de [172.20.26.137]) by mailout09.t-online.de (Postfix) with SMTP id A17C1427B3D5 for ; Tue, 17 Jan 2017 19:45:29 +0100 (CET) Received: from [192.168.10.43] (X7QnyyZFohi0Yv27ygZoPVNlk0PbguKLJ28ZHK8WaTiEl5g2p97filefx57oXc+g2p@[86.56.56.128]) by fwd36.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1cTYl7-06kFO40; Tue, 17 Jan 2017 19:45:29 +0100 To: freebsd-arm From: diffusae Subject: u-boot USB RPi Zero - unable to get device descriptor Message-ID: <41feb5b2-8e8e-ce85-50e9-33b2598a9f6c@t-online.de> Date: Tue, 17 Jan 2017 19:45:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-ID: X7QnyyZFohi0Yv27ygZoPVNlk0PbguKLJ28ZHK8WaTiEl5g2p97filefx57oXc+g2p X-TOI-MSGID: f0162299-36e6-4850-9eaf-47124dcecc7a X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 18:45:32 -0000 Hello, I've recognized a problem with u-boot and USB devices at RPi Zero. If I power up the device, it looks like this: starting USB... USB0: Core Release: 2.80a scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found scanning usb for ethernet devices... 0 Ethernet Device(s) found Booting from: mmc 0 ubldr.bin Everything is working correct and a USB LAN adapter is detected. If I reboot the device not all USB devices are recognized and I get an error from u-boot ("unable to get device descriptor"): scanning bus 0 for devices... unable to get device descriptor (error=-22) 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found scanning usb for ethernet devices... 0 Ethernet Device(s) found Booting from: mmc 0 ubldr.bin reading ubldr.bin 224136 bytes read in 31 ms (6.9 MiB/s) Only the USB Hub is detected, the USB LAN adapter stops working. Is this related to u-boot? Could it be due to "faulty" USB device? I guess, I need some help, to get this working. Regards, From owner-freebsd-arm@freebsd.org Tue Jan 17 22:05:02 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81BEFCB4628 for ; Tue, 17 Jan 2017 22:05:02 +0000 (UTC) (envelope-from rtweeg@yahoo.com.br) Received: from nm32-vm4.bullet.mail.gq1.yahoo.com (nm32-vm4.bullet.mail.gq1.yahoo.com [98.136.216.227]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5699D1011 for ; Tue, 17 Jan 2017 22:05:01 +0000 (UTC) (envelope-from rtweeg@yahoo.com.br) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.br; s=s2048; t=1484690552; bh=tdJCnppz38XaCb6azByhw5lyhMJGddmblUjxmxSqUgQ=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=L7GtzQPAFaWtJ7EH+RttRJjEhIixCCb33L70vW4KpL9cvspdifsAxKGb0E2ouhGJeiCFkQ6CbfbYFW/ZGXMRtJHL7ORHP1N/dBBe54617u/ga4t1yszedXh7JB/E0RTeR8mBMuusLDtQyB3dT8h4vLQgt8AiMueF7qGg+2Nbpaxt+e+VRstiGyJkg80jdmsHv2R5CJw49bbU+ITd/fSJkzQCdpjT8JZQpj4WyjHxDnUjyExxOLatlEYzHNofRXkf8byA0XLlzDcKbul/ZaJ9mC1PmrdSCXiaI/0PZWkPg8uEOVe0XZU+sB/KgQozWiBKrRsbdMKtrEFqdKAObqKcuQ== Received: from [127.0.0.1] by nm32.bullet.mail.gq1.yahoo.com with NNFMP; 17 Jan 2017 22:02:32 -0000 Received: from [98.137.12.190] by nm32.bullet.mail.gq1.yahoo.com with NNFMP; 17 Jan 2017 21:59:33 -0000 Received: from [98.137.12.219] by tm11.bullet.mail.gq1.yahoo.com with NNFMP; 17 Jan 2017 21:59:33 -0000 Received: from [127.0.0.1] by omp1027.mail.gq1.yahoo.com with NNFMP; 17 Jan 2017 21:59:33 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 779070.87947.bm@omp1027.mail.gq1.yahoo.com X-YMail-OSG: SuvD8dgVM1llk8zlrJxEJFX.O.2V1gKsj2YSA2bbInukp3OqZh.QFwMfSulA8SZ NcJkvVE5vzvO9aaiebln3gkFvVEQk2FOalp_ZFsScn0VhgRgxRlijsiIzqTmg56bNzOANNRG5riR uEu7MezuBEG6mga086htk551eTd9L.z87NMsNgRQEcs.b6wGkEFf64qEk08jt5EOiD_npJBfCSda TxA06GWSkJgESjM8UBW6tuitf9G3ERngaThHOx7ly4EaujTTXXfj6WU9TKZAXi5B1rz.aXsnNH0m HE.8QGjcg6tdF0fcJJmsgbAQzuDinM5.mtAbJJzDfzwLNQZ2fB8o6vvwuEeLa97kNb0lKFSC5ssf 5bu3Oc5Ah6lkQ1BKg7a3AqMmvytE8Pa_ttrIqI07gmCNcaXyYaLmDwdQYNUy246RqiU_wHLk_COG gk7nJ..OYzLWy1aMFLe8A1EyMvxR519h7c9cDHuvemvaLDBauEdlvHFvqJyL6LhYJ7FGK5EWHBON EsT138oMKxMttCRaOxMZbdP_f7SnDkTAI1lVd Received: from jws300016.mail.gq1.yahoo.com by sendmailws134.mail.gq1.yahoo.com; Tue, 17 Jan 2017 21:59:33 +0000; 1484690373.419 Date: Tue, 17 Jan 2017 21:59:33 +0000 (UTC) From: Ricardo Tweeg Reply-To: Ricardo Tweeg To: Shawn Webb Cc: "freebsd-arm@freebsd.org" Message-ID: <1574857713.7749595.1484690373179@mail.yahoo.com> In-Reply-To: <20170113164724.i2rennn2tmzzi64w@mutt-hardenedbsd> References: <1466381073.4024566.1484325593959.ref@mail.yahoo.com> <1466381073.4024566.1484325593959@mail.yahoo.com> <20170113164724.i2rennn2tmzzi64w@mutt-hardenedbsd> Subject: Re: Raspberry Pi 3B MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 22:05:02 -0000 Em Sexta-feira, 13 de Janeiro de 2017 14:47, Shawn Webb escreveu: > > >Hey Ricardo, > >My response is inline. > > >On Fri, Jan 13, 2017 at 04:39:53PM +0000, Ricardo Tweeg via freebsd-arm wrote: >> Good afternoon, >> I bought a Raspberry Pi 3B for studies.I did not find the image for this model (Raspberry Pi 3B) on the freebsd.org site.Could you tell me if there is any image available for this new model? >> Thank you, >> Ricardo Tweeg > >The current support for the RPI3 is documented here: > >https://wiki.freebsd.org/arm64/rpi3 > >If you'd like a pre-built image for the RPI3, here's a HardenedBSD >build with the clang 4.0.0 development bits and SMP enabled: > >https://hardenedbsd.org/~shawn/rpi3/clang400-2017-01-11/HardenedBSD-RaspberryPi3-aarch64-12.0-HARDENEDBSD-774b588d523.img.xz > >Thanks, > >-- >Shawn Webb >Cofounder and Security Engineer >HardenedBSD > >GPG Key ID: 0x6A84658F52456EEE >GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE > > Thank you my friend, By the way, I'm completely new to the world in Raspberry Pi and I'm having the following problem right after downloading the image, writing it to the SSD, plugging the SSD into Raspberry Pi and turning it on: The LEDs remain red and my monitor (HP V606hz) shows a message saying no signal. If I get the Raspberry Pi and plug it into my TV (Sony), it loads and shows the boot process normally. Is there any command line that I can include in the "config" file so that it recognizes my HP monitor? Hugs, Ricardo Tweeg From owner-freebsd-arm@freebsd.org Wed Jan 18 00:56:47 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DEC0CB4D0D for ; Wed, 18 Jan 2017 00:56:47 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (mailhost.m5p.com [IPv6:2001:418:3fd::f7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "m5p.com", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EF21A12FC for ; Wed, 18 Jan 2017 00:56:46 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from [IPv6:2001:418:3fd::1f] (haymarket.m5p.com [IPv6:2001:418:3fd::1f]) by mailhost.m5p.com (8.15.2/8.15.2) with ESMTP id v0I0udlL007142 for ; Tue, 17 Jan 2017 19:56:44 -0500 (EST) (envelope-from george+freebsd@m5p.com) To: "freebsd-arm@freebsd.org" From: George Mitchell Subject: Serial Peripheral Interface? Message-ID: Date: Tue, 17 Jan 2017 19:56:29 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KJdokKKrnQEoefPHkA7BXlaIegeSNxNIE" X-Spam-Status: No, score=-4.2 required=10.0 tests=ALL_TRUSTED, RP_MATCHES_RCVD autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mattapan.m5p.com X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.1 (mailhost.m5p.com [IPv6:2001:418:3fd::f7]); Tue, 17 Jan 2017 19:56:45 -0500 (EST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 00:56:47 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --KJdokKKrnQEoefPHkA7BXlaIegeSNxNIE Content-Type: multipart/mixed; boundary="ETkqSBq04l5eHTTxFHsPTvT2iDie0rpNA"; protected-headers="v1" From: George Mitchell To: "freebsd-arm@freebsd.org" Message-ID: Subject: Serial Peripheral Interface? --ETkqSBq04l5eHTTxFHsPTvT2iDie0rpNA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The Raspberry Pi (among others) has two IIC interfaces on the GPIO connector, and there are /dev/iic0 and /dev/iic1 visible to userland. It also has two SPI interfaces, but despite the presence of "device spibus" and "device bcm2835_spi" in the RPI-B configuration file, I have been unable to detect any userland interface to the serial peripheral interface lines (except the dev.spibus and dev.spi sysctl entries). Is it possible to use the SPI interfaces somehow from userland? -- George --ETkqSBq04l5eHTTxFHsPTvT2iDie0rpNA-- --KJdokKKrnQEoefPHkA7BXlaIegeSNxNIE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAlh+vUcACgkQwRES3m+p 4fkcQBAAkHt0W+X5HA++hRyo8t3dmiOXfPN5xA5nLPvJdwcoBUM6cXz5qvPFrUKA Ca9HJzyQgP5hAa2IVAYxGYmiZHXPawV0Vm1dkvuNdkMyrmPXPj6sxnKWoH6a/1ct 5M/OuWunoPZ6uk3+0ADgB7f2b3JwSDVTa8vz3W/b5qcUgUA3FSvCocorNGTKamT3 icBf8aT9Y0W2iBgBMuvJcauvdPh/4nZ4JvVuoo3VQZE0V0nmWZeVsBv6d54WdNc8 tnyMR+Q9DnhqI1HqYgUwZqzk+1byYqnW/iW8nnSYIBZupmomchr1yt/A0QxZ2egc tVls0B6ofKvk2IMmQe+ogzt3RdY2CZL/ic9n45k6i8DCjb7QiaPf1MadUt6XaI7U WIbn3d6GIT7L9dqsTCqYH06t3XEyMxACWkpUaXzIKahiMeaxuJnt4KRyLrKwc2vR B/wJ4/5YUdTpWSSf9r2wX6j/gKZF4qbqqQeX7HO8oMvgRbu5RzjrC9su0bIJEFl+ L9hsUpsdT8yDVTrHwHat9BBQGSt9F6NR6lii7zhrq7N9ZwNttuqFowbZ5PVSEdWw 3Tf3oS1IcxCxFIb5/3YjaQHtxmDs+j+3RebdBFDmnbPpYsiAQoPnpVxNBktIwbCt SNCTmnHBKbveH44uozvYQmaxX290Z8cqz99BXUoAN3+ofjOgnEg= =X2dK -----END PGP SIGNATURE----- --KJdokKKrnQEoefPHkA7BXlaIegeSNxNIE-- From owner-freebsd-arm@freebsd.org Wed Jan 18 01:04:15 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55DEACB4458 for ; Wed, 18 Jan 2017 01:04:15 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1BDFF1BB2 for ; Wed, 18 Jan 2017 01:04:15 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x231.google.com with SMTP id l66so787641ioi.1 for ; Tue, 17 Jan 2017 17:04:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=NAgBl86eumv3AjXWttenyUvKCwGIvhGE8yNTiTtTRow=; b=Y9NRQSO9TQf6OMAZ3DYRiZ08eiqUpazDffdF2lw60TAgOVjmFE45hdzGUx0Y9t9cO7 iz8Dv79jJkhn2kl6eMRZVdwXkShJzE4R7ImNdwgyqCHoH8mvpDKC3AXVv/2No/AplHCT q1IZpvj2yPy702O7kQx4z9j8fEH9ppaRTYOIj+gS4oqcX0mn3xHS7Wcl+C48YAVOgXkr h870PpxL9+4bL0F/n+9fvcTMpsMnZILLgqM8pF9qXJH+OeVEOYVLBwJBHM6garTyvSt+ IqRaso1+FeDYw7vFyqg4tQPpMZ32nONuz8OQnybIcsNmDZCvV8w9CAKC+0xuN0S8IvER 1mIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=NAgBl86eumv3AjXWttenyUvKCwGIvhGE8yNTiTtTRow=; b=bgqykLNvBgGmEK3iyg/jrkawPg5+CpGr8lRR/TRBB1PrDg2QPZ2ZjL8nrL+vnVE6BA NnGOIfLvQH4m7MyPPluynKdNlUiO+GQnhNAqkrSK6r3+08uGpfyJHowVLe3yVYHcmka8 nRG5MmzFNFmeE1heWi0TlhYN/PwRB5SiWqNRLCeDIktQj1zqO4RKq7OXBIZ8jkvAEgV+ VB5AdL8fRJM77XvCiJTty7EObvcRgbEcoJKCECaA9fA4mSRZdnZ7s7KWmUsXCIx8QnFQ tp/F751NTjIdzjAsVTmrDPo4ej+FFVIcJtNrTUmkQ7wObmCMQJqvSp6dpIOHpc7zvr6Y XZyQ== X-Gm-Message-State: AIkVDXI+T5cGuPJZyqgNKbSMmrVvObOoCxObO99DhpP6N5GUW2QYRL+hQeXeccv75HWz4E2G3FaaxMFH0B1W7g== X-Received: by 10.107.139.131 with SMTP id n125mr1267871iod.166.1484701454274; Tue, 17 Jan 2017 17:04:14 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.145.217 with HTTP; Tue, 17 Jan 2017 17:04:13 -0800 (PST) X-Originating-IP: [50.253.99.174] In-Reply-To: <58C09F42-D34B-4B84-A894-7147613214B9@yahoo.com> References: <640059E8-B9DD-4289-BA59-2E02A4D91F87@yahoo.com> <20170116173329.GH13006@home.opsec.eu> <58C09F42-D34B-4B84-A894-7147613214B9@yahoo.com> From: Warner Losh Date: Tue, 17 Jan 2017 18:04:13 -0700 X-Google-Sender-Auth: miHSDjSLEWjRTZnw-4V08ewcDtQ Message-ID: Subject: Re: u-boot ports for Zedboard and Zybo To: Thomas Skibo Cc: Kurt Jaeger , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 01:04:15 -0000 On Mon, Jan 16, 2017 at 12:38 PM, Thomas Skibo wrot= e: > >> On Jan 16, 2017, at 10:20 AM, Warner Losh wrote: >> >> Any chance you could rebase this onto the new u-boot-master framework? >> Or are the changes not yet merged back into u-boot upstream? >> >> Warner >> >> > > Oh, wait, here=E2=80=99s the breakage: > > arm-none-eabi-gcc -Wp,-MD,cmd/.bootm.o.d -nostdinc -isystem /usr/local= /lib/gcc/arm-none-eabi/6.3.0/include -Iinclude -I./arch/arm/include -incl= ude ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -Wall -Wstrict-proto= types -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-prote= ctor -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonlitera= l -Werror=3Ddate-time -D__ARM__ -marm -mno-thumb-interwork -mabi=3Daapcs-li= nux -mword-relocations -fno-pic -mno-unaligned-access -ffunction-sections -= fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -march=3Darmv7-a -= D__LINUX_ARM_ARCH__=3D7 -I./arch/arm/mach-zynq/include -D"KBUILD_STR(s)= =3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(bootm)" -D"KBUILD_MODNAME=3DKBUILD_= STR(bootm)" -c -o cmd/bootm.o cmd/bootm.c > api/api_storage.c: In function 'dev_read_stor': > api/api_storage.c:337:9: error: 'struct blk_desc' has no member named 'bl= ock_read' > if ((dd->block_read) =3D=3D NULL) { > ^~ > api/api_storage.c:342:11: error: 'struct blk_desc' has no member named 'b= lock_read' > return dd->block_read(dd, start, len, buf); > ^~ > api/api_storage.c:343:1: warning: control reaches end of non-void functio= n [-Wreturn-type] > } > ^ > > > I have run into a lot of trouble with the API when I try to build from th= e official u-boot repository. For some reason, the Xilinx repository works= better despite that they don=E2=80=99t enable CONFIG_API on any of their b= oards. Does that mean you have a fix? :) I'm happy to add stuff to the u-boot ports branch (or do pull requests, which atm are a little complicated). Warner From owner-freebsd-arm@freebsd.org Wed Jan 18 01:08:04 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 01A12CB457E for ; Wed, 18 Jan 2017 01:08:04 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (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 D77B01C9B for ; Wed, 18 Jan 2017 01:08:03 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from [127.0.0.1] (helo=id.bluezbox.com) by id.bluezbox.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87 (FreeBSD)) (envelope-from ) id 1cTejF-0003n8-TL; Tue, 17 Jan 2017 17:07:58 -0800 Received: (from gonzo@localhost) by id.bluezbox.com (8.15.2/8.15.2/Submit) id v0I17v36014577; Tue, 17 Jan 2017 17:07:57 -0800 (PST) (envelope-from gonzo@bluezbox.com) X-Authentication-Warning: id.bluezbox.com: gonzo set sender to gonzo@bluezbox.com using -f Date: Tue, 17 Jan 2017 17:07:57 -0800 From: Oleksandr Tymoshenko To: George Mitchell Cc: "freebsd-arm@freebsd.org" Subject: Re: Serial Peripheral Interface? Message-ID: <20170118010757.GA14547@bluezbox.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD/11.0-RELEASE-p2 (amd64) User-Agent: Mutt/1.6.1 (2016-04-27) X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: George Mitchell (george+freebsd@m5p.com) wrote: > The Raspberry Pi (among others) has two IIC interfaces on the GPIO > connector, and there are /dev/iic0 and /dev/iic1 visible to userland. > It also has two SPI interfaces, but despite the presence of "device > spibus" and "device bcm2835_spi" in the RPI-B configuration file, I > have been unable to detect any userland interface to the serial > peripheral interface lines (except the dev.spibus and dev.spi sysctl > entries). Is it possible to use the SPI interfaces somehow from > userland? [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: github.com] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 01:08:04 -0000 George Mitchell (george+freebsd@m5p.com) wrote: > The Raspberry Pi (among others) has two IIC interfaces on the GPIO > connector, and there are /dev/iic0 and /dev/iic1 visible to userland. > It also has two SPI interfaces, but despite the presence of "device > spibus" and "device bcm2835_spi" in the RPI-B configuration file, I > have been unable to detect any userland interface to the serial > peripheral interface lines (except the dev.spibus and dev.spi sysctl > entries). Is it possible to use the SPI interfaces somehow from > userland? There is somewhat cumbersome spigen interface. It's not available as a module (yet), only as kernel cimpile-time option. You'll have to add "device spigen" to kernel config and rebuild the kernel. Also there are some limitations. You can't specify mode or CS number from userland, CS 0 and mode 0 is assumed. You can find usage example here: https://github.com/gonzoua/freebsd-embedded-demos/blob/master/libssd1306/ssd1306_spi.c There are plans to replace spigen with better API but I am not aware about the actual timeline for this. -- gonzo From owner-freebsd-arm@freebsd.org Wed Jan 18 05:09:28 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 36F79CB5A69 for ; Wed, 18 Jan 2017 05:09:28 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) Received: from nm22-vm8.bullet.mail.gq1.yahoo.com (nm22-vm8.bullet.mail.gq1.yahoo.com [98.136.217.71]) (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 0E80B1B07 for ; Wed, 18 Jan 2017 05:09:27 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1484715968; bh=3uMaDPEHQ3oErC5os01oZ8t/49OcDYVkoLE0nMBeK10=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject; b=Io8nxFrqo/VcyPHhLWA1PEihd+Umr54BFaObMK6pKDKAzQmSIvnWHuBd+wilqMdqb0y9rENQyAC0XP+Umd4HSjRGswTNSmHE8bzX2mSV/wy2RkzdUgMWVfzSS3g4U0FstWkmRua0HByRQ1AhnBzqnNdgfB+zcSLzDzWn2hGQYydMP2E5rNrMIjaP3nFNih71lg3AJZcw0rNsw/riYv6a6uvJ5XU99vlUwNSlhWMTS8P2UDQx+XJNN3p87jorJI1blo+YaF5kC/Atjtl2fpaUh0ZMJjaH4XZRnsfEq4293Xjv71IzqctYttWVr89dHpW6LjyRvhM0dKrVwa3E3EY4Sw== Received: from [98.137.12.62] by nm22.bullet.mail.gq1.yahoo.com with NNFMP; 18 Jan 2017 05:06:08 -0000 Received: from [98.136.164.68] by tm7.bullet.mail.gq1.yahoo.com with NNFMP; 18 Jan 2017 05:06:08 -0000 Received: from [127.0.0.1] by smtp230.mail.gq1.yahoo.com with NNFMP; 18 Jan 2017 05:06:08 -0000 X-Yahoo-Newman-Id: 68341.15413.bm@smtp230.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: MshvBNYVM1kmuNCsaBuIrJJJTrzCsytYvt.BMVCowm3Bjvw Zl9JIuO5meeI3QPUUoFnt7URYVt2W4LYmFY7I_uyKVXaOMPUdTGl9Z_LTtWY vIcziyElS8_a6T41OF3ELHRD9fa7CrCTgMoagNb5wJtXSwKl5qA1NNPl8bX4 wMObpNFEGeMH9zazvWGfzK8.up5rdyPawde.QxTPjiEshIKN5iPpfvbijLT9 vgWknIae.9jsbGNJsG6NM8.Jcu01lYxQoXxzppdutEFLXeCbohqcmxN6hRQ_ NPaB0NDu3PE_iDUhArKE3dPC9.1WJ49Wmy9KksFCbjCeXa22Ddjt.G1fXGog uzwZK5HVDnITk2uIorTZPEbStTWkTYgivSMlaQVPP3o_QruVht8rxdHuM2ao SRScySscX5nNaI9YalEQ_lv31MGvDANa2vgvgF687.VETssKUDgXGQiGEgSn Bv7yK6al2E.VXYlfWhLp9dQFEvZlcAEGDG9jgx1HthnOzMDip3538rJEcHAV fO8gl0M7PSAqSrt0FPdHXe2tleXQ4sgORgiU3a.rdg8h4cgnzyrFR X-Yahoo-SMTP: .8Dytk6swBAeTUTcf.ezO8BKaYfn.mUV Content-Type: multipart/mixed; boundary="Apple-Mail=_692E24D6-2F57-47B3-8EAF-92E39DBAEA13" Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: u-boot ports for Zedboard and Zybo From: Thomas Skibo In-Reply-To: Date: Tue, 17 Jan 2017 21:06:13 -0800 Cc: Kurt Jaeger , "freebsd-arm@freebsd.org" Message-Id: <25A1C780-3BC1-4745-9DBD-D2716E6ED7D2@yahoo.com> References: <640059E8-B9DD-4289-BA59-2E02A4D91F87@yahoo.com> <20170116173329.GH13006@home.opsec.eu> <58C09F42-D34B-4B84-A894-7147613214B9@yahoo.com> To: Warner Losh X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 05:09:28 -0000 --Apple-Mail=_692E24D6-2F57-47B3-8EAF-92E39DBAEA13 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 17, 2017, at 5:04 PM, Warner Losh wrote: >=20 > Does that mean you have a fix? :) I'm happy to add stuff to the u-boot > ports branch (or do pull requests, which atm are a little > complicated). >=20 > Warner I managed to get it working but I am seeing some funny u-boot warnings = (CACHE: Misaligned operation=E2=80=A6). I=E2=80=99ll keep tinkering with it over the next few days. I=E2=80=99ve = attached my changes but I can=E2=80=99t test it on any of the other = boards. =E2=80=94Thomas --Apple-Mail=_692E24D6-2F57-47B3-8EAF-92E39DBAEA13 Content-Disposition: attachment; filename=patch.u-boot-bsdimp.txt Content-Type: text/plain; name="patch.u-boot-bsdimp.txt" Content-Transfer-Encoding: quoted-printable diff --git a/api/api_storage.c b/api/api_storage.c index d6e475b9c4..d3bbe71756 100644 --- a/api/api_storage.c +++ b/api/api_storage.c @@ -334,10 +334,5 @@ lbasize_t dev_read_stor(void *cookie, void *buf, = lbasize_t len, lbastart_t start if (!dev_stor_is_valid(type, dd)) return 0; =20 - if ((dd->block_read) =3D=3D NULL) { - debugf("no block_read() for device 0x%08x\n", cookie); - return 0; - } - - return dd->block_read(dd, start, len, buf); + return blk_dread(dd, start, len, buf); } diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c index 8dd8061c46..b76a4ee02e 100644 --- a/lib/efi_loader/efi_disk.c +++ b/lib/efi_loader/efi_disk.c @@ -286,8 +286,8 @@ static int efi_disk_create_eltorito(struct blk_desc = *desc, } =20 static int efi_disk_create_mbr(struct blk_desc *desc, - const struct blk_driver *cur_drvr, - int diskid) + const char *if_typename, + int diskid) { int disks =3D 0; char devname[32] =3D { 0 }; /* dp->str is u16[32] long */ @@ -298,10 +298,10 @@ static int efi_disk_create_mbr(struct blk_desc = *desc, return 0; =20 while (!part_get_info(desc, part, &info)) { - snprintf(devname, sizeof(devname), "%s%d:%d", = cur_drvr->if_typename, + snprintf(devname, sizeof(devname), "%s%d:%d", = if_typename, diskid, part); =20 - efi_disk_add_dev(devname, cur_drvr->if_typename, desc, = diskid, &info, 1); + efi_disk_add_dev(devname, if_typename, desc, diskid, = &info, 1); part++; disks++; } @@ -340,7 +340,7 @@ int efi_disk_register(void) * El Torito images show up as block devices in an EFI = world, * so let's create them here */ - disks +=3D efi_disk_create_mbr(desc, dev, desc->devnum); + disks +=3D efi_disk_create_mbr(desc, if_typename, = desc->devnum); disks +=3D efi_disk_create_eltorito(desc, if_typename, desc->devnum, = dev->name); } @@ -377,7 +377,7 @@ int efi_disk_register(void) * El Torito images show up as block devices * in an EFI world, so let's create them here */ - disks +=3D efi_disk_create_mbr(desc, cur_drvr, = i); + disks +=3D efi_disk_create_mbr(desc, = if_typename, i); disks +=3D efi_disk_create_eltorito(desc, = if_typename, i, devname); =20 --Apple-Mail=_692E24D6-2F57-47B3-8EAF-92E39DBAEA13-- From owner-freebsd-arm@freebsd.org Wed Jan 18 06:47:47 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08BF0CB45EF for ; Wed, 18 Jan 2017 06:47:47 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id E8AE61647 for ; Wed, 18 Jan 2017 06:47:46 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id E80BCCB45EE; Wed, 18 Jan 2017 06:47:46 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7BADCB45ED for ; Wed, 18 Jan 2017 06:47:46 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (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 A6FF21646 for ; Wed, 18 Jan 2017 06:47:46 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from sgi-2.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1cTk1z-000JLO-D7; Wed, 18 Jan 2017 08:47:39 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: orange pi zero and wifi (rtl8189?) support From: Daniel Braniss In-Reply-To: <20170117185723.ec03e576d52c65f428596bfd@bidouilliste.com> Date: Wed, 18 Jan 2017 08:47:39 +0200 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <07D71F60-D39C-4937-8706-897139FBA1E3@cs.huji.ac.il> References: <20170117185723.ec03e576d52c65f428596bfd@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 06:47:47 -0000 > On 17 Jan 2017, at 19:57, Emmanuel Vadot = wrote: >=20 > On Tue, 17 Jan 2017 14:05:46 +0200 > Daniel Braniss wrote: >=20 >> Hi, >> this little board just landed on my desk, it?s running ok, using an = orangepi-one image. >> the on board wifi is not detected, from the schematics, and from the = non chinese, it seems >> to be an RTL899FTV. >>=20 >> cheers, >> danny >=20 > Wifi chip is SDIO so that will not happen anytime soon I think. >=20 Secure Digital IO? > --=20 > Emmanuel Vadot From owner-freebsd-arm@freebsd.org Wed Jan 18 09:00:58 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88EECCB5130 for ; Wed, 18 Jan 2017 09:00:58 +0000 (UTC) (envelope-from aggaz@paranoici.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 724EF121D for ; Wed, 18 Jan 2017 09:00:58 +0000 (UTC) (envelope-from aggaz@paranoici.org) Received: by mailman.ysv.freebsd.org (Postfix) id 71A89CB512F; Wed, 18 Jan 2017 09:00:58 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 714E4CB512E for ; Wed, 18 Jan 2017 09:00:58 +0000 (UTC) (envelope-from aggaz@paranoici.org) Received: from latitanza.investici.org (latitanza.investici.org [IPv6:2001:888:2000:56::19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.autistici.org", Issuer "Autistici/Inventati Certification Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B6AB113A for ; Wed, 18 Jan 2017 09:00:57 +0000 (UTC) (envelope-from aggaz@paranoici.org) Received: from [82.94.249.234] (latitanza [82.94.249.234]) (Authenticated sender: aggaz@paranoici.org) by localhost (Postfix) with ESMTPSA id 1D37A120AEC for ; Wed, 18 Jan 2017 09:00:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paranoici.org; s=stigmate; t=1484730047; bh=ECyD2CCNzXF+EnMUJ2+jWQjiiPWWkBCM4e27vPsLtD8=; h=To:From:Subject:Date; b=QsnfiTUWiEQoXj2UrSn55ws/jihhfuHuX3XBxzAIH01m5ISLJR6LksnFrgKQYfh8j uQgSbjbCwQ6u3xEiTQtu4GnC7dr7YFqv0pD1qVd5NaXMISOL4KsL6mbnCWFQqpQjty U3HH64SHlMNXnI+N0aH7Vah2DPPMmGRspvUHP2+I= To: "freebsd-arm@freebsd.org" From: aggaz Subject: Orange Pi One: Image built, call for testers. Message-ID: <2c0e30d4-3dc1-f27d-c2b3-4613d1e1656a@paranoici.org> Date: Wed, 18 Jan 2017 10:00:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 09:00:58 -0000 Hello, I tried build an image for Orange Pi One by using u-boot from ports and crochet. I am still waiting for my board and I can not know if the image is working, I would be glad if someone would try and test it. I am new to crochet and img files building in FreeBSD, so I could have missed something, any comment would be appreciated. Image file and a short description of the build process can be found here: https://blog.apsu.it/freebsd-opi1 Website uses https with a self-signed certificate, if you want to browse it do not mind warnings and just accept the certificate. Regards aggaz From owner-freebsd-arm@freebsd.org Wed Jan 18 14:53:01 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCF66CB61AA for ; Wed, 18 Jan 2017 14:53:01 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (mailhost.m5p.com [IPv6:2001:418:3fd::f7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "m5p.com", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 69A4D14C4 for ; Wed, 18 Jan 2017 14:53:01 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from [IPv6:2001:418:3fd::1f] (haymarket.m5p.com [IPv6:2001:418:3fd::1f]) by mailhost.m5p.com (8.15.2/8.15.2) with ESMTP id v0IEqroV011837 for ; Wed, 18 Jan 2017 09:52:59 -0500 (EST) (envelope-from george+freebsd@m5p.com) Subject: Re: Serial Peripheral Interface? To: freebsd-arm@freebsd.org References: From: George Mitchell Message-ID: <837cc758-64f1-12fc-90df-f291bfbe66cd@m5p.com> Date: Wed, 18 Jan 2017 09:52:46 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mAm0Q2rJ8r1nAidKea2lM8jhONndk0teG" X-Spam-Status: No, score=-4.2 required=10.0 tests=ALL_TRUSTED, RP_MATCHES_RCVD autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mattapan.m5p.com X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.1 (mailhost.m5p.com [IPv6:2001:418:3fd::f7]); Wed, 18 Jan 2017 09:52:59 -0500 (EST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 14:53:01 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mAm0Q2rJ8r1nAidKea2lM8jhONndk0teG Content-Type: multipart/mixed; boundary="BqlPqOnb9pesuNgCeM5PUowtHeTtGfIiA"; protected-headers="v1" From: George Mitchell To: freebsd-arm@freebsd.org Message-ID: <837cc758-64f1-12fc-90df-f291bfbe66cd@m5p.com> Subject: Re: Serial Peripheral Interface? References: In-Reply-To: --BqlPqOnb9pesuNgCeM5PUowtHeTtGfIiA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/17/17 19:56, George Mitchell wrote: > [...] Is it possible to use the SPI interfaces somehow from > userland? -- George By simulating SPI with bit-banging software through /dev/gpioc0, apparently ... -- George --BqlPqOnb9pesuNgCeM5PUowtHeTtGfIiA-- --mAm0Q2rJ8r1nAidKea2lM8jhONndk0teG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAlh/gUUACgkQwRES3m+p 4fmzjw/6AgyANol7sx6VZpi/FQgLxHzyJwmBWjrcA7kfWCXn2h1Xr4KLzL51E040 mPHr9XloJQYUaMIhd9yCP+qprgyLdDVkFqeEcpmnLQn0zU4YB1KtfPU8utIk2jf+ gUXQlBkCPMUByOuyiwiPVInSy6oH6+WcAZ7YMHjz6dLS1A+jhQ51mNj76xFdOj1V ICmHHh2R9wPV5iD8Wc43P0kTrTI+5M3bBL7n1xlq6ERkVT3RT323eoAge6jNHFSC wwYiW/oe0mvZz4IRTcTLeOS7RPHHAKZRoV5XvjWLdWZaNzyLxO21ZkxQymMuFvZY 76yxQ3e+eS16X30BHci9fCc/AxLFgvOSAC+6LjIirl+T6jdvJWpxuRWrwR7Mk116 SXYIiwEPCUYvcgWQ9+ORM3lAGiTm9X6a4bW1xtYYZvge4YkuhwXnSG79aVLKvxM9 GOrjgVc/7wsg/g0A2Rv7+lvlm0pESTPvKn3sSRRipCnv4JY8GtIjvxyBAk7jhLcV abi6kQ3SNSQtZhIjDF/AFXTf2aGlHLZJfU5dE3CF5ezmYU0lExkXbZAym7c/i3XP 7Hwru31VvpQRktm1m5kLPisvvYdrzdG/eUZntZOszxXkTiYlmZBi7ckcKHyLm676 LAn01GICZ6FX4B+irQm9AI9rKl+J4eGkp3MUFQSY0mtXaHAjmb0= =JGZq -----END PGP SIGNATURE----- --mAm0Q2rJ8r1nAidKea2lM8jhONndk0teG-- From owner-freebsd-arm@freebsd.org Wed Jan 18 17:47:57 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2063CB6B88 for ; Wed, 18 Jan 2017 17:47:57 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (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 8B79111C2 for ; Wed, 18 Jan 2017 17:47:57 +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 v0IHQssl028273 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 18 Jan 2017 09:26:55 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id v0IHQswu028272; Wed, 18 Jan 2017 09:26:54 -0800 (PST) (envelope-from fbsd) Date: Wed, 18 Jan 2017 09:26:54 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: fstab: /etc/fstab:10: Inappropriate file type or format on RPI2 Message-ID: <20170118172653.GA28052@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-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 17:47:57 -0000 Recently an RPI2 running FreeBSD 12.0-CURRENT #10 r312361: Wed Jan 18 00:06:38 PST 2017 bob@www.zefox.com:/usr/obj/usr/src/sys/RPI2 arm has started to report fstab: /etc/fstab:10: Inappropriate file type or format /etc/fstab contains /dev/mmcsd0s1 /boot/msdos msdosfs rw,noatime 0 0 /dev/mmcsd0s2a / ufs rw,noatime 1 1 #md /tmp mfs rw,noatime,-s50m 0 0 #md /var/log mfs rw,noatime,-s15m 0 0 #md /var/tmp mfs rw,noatime,-s5m 0 0 /dev/da0p4 /tmp ufs rw,noatime 0 3 /dev/da0p3 /usr ufs rw,noatime 1 2 /dev/da0p2 none swap sw 0 0 /dev/da0p1 /var ufs rw,noatime 0 4 proc /procfs rw 0 0 where the offending line is the last one above. I can't see what's wrong, could somebody please point it out? Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Wed Jan 18 18:08:58 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 470C6CB6853 for ; Wed, 18 Jan 2017 18:08:58 +0000 (UTC) (envelope-from rj@obsigna.com) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DA11B1D3B for ; Wed, 18 Jan 2017 18:08:57 +0000 (UTC) (envelope-from rj@obsigna.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1484762933; l=991; s=domk; d=obsigna.com; h=To:References:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From: Subject:Mime-Version:Content-Type; bh=WUQ8quLfTH2w5Rzao3aWx/NsXIRzHlO7d2emUiFFxic=; b=b9aeQTFHD8O7nokZpq0QyFVwfCJhzx3BzJCinuxlcwJPzrwS6I2uaxpZGlKARRUW1Q BQQDeoh1XrrGkjGff1JxOnJeX0al9YBVC5mVwxt9TDDwwLcaxZ0F7y8QfUP8QCFHCden 5tl9RpEJGJLdUM47MDifuz+2zgCszN/7ZzBcM= X-RZG-AUTH: :O2kGeEG7b/pS1EK7WHa0hxqKZr4lnx6UhT0M0o35iAdWtoM07Gt3wQHFGh0i99HgKKA= X-RZG-CLASS-ID: mo00 Received: from mail.obsigna.com (bb02b584.virtua.com.br [187.2.181.132]) by smtp.strato.de (RZmta 39.11 DYNA|AUTH) with ESMTPSA id L08dd8t0II8f1jo (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Wed, 18 Jan 2017 19:08:41 +0100 (CET) Received: from rolf.projectworld.net (rolf.projectworld.net [192.168.222.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.obsigna.com (Postfix) with ESMTPSA id 9DC2B7506D97; Wed, 18 Jan 2017 16:08:38 -0200 (BRST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: fstab: /etc/fstab:10: Inappropriate file type or format on RPI2 From: "Dr. Rolf Jansen" In-Reply-To: <20170118172653.GA28052@www.zefox.net> Date: Wed, 18 Jan 2017 16:08:36 -0200 Content-Transfer-Encoding: 7bit Message-Id: <235668CB-0F07-4391-9B2B-E5F8498D4D2D@obsigna.com> References: <20170118172653.GA28052@www.zefox.net> To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 18:08:58 -0000 > Am 18.01.2017 um 15:26 schrieb bob prohaska : > > Recently an RPI2 running > FreeBSD 12.0-CURRENT #10 r312361: Wed Jan 18 00:06:38 PST 2017 > bob@www.zefox.com:/usr/obj/usr/src/sys/RPI2 arm > has started to report > > fstab: /etc/fstab:10: Inappropriate file type or format > > /etc/fstab contains > > /dev/mmcsd0s1 /boot/msdos msdosfs rw,noatime 0 0 > /dev/mmcsd0s2a / ufs rw,noatime 1 1 > #md /tmp mfs rw,noatime,-s50m 0 0 > #md /var/log mfs rw,noatime,-s15m 0 0 > #md /var/tmp mfs rw,noatime,-s5m 0 0 > /dev/da0p4 /tmp ufs rw,noatime 0 3 > /dev/da0p3 /usr ufs rw,noatime 1 2 > /dev/da0p2 none swap sw 0 0 > /dev/da0p1 /var ufs rw,noatime 0 4 > proc /procfs rw 0 0 > > where the offending line is the last one above. > > I can't see what's wrong, could somebody please point it out? > > Thanks for reading, > > bob prohaska The last line is missing the file system type, try: ... proc /procfs procfs rw 0 0 Best regards Rolf From owner-freebsd-arm@freebsd.org Wed Jan 18 18:14:11 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88F2FCB6CE9 for ; Wed, 18 Jan 2017 18:14:11 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (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 B7D8911D9 for ; Wed, 18 Jan 2017 18:14:10 +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 v0IIE207028420 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 18 Jan 2017 10:14:04 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id v0IIDxkV028419; Wed, 18 Jan 2017 10:13:59 -0800 (PST) (envelope-from fbsd) Date: Wed, 18 Jan 2017 10:13:58 -0800 From: bob prohaska To: "Dr. Rolf Jansen" Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: fstab: /etc/fstab:10: Inappropriate file type or format on RPI2 Message-ID: <20170118181358.GB28052@www.zefox.net> References: <20170118172653.GA28052@www.zefox.net> <235668CB-0F07-4391-9B2B-E5F8498D4D2D@obsigna.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <235668CB-0F07-4391-9B2B-E5F8498D4D2D@obsigna.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 18:14:11 -0000 On Wed, Jan 18, 2017 at 04:08:36PM -0200, Dr. Rolf Jansen wrote: > > The last line is missing the file system type, try: > > ... > proc /procfs procfs rw 0 0 > Thank you! bob From owner-freebsd-arm@freebsd.org Wed Jan 18 19:44:15 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95E87CB61E6 for ; Wed, 18 Jan 2017 19:44:15 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from bouvier.getmail.no (bouvier.getmail.no [84.210.184.8]) by mx1.freebsd.org (Postfix) with ESMTP id 5302F105B for ; Wed, 18 Jan 2017 19:44:14 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id A15DB4376E; Wed, 18 Jan 2017 20:44:07 +0100 (CET) Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id FTvrG4gtKVNm; Wed, 18 Jan 2017 20:44:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 4262443784; Wed, 18 Jan 2017 20:44:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.9.2 bouvier.getmail.no 4262443784 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1484768647; bh=5NBXgwF98LZmtEQMRpcwIhHjWkJG2zsfNuq1hHEqGVY=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=YNhuEh46JWxdD94r3yRikKvvUEro7Kh2+Hi7RzBZleCoqgAUFj6waBSOih43jTOnM pdZGJiG4K0HNvQj1SMgmH4okdZAomzesRkPp/ejMr6mB6Y4HNOgrke7prbJMn55Q9b VZ/gG0Ey0/8+07KcaJHN9qkm939cFDJZp+fxQf+o= X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id hYz_DXwKeGWR; Wed, 18 Jan 2017 20:44:07 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.209.39.108.getinternet.no [84.209.39.108]) by bouvier.getmail.no (Postfix) with ESMTPSA id 164004376E; Wed, 18 Jan 2017 20:44:07 +0100 (CET) Date: Wed, 18 Jan 2017 20:44:06 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Cc: Thomas Skibo Subject: Re: u-boot ports for Zedboard and Zybo Message-Id: <20170118204406.b69949d20797d539138b8d5f@getmail.no> In-Reply-To: <25A1C780-3BC1-4745-9DBD-D2716E6ED7D2@yahoo.com> References: <640059E8-B9DD-4289-BA59-2E02A4D91F87@yahoo.com> <20170116173329.GH13006@home.opsec.eu> <58C09F42-D34B-4B84-A894-7147613214B9@yahoo.com> <25A1C780-3BC1-4745-9DBD-D2716E6ED7D2@yahoo.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 19:44:15 -0000 On Tue, 17 Jan 2017 21:06:13 -0800 Thomas Skibo via freebsd-arm wrote: >=20 > I managed to get it working but I am seeing some funny u-boot warnings (C= ACHE: Misaligned operation?). >=20 > I?ll keep tinkering with it over the next few days. I?ve attached my cha= nges but I can?t test it on any of the other boards. Do you need testing on the Parallella? Is the process / requirements for th= is testing documented somewhere? --=20 Torfinn Ingolfsen From owner-freebsd-arm@freebsd.org Wed Jan 18 20:47:29 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B19CCB6925 for ; Wed, 18 Jan 2017 20:47:29 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) Received: from nm29-vm7.bullet.mail.gq1.yahoo.com (nm29-vm7.bullet.mail.gq1.yahoo.com [98.136.216.182]) (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 5C6101C69 for ; Wed, 18 Jan 2017 20:47:28 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1484772447; bh=3VVyyUgd0cjlMndREzEfL0mKaZ4nUeD2yCT4lZ8jdgw=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject; b=JhP+R9wdqcfj0me5bx6V76QWEPVjKq+5fSIIk/uuhTFg0habn0GYoOj/2h7abMLSVFUWkHTZRyzaTqCJXcGOz+1CKX73oB5oJ4rH3BpFdp0Pc6lMwiFl3s0BZn4j14NoFIDETuNPokzUvTObme2dR1NlBULLhoWDWYVJyFKLAlQIVNixZuYZJfqxmndQIUFkI7ezi1xc36OqtGgbUIQArWe4MbRImQs07Ykxaek0lTGXGsH6R8CgcNOxQuQidZ6WXGprZMz10azaIYtrphYclNdLSQfIEMeeIw+GLpX1aa9ewga51ncHUzK6Bg896m+akWcIYQ896dDu5UwEgft5gw== Received: from [98.137.12.190] by nm29.bullet.mail.gq1.yahoo.com with NNFMP; 18 Jan 2017 20:47:27 -0000 Received: from [208.71.42.196] by tm11.bullet.mail.gq1.yahoo.com with NNFMP; 18 Jan 2017 20:47:27 -0000 Received: from [127.0.0.1] by smtp207.mail.gq1.yahoo.com with NNFMP; 18 Jan 2017 20:47:27 -0000 X-Yahoo-Newman-Id: 734470.89912.bm@smtp207.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: a6GBsnoVM1nSCcF6qU19DPDsFPprb2mjBPGE3a_jq8M5xjy sNWpmMg2T6OTGLFKjb_Ite5JtZ3VZnxBsjdAJkOFrnPF7eW..xl3f4EMLUyV Lho_afWy1l3J3Nvlt0M5MPJs_Wz4z6mfiDFojveoIElt.zaSYwG0V6yjORqF r.tlNFFMeqvkm0FHNr0Z.N1bpkMQgCAxUbWi2wiZjR6whGCdjzN7QolEpGOZ AMcYIkFFcVC0QNv.uBb9c9HtVII.oySiR8fWmbfiEWFzHn5X58.7YV1maPD3 GlVENex3OaH_9NgCbB_Wh7ceSPEGj7KpZ9mayOfqeoIZFp3_LtGCgVe7XrkX yMkP5m1OiBt5QnxP_XuQvUQIV4IzQMbhEOB1zMLKQYEXXk.8HJoYRFvQGAyl osiJsG0uPp2a7_wjEKBWNCUQNTM2wkUgjdXUneG0Fma790tfWdaBYCnGNYu3 WaEfWWRt8UaXlENHHcyz3TDyx6N8qVEkA.ACfp0noPcoVPKV.ATeLLaPYYHj vq67wZkYUwZEcnJ7D_gSiUsXchPVARG9UQEKZHGwfjrezLYj1KgHGgvKVjps tfxfFOPXQYEGgfx3DEAvTq9M- X-Yahoo-SMTP: .8Dytk6swBAeTUTcf.ezO8BKaYfn.mUV Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: u-boot ports for Zedboard and Zybo From: Thomas Skibo In-Reply-To: <20170118204406.b69949d20797d539138b8d5f@getmail.no> Date: Wed, 18 Jan 2017 12:47:26 -0800 Cc: freebsd-arm@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: <9717A58A-5AB4-46D6-840A-93406FFF7568@yahoo.com> References: <640059E8-B9DD-4289-BA59-2E02A4D91F87@yahoo.com> <20170116173329.GH13006@home.opsec.eu> <58C09F42-D34B-4B84-A894-7147613214B9@yahoo.com> <25A1C780-3BC1-4745-9DBD-D2716E6ED7D2@yahoo.com> <20170118204406.b69949d20797d539138b8d5f@getmail.no> To: Torfinn Ingolfsen X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 20:47:29 -0000 > On Jan 18, 2017, at 11:44 AM, Torfinn Ingolfsen = wrote: >=20 >=20 > Do you need testing on the Parallella? Is the process / requirements = for this testing documented somewhere? > --=20 > Torfinn Ingolfsen I describe how to create an SD image for Parallella starting with the = Zedboard image on my zedbsd page: = http://www.skibo.net/zedbsd/#parallella. But, I have been working to get crochet to build a Parallella image (my = changes so far are at http://www.github.com/skibo/crochet-freebsd) and = so I took an SD image I created and compressed and uploaded it to my = site (there are no links to it yet): http://www.skibo.net/zedbsd/FreeBSD-armv6-11.0-PARALLELLA-309692.img.bz2 It doesn=E2=80=99t have a bitstream file so you need to copy your = board-specific parallella.bit.bin to the boot partition. But, it might = boot up without the FPGA loaded (I don=E2=80=99t know). It would help a = lot if you tried it out. Thanks. =E2=80=94 Thomas Skibo thomasskibo@yahoo.com From owner-freebsd-arm@freebsd.org Wed Jan 18 22:13:16 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1017CCB664D for ; Wed, 18 Jan 2017 22:13:16 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-15.reflexion.net [208.70.210.15]) (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 B9CA81E06 for ; Wed, 18 Jan 2017 22:13:15 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 8883 invoked from network); 18 Jan 2017 22:14:41 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 18 Jan 2017 22:14:41 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.20.1) with SMTP; Wed, 18 Jan 2017 17:13:08 -0500 (EST) Received: (qmail 15148 invoked from network); 18 Jan 2017 22:13:08 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 18 Jan 2017 22:13:08 -0000 Received: from [192.168.1.111] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id A8137EC880C for ; Wed, 18 Jan 2017 14:13:07 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Using poudriere (with -a arm.armv6 -x ) on amd64 vs. building lang/gcc6: Some notes from my first attempts Message-Id: Date: Wed, 18 Jan 2017 14:13:06 -0800 To: freebsd-arm X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 22:13:16 -0000 I took a stab at building lang/gcc6 on an amd64 context (FreeBSD in a = VirtualBox machine) but targeting arm.armv6 using poudriere with -a arm.armv6 -x in use. = This was done on a 2.8 GHz macOS MacBookPro11,3 with 16 GiBytes of RAM and a fast USB 3.0 = SSD having the virtual machine files. The virtual machine had 4 cores (but see later = notes about ALLOW_MAKE_JOBS and -J 1). The MacBookPro was not busy doing much of = anything else over the time of the attempts. The following notes are only for after the prerequisites were already = built: just lang/gcc6 itself is covered. (So -J 1 would be effective even if = I'd not specified it.) Because of gmake related crashes when I tried ALLOW_MAKE_JOBS=3Dyes, ALLOW_MAKE_JOBS was not used for what I'm = reporting. I gave the VirtualBox machine 4 GiBytes of RAM and had 2 GIBytes of swap in place. As for the lang/gcc6 build options: > ---Begin OPTIONS List--- > =3D=3D=3D> The following configuration options are available for = gcc6-6.3.0: > BOOTSTRAP=3Don: Build using a full bootstrap > GRAPHITE=3Doff: Support for Graphite loop optimizations > =3D=3D=3D> Use 'make config' to modify these settings > ---End OPTIONS List--- So when xgcc and the like were in use it was based on an emulated compiler, not native. (clang built the original xgcc.) > The following languages will be built: c,c++,fortran,lto,objc > *** This configuration is not supported in the following = subdirectories: > zlib target-zlib target-libjava target-libcilkrts = target-libsanitizer target-libvtv target-libmpx target-libffi gnattools = gotools target-libada target-libgo target-liboffloadmic target-boehm-gc > (Any other directories should still work fine.) After somewhat more than 72 hours the result was: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D> Building package for gcc6-6.3.0 > Child process pid=3D20571 terminated abnormally: Killed > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/lang/gcc6 from running out of swap space. So it looks like ALLOW_MAKE_JOBS=3Dyes for 4 cores might be something like 20 hours (very rough figure) on that MacBook Pro and more RAM or swap would be needed to build just lang/gcc6 (after its prerequisites are in place). I will note that my armv6 context used -mcpu=3Dcortex-a7 for buildworld for the jail and for building ports. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-arm@freebsd.org Wed Jan 18 22:34:03 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 270FCCB6C75 for ; Wed, 18 Jan 2017 22:34:03 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E21D7188A for ; Wed, 18 Jan 2017 22:34:02 +0000 (UTC) (envelope-from punasipuli@t-online.de) Received: from fwd21.aul.t-online.de (fwd21.aul.t-online.de [172.20.27.66]) by mailout08.t-online.de (Postfix) with SMTP id 88F0641D963B for ; Wed, 18 Jan 2017 23:33:53 +0100 (CET) Received: from [192.168.10.43] (VgCLSTZBghMVkC1cOPahJ7fvfIA9qSvy1E5Qf3k3yliJe1pljd8DkZW0vLOEstjQZj@[86.56.56.128]) by fwd21.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1cTynf-3KO1r60; Wed, 18 Jan 2017 23:33:51 +0100 Subject: Re: Using poudriere (with -a arm.armv6 -x ) on amd64 vs. building lang/gcc6: Some notes from my first attempts References: To: freebsd-arm@freebsd.org From: diffusae Message-ID: <6eab4388-bbdd-7b87-b2d3-0b8b03ea6d07@t-online.de> Date: Wed, 18 Jan 2017 23:33:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-ID: VgCLSTZBghMVkC1cOPahJ7fvfIA9qSvy1E5Qf3k3yliJe1pljd8DkZW0vLOEstjQZj X-TOI-MSGID: ce07a7ae-e6ba-4899-af0c-8e3806949ba0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 22:34:03 -0000 Hi! On 18.01.2017 23:13, Mark Millard wrote: >> Stop. >> make: stopped in /usr/ports/lang/gcc6 > from running out of swap space. I've had the same with lang/gcc. After upgrading to the lastest emulators/qemu-user-static, it takes quite a long time, but it will compile and finished. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214944 Regards, From owner-freebsd-arm@freebsd.org Thu Jan 19 00:10:59 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20540CB6019 for ; Thu, 19 Jan 2017 00:10:59 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-16.reflexion.net [208.70.210.16]) (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 BACF91CDE for ; Thu, 19 Jan 2017 00:10:58 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 29030 invoked from network); 19 Jan 2017 00:11:24 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 19 Jan 2017 00:11:24 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.20.1) with SMTP; Wed, 18 Jan 2017 19:10:57 -0500 (EST) Received: (qmail 26636 invoked from network); 19 Jan 2017 00:10:56 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 19 Jan 2017 00:10:56 -0000 Received: from [192.168.1.111] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 3836FEC9092; Wed, 18 Jan 2017 16:10:56 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: Using poudriere (with -a arm.armv6 -x ) on amd64 vs. building lang/gcc6: Some notes from my first attempts From: Mark Millard In-Reply-To: <6eab4388-bbdd-7b87-b2d3-0b8b03ea6d07@t-online.de> Date: Wed, 18 Jan 2017 16:10:55 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <7973979C-8B24-48AA-8355-4E28A263646E@dsl-only.net> References: <6eab4388-bbdd-7b87-b2d3-0b8b03ea6d07@t-online.de> To: diffusae X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 00:10:59 -0000 On 2017-Jan-18, at 2:33 PM, diffusae wrote: > On 18.01.2017 23:13, Mark Millard wrote: >>> Stop. >>> make: stopped in /usr/ports/lang/gcc6 >> from running out of swap space. >=20 > I've had the same with lang/gcc. > After upgrading to the lastest emulators/qemu-user-static, it takes > quite a long time, but it will compile and finished. Thanks for the note. But. . . My installation is from ports head -r431413 and https://svnweb.freebsd.org/ports/head/emulators/ shows qemu-user-static and qemu-sbruno have not changed since: qemu-sbruno/ 431215 7 days qemu-user-static/ 415498 8 months (user-static is a slave port off of sbruno) # svnlite info /usr/ports/ | grep "Re[plv]" Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 431413 Last Changed Rev: 431413 # pkg info qemu-user-static qemu-user-static-2.8.50.g20161228_1 Name : qemu-user-static Version : 2.8.50.g20161228_1 Installed on : Sun Jan 15 13:39:14 2017 PST Origin : emulators/qemu-user-static Architecture : freebsd:12:x86:64 Prefix : /usr/local Categories : emulators Licenses : GPLv2 Maintainer : sbruno@FreeBSD.org WWW : http://wiki.qemu.org/Main_Page Comment : QEMU CPU Emulator github bsd-user branch - static user = targets Annotations : Flat size : 112MiB lang/gcc6 is a much bigger build than lang/gcc49 (or lang/gcc) from what I can tell (full bootstrap). I'd noticed that on various native builds (armv6, powerpc64, amd64). poudriere and the rest of the installed were also from -r431413 . > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214944 This predates what I was using and so is not a "fix" for what I observed with the memory and swap that I provided. I had deliberately picked the port that I build that I thought would use the most time and RAM/swap. I've not done anything that would indicate if more memory leaks are involved or not. If there are I'd expect that the leak rate was slow since it ran for over 72 hours and made sustained progress right up to where it failed from what I can tell. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-arm@freebsd.org Thu Jan 19 10:30:47 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03025CB874A for ; Thu, 19 Jan 2017 10:30:47 +0000 (UTC) (envelope-from freebsd-arm@zilon.de) Received: from mail.schem.me (mail.schem.me [IPv6:2a03:4000:6:b039::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 A9D501486 for ; Thu, 19 Jan 2017 10:30:46 +0000 (UTC) (envelope-from freebsd-arm@zilon.de) Received: from mail.schem.me (mail.local [10.0.0.3]) by mail.schem.me (Postfix) with ESMTP id 8CCD938129 for ; Thu, 19 Jan 2017 11:30:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=zilon.de; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=dkim-2012; bh=iksxyud jl/NGwRdvM4HAcMNH2kirgstMd7mfRBmpfH0=; b=BVqiz7EYmq9FmSrIrDTsUUe kfQ33K9OH/BzR0zo+mEljBsYrFLLi6fT9dtX3vwL6T+zHD4ca19gLReGk3W0V0Td Yt4CbgCKbfZIZsq9lBBUz68mmyuV1NgjMpTlrMC0r049vlUistokE7bpTIpeSWzh hhuW+reritlDwmTjRTK8NYatAQsRU8uBev2pLRq3tSLKcB2BZxj3LTycrzViUzB/ YSl278AAQkH55zPXq8m0oI0NdIKLrVu/27JkHnakWH2OJjGLEGEMPcZDb4bWgJ+O Y+DfqIDi4VNnGMZr4pCj/TfRJ2NVG3mpO9fpALvV5apqHsQ2yKH1UJdEYfnv3FHQ 6Z4qQKXoaBR+86h1xWiZ7CDhxdTz7f7HNFsTshOW+NlDEO7dSyUWoytasiDbShPi kRDNgrfaeFbzgW49fb/AfSjNRGW3ICxMjZMTh6P8TtCnVd7bmM+PUJ/DVijRjk+b e9f3ENCrAth8RZJ7jDdsGYko+to2HiNpKYjwFh6koF8cLINwwK7KsmuEvqRqTR/9 dUAaRhlJR//PBFQ3BNFH29ftnZi7RFjX3pqaKwZjdU8wNKQlVgBKke5h/1sSIqIq /8u3nDll/u3mmX/peoTvLCskXsZ+6bEKEI8b9oB7ZY7dz1gMgDIoB6QQDK/+RCiK EE/QlBbd/equnEy2Hi2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=zilon.de; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; q=dns; s=dkim-2012; b=H 9Kdn2a9q4Wu2ndS/L2v5eCCEKIIr/ssmyV69FaTekLEFu7gvUFynsbb4gWBxcuNA v/GFYbUf59mEnIdfwpr6ymI5A/Tupg/4QX6fko5RdVS1i5Bexj82Cg/hUOdqj45t NpHWbIP8R7An9QGHhhGM15+3lKDz6IlI8n0g/d/XcatNCcJY/6/WjyQASbzKQvJl 8IoFW2dO5TeIUdcOyrZMZY1v3uVunitT1bylEj9vJtbVcFsTJhqyK6DIQT6JQc1p tSxugofwTV93gXbW1KW0u2jtbGiucL/JXzqN2Q2bUDj62MRzyGIu8Ysy59SubwOg t3G1mwifDtQoo6ZDOP+lk126OuIGHFn8e9+NMXpuYyAQRLny8zZJY1641Xd4SPQK lH6t8nG4JUH+K383NUYunefLYNyoQUhybiOtm75QuC3QVOVU3LBXhGRWBPzcbk0M abR+xnwqfYEW+uAHh+yiW9BWgkWGmo8E5ZMv9qBJxTIsABAxLGecenR63Vr1S0m8 5kJmFTPtpKDc7nvOOJH8Ni9yexZJPmUEMrs6UrOASYFbBEQsj/Wq2aSYte/qrFov UhXIKcfRrP7f0b2G2ftZ9FSYXO9IF7IrAr0mpZNI1Gd6tGvTGiRv66nhBz0Ii6A5 VV05a5SoLEaOPaceBpUiSykCH9+KsZpklvhEHqcOhk= Received: from [128.176.203.62] (PAP198.NWZ.WWU.DE [128.176.203.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.schem.me (Postfix) with ESMTPSA id 74B8E38128 for ; Thu, 19 Jan 2017 11:30:32 +0100 (CET) Subject: Re: Raspberry Pi 3B To: freebsd-arm@freebsd.org References: <1466381073.4024566.1484325593959.ref@mail.yahoo.com> <1466381073.4024566.1484325593959@mail.yahoo.com> <20170113170536.GF70816@corpmail.liquidneon.com> From: Thomas Schemme Message-ID: <51ae9eae-9e0d-39bd-d265-4c8fc37f75bd@zilon.de> Date: Thu, 19 Jan 2017 11:30:31 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170113170536.GF70816@corpmail.liquidneon.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 10:30:47 -0000 Hello, thanks for your nice work! Since freebsd-update is not working with the current branch of FreeBSD, I would like to know if there is an easy way to update and/or upgrade the base system and to apply patches? Regards, Thomas Am 13.01.2017 um 18:05 schrieb Brad Davis: > On Fri, Jan 13, 2017 at 04:39:53PM +0000, Ricardo Tweeg via freebsd-arm wrote: >> Good afternoon, >> I bought a Raspberry Pi 3B for studies.I did not find the image for this model (Raspberry Pi 3B) on the freebsd.org site.Could you tell me if there is any image available for this new model? > There are also these images: > > http://www.raspbsd.org/raspberrypi.html > > > Regards, > Brad Davis > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@freebsd.org Thu Jan 19 10:40:05 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3585BCB8ABE for ; Thu, 19 Jan 2017 10:40:05 +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 mx1.freebsd.org (Postfix) with ESMTPS id 23BFB1AD5 for ; Thu, 19 Jan 2017 10:40:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v0JAe51v050908 for ; Thu, 19 Jan 2017 10:40:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 216092] FreeBSD-11.0-RELEASE-arm-armv6-RPI2.img - ifconfig does not show wireless interface Date: Thu, 19 Jan 2017 10:40:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc bug_status Message-ID: In-Reply-To: References: 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.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 10:40:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216092 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |hselasky@FreeBSD.org Status|New |Closed --- Comment #3 from Hans Petter Selasky --- Hi, There is some more information here: https://svnweb.freebsd.org/changeset/base/287197 Re-open if you think this is still a bug. --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Thu Jan 19 18:00:14 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 368F6CB757B for ; Thu, 19 Jan 2017 18:00:14 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from valentine.liquidneon.com (valentine.liquidneon.com [216.87.78.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "valentine.liquidneon.com", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2071D1F0D for ; Thu, 19 Jan 2017 18:00:13 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: by valentine.liquidneon.com (Postfix, from userid 1018) id B20312F096; Thu, 19 Jan 2017 11:00:07 -0700 (MST) Date: Thu, 19 Jan 2017 11:00:07 -0700 From: Brad Davis To: Thomas Schemme Cc: freebsd-arm@freebsd.org Subject: Re: Raspberry Pi 3B Message-ID: <20170119180007.GL70816@corpmail.liquidneon.com> References: <1466381073.4024566.1484325593959.ref@mail.yahoo.com> <1466381073.4024566.1484325593959@mail.yahoo.com> <20170113170536.GF70816@corpmail.liquidneon.com> <51ae9eae-9e0d-39bd-d265-4c8fc37f75bd@zilon.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51ae9eae-9e0d-39bd-d265-4c8fc37f75bd@zilon.de> User-Agent: Mutt/1.7.1 (2016-10-04) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 18:00:14 -0000 On Thu, Jan 19, 2017 at 11:30:31AM +0100, Thomas Schemme wrote: > Hello, > > thanks for your nice work! > > Since freebsd-update is not working with the current branch of FreeBSD, > I would like to know if there is an easy way to update and/or upgrade > the base system and to apply patches? Well an freebsd-update is not something you ever want to run on an sdcard as it would take longer than compiling yourself! Eventually the pkging base work will be the solution for arm devices. This work is still in progress and not really ready yet. Regards, Brad Davis From owner-freebsd-arm@freebsd.org Thu Jan 19 18:19:48 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C88ACB80DB for ; Thu, 19 Jan 2017 18:19:48 +0000 (UTC) (envelope-from jungleboogie0@gmail.com) Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E954F1104 for ; Thu, 19 Jan 2017 18:19:47 +0000 (UTC) (envelope-from jungleboogie0@gmail.com) Received: by mail-io0-x236.google.com with SMTP id l66so44305240ioi.1 for ; Thu, 19 Jan 2017 10:19:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=aMmzQmZrq+sLFbOsWMRGtPiRPeCk6l/vESezvy/QwQc=; b=Ul1LWvA2yTvjHpNE5B3AWIH5i+XP1B21Rp5zGS6uLlbH04ftfTZSY0LuTtTlTQvvPb Gi3CnzTrClVX2PdNGEfR680z9VgqB+opLd7qzbqoYn9ufhUn8F4LttwC1K1aHnjUNE/d TF1O2Z67/UG7fV7Wrto9BhziX0+IK90JXac554hpCgXHwoFbJHFxF29gIppZ4vmX9+2U OsF0cC37aiO4LOHyWP8y0kCEAzXOIRhybuWFQMmnfSMKigclWKa7enXW1vz+sNRN0Gy7 AYzJw/NuMlkyu50v14I7yRysiUGSv8+jYCTg9fItx9MZj5BdcAWu4qJ6YB7vD6Q2Ay8s d1UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=aMmzQmZrq+sLFbOsWMRGtPiRPeCk6l/vESezvy/QwQc=; b=YqM5FkgRIKcanRg/6uP/D3OICZ1yxT0F6jJIY/sYahHCEqZ7tRIKuNjUR/GOAyCoYx siFBp9lGkyhfz67usswPADUsXSrgAdpefD1ro9Ml0ONhiVSRCgx281OVn+0I0Ji5Nc/h 8s2GIwliD2hGV9pr1Bpp0Q/u6VhdceSXOsHzKDOdX1L0L4nqSNRZpCP4wKpqhhZRM5O5 m67BXts/zwMPiOL4okIKvqmX8kOYQk/LAdknk+4S/ADS+74Y/qF9UqHO5g/02LplGy85 B3N5+UUTtfab+5kuzz2Qfqi5WnI5t+bR7m8NumKCbT2ie2MIyewuEiuy4k7Pbu3GBa69 k4/Q== X-Gm-Message-State: AIkVDXIp40XGwuPy4FyoH2T5tEyrPd+qK0WJ8daHEb+/Y6oMak9UWYYueYRonBeHWNvY+JCrcXb6Ei77TyYOnA== X-Received: by 10.107.50.79 with SMTP id y76mr9429400ioy.100.1484849987340; Thu, 19 Jan 2017 10:19:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.142.199 with HTTP; Thu, 19 Jan 2017 10:19:46 -0800 (PST) In-Reply-To: <51ae9eae-9e0d-39bd-d265-4c8fc37f75bd@zilon.de> References: <1466381073.4024566.1484325593959.ref@mail.yahoo.com> <1466381073.4024566.1484325593959@mail.yahoo.com> <20170113170536.GF70816@corpmail.liquidneon.com> <51ae9eae-9e0d-39bd-d265-4c8fc37f75bd@zilon.de> From: jungle Boogie Date: Thu, 19 Jan 2017 10:19:46 -0800 Message-ID: Subject: Re: Raspberry Pi 3B To: Thomas Schemme Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 18:19:48 -0000 On 19 January 2017 at 02:30, Thomas Schemme wrote: > > Since freebsd-update is not working with the current branch of FreeBSD, I > would like to know if there is an easy way to update and/or upgrade the base > system and to apply patches? See this thread here: https://lists.freebsd.org/pipermail/freebsd-arm/2017-January/015323.html Basically you have a few options: -Delete SD card and upgrade -use clone -build arm on a nice fast machine and use pkg to upgrade the ARM board I will use clone but there haven't been any new snapshots 'taken' and published yet. -- ------- inum: 883510009027723 sip: jungleboogie@sip2sip.info From owner-freebsd-arm@freebsd.org Thu Jan 19 18:33:00 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A19F4CB85CB for ; Thu, 19 Jan 2017 18:33:00 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-yb0-x22f.google.com (mail-yb0-x22f.google.com [IPv6:2607:f8b0:4002:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 513891C50 for ; Thu, 19 Jan 2017 18:33:00 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-yb0-x22f.google.com with SMTP id j82so30320387ybg.1 for ; Thu, 19 Jan 2017 10:33:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=84bipHOAWwZsP+IkWRmI0uXJytObUUkBZPjvayw38hQ=; b=dPvvjB4iFZ92jZl1hKB/zSZ8dyM+oawmEo0hkjiGMoA2QiJal9+kJvwlhcvdaL025Q yCGVWoI6wh3k84hpPpGqCIZhtjGf3nejPVQyD8j/AnWbrPfUxtHYnFsC++APSNPeb9m1 58Ufv3hHifXGaUl5Noac//hXuVScLU2orV1kDFQPWsxVdPKykx9NgDwzww8F9IO8naLf hZu9oHMNFahbW2nV01yNJJxfUQlYmHQrG62wzVzHsRc/Sq3vFPzMZR7SKOJGtl90PA0K iT9MUksHzuS7Qj4UWlVAMjMefL1W4GrQshD8XqfL/H/BylzResNPamL281KAgem3DAag 8VeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=84bipHOAWwZsP+IkWRmI0uXJytObUUkBZPjvayw38hQ=; b=FzCtViooPtSzq6RJsu+sjmhh/ghLG6SO8jIcoJuMSDdcDCsdhuIPFNT8MwJ8z7GZG0 /DWQy0j30c6302/6YljtcpZjUYqdgpD7X3qEBEZRJrB7MzAFiT5D1Md+Y7pFCRC5N/hC cjWorB4lpAGHe0ZH6Yu/jPRonCNauhePQr0WNJYQMCIQCSaDHzlqn0tgIsU0inKwfhxv zPG301tBT1Xnb02Oaz63mQtwROhejCW4fruJwaMPVnK31C3ccPbJGcfIb9lUww5EGnx3 JvM8IJq2b3hWnoNabJkhOZ0R8cnc6plLA+VJYxhSHRDmgxcjoCOg+apzFICIZjseRzaU awZg== X-Gm-Message-State: AIkVDXLrRdF4XZB0Gzz/TP+r5J00g4eZ7IxuyAknFeFxHG0ZEg51qD54ItqM3PrqinsWmNey X-Received: by 10.55.79.212 with SMTP id d203mr9871385qkb.110.1484850779001; Thu, 19 Jan 2017 10:32:59 -0800 (PST) Received: from mutt-hardenedbsd ([63.88.83.66]) by smtp.gmail.com with ESMTPSA id 127sm2987843qkd.3.2017.01.19.10.32.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Jan 2017 10:32:58 -0800 (PST) Date: Thu, 19 Jan 2017 13:32:57 -0500 From: Shawn Webb To: Brad Davis Cc: Thomas Schemme , freebsd-arm@freebsd.org Subject: Re: Raspberry Pi 3B Message-ID: <20170119183257.dxd73eiwtib4tkdk@mutt-hardenedbsd> References: <1466381073.4024566.1484325593959.ref@mail.yahoo.com> <1466381073.4024566.1484325593959@mail.yahoo.com> <20170113170536.GF70816@corpmail.liquidneon.com> <51ae9eae-9e0d-39bd-d265-4c8fc37f75bd@zilon.de> <20170119180007.GL70816@corpmail.liquidneon.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5pd2widueqlsxc3r" Content-Disposition: inline In-Reply-To: <20170119180007.GL70816@corpmail.liquidneon.com> X-Operating-System: FreeBSD mutt-hardenedbsd 12.0-CURRENT-HBSD FreeBSD 12.0-CURRENT-HBSD X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0x6A84658F52456EEE User-Agent: NeoMutt/20161126 (1.7.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 18:33:00 -0000 --5pd2widueqlsxc3r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 19, 2017 at 11:00:07AM -0700, Brad Davis wrote: > On Thu, Jan 19, 2017 at 11:30:31AM +0100, Thomas Schemme wrote: > > Hello, > >=20 > > thanks for your nice work! > >=20 > > Since freebsd-update is not working with the current branch of FreeBSD,= =20 > > I would like to know if there is an easy way to update and/or upgrade= =20 > > the base system and to apply patches? >=20 > Well an freebsd-update is not something you ever want to run on an sdcard > as it would take longer than compiling yourself! hbsd-update works fine. It takes a few minutes to install, but it's not bad. Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --5pd2widueqlsxc3r Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAliBBlcACgkQaoRlj1JF bu5baw/9HT6+urkwTT37g49oI2oGxc7KyQGnWD9bfo2/sEKKHhYcUCnWDOoX9MS9 IJTypGHSa4vr8WDmNWLMx7UkKfhEdgnvWni9FxXi6EU+vVpfN4VxwusoI+Lsj/XW s5Gz3xkBCiuDn/p+qZpuII4pxfdDEFLQ5ZKMooNE5H2Z7siYlXMjibhOR/3JvVbW YnuHQhBg9bA3SPasCPbb048dHHd8Lw8K/LDcVEm61jktQw6KL6vhB6W2Ui1BOiiq hJuyBv2zrBiE3Oasc8wPkDzi9Of1uGDQBzyviJeJFsf1lMx9AbIUiUzNWign/hqG zI7m4EBx6fbK6vpkl22Gb0zNBxNmJvjk0ZbBiekyng5mN63Oh1ZwSXyPF46Rw0Kw 4zByJVI4L2C5XupLY91ED2uVZ0onGewvdDwdfuCYQGQ8vmARfDSnVLgfJ6R8GEIF 4V2Y4EiKCogoUj/bRrs78MzZVZhu+2eJRsCI7zeaTYumafzRG/VwDKzyPTe2FKK6 Y00Pgs6LbrSFuYwTl/kn/vrLbGb28Ib28X1hLCRIjWv4ixbDYQpmKGUmSXlBWT2b z5nfXqcqxSXAGjJdWIlYg5oZUhmJw3aPWcYqF3KOt2RoiAoHrSjVIf6za/qoOnyX IkiQBwXD19o3Bh0ehL4FjKttcaXhrwSm30szsKO1MLxGKZUpzMM= =SKo9 -----END PGP SIGNATURE----- --5pd2widueqlsxc3r-- From owner-freebsd-arm@freebsd.org Thu Jan 19 18:56:16 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61485CB8D21 for ; Thu, 19 Jan 2017 18:56:16 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.126.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gromit.dlib.vt.edu", Issuer "Chumby Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3630B1C92; Thu, 19 Jan 2017 18:56:16 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from pmather.lib.vt.edu (pmather.lib.vt.edu [128.173.126.193]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 31E8E1D8; Thu, 19 Jan 2017 13:56:09 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Raspberry Pi 3B From: Paul Mather In-Reply-To: <20170119180007.GL70816@corpmail.liquidneon.com> Date: Thu, 19 Jan 2017 13:56:08 -0500 Cc: Thomas Schemme , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <5AD8F2D5-89A3-4A4D-8857-AE7980B131B9@gromit.dlib.vt.edu> References: <1466381073.4024566.1484325593959.ref@mail.yahoo.com> <1466381073.4024566.1484325593959@mail.yahoo.com> <20170113170536.GF70816@corpmail.liquidneon.com> <51ae9eae-9e0d-39bd-d265-4c8fc37f75bd@zilon.de> <20170119180007.GL70816@corpmail.liquidneon.com> To: Brad Davis X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 18:56:16 -0000 On Jan 19, 2017, at 1:00 PM, Brad Davis wrote: > On Thu, Jan 19, 2017 at 11:30:31AM +0100, Thomas Schemme wrote: >> Hello, >>=20 >> thanks for your nice work! >>=20 >> Since freebsd-update is not working with the current branch of = FreeBSD,=20 >> I would like to know if there is an easy way to update and/or upgrade=20= >> the base system and to apply patches? >=20 > Well an freebsd-update is not something you ever want to run on an = sdcard > as it would take longer than compiling yourself! >=20 > Eventually the pkging base work will be the solution for arm devices. > This work is still in progress and not really ready yet. Having said that, I have been using the base packages support provided = by FreeBSD-STABLE for several months now on my ARM systems and it has = worked very nicely up to now. It will be great when it is rolled out = officially. Cheers, Paul. From owner-freebsd-arm@freebsd.org Thu Jan 19 19:54:44 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2AE51CB867D for ; Thu, 19 Jan 2017 19:54:44 +0000 (UTC) (envelope-from vvelox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.net [96.95.67.25]) by mx1.freebsd.org (Postfix) with ESMTP id 0ED2D1718 for ; Thu, 19 Jan 2017 19:54:43 +0000 (UTC) (envelope-from vvelox@vvelox.net) Received: from vvelox.net (localhost [127.0.0.1]) (Authenticated sender: kitsune) by vulpes.vvelox.net (Postfix) with ESMTPA id 3C5783791170 for ; Thu, 19 Jan 2017 13:48:44 -0600 (CST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 19 Jan 2017 13:48:44 -0600 From: "Zane C. B-H." To: freebsd-arm@freebsd.org Subject: Re: Raspberry Pi 3B In-Reply-To: <20170119180007.GL70816@corpmail.liquidneon.com> References: <1466381073.4024566.1484325593959.ref@mail.yahoo.com> <1466381073.4024566.1484325593959@mail.yahoo.com> <20170113170536.GF70816@corpmail.liquidneon.com> <51ae9eae-9e0d-39bd-d265-4c8fc37f75bd@zilon.de> <20170119180007.GL70816@corpmail.liquidneon.com> Message-ID: <7b3558346246a6912360028541e32891@vvelox.net> X-Sender: vvelox@vvelox.net User-Agent: Roundcube Webmail/1.3-beta X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 19:54:44 -0000 On 2017-01-19 12:00, Brad Davis wrote: > On Thu, Jan 19, 2017 at 11:30:31AM +0100, Thomas Schemme wrote: >> Hello, >> >> thanks for your nice work! >> >> Since freebsd-update is not working with the current branch of >> FreeBSD, >> I would like to know if there is an easy way to update and/or upgrade >> the base system and to apply patches? > > Well an freebsd-update is not something you ever want to run on an > sdcard > as it would take longer than compiling yourself! > > Eventually the pkging base work will be the solution for arm devices. > This work is still in progress and not really ready yet. Speaking of compiling on the RPi or really doing anything, I highly suggest a USB mounted 2.5" SATA drive. Keeping /usr/obj, /usr/local, /usr/src, and /usr/ports under that works great. It really minimizes having to hit the SD card, which will be painfully slow. From owner-freebsd-arm@freebsd.org Thu Jan 19 21:45:30 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7816CA6BCC for ; Thu, 19 Jan 2017 21:45:30 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) Received: from nm11-vm5.bullet.mail.gq1.yahoo.com (nm11-vm5.bullet.mail.gq1.yahoo.com [98.136.218.172]) (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 A3CCE1CE6 for ; Thu, 19 Jan 2017 21:45:29 +0000 (UTC) (envelope-from thomasskibo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1484862328; bh=640ZjKxvaP4c5LRAGdhYKy3IN/P+uWKaZve98kyMtkg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject; b=iBmcK5XBjvrA/ssfjLZX/l/YkY1Yt/b/PFo9G37B0JqWh2QmFjp6Bcd8DPLrXzNIznMNEYBLAHB8jNQFFutzo/Gpnv3o8XqawXtYlyQp9sT2QUMM1RoX98L+/lTha3q0H3pWYobAVRCv2M1S/OI9J4ALav9Tv1bW/iZh5pIE4xPqb9b9CaC6LTgHdaaUigybUMv7ky36v7btTO4OnfW6qBUvKvLG1/xzqdj9xDq53eUD0DYUuZXVPN6m9YTnJFgjPisSlqgmWvvgGJtSXZgux8l+hHY/qDNRPky22qM8q2MfV5x5Lv404hgHNijC6+QXAfJEuRm43i8Wh8OtvsalLw== Received: from [98.137.12.191] by nm11.bullet.mail.gq1.yahoo.com with NNFMP; 19 Jan 2017 21:45:28 -0000 Received: from [98.137.12.209] by tm12.bullet.mail.gq1.yahoo.com with NNFMP; 19 Jan 2017 21:45:28 -0000 Received: from [127.0.0.1] by omp1017.mail.gq1.yahoo.com with NNFMP; 19 Jan 2017 21:45:28 -0000 X-Yahoo-Newman-Id: 441555.77072.bm@omp1017.mail.gq1.yahoo.com Received: (qmail 46761 invoked from network); 19 Jan 2017 21:45:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1484862328; bh=640ZjKxvaP4c5LRAGdhYKy3IN/P+uWKaZve98kyMtkg=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To; b=0/B+pdXt6lJZE06PuHx2RYp/gPLAW8xMHLF4pTm6L61KtFozeyFZoJtKkX5xsuqX7+CLMvfDRQpM/APV+TA2iw0WKET6avl/L2djKeKMB8MIpZ1eTt3apal4de0/KASp7vIF3ERt/hfBv4iVNREeBgcq7EwMvNRCAHLAkIdcA/M= X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Uwy9J7sVM1nhq0ZOPDlgGJZuNX4UHnBbgcxxPf72b4n1sZ. _SJs_IFnbkLJCbH6AS.b1Gd5QYZcJ8hXaHozgvMsfzntitLZcO4qxwQ70Xft VOApOAiVVmx6NaNXpcNxZmsVV36h5FP6CEOg80Rnp0q8z3XAAg.GAH0dofTD P4_T8ddbxySZI6KdWuzye.TWLItUgZnUKEVOzwA66HQw_zRMdF0YkWa69jW6 GcIYQUIxlC9Vr8MpqOuyPNdhJRuob7Iv1_SnGGFhOq.MSDgDoT_s7xLnH6AR kAtRYhp0QpxYDbClp5.duJPSj3gF1QX1UdUgoIW7QIX9HUvSH.2sQO03S0sU llEOIEPxTqbZjM8XN_Y8.cazhMqd9afiuy0f4ox93pYVSFpGsUvb1yZQVOPV uB7z3vLTWbbqd4oo29w1mGH66HiLlpRc2uq5K_6TGqSKJFsBsArz1ZkRimYm nS2OiOpUO.fVzyfa77SWBM71Ix1S.GzUtMTHF2lDis..x1ffTtl3MsnuhwI8 Tr6Mo76A8yh206Ux8UI1gdiGqgbtQFeexLHO5rWK_gkLOLEYOvAyQ X-Yahoo-SMTP: .8Dytk6swBAeTUTcf.ezO8BKaYfn.mUV Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: u-boot ports for Zedboard and Zybo From: Thomas Skibo In-Reply-To: Date: Thu, 19 Jan 2017 13:45:25 -0800 Cc: Kurt Jaeger , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <640059E8-B9DD-4289-BA59-2E02A4D91F87@yahoo.com> <20170116173329.GH13006@home.opsec.eu> To: Warner Losh X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 21:45:30 -0000 > On Jan 16, 2017, at 10:20 AM, Warner Losh wrote: >=20 > Any chance you could rebase this onto the new u-boot-master framework? > Or are the changes not yet merged back into u-boot upstream? >=20 > Warner >=20 >=20 I was able to fix the API compile issue but what is missing is a feature = I really want which is u-boot automatically loading the PL (FPGA fabric) = from =E2=80=9Cfpga.bin=E2=80=9D. I=E2=80=99ve been working on a video = driver which can only work if the PL/FPGA design is loaded before the = kernel is booted. I tried to enable this feature in both your u-boot = tree and the official repository and it fails to link the spl stage in = both cases. I=E2=80=99d like to submit these ports as I have them, based upon = Xilinx=E2=80=99s u-boot tree at github.com/Xilinx/u-boot-xlnx. It works = great with only a simple patch. I=E2=80=99d submit them via the bug = system as described in the porter=E2=80=99s handbook. What do you think? =E2=80=94Thomas From owner-freebsd-arm@freebsd.org Fri Jan 20 08:39:27 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17142CB80B1 for ; Fri, 20 Jan 2017 08:39:27 +0000 (UTC) (envelope-from tvijlbrief@gmail.com) Received: from mail-yw0-x22a.google.com (mail-yw0-x22a.google.com [IPv6:2607:f8b0:4002:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C4F011643 for ; Fri, 20 Jan 2017 08:39:26 +0000 (UTC) (envelope-from tvijlbrief@gmail.com) Received: by mail-yw0-x22a.google.com with SMTP id l19so76559388ywc.2 for ; Fri, 20 Jan 2017 00:39:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=+urozDPuOSCHPEZyCCp9VbXXv9UX3kqzVk5yH+fKUYM=; b=LoBFVR80ieO0rHgyYbK/kZaW0Yfn3tLVvCBo0ZmOC7jg9ExPs33lGxM/20KW9i7chx 43cgYz6ePVzp9K1+xdvJqWo06cuL0R+Vm36fC4CxUQAc33Or53aQ10HAjJbYfcz4YzFw WeWcUT8uKzOZSrpdQhmi97IvSidbjhOPPPgoGoYiyQD64gWigjoTWjTJTl4K+oiL7vbX w1ln3SOTQEOCV4EpbFo7yqBD5oO3bnWpKD9QGkHbj5aQB5S2k6JTejVN8C/b1XBJUufr vt2YJOZdp9hp2aZW8RGlsfCG+En6pTZxTcNXppb0ThfoycemKVrXMiEUWaIAimyUiAhz R4Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=+urozDPuOSCHPEZyCCp9VbXXv9UX3kqzVk5yH+fKUYM=; b=IGhsOOYPx03ksS7ZpCtYVQQDMOhpoUO6jAkUT+OQWOboPcDRHIEAv1OXWD9paDMlS8 tSeeOmyJw01SMHNMCWZohFkjtBxJUn1wLse/L2s2nkGK2r+mEw21bd6diN3W6u8swakh J5/pFpufMUcdIMVcH/ri6vpL1BqmORW8m4PcEh8PvYNd3ZsZOQJsvR1Jy1U8pp1UEO57 xUpQEus25mCr1CBPVtPdhjL/WyFKrZ8uxC1shesLagRkwGDeUUvAGYgY6ftMohRhkkr2 kxV/k5ockYjlWGkXFI37xzq/OfIJjI+Uc5FrzW7vQ3TZa5EQIo4FDvAKov+7bCRvanNx dfyw== X-Gm-Message-State: AIkVDXI0rJ9pIc85tiXlKIjzWcJl3o8XyWnorfmxs2FzBI/oiGmJcEvMjnmYuDsrU64EtAMjACLbSalWKonFzw== X-Received: by 10.129.102.69 with SMTP id a66mr10498652ywc.144.1484901565937; Fri, 20 Jan 2017 00:39:25 -0800 (PST) MIME-Version: 1.0 From: Tom Vijlbrief Date: Fri, 20 Jan 2017 08:39:15 +0000 Message-ID: Subject: Arm64 stack issues (was Re: FreeBSD status for/on ODroid-C2?) To: Mark Millard Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2017 08:39:27 -0000 I'm using the image from http://www.raspbsd.org/pine64.html (thanks Brad) After applying the jemalloc work around at the bottom of: https://wiki.freebsd.org/arm64/rpi3 and the dynamic linker fix: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214971 I could build most ports but not world because it does not use the /etc/malloc.conf setting. Using: MALLOC_CONF=tcache:false script bw.log make buildworld NO_CLEAN=YES -j2 I can do a build world but what is more interesting is that without the MALLOC_CONF setting I get a lot of: gic0: Spurious interrupt detected: last irq: 27 on CPU3 These errors disappear when disabling tcache. The jemalloc tcache allocates on the stack so this hints at a bad interaction between the interrupt stack frames and the application stack. Op 17:35 ZO 2 Okt 2016 schreef Mark Millard : [Adding a clarification.] On 2016-Oct-2, at 8:20 AM, Mark Millard wrote: > Thanks for the notes. > > On 2016-Oct-2, at 7:17 AM, Tom Vijlbrief wrote: >> >> No change (at least in my tree) since my last report on this list somewhere in May or June. >> >> The kernel boots with 4 cpus and working usb. I use an usb ethernet device and usb disk with the root filesysteem. Compiling and running ports works, but a build world fails randomly with a memory access error eg after running 15 minutes. > > Sounds possibly similar to TARGET_ARCH=powerpc 's stack-handling SVR4 ABI violation when world is built by clang 3.8.0 (bad clang code generation). To get to the point of buildworld going through I had to change the kernel to provide a so-called "red-zone" on the stack during signal handling to protect the stack from being trashed. buildworld gets extensive signals (SIGCHLD) and so without the "red-zone" it would eventually get trashed addresses, far before getting near completion. I see my wording was poor for indicating the staging: I was already running a powerpc world built with clang 3.8.0's bad powerpc code generation when I tried to buildworld and had the signal handling problems (stack usage conflicts). The "red-zone" kernel hack allowed such buildworld activity to reliably work despite the clang 3.8.0 based bad code that was in use. > [Context: buildkernel via gcc 4.2.1 but buildworld via clang 3.8.0 .] > > [Side note: I've tried aarch64 releng/11.0 (first RELEASE's raw) under qemu on Ubuntu 16.04.1 on the ODroid-C2 but it gots periodic illegal instructions in very basic operation, no builds active.] > >> I don't think it makes sense to work on this until a freebsd rpi3 arm64 port is officially supported... > > [FYI: http://ameridroid.com/products/raspberry-pi-2-model-b-1gb-ram lists the RPi2B as both "out of stock" and "discontinued" and has for some time.] > >> Op zo 2 okt. 2016 15:04 schreef Mark Millard : >> . . . >> Anything worth reporting on the ODroid-C2 details for FreeBSD: what works, what does not, what needs to be done to boot FreeBSD, and so on? (I assume head [CURRENT-12 these days].) >> >> >> Looking around. . . >> >> >> https://github.com/tomtor/image-freebsd-c2 >> >> seems to have last been updated on May 7 (vs. https://github.com/tomtor/image-freebsd-pine64 's April 17). >> >> >> https://github.com/tomtor/freebsd/tree/tc2 >> >> seems to have last been updated on June 17. > === Mark Millard markmi at dsl-only.net _______________________________________________ freebsd-arm@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Fri Jan 20 14:46:51 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FE54CB8D11 for ; Fri, 20 Jan 2017 14:46:51 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from smtp.rlwinm.de (smtp.rlwinm.de [IPv6:2a01:4f8:201:31ef::e]) (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 C921F1024 for ; Fri, 20 Jan 2017 14:46:50 +0000 (UTC) (envelope-from crest@rlwinm.de) Received: from x220.rlwinm.de (unknown [46.183.103.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.rlwinm.de (Postfix) with ESMTPSA id 00C6D119CC for ; Fri, 20 Jan 2017 15:46:46 +0100 (CET) Subject: Re: Raspberry Pi 3B To: freebsd-arm@freebsd.org References: <1466381073.4024566.1484325593959.ref@mail.yahoo.com> <1466381073.4024566.1484325593959@mail.yahoo.com> <20170113170536.GF70816@corpmail.liquidneon.com> <51ae9eae-9e0d-39bd-d265-4c8fc37f75bd@zilon.de> <20170119180007.GL70816@corpmail.liquidneon.com> <5AD8F2D5-89A3-4A4D-8857-AE7980B131B9@gromit.dlib.vt.edu> From: Jan Bramkamp Message-ID: <905d5f1d-f01e-425e-7111-33addda4be55@rlwinm.de> Date: Fri, 20 Jan 2017 15:46:31 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <5AD8F2D5-89A3-4A4D-8857-AE7980B131B9@gromit.dlib.vt.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2017 14:46:51 -0000 On 19.01.2017 19:56, Paul Mather wrote: > On Jan 19, 2017, at 1:00 PM, Brad Davis wrote: > >> On Thu, Jan 19, 2017 at 11:30:31AM +0100, Thomas Schemme wrote: >>> Hello, >>> >>> thanks for your nice work! >>> >>> Since freebsd-update is not working with the current branch of FreeBSD, >>> I would like to know if there is an easy way to update and/or upgrade >>> the base system and to apply patches? >> Well an freebsd-update is not something you ever want to run on an sdcard >> as it would take longer than compiling yourself! >> >> Eventually the pkging base work will be the solution for arm devices. >> This work is still in progress and not really ready yet. > > Having said that, I have been using the base packages support provided by FreeBSD-STABLE for several months now on my ARM systems and it has worked very nicely up to now. It will be great when it is rolled out officially. I don't know about -stable but in 11.0-release the pkg base code has a few very annoying bugs e.g. it overwrites user modified config files in /etc on pkg upgrade, but on an ARM system it's a huge improvement on freebsd-update. I'm curious how much the make meta mode helps with source updates on something like a RPI-3. From owner-freebsd-arm@freebsd.org Sat Jan 21 13:26:34 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81ABACBB2DD for ; Sat, 21 Jan 2017 13:26:34 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 722711275 for ; Sat, 21 Jan 2017 13:26:34 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id 715DBCBB2DC; Sat, 21 Jan 2017 13:26:34 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70FF1CBB2DB for ; Sat, 21 Jan 2017 13:26:34 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (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 316381272 for ; Sat, 21 Jan 2017 13:26:33 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from imac.bs.cs.huji.ac.il ([132.65.179.42]) by kabab.cs.huji.ac.il with esmtp id 1cUvgY-000JUp-Sx for arm@freebsd.org; Sat, 21 Jan 2017 15:26:26 +0200 From: Daniel Braniss Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: usb on NanoPi NEO not working Message-Id: <6DC50B90-AB89-41A6-9C0F-82872E2B9E99@cs.huji.ac.il> Date: Sat, 21 Jan 2017 15:26:26 +0200 To: "freebsd-arm@freebsd.org" Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2017 13:26:34 -0000 Hi, I managed to boot current on this board, but some things are not working, i.e., the stat led, but more important, the usb is unusable. does someone have a correct fdt for this board? danny From owner-freebsd-arm@freebsd.org Sat Jan 21 13:41:09 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6FB18CBB67F for ; Sat, 21 Jan 2017 13:41:09 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4B42C1805 for ; Sat, 21 Jan 2017 13:41:09 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 4AA3CCBB67C; Sat, 21 Jan 2017 13:41:09 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A4B6CBB67B for ; Sat, 21 Jan 2017 13:41:09 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ot0-x236.google.com (mail-ot0-x236.google.com [IPv6:2607:f8b0:4003:c0f::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C5F21803 for ; Sat, 21 Jan 2017 13:41:09 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: by mail-ot0-x236.google.com with SMTP id 65so74438213otq.2 for ; Sat, 21 Jan 2017 05:41:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IsM6jOu2m0YhUS+k3X1JUMBY0K25+3EacyakWT8AaOE=; b=C5ysxKwQOefGbVb75fwLcwav9UQ5Ezqc3FmzR0u6MbwsYVsMoabhqrx6kCI0djNt9G k0yDNorEfUtRpA3WGTOtmoycOf64bRkEMYchRGCrahI7aBYGtoc/KgnoMagdSTDiDeGb 3FcYmZ+ws8IYZc8xP2QN88XJA5eAt8WH7HQ+ip0cgE8CvLCFZVj25NMwaoKolOyNdDOz oku58APgIdaR/OV5R0dB7qMrHnidKS/kHTKVHT5IFRgMQQ2p16PD0KGs5Okz1FdoK30z gMvpTfj41JTk4B7F7eDIFRER4z6ewJ8PhoEZMKIzN08X86JIBiarYnBYbdo3adtRiWEU exlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IsM6jOu2m0YhUS+k3X1JUMBY0K25+3EacyakWT8AaOE=; b=a2tpr8QtddFzFYzYaOZgfw0H2bwxSWuz0R4S0iVwOsL+IeecoaBaSwyPw0/7cCkZKY Gul71svpA8uqNoH1X2oYLoirpPWQp+PiEJuQxk1AkOsfZHiLFK22IuBeST1rnkPWnnyC oGw7qcHUFu/IrhDqo0HBODsNMAtcfKZQyzusE98Cr4J1HeLKFIQnBz4rfED4esIyVoiG HkIaHnn7qIiZxbi6ScFwfxXS23K25+bQyQ/3OdCbj1Lr/yhA2NQqQOfA/9E+zX0N2H4r 4PRZLe20GFtWGAlpPhL2ksMRPf6CNUA8q9IF26oSL4fi/DTWXkdv7bxdUT2jqgJ9Ejpu 5aHA== X-Gm-Message-State: AIkVDXJF5p2bDmYTxaIlGkg4/qwoq7o3epfhWwsG1pWPY81fCkXyGTKjVarkJwxiATIa43IL0QZO2WFzLONngQ== X-Received: by 10.157.47.234 with SMTP id b39mr9293608otd.0.1485006068434; Sat, 21 Jan 2017 05:41:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.221.71 with HTTP; Sat, 21 Jan 2017 05:41:07 -0800 (PST) In-Reply-To: <6DC50B90-AB89-41A6-9C0F-82872E2B9E99@cs.huji.ac.il> References: <6DC50B90-AB89-41A6-9C0F-82872E2B9E99@cs.huji.ac.il> From: Ganbold Tsagaankhuu Date: Sat, 21 Jan 2017 21:41:07 +0800 Message-ID: Subject: Re: usb on NanoPi NEO not working To: Daniel Braniss Cc: "freebsd-arm@freebsd.org" Content-Type: multipart/mixed; boundary=001a113b118e3307c305469aeb3b X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2017 13:41:09 -0000 --001a113b118e3307c305469aeb3b Content-Type: text/plain; charset=UTF-8 On Sat, Jan 21, 2017 at 9:26 PM, Daniel Braniss wrote: > Hi, > I managed to boot current on this board, but some things are not > working, i.e., the stat led, > but more important, the usb is unusable. > > does someone have a correct fdt for this board? > First, are you using correct u-boot for it? https://github.com/jaredmcneill/freebsd-ports/tree/u-boot-nanopi-neo/sysutils/u-boot-nanopi-neo I'm using attached dts in FreeBSD. Ganbold > > danny > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > --001a113b118e3307c305469aeb3b Content-Type: application/octet-stream; name="nanopi-neo.dts" Content-Disposition: attachment; filename="nanopi-neo.dts" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iy7a9j0j0 LyotCiAqIENvcHlyaWdodCAoYykgMjAxNiBKYXJlZCBNY05laWxsIDxqbWNuZWlsbEBpbnZpc2li bGUuY2E+CiAqIEFsbCByaWdodHMgcmVzZXJ2ZWQuCiAqCiAqIFJlZGlzdHJpYnV0aW9uIGFuZCB1 c2UgaW4gc291cmNlIGFuZCBiaW5hcnkgZm9ybXMsIHdpdGggb3Igd2l0aG91dAogKiBtb2RpZmlj YXRpb24sIGFyZSBwZXJtaXR0ZWQgcHJvdmlkZWQgdGhhdCB0aGUgZm9sbG93aW5nIGNvbmRpdGlv bnMKICogYXJlIG1ldDoKICogMS4gUmVkaXN0cmlidXRpb25zIG9mIHNvdXJjZSBjb2RlIG11c3Qg cmV0YWluIHRoZSBhYm92ZSBjb3B5cmlnaHQKICogICAgbm90aWNl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QkvKiBrSHogICAgdVYgKi8KCQkJCTEw MDgwMDAgMTMwMDAwMAoJCQkJODE2MDAwICAxMTAwMDAwCgkJCQk0ODAwMDAgIDExMDAwMDAKCQkJ CT47CgkJfTsKCX07Cn07Ci8vCQkJCTEyMDAwMDAgMTMwMDAwMAoK --001a113b118e3307c305469aeb3b Content-Type: application/octet-stream; name="sun8i-h3-nanopi-neo.dts" Content-Disposition: attachment; filename="sun8i-h3-nanopi-neo.dts" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iy7a9j0t1 LyoKICogQ29weXJpZ2h0IChDKSAyMDE2IEphbWVzIFBldHRpZ3JldyA8amFtZXNAaW5ub3Z1bS5j b20uYXU+CiAqCiAqIFRoaXMgZmlsZSBpcyBkdWFsLWxpY2Vuc2VkOiB5b3UgY2FuIHVzZSBpdCBl aXRoZXIgdW5kZXIgdGhlIHRlcm1zCiAqIG9mIHRoZSBHUEwgb3IgdGhlIFgxMSBsaWNlbnNlLCBh dCB5b3VyIG9wdGlvbi4gTm90ZSB0aGF0IHRoaXMgZHVhbAogKiBsaWNlbnNpbmcgb25seSBhcHBs aWVzIHRvIHRoaXMgZmlsZSwgYW5kIG5vdCB0aGlzIHByb2plY3QgYXMgYQogKiB3aG9sZS4KICoK ICogIGEpIFRoaXMgZmlsZSBpcyBmcmVlIHNvZnR3YXJlOyB5b3UgY2FuIHJlZGlzdHJpYnV0ZSBp dCBhbmQvb3IKICogICAgIG1vZGlmeSBpdCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5l cmFsIFB1YmxpYyBMaWNlbnNlIGFzCiAqICAgICBwdWJsaXNoZWQgYnkgdGhlIEZyZWUgU29mdHdh cmUgRm91bmRhdGlvbjsgZWl0aGVyIHZlcnNpb24gMiBvZiB0aGUKICogICAgIExpY2Vuc2UsIG9y IChhdCB5b3VyIG9wdGlvbikgYW55IGxhdGVyIHZlcnNpb24uCiAqCiAqICAgICBUaGlzIGZpbGUg aXMgZGlzdHJpYnV0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YXR1cyA9ICJv a2F5IjsKfTsKCiZ1c2JwaHkgewoJLyogVVNCIFZCVVMgaXMgYWx3YXlzIG9uICovCglzdGF0dXMg PSAib2theSI7Cn07Cg== --001a113b118e3307c305469aeb3b-- From owner-freebsd-arm@freebsd.org Sat Jan 21 14:09:14 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42743CBBBF9 for ; Sat, 21 Jan 2017 14:09:14 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2E3D5620 for ; Sat, 21 Jan 2017 14:09:14 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id 2A8A3CBBBF8; Sat, 21 Jan 2017 14:09:14 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2A29BCBBBF6 for ; Sat, 21 Jan 2017 14:09:14 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (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 DA23661F for ; Sat, 21 Jan 2017 14:09:13 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from imac.bs.cs.huji.ac.il ([132.65.179.42]) by kabab.cs.huji.ac.il with esmtp id 1cUwLt-000KLd-Ac; Sat, 21 Jan 2017 16:09:09 +0200 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: usb on NanoPi NEO not working From: Daniel Braniss In-Reply-To: Date: Sat, 21 Jan 2017 16:09:08 +0200 Cc: "freebsd-arm@freebsd.org" Message-Id: References: <6DC50B90-AB89-41A6-9C0F-82872E2B9E99@cs.huji.ac.il> To: Ganbold Tsagaankhuu X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2017 14:09:14 -0000 > On 21 Jan 2017, at 3:41 PM, Ganbold Tsagaankhuu = wrote: >=20 >=20 >=20 > On Sat, Jan 21, 2017 at 9:26 PM, Daniel Braniss > wrote: > Hi, > I managed to boot current on this board, but some things are not > working, i.e., the stat led, > but more important, the usb is unusable. >=20 > does someone have a correct fdt for this board? >=20 > First, are you using correct u-boot for it? >=20 > = https://github.com/jaredmcneill/freebsd-ports/tree/u-boot-nanopi-neo/sysut= ils/u-boot-nanopi-neo = >=20 can=E2=80=99t download, it wants a login & passwords > I'm using attached dts in FreeBSD. my mac want to play it for me :-) i=E2=80=99ll take e a look thanks, danny >=20 > Ganbold > =20 >=20 > danny >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm = > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org = " >=20 > From owner-freebsd-arm@freebsd.org Sat Jan 21 15:46:18 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C229CBB3DD for ; Sat, 21 Jan 2017 15:46:18 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 3589E1AE9 for ; Sat, 21 Jan 2017 15:46:17 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 7BA6220596 for ; Sat, 21 Jan 2017 10:46:10 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 21 Jan 2017 10:46:10 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=HrDng0BCuTDPMYoZax/Ud8k2/gg=; b=nVNhD8 GBKjGFvZ6VcMJTUw/oUP1DVtmtZJ7jLi79xzlwEl5lT5OUKCu0Z7wwcxHFIyFozL RkSVoaQGUAn5MybmY0c3tKrOzWqJISrCPa8qKcYlXSqK+Kee5FyBJhulWQ8HMpSd 0aeH0iGELUGGeJO8TwMzVqOUrC3H6rBZ6ggLY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=HrDng0BCuTDPMY oZax/Ud8k2/gg=; b=SqOIx70fnHvbvnPpg/Ul39O+ll2RXTWDBwRynrbm3G6FCK AWIxjpoZ4KVcNwu9yFsmLwZ+9kq+KPQRxZtNatYzPAK28yq8H7D+gydFBMIfFPsR hvh4VVgPcZbIu6lv16HISC8N8edAtSnGIWr5o33Rj97SAZ4SxinkA+nF2FGM4= X-ME-Sender: X-Sasl-enc: 6IlXu+8aBfwAtXYgPVctOegVpCCUwtMPgXlm+bO5jis1 1485013570 Received: from pumpkin.growveg.org (pumpkin.growveg.org [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 24F6824424 for ; Sat, 21 Jan 2017 10:46:10 -0500 (EST) To: freebsd-arm@freebsd.org From: tech-lists Subject: how to measure microsd wear Message-ID: <16821b7c-e300-97fc-36e5-a508b22c21b8@zyxst.net> Date: Sat, 21 Jan 2017 15:46:04 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2017 15:46:18 -0000 Hello list, How would one measure microsd wear? Is there a utility like smartmontools (I think this only works for regular hard drives) but for microsd? many thanks, -- J. From owner-freebsd-arm@freebsd.org Sat Jan 21 16:44:48 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C2F1CBB0B7 for ; Sat, 21 Jan 2017 16:44:48 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from bouvier.getmail.no (bouvier.getmail.no [84.210.184.8]) by mx1.freebsd.org (Postfix) with ESMTP id CADB1182B for ; Sat, 21 Jan 2017 16:44:47 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 5845345BF0 for ; Sat, 21 Jan 2017 17:44:40 +0100 (CET) Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id bDyeuYuqUYGV for ; Sat, 21 Jan 2017 17:44:39 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id C46AB45B81 for ; Sat, 21 Jan 2017 17:44:39 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.9.2 bouvier.getmail.no C46AB45B81 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1485017079; bh=Ng6D+sxQSCBdVIqRVPzRwVu+lT6oUWHMlMntojpD8xw=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=LsLhJo2Sc91m9RbJB/RmQblyaB07LeJX3uPOzVOQiVoVqfCdWkozvdaPDuOawWe1w 6rTgp4C+6IOMyoRy+SyuBnGBrB2kZbVIphlt19iVw/snaDS7KKcBNQYZ0tYWG+JE9b TWsJ36DlzXCHIKyvIkS4SrJOVK3Q5eM/pMWICVzI= X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2dCK_zYNDQgD for ; Sat, 21 Jan 2017 17:44:39 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.209.39.108.getinternet.no [84.209.39.108]) by bouvier.getmail.no (Postfix) with ESMTPSA id 6EB3F45BEE for ; Sat, 21 Jan 2017 17:44:39 +0100 (CET) Date: Sat, 21 Jan 2017 17:44:35 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: u-boot ports for Zedboard and Zybo Message-Id: <20170121174435.ba716a9c63950c6f93594059@getmail.no> In-Reply-To: <9717A58A-5AB4-46D6-840A-93406FFF7568@yahoo.com> References: <640059E8-B9DD-4289-BA59-2E02A4D91F87@yahoo.com> <20170116173329.GH13006@home.opsec.eu> <58C09F42-D34B-4B84-A894-7147613214B9@yahoo.com> <25A1C780-3BC1-4745-9DBD-D2716E6ED7D2@yahoo.com> <20170118204406.b69949d20797d539138b8d5f@getmail.no> <9717A58A-5AB4-46D6-840A-93406FFF7568@yahoo.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2017 16:44:48 -0000 On Wed, 18 Jan 2017 12:47:26 -0800 Thomas Skibo wrote: >=20 > But, I have been working to get crochet to build a Parallella image (my c= hanges so far are at http://www.github.com/skibo/crochet-freebsd) and so I = took an SD image I created and compressed and uploaded it > to my site (there are no links to it yet): >=20 > http://www.skibo.net/zedbsd/FreeBSD-armv6-11.0-PARALLELLA-309692.img.bz2 >=20 > It doesn?t have a bitstream file so you need to copy your board-specific = parallella.bit.bin to the boot partition. But, it might boot up without th= e FPGA loaded (I don?t know). It would help a lot if you tried it out. It might not be recommended (as I understand it, power management (or parts= of it) is handled when the FPGA is set up), it might run hot (hotter than = usual?). Anyway, I tried it without the FPGA bitstream on the boot partition. U-boot= complains: Hit any key to stop autoboot: 0=20 Configuring PL and Booting Linux... Device: SDHCI Manufacturer ID: 41 OEM: 3432 Name: SD8GB=20 Tran Speed: 50000000 Rd Block Len: 512 SD version 2.0 High Capacity: Yes Capacity: 7.4 GiB Bus Width: 4-bit reading parallella.bit.bin ** Unable to read "parallella.bit.bin" from mmc 0:1 ** Error: Timeout waiting for FPGA to config. fpga - loadable FPGA image support Usage: fpga [operation type] [device number] [image address] [image size] fpga operations: dump [dev] Load device to memory buffer info [dev] list known device information load [dev] [address] [size] Load device from memory buffer loadb [dev] [address] [size] Load device from bitstream buffer (Xilinx on= ly) loadmk [dev] [address] Load device generated with mkimage For loadmk operating on FIT format uImage address must include subimage unit name in the form of addr: reading uImage 8170816 bytes read reading devicetree.dtb 4430 bytes read ## Booting kernel from Legacy Image at 03000000 ... but it boots: Starting sshd. Starting background file system checks in 60 seconds. mount: /dev/mmcsd0s2a: Device busy Sat Jan 21 16:27:13 UTC 2017 FreeBSD/arm (parallella) (ttyu0) login: root FreeBSD 11.0-RELEASE-p5 (PARALLELLA) #0 r309692: Sun Jan 15 18:07:24 PST 20= 17 Welcome to FreeBSD! Full serial console output is on my Parallella FreeBSD page[1]. Do you want me to run more tests before I put the FPGA bitstream onto the b= oot partition? References: 1) https://sites.google.com/site/tingox/ks_parallella_freebsd --=20 Torfinn Ingolfsen From owner-freebsd-arm@freebsd.org Sat Jan 21 17:58:18 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 925C0CBB4A5 for ; Sat, 21 Jan 2017 17:58:18 +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 3098D35B for ; Sat, 21 Jan 2017 17:58:17 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 2e7f14b9-e003-11e6-9357-bffcd86bd944 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id 2e7f14b9-e003-11e6-9357-bffcd86bd944; Sat, 21 Jan 2017 17:58:16 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v0LHw5dY006769; Sat, 21 Jan 2017 10:58:05 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1485021485.34897.185.camel@freebsd.org> Subject: Re: how to measure microsd wear From: Ian Lepore To: tech-lists , freebsd-arm@freebsd.org Date: Sat, 21 Jan 2017 10:58:05 -0700 In-Reply-To: <16821b7c-e300-97fc-36e5-a508b22c21b8@zyxst.net> References: <16821b7c-e300-97fc-36e5-a508b22c21b8@zyxst.net> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2017 17:58:18 -0000 On Sat, 2017-01-21 at 15:46 +0000, tech-lists wrote: > Hello list, > > How would one measure microsd wear? Is there a utility like > smartmontools (I think this only works for regular hard drives) but > for > microsd? > > many thanks, There is basically no way to see what's going on in the flash array of an sdcard.  The microcontrollers in modern sd cards have complex wear- leveling algorithms which are completely transparent to the outside world. On the plus side, most of what you see in the way of warnings and scare stories about wearing out sd cards is pure BS.  I've got systems here that have been running for literally years on the same sdcard, and that card is being used for swap, and routine data storage like syslog (on an embedded system that logs status and progress pretty much continuously 24x7 for years).  I've seen a few sd cards die over the years, but I've never been able to say it was because of how much was written to them (indeed, the dead ones I've got weren't in service long before they died). -- Ian From owner-freebsd-arm@freebsd.org Sat Jan 21 18:18:43 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30BC5CBBC1D for ; Sat, 21 Jan 2017 18:18:43 +0000 (UTC) (envelope-from karl@denninger.net) Received: from mail.denninger.net (denninger.net [70.169.168.7]) by mx1.freebsd.org (Postfix) with ESMTP id DE872FC9 for ; Sat, 21 Jan 2017 18:18:42 +0000 (UTC) (envelope-from karl@denninger.net) Received: from [192.168.1.40] (Karl-Desktop.Denninger.net [192.168.1.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.denninger.net (Postfix) with ESMTPSA id 22634137A0 for ; Sat, 21 Jan 2017 12:12:20 -0600 (CST) Subject: Re: how to measure microsd wear To: freebsd-arm@freebsd.org References: <16821b7c-e300-97fc-36e5-a508b22c21b8@zyxst.net> <1485021485.34897.185.camel@freebsd.org> From: Karl Denninger Message-ID: <1d757b3b-67d2-b29b-ba01-89b462b0019f@denninger.net> Date: Sat, 21 Jan 2017 12:12:17 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <1485021485.34897.185.camel@freebsd.org> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms060108050507040608090809" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2017 18:18:43 -0000 This is a cryptographically signed message in MIME format. --------------ms060108050507040608090809 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 1/21/2017 11:58, Ian Lepore wrote: > On Sat, 2017-01-21 at 15:46 +0000, tech-lists wrote: >> Hello list, >> >> How would one measure microsd wear? Is there a utility like >> smartmontools (I think this only works for regular hard drives) but >> for >> microsd? >> >> many thanks, > There is basically no way to see what's going on in the flash array of > an sdcard. The microcontrollers in modern sd cards have complex wear- > leveling algorithms which are completely transparent to the outside > world. This is true. > On the plus side, most of what you see in the way of warnings and scare= > stories about wearing out sd cards is pure BS. I've got systems here > that have been running for literally years on the same sdcard, and that= > card is being used for swap, and routine data storage like syslog (on > an embedded system that logs status and progress pretty much > continuously 24x7 for years). I've seen a few sd cards die over the > years, but I've never been able to say it was because of how much was > written to them (indeed, the dead ones I've got weren't in service long= > before they died). > This, however, is total nonsense. I've had multiple SD card failures in build/test/high-volume write environments on the PI2 series over the last year and change. There are two general ways in which you will see failures: 1. The card write-locks itself. This is a defensive move by the controller when it determines that it cannot reallocate a failed block during a write (e.g. it's out of spares) OR it takes an unrecoverable read error. 2. The card loses its allocation map (in which case you're completely screwed; it will show up as zero size if you manage to get it mounted somewhere.) If you get a type 1 failure you can copy everything on the card off; provided you do not attempt to write it, you will not get errors. Prior to a fairly recent MFC if you had soft-updates on and took a Type 1 failure you'd get an instant panic; this has been (I believe entirely) fixed. In the event you get a Type 2 failure there's nothing you can do. In both cases the card is junk if it happens. --=20 Karl Denninger karl@denninger.net /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms060108050507040608090809 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC BlwwggZYMIIEQKADAgECAgE9MA0GCSqGSIb3DQEBCwUAMIGQMQswCQYDVQQGEwJVUzEQMA4G A1UECBMHRmxvcmlkYTESMBAGA1UEBxMJTmljZXZpbGxlMRkwFwYDVQQKExBDdWRhIFN5c3Rl bXMgTExDMRwwGgYDVQQDExNDdWRhIFN5c3RlbXMgTExDIENBMSIwIAYJKoZIhvcNAQkBFhND dWRhIFN5c3RlbXMgTExDIENBMB4XDTE2MTIxODE5NDUzNVoXDTIxMTIxNzE5NDUzNVowVzEL MAkGA1UEBhMCVVMxEDAOBgNVBAgTB0Zsb3JpZGExGTAXBgNVBAoTEEN1ZGEgU3lzdGVtcyBM TEMxGzAZBgNVBAMUEmthcmxAZGVubmluZ2VyLm5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ec z5jkE5Gc4cIFU/Kf7keWMiyXvTHATP3FKSzLu06MS+Qf8ZbLC6vhkJV24+rlPEhMCFfEFrmm 8G01koSOJCcYMfEAxBe7/2DZy1BXn6zM5zLs+AgxZJTbcpmGHbsxq0afvNr5jzJvMzuQzGK+ QUrVirY4XI5hoJ+aSy8gV7qw3m6CL3f/U3qIPLOhxqkmRNWvCt7XZ/ESz6akiZ4QvC7b+YRW 7lpSc/Sg0miic5MRM4W3rgBCvcXyJmP1vIbgers5jwTprystrKrRAiotvUP1uuthrs4rtNJA 3R9ee4hsbYGAgyB13JZeR+sAAAAAAAA= --------------ms060108050507040608090809-- From owner-freebsd-arm@freebsd.org Sat Jan 21 19:11:54 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75981CBB214 for ; Sat, 21 Jan 2017 19:11:54 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (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 5B2CF1E4A for ; Sat, 21 Jan 2017 19:11:53 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 8950872a-e00d-11e6-8c89-112185c90658 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.ore.mailhop.org (Halon) with ESMTPSA id 8950872a-e00d-11e6-8c89-112185c90658; Sat, 21 Jan 2017 19:12:22 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v0LJBp10006941; Sat, 21 Jan 2017 12:11:51 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1485025911.34897.199.camel@freebsd.org> Subject: Re: how to measure microsd wear From: Ian Lepore To: Karl Denninger , freebsd-arm@freebsd.org Date: Sat, 21 Jan 2017 12:11:51 -0700 In-Reply-To: <1d757b3b-67d2-b29b-ba01-89b462b0019f@denninger.net> References: <16821b7c-e300-97fc-36e5-a508b22c21b8@zyxst.net> <1485021485.34897.185.camel@freebsd.org> <1d757b3b-67d2-b29b-ba01-89b462b0019f@denninger.net> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2017 19:11:54 -0000 On Sat, 2017-01-21 at 12:12 -0600, Karl Denninger wrote: > On 1/21/2017 11:58, Ian Lepore wrote: > > > > On Sat, 2017-01-21 at 15:46 +0000, tech-lists wrote: > > > > > > Hello list, > > > > > > How would one measure microsd wear? Is there a utility like > > > smartmontools (I think this only works for regular hard drives) > > > but > > > for > > > microsd? > > > > > > many thanks, > > There is basically no way to see what's going on in the flash array > > of > > an sdcard.  The microcontrollers in modern sd cards have complex > > wear- > > leveling algorithms which are completely transparent to the outside > > world. > This is true. > > > > On the plus side, most of what you see in the way of warnings and > > scare > > stories about wearing out sd cards is pure BS.  I've got systems > > here > > that have been running for literally years on the same sdcard, and > > that > > card is being used for swap, and routine data storage like syslog > > (on > > an embedded system that logs status and progress pretty much > > continuously 24x7 for years).  I've seen a few sd cards die over > > the > > years, but I've never been able to say it was because of how much > > was > > written to them (indeed, the dead ones I've got weren't in service > > long > > before they died). > > > This, however, is total nonsense. > Well, no, it's not total nonsense, it's my 10 years of experience professionally working with sd cards in embedded systems sold as commericial products, including extensive testing of the card trying to *induce* failure. Next time think twice before implying I'm either a fool or a liar. I'm not even going to read the rest of the crap you wrote, since it's completely invalidated by the stupid thing you said above. -- Ian > I've had multiple SD card failures in build/test/high-volume write > environments on the PI2 series over the last year and change.  There > are > two general ways in which you will see failures: > > 1. The card write-locks itself. This is a defensive move by the > controller when it determines that it cannot reallocate a failed > block > during a write (e.g. it's out of spares) OR it takes an unrecoverable > read error. > > 2. The card loses its allocation map (in which case you're completely > screwed; it will show up as zero size if you manage to get it mounted > somewhere.) > > If you get a type 1 failure you can copy everything on the card off; > provided you do not attempt to write it, you will not get > errors.  Prior > to a fairly recent MFC if you had soft-updates on and took a Type 1 > failure you'd get an instant panic; this has been (I believe > entirely) > fixed. > > In the event you get a Type 2 failure there's nothing you can do.  In > both cases the card is junk if it happens. > From owner-freebsd-arm@freebsd.org Sat Jan 21 19:11:10 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77133CBBFC0 for ; Sat, 21 Jan 2017 19:11:10 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from bouvier.getmail.no (bouvier.getmail.no [84.210.184.8]) by mx1.freebsd.org (Postfix) with ESMTP id 227A31A65 for ; Sat, 21 Jan 2017 19:11:09 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 7595B424C9 for ; Sat, 21 Jan 2017 20:11:06 +0100 (CET) Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id d-6_0XcrVthB for ; Sat, 21 Jan 2017 20:11:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by bouvier.getmail.no (Postfix) with ESMTP id 466AE45962 for ; Sat, 21 Jan 2017 20:11:05 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.9.2 bouvier.getmail.no 466AE45962 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1485025865; bh=UE4DvrAdOx4TyBaRrcSy2rGg5yRdaeCd/ehSQIScD6M=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=XskN18amEyndR0/oFge4DmktMScfYh9rUSahnasQVkR7k1lV/zBJOQAQy7H9S0uei WOtllxZAP+NrPTf8RPIIFhyTF4DBaqKXfkt1bBxR9BuYLDP0LhXK+kXLWwoQz/NY86 eUgi5BqpkDUmFRQEub8Ue2ooL2Xe4q8YP9j5wb6A= X-Virus-Scanned: amavisd-new at bouvier.get.c.bitbit.net Received: from bouvier.getmail.no ([127.0.0.1]) by localhost (bouvier.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2Zq9aL1jKm0p for ; Sat, 21 Jan 2017 20:11:05 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.209.39.108.getinternet.no [84.209.39.108]) by bouvier.getmail.no (Postfix) with ESMTPSA id 118D9424C9 for ; Sat, 21 Jan 2017 20:11:05 +0100 (CET) Date: Sat, 21 Jan 2017 20:11:04 +0100 From: Torfinn Ingolfsen To: freebsd-arm@FreeBSD.org Subject: Re: how to measure microsd wear Message-Id: <20170121201104.8e7084e0db159771d2f88402@getmail.no> In-Reply-To: <1d757b3b-67d2-b29b-ba01-89b462b0019f@denninger.net> References: <16821b7c-e300-97fc-36e5-a508b22c21b8@zyxst.net> <1485021485.34897.185.camel@freebsd.org> <1d757b3b-67d2-b29b-ba01-89b462b0019f@denninger.net> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd10.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2017 19:11:10 -0000 On Sat, 21 Jan 2017 12:12:17 -0600 Karl Denninger wrote: > On 1/21/2017 11:58, Ian Lepore wrote: > > On the plus side, most of what you see in the way of warnings and scare > > stories about wearing out sd cards is pure BS. I've got systems here > > that have been running for literally years on the same sdcard, and that > > card is being used for swap, and routine data storage like syslog (on > > an embedded system that logs status and progress pretty much > > continuously 24x7 for years). I've seen a few sd cards die over the > > years, but I've never been able to say it was because of how much was > > written to them (indeed, the dead ones I've got weren't in service long > > before they died). > > > This, however, is total nonsense. To be fair, except for the first sentence, it is Ian's experience. Just because his experience is different from your own doesn't mean that either of them are wrong. Just different. -- Torfinn Ingolfsen From owner-freebsd-arm@freebsd.org Sat Jan 21 23:40:15 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A5E13CBBEA9 for ; Sat, 21 Jan 2017 23:40:15 +0000 (UTC) (envelope-from karl@denninger.net) Received: from mail.denninger.net (denninger.net [70.169.168.7]) by mx1.freebsd.org (Postfix) with ESMTP id 66F8FCE8 for ; Sat, 21 Jan 2017 23:40:14 +0000 (UTC) (envelope-from karl@denninger.net) Received: from [192.168.1.40] (Karl-Desktop.Denninger.net [192.168.1.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.denninger.net (Postfix) with ESMTPSA id E52A813790 for ; Sat, 21 Jan 2017 17:40:13 -0600 (CST) Subject: Re: how to measure microsd wear To: freebsd-arm@freebsd.org References: <16821b7c-e300-97fc-36e5-a508b22c21b8@zyxst.net> <1485021485.34897.185.camel@freebsd.org> <1d757b3b-67d2-b29b-ba01-89b462b0019f@denninger.net> <1485025911.34897.199.camel@freebsd.org> From: Karl Denninger Message-ID: <7bb4a12d-9b5a-2a81-1ce4-5290e2639a9b@denninger.net> Date: Sat, 21 Jan 2017 17:40:10 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <1485025911.34897.199.camel@freebsd.org> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms000109000402020503060009" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2017 23:40:15 -0000 This is a cryptographically signed message in MIME format. --------------ms000109000402020503060009 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 1/21/2017 13:11, Ian Lepore wrote: > On Sat, 2017-01-21 at 12:12 -0600, Karl Denninger wrote: >> On 1/21/2017 11:58, Ian Lepore wrote: >>> On Sat, 2017-01-21 at 15:46 +0000, tech-lists wrote: >>>> Hello list, >>>> >>>> How would one measure microsd wear? Is there a utility like >>>> smartmontools (I think this only works for regular hard drives) >>>> but >>>> for >>>> microsd? >>>> >>>> many thanks, >>> There is basically no way to see what's going on in the flash array >>> of >>> an sdcard. The microcontrollers in modern sd cards have complex >>> wear- >>> leveling algorithms which are completely transparent to the outside >>> world. >> This is true. >>> On the plus side, most of what you see in the way of warnings and >>> scare >>> stories about wearing out sd cards is pure BS. I've got systems >>> here >>> that have been running for literally years on the same sdcard, and >>> that >>> card is being used for swap, and routine data storage like syslog >>> (on >>> an embedded system that logs status and progress pretty much >>> continuously 24x7 for years). I've seen a few sd cards die over >>> the >>> years, but I've never been able to say it was because of how much >>> was >>> written to them (indeed, the dead ones I've got weren't in service >>> long >>> before they died). >>> >> This, however, is total nonsense. >> > Well, no, it's not total nonsense, it's my 10 years of experience > professionally working with sd cards in embedded systems sold as > commericial products, including extensive testing of the card trying to= > *induce* failure. > > Next time think twice before implying I'm either a fool or a liar. I didn't say you're a fool or a liar, I said you're *wrong* with the statement that SD cards don't fail in this application -- specifically microSD cards on embedded machines such as the RPI series running FreeBSD, along with the implication was that the only failures you will see are infant-mortality related. In fact I just had a failure *today* on a production RPI2. While trying to re-copy the filesystem back to it (after it failed, plugged into a different box to check it out) I got the usual behavior: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 1c 4f 40 00 00 80 00 (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error (da0:umass-sim0:0:0:0): Retrying command The writing process is frozen because the card has write-locked itself.=20 I confirmed this by attempting to fsck the card after detaching and reattaching it, and as soon as fsck attempted to write to it another error was taken; it's effectively write-locked. I can mount it read-only and read it, but cannot write to it. Another one goes into the bin, and a new card comes out to be set up with said filesystem. In fact I'm doing that right now while typing this= =2E This card was roughly a year old in production use, and gets a fair bit of write activity -- but not a crazy amount by any means. Your mileage may vary, but this is what I've repeatedly seen in behavior by these cards when they go bad -- and this one is not a low-hour failure either, nor is it an off-brand -- it's a Sandisk Ultra 32Gb and the machine has roughly a year of 24x7x365 uptime on it.=20 Sandisk will replace them on request but they most-definitely do occasionally fail. I've started using Samsung EVO cards and I've yet to have any of those crap out, but none of them have more than six months of uptime on them at this point and the failures are rare enough that until I get a couple of years on the EVOs without a failure I can't reasonably say they're superior in this regard. This is the first one that I've had happen in this particular use case and I was surprised by it because of what that machine does. The other two were both much more write-heavy applications, one of them a development unit on my desk that gets a lot of compile activity on it. > I'm not even going to read the rest of the crap you wrote, since it's > completely invalidated by the stupid thing you said above. > > -- Ian > > >> I've had multiple SD card failures in build/test/high-volume write >> environments on the PI2 series over the last year and change. There >> are >> two general ways in which you will see failures: >> >> 1. The card write-locks itself. This is a defensive move by the >> controller when it determines that it cannot reallocate a failed >> block >> during a write (e.g. it's out of spares) OR it takes an unrecoverable >> read error. >> >> 2. The card loses its allocation map (in which case you're completely >> screwed; it will show up as zero size if you manage to get it mounted >> somewhere.) >> >> If you get a type 1 failure you can copy everything on the card off; >> provided you do not attempt to write it, you will not get >> errors. Prior >> to a fairly recent MFC if you had soft-updates on and took a Type 1 >> failure you'd get an instant panic; this has been (I believe >> entirely) >> fixed. >> >> In the event you get a Type 2 failure there's nothing you can do. In >> both cases the card is junk if it happens. >> >> --=20 Karl Denninger karl@denninger.net /The Market Ticker/ /[S/MIME encrypted email preferred]/ --------------ms000109000402020503060009 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC BlwwggZYMIIEQKADAgECAgE9MA0GCSqGSIb3DQEBCwUAMIGQMQswCQYDVQQGEwJVUzEQMA4G A1UECBMHRmxvcmlkYTESMBAGA1UEBxMJTmljZXZpbGxlMRkwFwYDVQQKExBDdWRhIFN5c3Rl bXMgTExDMRwwGgYDVQQDExNDdWRhIFN5c3RlbXMgTExDIENBMSIwIAYJKoZIhvcNAQkBFhND dWRhIFN5c3RlbXMgTExDIENBMB4XDTE2MTIxODE5NDUzNVoXDTIxMTIxNzE5NDUzNVowVzEL MAkGA1UEBhMCVVMxEDAOBgNVBAgTB0Zsb3JpZGExGTAXBgNVBAoTEEN1ZGEgU3lzdGVtcyBM TEMxGzAZBgNVBAMUEmthcmxAZGVubmluZ2VyLm5ldDCCAiIwDQYJKoZIhvcNAQEBBQADggIP ADCCAgoCggIBAM2N5maxs7NkoY9g5NMxFWll0TYiO7gXrGZTo3q25ZJgNdPMwrntLz/5ewE9 07TEbwJ3ah/Ep9BfZm7JF9vTtE1HkgKtXNKi0pawNGm1Yn26Dz5AbUr1byby6dFtDJr14E07 trzDCtRRvTkOVSBj6PQPal0fAnDtkIYQBVcuMkXkuMCtyfE95pjm8g4K9l7lAcK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