[PATCH 03/10] devinfo: make the output of "devinfo DEVICE" nicer

Juergen Borleis jbe at pengutronix.de
Mon Jun 2 01:19:38 PDT 2014


On Friday 30 May 2014 11:07:17 Holger Schurig wrote:
> Example output before of "devinfo fb0":
>
>     resources:
>     num   : 0
>     start : 0x4c242000
>     size  : 0x00300000
>     driver: none
>     bus: none
>
>     available modes:
>     hsd100pxn1           1024x768 at 0
>
>     Parameters:
>               enable = 0
>            mode_name = hsd100pxn1 ("hsd100pxn1")
>
>
> Example output after this patch:
>
>     Resources:
>       num: 0
>       start: 0x4c242000
>       size: 0x00300000
>     Available modes:
>       hsd100pxn1: 1024x768 at 0
>     Parameters:
>       enable: 0
>       mode_name: hsd100pxn1 ("hsd100pxn1")

But parameters can be changed by the user at run-time (e.g. "prompt> 
enable=1"), while the remaining info is just readable. That is why we used 
different characters.

jbe

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |



More information about the barebox mailing list