From owner-freebsd-arm@freebsd.org Sat Jul 16 00:13:21 2016 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 87D3DB9AA81 for ; Sat, 16 Jul 2016 00:13:21 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::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 4E6DC1F37 for ; Sat, 16 Jul 2016 00:13:21 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-it0-x236.google.com with SMTP id f6so31957847ith.0 for ; Fri, 15 Jul 2016 17:13:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:content-transfer-encoding:message-id:date:subject:from :in-reply-to:references:to; bh=nsB2YkFMHZomOCWV6GECuJQWdTZo9CnzMz+Q5BiO9xc=; b=G+AhbdfA7wx1Iax3N/cIu9rVNzmBjmLDeP/l727cJwiYvZsxu6hwqmNsPHsy5tt2Vg 7v/4E9K2klWA5JBclbPZxRstMbBzIjIuLE9LrUPw6htpgVh+UX/w/rx7J63+JUclW6RB /1bj8smrkvIEwTdbBVJZSFAKGyiNpZdywLQ6u651I35qkkSsNBa18BuHA+Ca6vDNiPKc js/Vy81jGHMVILj/jffFc6yOuHbqa926n8wNJkx+kJwfb5vbd8+BLxY+99UscqhWPCGk LnU5bFKYCPKAHfA9Os0dWfPkmIw9ulOUjYKMSec/hyNbEhMdbeLe/SsyrEfxh61Qm5kU 4hdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:content-transfer-encoding :message-id:date:subject:from:in-reply-to:references:to; bh=nsB2YkFMHZomOCWV6GECuJQWdTZo9CnzMz+Q5BiO9xc=; b=htNVbESdQsy4eB3pSPlubS5oPnuR2NZCEWecxLd7tGoJosl2asJJK1LfwO9bc1A1Zl R5RDO314v/QRZte7+xkjMSU+450EHK0lUurkAOXe0yWOn8mjyEyhoRbMaETdUHrRspvD YcywNxOcabZI8Ep2qj//hgNfUr5oQk6Mhx5HWeeFPunV58j7+/EqAo8+nRX14jWpDkvk mIwPWcbAPjygep5NAEmZ5+OaFG1pvHlKHwfhejomvLkUf3eNP913MkcNV0XO2HrR57z0 8Z0v06G3UdLBqL2d7i5tqdTt3XHGwtFlDby7sorSJY8Hfp5+ARqvN+lpAQVo7RNqFQRc DeYA== X-Gm-Message-State: ALyK8tIKYYRtc3GScsILt9G8UgT1slzhH542XLG4eH9svcuyaZoQ8sIttbDLqg5Po7YlUQ== X-Received: by 10.36.69.205 with SMTP id c74mr38930732itd.47.1468628000485; Fri, 15 Jul 2016 17:13:20 -0700 (PDT) Received: from [127.0.0.1] ([207.228.78.53]) by smtp.gmail.com with ESMTPSA id h99sm4322936iod.9.2016.07.15.17.13.19 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Jul 2016 17:13:19 -0700 (PDT) Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: BlackBerry Email (10.3.2.2876) Message-ID: <20160716001319.4743251.19447.8559@gmail.com> Date: Fri, 15 Jul 2016 17:13:19 -0700 Subject: Fw: Bizarre clone attempt failures on Raspberry Pi2... From: Russell Haley In-Reply-To: References: <20160715214752.1E399406063@ip-64-139-1-69.sjc.megapath.net> To: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2016 00:13:21 -0000 Sorry, did Cc everyone... Sent=A0from=A0my=A0BlackBerry=A010=A0smartphone=A0on=A0the=A0Koodo=A0networ= k. =A0 Original Message =A0 From: Russell Haley Sent: Friday, July 15, 2016 3:13 PM To: Hal Murray Subject: Re: Bizarre clone attempt failures on Raspberry Pi2... On Fri, Jul 15, 2016 at 2:47 PM, Hal Murray wrote: > > russ.haley@gmail.com said: >> Isn't putting an non-functioning embedded system on a serial console to >> debug standard procedure with ALL operating systems? > > My two cents... > > I have several Pi-s and I didn't use the serial port to get any of them g= oing. That's because you didn't have any boot issues. Debian, BuildRoot, FreeBSD, and even MINIX 3 on Freescale iMX53, Freescale iMX6 and Begal Bone Black will all halt if there is an error in the boot process and force you to go to a serial console (Raspian has a video out I think). The first question from a hardware engineer working on a board/BSP will be, "What do you get in the serial console"? > I think the answer to your question probably depends on the maturity of t= he > system and the hardware available. If a system supports a keyboard and > display, that's what I would try first since I usually have one handy. I > have a 4 port KVM box. The 4th port moves to the current project as neede= d. > I have adapters handy so it connects to almost anything... After I get the > network going, I just ssh in. (after a while, the KVM cable moves on to t= he > next project) > > I think work to get early console output on the display and input from the > keyboard will be an important step in making a user-friendly environment. I'm not saying otherwise. I am saying in my experience that video output is probably not the expected outcome for the majority of developers working in embedded systems. Yes, that would be great but few systems will actually have a video out. Is it so important to support this use case in the RPi? I can't answer that. But what I can say is when I have asked questions like "why am I not getting any output?" or "why isn't my board booting?" the answer invariably has been: "Have you checked your serial output"? These answers have been from here on this mailing list, and from live hardware engineers. Cheers! Russ > I have the hardware gizmo for a serial console on the Pi. I'd get it out = to > debug something if the documentation (or email) clearly stated that was t= he > right approach. I probably wouldn't think to try it without a reminder. > I've don't plenty of low-level debugging. The serial port just wouldn't > occur to me when working on a system that supports a keyboard and display. > > > -- > These are my opinions. I hate spam.