From owner-freebsd-arm@freebsd.org Sat Apr 27 08:44:44 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48CF8158A15D for ; Sat, 27 Apr 2019 08:44:44 +0000 (UTC) (envelope-from balanga.bar@gmail.com) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D615F755C1; Sat, 27 Apr 2019 08:44:42 +0000 (UTC) (envelope-from balanga.bar@gmail.com) Received: by mail-ed1-x529.google.com with SMTP id d46so5060417eda.7; Sat, 27 Apr 2019 01:44:42 -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 :cc; bh=Yg0gGv6WumZLnkc1nKWQqFzpSI1UjVt2phjnB8N1znw=; b=ijlc7PZPo6o01xPsjJFPaaKCijdSEnGzVm6MmMtxwrkNev9CS5TbVDDnND50A4BTGY p7/+2o86dAryNtUjei/PeseYIuCP5MorrfYEeXCX6ssOCczG0cd0wImnDe2CKv5C6ITu Z8H22DV7l5VWKhA7ovJjvP3HDQ9DYMFuBWF8ROyLUsHY7yd9RPIXam1ZQ7YK4ka2Ic4e 0fVTRs6UDzc1fBpIWuORGbLZQa+6lXIeV5MRuIyz7Cu0w/zsasoD09AEBONyAUY9Y7Al 3RvyEu7yqzXymh3U+qK8B/pcxrk2XKsYmSfNGJjP87co9si6zymsxBrvGjnAflZ4Nnf/ 1nAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Yg0gGv6WumZLnkc1nKWQqFzpSI1UjVt2phjnB8N1znw=; b=M0Pv7E70KnYOQiWq6yI/dPylZrmDjSY4MjIE4RsvXury4diqrRWCuS62tHNfAIFrbD AEkyFQReOpWurrFMHMRKcElfInsmhIlHOYmbaEUvs0OWKKpjrvyR2E/P9MxiTeFaro1T O+4JQ8MKJHAsgN9nUXLD4Xq4Efsodi4EmU1uRPeEifiMlkmNpntvj6fafWKsdsMwCaQ2 wXUTAlzQtoU6Mr2V8CjQKz98rhQp94GWqVOCOQL9WnYZabOOlEgVZDO37d9QLH75ndVS mjegRa5zuPpocoy/3mhw0LgonpkeFn1cSA3/ezYTVKvJgYKHBhCTX/CqI03Vb6mtcNMw 4HpQ== X-Gm-Message-State: APjAAAWTezwubUZbK486OhwNk3iW3uJx5GlIXVBkd8FEdW2Jh3aEIEFw hPnaJk+wtPsquh5p0OTBVLjosAE1qEPeH38rvAOyuL1F X-Google-Smtp-Source: APXvYqx3L8vytJPYczHAvLOsS/dKqWNGWxoYilYqUUvYZnDdgH2AFLnJTnIz5FUAmv6OXj0Jo+1ttCFq0q0G72cBaZ4= X-Received: by 2002:a17:906:b309:: with SMTP id n9mr24234784ejz.210.1556354681524; Sat, 27 Apr 2019 01:44:41 -0700 (PDT) MIME-Version: 1.0 References: <693425711bdc5e7fbff22bb4056c33326fca8c4d.camel@freebsd.org> <7a36b81cb2c29293296bac9ae1764f0091281408.camel@freebsd.org> <20190423075411.GA18137@lonesome.com> <20190423165731.GB10587@lonesome.com> <1995497096.1.1556098457731@localhost> In-Reply-To: From: Balanga Bar Date: Sat, 27 Apr 2019 10:44:20 +0100 Message-ID: Subject: Re: Marvell Kirkwood - anyone? To: Ronald Klop Cc: Ian Lepore , Mark Linimon , freebsd-arm@freebsd.org X-Rspamd-Queue-Id: D615F755C1 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ijlc7PZP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of balangabar@gmail.com designates 2a00:1450:4864:20::529 as permitted sender) smtp.mailfrom=balangabar@gmail.com X-Spamd-Result: default: False [-4.50 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[5]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.71)[-0.714,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE(-2.77)[ip: (-9.22), ipnet: 2a00:1450::/32(-2.32), asn: 15169(-2.27), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[9.2.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Apr 2019 08:44:44 -0000 Didn't you need to include '-DWITH_FDT' ? As for 'unable to build'... I would run make in a directory under /usr/ports and there would be no response. The system would just hang. I have now managed to install 11.1 which seems fairly stable and have built a few pkgs, although building them takes several hours. It would be much better if I was able to build them under amd64, but haven't found a way of doing that yet On Thu, Apr 25, 2019 at 3:01 PM Ronald Klop wrote: > On Thu, 25 Apr 2019 11:15:05 +0200, Balanga Bar > wrote: > > It's nice to know that someone has 11.2 working on armv5. Could you let me > know how you built it? > > > > I cross-compiled on amd64. > cd /usr/src (containing the 11.2 sources of course) > export TARGET_ARCH=arm > export KERNCONF=SHEEVAPLUG > export DESTDIR=/mnt/usbdisk (here the usb stick is mounted) > make buildworld > make buildkernel > cp /usr/obj/arm.arm/usr/src/sys/SHEEVAPLUG/kernel.bin $DESTDIR/boot/msdos/ > make installworld > make distribution > > From the top of my head, so I might have missed something. > > > > I installed portsnap under 11.0 but was unable to build anything - will > try again with 11.2 to see if I can iron out the problems I've had as I now > know someone has it working. > > > "Unable to build" is not very specific. It helps if you copy paste the > actual error message. > > Ronald. > > > > On Wed, Apr 24, 2019 at 10:34 AM Ronald Klop wrote: > >> Dear Balanga, >> >> I run 11.2 on my Sheevaplug (armv5 also). >> >> uname -a >> FreeBSD sheeva2.klop.ws 11.2-RELEASE-p4 FreeBSD 11.2-RELEASE-p4 #4 >> r339336M: Sat Oct 13 23:31:51 CEST 2018 builder@rpi3:/data/src/obj-11.2/arm.arm/data/src/11.2/sys/SHEEVAPLUG >> arm >> >> It has a ports checkout using portsnap. And that works pretty well. >> Just do: >> portsnap auto >> cd /usr/ports/shells/bash (or whatever port you wish to install) >> make install >> make clean >> >> I think that is the most simple approach for you to go forward. >> >> Regards, >> Ronald. >> >> PS: Sorry for top-posting, my current mail client does not help in this >> very well. >> >> >> *Van:* Balanga Bar >> *Datum:* dinsdag, 23 april 2019 20:08 >> *Aan:* Mark Linimon >> *CC:* freebsd-arm@freebsd.org, Ian Lepore >> *Onderwerp:* Re: Marvell Kirkwood - anyone? >> >> Actually I have managed to build FreeBSD 11.0-RELEASE on ARM and it has >> not >> exhibited any problems on my GoFlexHome apart from being unable install >> pkgs. That is the current focus at the moment. >> >> On Tue, Apr 23, 2019 at 5:57 PM Mark Linimon >> wrote: >> >> > On Tue, Apr 23, 2019 at 03:19:15PM +0100, Balanga Bar wrote: >> > > Is it possible to get a version of portsnap from that point? >> > >> > I don't know enough to answer that question. I think it would be fair >> > to assume "no". >> > >> > IIUC you seem to be looking for an _easy_ way to get Kirkwood back up >> > and working. I'm going to be honest and say there isn't one. >> > >> > Here are the approaches I think you can take: >> > >> > - stay on 8.x; bring individual port updates to it from ports-head and >> > build your own ports. Difficulty: hard. >> > >> > - figure out what src changes after 8.x regressed Kirkwood; check >> > out src 12-STABLE, build your own src, and use FreeBSD.org packages. >> > Difficulty: expert. >> > >> > - stay on 8.x; attempt to bring a modern ports tree to it and build >> > your own ports. Difficulty: challenging. >> > >> > The difficulty level of the first approach depends on which ports you >> > are going to try to use. shells/bash? Probably not too hard. Anything >> > GUI-related? Very hard. >> > >> > None of these approaches are achievable within hours; they will take >> > days, or, in the case of the third approach, weeks. >> > >> > fwiw, the second approach is the only one where your fixes could be >> > merged back into FreeBSD. If I were personally determined to run >> > Kirkwoord, that's the approach I would take. (I gave my GuruPlug >> > away some time ago.) >> > >> > I'm sorry that I can't be more encouraging. >> > >> > mcl >> > >> _______________________________________________ >> 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" >> ------------------------------ >> >> > > >