Fwd: boot kernel with append device tree

Alex Vazquez avazquez.dev at gmail.com
Mon Nov 7 00:25:41 PST 2016


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
>>
>>    Do I have to configure something more in Barebox?
>
> Which version are you using. Is it something older?
>
>>    Thanks!
>>    Regards!
>>    P.D
>>    I have enabled CONFIG_ARM_APPENDED_DTB and I create the new zimage with
>>    (cat zImage <filename>.dtb > zImage_w_dtb )
>>    P.D.2.
>>    I have a little problem and i can't send email to list.
>>
>>       Delivery to the following recipient failed permanently:
>>           [6]barebox at lists.infradead.org
>>      Technical details of permanent failure:
>>      Google tried to deliver your message, but it was rejected by the server
>>      for the recipient domain [7]lists.infradead.org by
>>      [8]bombadil.infradead.org. [2001:1868:205::9].
>>      The error that the other server returned was:
>>      550-Mailing lists do not accept HTML mail. See
>        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> 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