From: Masahiro Yamada Date: Fri, 19 Dec 2014 22:39:38 +0900 Subject: [U-Boot] [PATCH] dm: README: recommend u-boot.dtb to try driver-model on sandbox In-Reply-To: References: <1418966204-16634-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <20141219223938.FC80.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Jagan, On Fri, 19 Dec 2014 18:43:37 +0530 Jagan Teki wrote: > On 19 December 2014 at 10:46, Masahiro Yamada wrote: > > To enjoy driver-model on sandbox, using device tree is recommended. > > While we are here, change sandbox_config to sandbox_defconfig too. > > > > Signed-off-by: Masahiro Yamada > > --- > > > > doc/driver-model/README.txt | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/doc/driver-model/README.txt b/doc/driver-model/README.txt > > index 3e2f622..eafa825 100644 > > --- a/doc/driver-model/README.txt > > +++ b/doc/driver-model/README.txt > > @@ -36,9 +36,9 @@ How to try it > > > > Build U-Boot sandbox and run it: > > > > - make sandbox_config > > + make sandbox_defconfig > > make > > - ./u-boot > > + ./u-boot -d u-boot.dtb > > this -d is an optional I suppose without dtb we can able to access dm isn't it? Without -d, DM can still have access to platform data, but arch/sandbox/sandbox.dts provies us more features. With "-d u-boot.dtb", you will notice a difference at glance: "cyan" terminal. Best Regards Masahiro Yamada