From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from post.merula.co.uk ([217.146.97.9]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vm4G2-0006il-Oi for barebox@lists.infradead.org; Thu, 28 Nov 2013 16:16:03 +0000 From: John Parker Date: Thu, 28 Nov 2013 16:13:34 +0000 Message-ID: References: <20131127130236.GX24559@pengutronix.de> <20131127210115.GZ24559@pengutronix.de> In-Reply-To: <20131127210115.GZ24559@pengutronix.de> Content-Language: en-US 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: FW: Barebox on Karo TX25 To: Sascha Hauer Cc: "barebox@lists.infradead.org" Hi Sascha I still have a problem with barebox freezing. I've tried various things as you have suggested, but have not got any further. Issuing wd 100, followed by wd repeated every few seconds seems to keep the system alive so it looks like the watchdog is to blame. According to the mx25 reference manual the watchdog is disabled until it is enabled by setting the WDE bit. I can't find anything (yet) in the startup which enables the watchdog by default? Does the flash header you sent me include anything which enables the watchdog? Despite this I have been able to follow your instructions and have got as far as copying the bin file to nand but resetting the board (with the usbloader jumper off") does not produce any output. The barebox-flash-image link points to a zbarebox.bin which is what I've copied to nand. Was this right? Many thanks for all your efforts Regards John -----Original Message----- From: Sascha Hauer [mailto:s.hauer@pengutronix.de] Sent: 27 November 2013 21:01 To: John Parker Cc: barebox@lists.infradead.org Subject: Re: FW: Barebox on Karo TX25 On Wed, Nov 27, 2013 at 03:49:49PM +0000, John Parker wrote: > Hi > > I have a barebox prompt running from RAM!! > > What next? Setup a tftp server, edit /env/network/eth0 to your liking using 'edit /env/network/eth0', do a 'saveenv' to safe your settings. Test your network with: cp /mnt/tftp/barebox.bin /barebox.bin If that works you can do: erase /dev/nand0.barebox.bb cp /barebox.bin /dev/nand0.barebox.bb (Note: you have to use barebox-flash-image as generated by the compilation, not the imx-image you generated for USB boot) That should be it. After a reset your board should come up with barebox. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox