From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-it0-x22a.google.com ([2607:f8b0:4001:c0b::22a]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c3hgU-00050K-JQ for barebox@lists.infradead.org; Mon, 07 Nov 2016 11:01:51 +0000 Received: by mail-it0-x22a.google.com with SMTP id q124so15234440itd.1 for ; Mon, 07 Nov 2016 03:01:30 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20161107094802.bhy2wowbri7q3sra@pengutronix.de> References: <20161107074924.blkryleb2eb5bkhy@pengutronix.de> <20161107094802.bhy2wowbri7q3sra@pengutronix.de> From: Alex Vazquez Date: Mon, 7 Nov 2016 12:01:25 +0100 Message-ID: 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: Fwd: boot kernel with append device tree To: Sascha Hauer Cc: barebox@lists.infradead.org > Is CONFIG_OFTREE enabled in your build? Yes. 2016-11-07 10:48 GMT+01:00 Sascha Hauer : > On Mon, Nov 07, 2016 at 09:25:41AM +0100, Alex Vazquez wrote: >> Hi Sasha! >> >> > Which version are you using. Is it something older? >> >> I am using barebox-2016.03.0 >> >> >> Regards! >> >> 2016-11-07 8:49 GMT+01:00 Sascha Hauer : >> > Hi Alex, >> > >> > Added the list to Cc >> > >> > Please configure your mailer to send plain text, then the server won't >> > reject your mails. >> > >> > On Fri, Nov 04, 2016 at 01:10:30PM +0100, Alex Vazquez wrote: >> >> Hi, all! >> >> I have create a zImage with the device tree appended. >> >> I have removed oftree_loc in the configuration file. >> >> My problem is when I try to launch the kernel, it indicates that it has >> >> the device tree added but fails to boot. >> >> >> >> barebox:/# boot >> >> booting kernel from /dev/[1]nand0.kernel.bb >> >> Loading ARM Linux zImage '/dev/[2]nand0.kernel.bb' >> >> zImage: concatenated oftree detected >> >> commandline: console=ttyS0,115200 rw ip=none ... >> >> arch_number: 0 >> >> >> >> If I don't removed oftree_loc in the configuration file. Load oftree >> >> (nand) and boot fine. >> >> >> >> barebox:/# boot >> >> booting kernel from /dev/[3]nand0.kernel.bb >> >> Loading ARM Linux zImage '/dev/[4]nand0.kernel.bb' >> >> zImage: concatenated oftree detected >> >> Loading devicetree from '/dev/[5]nand0.oftree.bb' >> >> commandline: console=ttyS0,115200 rw ip=none ... >> >> Booting Linux on physical CPU 0x0 > > > Is CONFIG_OFTREE enabled in your build? > > 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