From owner-freebsd-arm@freebsd.org Tue Aug 15 09:57: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 E2AA8DC8BC0 for ; Tue, 15 Aug 2017 09:57:43 +0000 (UTC) (envelope-from sanpei.ml@gmail.com) Received: from mail-pg0-x22c.google.com (mail-pg0-x22c.google.com [IPv6:2607:f8b0:400e:c05::22c]) (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 B3C0A68369 for ; Tue, 15 Aug 2017 09:57:43 +0000 (UTC) (envelope-from sanpei.ml@gmail.com) Received: by mail-pg0-x22c.google.com with SMTP id l64so3134066pge.5 for ; Tue, 15 Aug 2017 02:57:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=bDQmtSEXrBCxwYmLNIE/8C9aQX+c4vy+FEUoI9xK8Lw=; b=jweBxpAGab85Fu/vvTQDKTUXiVs1zST/6OevNWoyc92KzLQflaomDjG5uTu5P6xBt7 zt2jBo5pGn27q5Nn2z7LM5IHrJMCo8DwgodvuBRdKukcSP7rx3UvGuVAdKEoW0ubqznu AsN1jiB57yx0zURLiZaibwDT7f2Fbx4S1lEjaGgMTvo15ZxmhlgiLYez6aORllDZHDB4 pFZ6zXZhLZQyO0tfey/ej9HLkUeqAzj3ny5clbiBHq1mxAiM0JNHC3LqaQQ0Ulwiw5gT Un177smK3BXg4oNqAgOw2l0xmKQM40Iwe39LdeX5NxiL6pCz/epkavcjvpvj64wvhuFB 7pLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=bDQmtSEXrBCxwYmLNIE/8C9aQX+c4vy+FEUoI9xK8Lw=; b=IylEjXexmyq71tigQPMgnZ9nquGjlnBtVGfiWvf8pTUOIjpLvPhmYaIKl0ODKqU8kj zYGZ19VTU5koSEIugyGRQsrmkZOLlA/2kTiAi+jUi5iJYzrMKBuKb+BCzvT5ZzN9DSmo fPUys3EpTPWpDtrABoS6WJWp40YEzQP316FCBKngqGcHcFDNvwx+I+m0EJ4QWQkJyTDN mHeXQKAAyBscCrDGZXOKB+Gq7QfOjr8T7ON2woV8JOjniaRyujy+sEsBpb4RzI5RtHwE RFv+KjiBMm1mv63AfN67D7C6fSOO+bquxQCXESDnCFNc0isV2TYn9xz+pBIlIp4jqk1e VFeQ== X-Gm-Message-State: AHYfb5ikbnw6A354A7nE6bGgMFZKSJ5G487B7MhvJ1w5D6meZb4JHBSi LJMXYNKCv81/qWCgcxxPbu+NLPwXrg== X-Received: by 10.99.146.67 with SMTP id s3mr26385470pgn.130.1502791063300; Tue, 15 Aug 2017 02:57:43 -0700 (PDT) MIME-Version: 1.0 References: <26c67e40-8b90-57f1-de32-e60d1cffe1b9@passap.ru> In-Reply-To: <26c67e40-8b90-57f1-de32-e60d1cffe1b9@passap.ru> From: Yoshiro MIHIRA Date: Tue, 15 Aug 2017 09:57:32 +0000 Message-ID: Subject: Re: boot.ini file for Odroid-C1 on FreeBSD wiki page To: Boris Samorodov , freebsd-arm@freebsd.org 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, 15 Aug 2017 09:57:44 -0000 Hi. Currently I could not test something with ODROID-C1(because I use it as my parent's home VPN router). 1. add boot.ini and fix gpart block size I updated wiki page https://wiki.freebsd.org/action/diff/FreeBSD/arm/Odroid-C1?action=3Ddiff&re= v1=3D9&rev2=3D10 2. growfs I think growfs command is for freebsd partition(mmcsd0s2). So growfs /dev/mmcsd0s2? 3. serial console is need to boot or not? Next September I will try to boot ODROID-C1 without serial console cable, if I have a time. 2017=E5=B9=B48=E6=9C=887=E6=97=A5(=E6=9C=88) 6:19 Boris Samorodov : > 04.08.2017 09:15, Yoshiro MIHIRA =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > > I will add boot.ini information to FreeBSD wiki page(1), if no one repl= y > my > > email until 10/Aug. > > That will be great. > > I have some more questions/fixes to "Steps to prepare SD card". > > 1. There are two commands: > --- > gpart add -t fat16 -b 1134 -s 64M mmcsd0 > gpart add -t freebsd -b 132174 mmcsd0 > --- > > I doubt the second command is precise. 64M is 131072 blocks, > 131072 + 1134 =3D 132206. > > If I use those commands I get the error after the second one: > --- > gpart: autofill: No space left on device > --- > > The value 132206 has a success. So the second command should be: > --- > gpart add -t freebsd -b 132206 mmcsd0 > --- > > 2. Since we prepare the final disk, I'd add a growfs command at the > end of those steps: > --- > growfs /dev/mmcsd0 > --- > > HTH & WBR > -- > bsam > _______________________________________________ > 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"