Re: [PATCH 1/1] drivers: of: bugfix partition fixups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 08, 2018 at 09:31:24AM +0200, Pascal Vizeli wrote:
> 2018-06-08 9:05 GMT+02:00 Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>:
> > of_find_property is not called directly from the code you are changing,
> > so how excatly is the code path that fails?
> 
> of_get_reproducible_name -> of_get_property -> of_find_property
> 
> >
> > What are you doing to get into this situation? This test should never
> > fail or else we are in trouble. Is there some "oftree -f" command
> > involved? I should really remove this command since in a device tree
> > based system there are always references to device nodes which are not
> > expected to become invalid.
> >
> 
> Yes, I load the device tree from first bootloader and overlay some state dtbo.
> But how I should do this without flush? I can do that also an a file
> and load this
> to bootm, but the fixups will also run on this and fails too.
> 
> I think we need remove `oftree -f` or apply this patch for hardening.

Just sent a patch for the former as the latter is a goal we do not seem
to reach.

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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux