From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.mei.co.jp ([133.183.100.20]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YAtrs-0004i8-MG for barebox@lists.infradead.org; Tue, 13 Jan 2015 05:18:17 +0000 Date: Tue, 13 Jan 2015 14:17:49 +0900 From: Masahiro Yamada In-Reply-To: <73d26o7251.fsf@dude.hi.pengutronix.de> References: <20150108194716.6CF6.AA925319@jp.panasonic.com> <73d26o7251.fsf@dude.hi.pengutronix.de> Message-Id: <20150113141749.CAC9.AA925319@jp.panasonic.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [Question] How was zedboard lowlevel written? To: Steffen Trumtrar Cc: barebox@lists.infradead.org Hi Steffen, On Fri, 09 Jan 2015 10:07:54 +0100 Steffen Trumtrar wrote: > > Hi! > > Masahiro Yamada writes: > > Hello Steffen Trumtrar, > > > > I am seeing arch/arm/boards/avnet-zedboard/board.c > > written by you. > > > > Sadly it's been a while since I touched this :( > > > Is this file equivalent to ps7_init.c spit by Xilinx tool? > > Or did you write it by hand from scratch ? (I doubt it.) > > > > > > I have ZC706, another Zynq board. > > If I could port barebox to this board, that would be great! > > But I am just worndering whether I could get your advice about > > how to create the lowlevel file. > > > > The lowlevel.c/flash_header.c are adapted from the ps7_init code IIRC. > Xilinx uses a prebootloader and a bootloader for the Zynq, barebox does > not. So you would have to put all values into the respective two files. > And you need to run scripts/zynq_mkimage for the checksum (but I think > the Makefile already does that). > > I wish I could be of more help here, but I can't really remember the > actual steps necessary and I don't have a ps7_init handy at the moment. > OK, thanks. I just wanted to be sure in case there were some tools or tips etc. that would save my time. Anyway, I will give it a try. Best Regards Masahiro Yamada _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox