From owner-freebsd-arm@freebsd.org Sun Jan 1 02:52:33 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 8AA82C9890F for ; Sun, 1 Jan 2017 02:52:33 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (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 242A31379 for ; Sun, 1 Jan 2017 02:52:33 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id k184so188112749wme.1 for ; Sat, 31 Dec 2016 18:52:33 -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:content-transfer-encoding; bh=pfv/0nQ/IqbVKGJ3p5+Jw1RCTlzvZqYTmhqgaEFaJJs=; b=eheL2ekq6DVnz7/yP2bmHpFwmfvIGiTyKy0UyAKfD0xRjyXbapVepxgdsXBEI7IL7y f9iIZ/3BwlSEdb6qWHnH59hWBZHBqsi1Dzq0RB4/E+vuF0zX2f5yTl+8jrsFCgrtErm3 ulN9e+ovCjN6M3iAWQWbBjsYt9rEDyaskTtZ++RK/o5y9JE/8wMCfL2IGeULdj18O44B RDNfkFoS3qCR38AXcctfgLxwK+UkGBHOROOnQiCa+i0arBjl+F566j4ohzNxX8kn1/Cf Rg5vZoacICw7sW6WT8933nT+pIDEaldmD+13UBw97+hiL4kFDPvqugC41lPoszu37G2m QUXQ== 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:content-transfer-encoding; bh=pfv/0nQ/IqbVKGJ3p5+Jw1RCTlzvZqYTmhqgaEFaJJs=; b=X/zRwL227J5FtsGXx9vPGxqM9gLH/jkd7vVcbjtotVzUBb7reH6UOeeKprOXtpws77 PEWA30ghp3Y+JqK552k98vRkkRKYXKtYeKv0EA1y74K5zertdrgf3qVxyn//dNt5azdp iDAmGF6tWoHbFaLCbduKdeclM0wKio71QN+LbEtkuHqF7ALXpbpmdp9O1vrAzdnX5qbE tpBlsHVlxKi3CBtaEHuimNzh87qEzugtNH22X6RZoUE3xXTfrWMkCPfkk4dOeGgev5/d UeqahebfhVw52CxjLV9IqSzvORebAs32TAsi/5rM/k33ti/6mhPFamavTI/qkyWaeMRK IwpQ== X-Gm-Message-State: AIkVDXJmEVZAVG9FMG+8FDhud9tyznaWRdDUohiCXny7v5SgPQOZg6REUdpQPHRVBuTVSJnHcDHRsI+JiBTdDQ== X-Received: by 10.28.188.87 with SMTP id m84mr42976490wmf.14.1483239151507; Sat, 31 Dec 2016 18:52:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.44.1 with HTTP; Sat, 31 Dec 2016 18:52:30 -0800 (PST) In-Reply-To: <2CAC521E-AB65-453F-B1CC-DE025DA43596@yahoo.com> References: <2CAC521E-AB65-453F-B1CC-DE025DA43596@yahoo.com> From: Adrian Chadd Date: Sat, 31 Dec 2016 18:52:30 -0800 Message-ID: Subject: Re: Finally bringing FreeBSD to Parallella To: Thomas Skibo Cc: "freebsd-arm@freebsd.org" , =?UTF-8?Q?Daniel_H=C3=BCbleitner?= 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: Sun, 01 Jan 2017 02:52:33 -0000 hiya, I'd love to get the parallela I have working on freebsd-head, enough to start poking at porting their SDK. Would anyone accept donations of the monetary variety to get the DTS and bootloader bits from Thomas updated and ready to land in -HEAD? (or, Thomas, would you be interested? :) -a On 30 December 2016 at 11:33, Thomas Skibo via freebsd-arm wrote: > Hello. > > Using the GNU dts files for Zynq boards is not as easy as just adding the= proper compat strings. Off the top of my head: > > - A range of physical memory must be reserved because it is not accessibl= e by all AXI masters. This is done in zynq-7000.dtsi right now but maybe i= t can be done in zy7_machdep.c (?)) > - Several peripherals (including mpcore-timers) must derive their referen= ce clock speed automagically from the PS clock speed instead of being speci= fied in each peripheral's device tree entry. > - The ethernet driver needs to be able to change its reference clock in r= esponse to media speed changes. The hack I use for this requires the ether= net=E2=80=99s device tree entry to specify the =E2=80=9Cunit number" of its= reference clock so it can request speed changes from the SLCR block. > > It=E2=80=99s kind of on my to-do list to have GNU DTS files working for 1= 2.0 but I haven=E2=80=99t been working on it lately. > > Regarding Parallella: > > I had FreeBSD booting on Parallella several years ago but I bricked my bo= ard and so I stopped updating it. The Parallella has u-boot in a flash mem= ory but without the API option. Rather than trying to re-flash the u-boot a= nd risk bricking the Parallella (which I eventually did anyway), I packaged= a u-boot binary with the proper options in a uImage file so the boot proce= ss was FSBL =E2=80=94> U-boot =E2=80=94> U-boot =E2=80=94> ubldr =E2=80=94>= FreeBSD. The uImage file I used is in a tarball at http://www.skibo.net/z= edbsd/parallella_freebsd.tgz . > > I think it would be better, for now, to use RELEASE-11.0 which has good Z= ynq support and just come up with a BSD style DTS file for Parallella. I t= hink the only difference between Parallella and Zedboard is that the SD car= d is attached to SDHCI1 instead of SDHCI0 and the memory size is larger. M= y best guess for a DTS file is attached. > > Happy New Year. > > =E2=80=94 > Thomas Skibo > thomasskibo@yahoo.com > > > > _______________________________________________ > 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"