Re: [U-Boot] [RFC 2/2] env: Add prefix to error messages when loading env

2018-07-19 Thread Sam Protsenko
On Thu, Jul 19, 2018 at 10:52 PM, Wolfgang Denk wrote: > Dear Sam, > > In message > you > wrote: >> >> Also, I figured how to do prefixing (to display MMC errors as nested >> w.r.t. "Loading environment), without adding new field to gd. We can >> just add some new GD_LG_ and print prefix when i

Re: [U-Boot] [RFC 2/2] env: Add prefix to error messages when loading env

2018-07-19 Thread Wolfgang Denk
Dear Sam, In message you wrote: > > Also, I figured how to do prefixing (to display MMC errors as nested > w.r.t. "Loading environment), without adding new field to gd. We can > just add some new GD_LG_ and print prefix when it's installed. I'm > gonna send new RFC soon. Please let me know what

Re: [U-Boot] [RFC 2/2] env: Add prefix to error messages when loading env

2018-07-19 Thread Wolfgang Denk
Dear Tom, In message <20180719125230.GJ4609@bill-the-cat> you wrote: > > > > > Loading Environment from FAT... MMC: no card present > > > > ** Bad device mmc 0 ** > > > > Failed (-5) > > > > Loading Environment from MMC... OK ... > > In the non-error case, the output should be a s

Re: [U-Boot] [RFC 2/2] env: Add prefix to error messages when loading env

2018-07-19 Thread Sam Protsenko
On Thu, Jul 19, 2018 at 3:52 PM, Tom Rini wrote: > On Wed, Jul 18, 2018 at 04:09:33PM +0200, Wolfgang Denk wrote: >> Dear Tom, >> >> In message <20180718125351.GE4609@bill-the-cat> you wrote: >> > >> > > Loading Environment from FAT... >> > >--> MMC: no card present >> > >--> *

Re: [U-Boot] [RFC 2/2] env: Add prefix to error messages when loading env

2018-07-19 Thread Tom Rini
On Wed, Jul 18, 2018 at 04:09:33PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20180718125351.GE4609@bill-the-cat> you wrote: > > > > > Loading Environment from FAT... > > >--> MMC: no card present > > >--> ** Bad device mmc 0 ** > > >--> Failed (-5) > > >

Re: [U-Boot] [RFC 2/2] env: Add prefix to error messages when loading env

2018-07-18 Thread Tom Rini
On Wed, Jul 18, 2018 at 04:04:49PM +0300, Sam Protsenko wrote: > On Wed, Jul 18, 2018 at 3:53 PM, Tom Rini wrote: > > On Wed, Jul 18, 2018 at 01:09:12AM +0300, Sam Protsenko wrote: > > > >> This is just a draft to discuss ideas related to "Make U-Boot log great > >> again" thread. > >> > >> With t

Re: [U-Boot] [RFC 2/2] env: Add prefix to error messages when loading env

2018-07-18 Thread Wolfgang Denk
Dear Tom, In message <20180718125351.GE4609@bill-the-cat> you wrote: > > > Loading Environment from FAT... > >--> MMC: no card present > >--> ** Bad device mmc 0 ** > >--> Failed (-5) > > Loading Environment from MMC... > >--> OK > > > > instead of: > > >

Re: [U-Boot] [RFC 2/2] env: Add prefix to error messages when loading env

2018-07-18 Thread Sam Protsenko
On Wed, Jul 18, 2018 at 3:53 PM, Tom Rini wrote: > On Wed, Jul 18, 2018 at 01:09:12AM +0300, Sam Protsenko wrote: > >> This is just a draft to discuss ideas related to "Make U-Boot log great >> again" thread. >> >> With this patch we will see something like: >> >> Loading Environment from FAT.

Re: [U-Boot] [RFC 2/2] env: Add prefix to error messages when loading env

2018-07-18 Thread Tom Rini
On Wed, Jul 18, 2018 at 01:09:12AM +0300, Sam Protsenko wrote: > This is just a draft to discuss ideas related to "Make U-Boot log great > again" thread. > > With this patch we will see something like: > > Loading Environment from FAT... >--> MMC: no card present >--> ** Bad

Re: [U-Boot] [RFC 2/2] env: Add prefix to error messages when loading env

2018-07-17 Thread Wolfgang Denk
Dear Sam, In message <20180717220912.11358-2-semen.protse...@linaro.org> you wrote: > This is just a draft to discuss ideas related to "Make U-Boot log great > again" thread. > > With this patch we will see something like: > > Loading Environment from FAT... >--> MMC: no card present

[U-Boot] [RFC 2/2] env: Add prefix to error messages when loading env

2018-07-17 Thread Sam Protsenko
This is just a draft to discuss ideas related to "Make U-Boot log great again" thread. With this patch we will see something like: Loading Environment from FAT... --> MMC: no card present --> ** Bad device mmc 0 ** --> Failed (-5) Loading Environment from MMC...