i.MX28 gpmi-nand underlying geometry

Artem Bityutskiy dedekind1 at gmail.com
Fri May 10 07:43:28 EDT 2013


On Mon, 2013-03-25 at 15:19 +0800, Huang Shijie wrote:
> 于 2013年03月25日 11:18, Paul B. Henson 写道:
> > kernel. Ideally I'd like to be able to read the necessary information 
> > directly from the NAND while booted with a current kernel.
> The current code really does not print out the geometry information 
> directly.
> 
> But it's easy to implement it. we can add the dynamic debug code for the 
> gpmi.
> If you want to see the geometry infor, you can enable the dynamic debug, 
> and enable it in the kernel cmdline.

It is really evil to suggest user-space people to use kernel printk's
for fetching NAND geometry information. Printk's may change at any time.
Tomorrow there may be a clean-up patch which fixes a spelling or improve
the grammar, and this may break the apps. Printk's are really not
intended to be the kernel<->user-space ABI.

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list