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 #3 (Red Hat Linux)) id 1iueXU-0004TX-Q8 for barebox@lists.infradead.org; Thu, 23 Jan 2020 15:37:02 +0000 References: <1579093362.13056.13.camel@pengutronix.de> <45b34e63-a9fd-2295-311c-393bf49fdf93@pengutronix.de> <1579099664.13056.29.camel@pengutronix.de> <1c275d4d-cf23-caf5-072e-2517080950c1@pengutronix.de> <0a8e32e7-7100-e834-97c8-de27959e41dd@gmail.com> From: Ahmad Fatoum Message-ID: <88f6a8d6-872d-62ea-9113-1c9a4983e300@pengutronix.de> Date: Thu, 23 Jan 2020 16:36:51 +0100 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US 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: [yocto] #yocto bootchooser: Cannot get state 'state' To: Hans-Ulrich Schlieben , "Robert Berger@yocto.user" , Enrico Joerns Cc: "yocto@lists.yoctoproject.org" , "barebox@lists.infradead.org" Hello, On 1/23/20 4:30 PM, Hans-Ulrich Schlieben wrote: > Hi Robert, > > there where no SDK, bison and flex missing. Now it compiled. Thanx. > There are > > Copying it onto the system and running it from the console just returned error code 132 and: > Illegal instruction Running what? > I copied the .config file from yocto into the barebox directory. Do I have still the wrong architecture? > > Perhaps I have to copy ./images/barebox-phytec-phycard-imx6q-1gib.img onto the destination system starting at offset 0x1000 using dd. > How to copy barebox onto the sdcard? There is no setupmbr executable in ./scripts/setupmbr, just a c file and no working Makefile. barebox already has the dcd offset in, just dd the correct image to the start of your SD-Card and it should work. Cheers Ahmad -- Pengutronix e.K. | | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 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