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