[U-Boot] Reading from NAND
Wolfgang Denk
wd at denx.de
Sat Feb 19 20:41:23 CET 2011
Dear D Kesselring,
In message <AANLkTik=nRPJpeYTiW2Xg3+qtZ9hZ-pei6LO=CbrwSCu at mail.gmail.com> you wrote:
> After some experimenting the only issue that I have now is trying to
> do an itest on a non-aligned byte. I get an alignment exception if I
> test a non-word aligned bype. Is there a way to do a bitwise AND so
> that I can read a word and mask out the byte that I am interested in?
> Also does the shell support adding values like "itest *(${base} +
> ${offset}) == 0x01"?
Why do you want to read a word when you are only interested in a
single byte? This sounds somewhat stupid.
Is there any reason for not using itest.b directly?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The universe does not have laws - it has habits, and habits can be
broken.
More information about the U-Boot
mailing list