Fwd: boot kernel with append device tree

Sascha Hauer s.hauer at pengutronix.de
Mon Nov 7 01:48:02 PST 2016


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 <s.hauer at pengutronix.de>:
> > 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 |



More information about the barebox mailing list