
On 03/08/2012 03:01 PM, Bud Miljkovic wrote:
-----Original Message----- From: Scott Wood [mailto:scottwood@freescale.com] Sent: Friday, 9 March 2012 9:02 a.m. To: Bud Miljkovic Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Enabling nand createbbt command
It should happen automatically when nand_erase_opts() calls chip->scan_bbt(), provided the driver set the NAND_USE_FLASH_BBT flag, and that NAND_BBT_CREATE/NAND_BBT_WRITE are set in the nand_bbt_descr (this is the case if the driver doesn't override the default nand_bbt_descr).
Are you not seeing it happen? What version of U-Boot are you using, with which NAND controller driver?
I am using u-boot-2009.08 sources from Freescale released under SABRE Automotive Infotainment board aka mx53_ard.
Please use a recent upstream U-Boot, or contact support@freescale.com for support with your Freescale-supplied code.
Looking at this from the u-boot commands prospective,
- I get "nand - NAND sub-system" but it does not recognize "nand
createbbt" command
Is there a reason you're expecting it to exist?
I am fairly newbee in this and would not know which NAND controller driver is used.
Why are you using the scrub command? It's an "I know what I'm doing" backdoor. There's even a warning, with confirmation prompt, telling you it's dangerous and to only use it "if you are sure of what you are doing".
-Scott