From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i3K5i-0007c9-Rw for barebox@lists.infradead.org; Thu, 29 Aug 2019 13:03:56 +0000 References: <001201d55693$b674d930$235e8b90$@qq.com> From: Oleksij Rempel Message-ID: <2d4a0456-33eb-3257-17c8-7bd3cee2e24f@pengutronix.de> Date: Thu, 29 Aug 2019 15:03:51 +0200 MIME-Version: 1.0 In-Reply-To: <001201d55693$b674d930$235e8b90$@qq.com> Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: mips : How to run barebox by bootm in ram(u-boot command)? To: duhuanpeng , barebox@lists.infradead.org Hi, On 19.08.19 15:40, duhuanpeng wrote: > Hello! How to run Barebox from ram now? > > I have a board with 64MiB ram and 16MiB flash, flash it to the first sector > by > original u-boot, maybe brick the board. Debrick is difficult due to limited > tools. > > So, I want to run this in ram. And my u-boot *don't* have the "go" command. > I have to use bootm command to run Barebox. > > - - - - - - > mkimage -A mips -O linux -T kernel -C none -a 80060000 -e 80060000 -n > 'barebox-tp-link' -d barebox.bin uImage > tftpboot 0x81000000 uImage > bootm 0x81000000 > - - - - > I have try these above, but no luck. Please, try 0xa1000000 instead of 0x81000000- -- 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