Re: [PATCH] sysfs, device-tree: aid for debugging device tree boot problems

2014-04-28 Thread Grant Likely
On Wed, Apr 23, 2014 at 11:48 PM, Frank Rowand wrote: > On 4/23/2014 4:54 AM, Grant Likely wrote: >> On Tue, 22 Apr 2014 20:20:44 -0700, Greg Kroah-Hartman >> wrote: >>> On Tue, Apr 22, 2014 at 06:25:25PM -0700, Frank Rowand wrote: Create some infrastructure to aid trouble shooting device t

Re: [PATCH] sysfs, device-tree: aid for debugging device tree boot problems

2014-04-23 Thread Greg Kroah-Hartman
On Wed, Apr 23, 2014 at 03:45:11PM -0700, Frank Rowand wrote: > >> 3) To find list of device tree nodes with a bound driver: > >> > >> # output is: driver_name node_full_path > >> # > >> cd /proc/device-tree > >> for k in `find . -name %driver_name` ; do > >> echo `cat ${k}` `echo $

Re: [PATCH] sysfs, device-tree: aid for debugging device tree boot problems

2014-04-23 Thread Frank Rowand
On 4/23/2014 4:54 AM, Grant Likely wrote: > On Tue, 22 Apr 2014 20:20:44 -0700, Greg Kroah-Hartman > wrote: >> On Tue, Apr 22, 2014 at 06:25:25PM -0700, Frank Rowand wrote: >>> Create some infrastructure to aid trouble shooting device tree related >>> boot issues. >>> >>> Add a %driver_name file

Re: [PATCH] sysfs, device-tree: aid for debugging device tree boot problems

2014-04-23 Thread Frank Rowand
On 4/22/2014 8:20 PM, Greg Kroah-Hartman wrote: > On Tue, Apr 22, 2014 at 06:25:25PM -0700, Frank Rowand wrote: >> Create some infrastructure to aid trouble shooting device tree related >> boot issues. >> >> Add a %driver_name file to each device tree node sysfs directory which has >> had >> a dri

Re: [PATCH] sysfs, device-tree: aid for debugging device tree boot problems

2014-04-23 Thread Grant Likely
On Tue, 22 Apr 2014 20:20:44 -0700, Greg Kroah-Hartman wrote: > On Tue, Apr 22, 2014 at 06:25:25PM -0700, Frank Rowand wrote: > > Create some infrastructure to aid trouble shooting device tree related > > boot issues. > > > > Add a %driver_name file to each device tree node sysfs directory which

Re: [PATCH] sysfs, device-tree: aid for debugging device tree boot problems

2014-04-22 Thread Greg Kroah-Hartman
On Tue, Apr 22, 2014 at 06:25:25PM -0700, Frank Rowand wrote: > Create some infrastructure to aid trouble shooting device tree related > boot issues. > > Add a %driver_name file to each device tree node sysfs directory which has had > a driver bound to it. This allows detecting device tree nodes