* [U-Boot] U-Boot NAND-Access
@ 2012-11-08 15:31 Peter Niklas
2012-11-08 20:18 ` Wolfgang Denk
2012-11-13 2:58 ` Scott Wood
0 siblings, 2 replies; 5+ messages in thread
From: Peter Niklas @ 2012-11-08 15:31 UTC (permalink / raw)
To: u-boot
Hello,
We are using a Zynq SoC on a custom Board. We are trying to use a
NAND-Flash (MT29F8G08ABABAWP-IT) to store the Xilinx First Stage Boot
Loader, U-Boot, Kernel ....
We are having trouble to use the NAND-Flash in U-Boot.
Currently we are using U-Boot 2012.04.01-00304-g7639205-dirty.
and I get the Messag:
NAND: No NAND device found!!!
nand_scan_ident for NAND failed
I enabled CMD_NAND in the specific config file:
#define CONFIG_NAND_ZYNQ
#define CONFIG_CMD_NAND
#define CONFIG_CMD_NAND_LOCK_UNLOCK
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#define CONFIG_SYS_NAND_BASE XPSS_NAND_BASEADDR
#define CONFIG_MTD_DEVICE
I also tried an older version of U-Boot (U-Boot 2011.03-dirty) before
where I got the Output:
NAND: No oob scheme defined for oobsize 224
No oob scheme defined for oobsize 224
I also enabled the CMD_NAND as before.
When I look into the sources I only see oob_schemes defined for 128.
Has anyone tried to use a NAND-flash with the oobsize of 224?
Is there some configuration missing?
Besides the CMD config, I did not change anything else for
NAND-Configuration. Am I missing something?
The NAND-Flash has been tested with the Xilinx Drivers and it works.
Thanks, Regards,
Peter Niklas
CONFIDENTIALITY: The contents of this e-mail are confidential and
intended only for the above addressee(s). If you are not the intended
recipient, or the person responsible for delivering it to the intended
recipient, copying or delivering it to anyone else or using it in any
unauthorized manner is prohibited and may be unlawful. If you
receive this e-mail by mistake, please notify the sender and the
systems administrator at straymail at tttech.com immediately.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] U-Boot NAND-Access
2012-11-08 15:31 [U-Boot] U-Boot NAND-Access Peter Niklas
@ 2012-11-08 20:18 ` Wolfgang Denk
2012-11-13 2:58 ` Scott Wood
1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2012-11-08 20:18 UTC (permalink / raw)
To: u-boot
Dear Peter Niklas,
In message <OFCB5B87EF.D3CAAEFE-ONC1257AB0.005101E8-C1257AB0.005512D0@tttech.com> you wrote:
>
> We are using a Zynq SoC on a custom Board. We are trying to use a
> NAND-Flash (MT29F8G08ABABAWP-IT) to store the Xilinx First Stage Boot
...
> Currently we are using U-Boot 2012.04.01-00304-g7639205-dirty.
Commmit 7639205 is not known in mainline. We cannot help you with
code unknown to us.
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 pathology is to want control, not that you ever get it, because
of course you never do." - Gregory Bateson
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] U-Boot NAND-Access
2012-11-08 15:31 [U-Boot] U-Boot NAND-Access Peter Niklas
2012-11-08 20:18 ` Wolfgang Denk
@ 2012-11-13 2:58 ` Scott Wood
2012-11-13 9:57 ` Peter Niklas
1 sibling, 1 reply; 5+ messages in thread
From: Scott Wood @ 2012-11-13 2:58 UTC (permalink / raw)
To: u-boot
On 11/08/2012 09:31:10 AM, Peter Niklas wrote:
> Hello,
>
> We are using a Zynq SoC on a custom Board. We are trying to use a
> NAND-Flash (MT29F8G08ABABAWP-IT) to store the Xilinx First Stage Boot
> Loader, U-Boot, Kernel ....
> We are having trouble to use the NAND-Flash in U-Boot.
> Currently we are using U-Boot 2012.04.01-00304-g7639205-dirty.
> and I get the Messag:
> NAND: No NAND device found!!!
> nand_scan_ident for NAND failed
>
> I enabled CMD_NAND in the specific config file:
> #define CONFIG_NAND_ZYNQ
It's not just an unrecognized (and dirty) SHA1 as Wolfgang pointed out
(which is not necessarily that surprising for a custom board, but it's
still code we can't see) -- there's not even any CONFIG_NAND_ZYNQ in
mainline U-Boot.
-Scott
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] U-Boot NAND-Access
2012-11-13 2:58 ` Scott Wood
@ 2012-11-13 9:57 ` Peter Niklas
2012-11-14 1:04 ` Scott Wood
0 siblings, 1 reply; 5+ messages in thread
From: Peter Niklas @ 2012-11-13 9:57 UTC (permalink / raw)
To: u-boot
Yes, I understand. Unfortunate for me.
But besides the custom uboot version:
Would I need to configure additional commands to use NAND-Flash in the
mainline?
Regards,
Peter
From:
Scott Wood <scottwood@freescale.com>
To:
Peter Niklas <peter.niklas@tttech-automotive.com>,
Cc:
<u-boot@lists.denx.de>
Date:
13.11.2012 04:13
Subject:
Re: [U-Boot] U-Boot NAND-Access
On 11/08/2012 09:31:10 AM, Peter Niklas wrote:
> Hello,
>
> We are using a Zynq SoC on a custom Board. We are trying to use a
> NAND-Flash (MT29F8G08ABABAWP-IT) to store the Xilinx First Stage Boot
> Loader, U-Boot, Kernel ....
> We are having trouble to use the NAND-Flash in U-Boot.
> Currently we are using U-Boot 2012.04.01-00304-g7639205-dirty.
> and I get the Messag:
> NAND: No NAND device found!!!
> nand_scan_ident for NAND failed
>
> I enabled CMD_NAND in the specific config file:
> #define CONFIG_NAND_ZYNQ
It's not just an unrecognized (and dirty) SHA1 as Wolfgang pointed out
(which is not necessarily that surprising for a custom board, but it's
still code we can't see) -- there's not even any CONFIG_NAND_ZYNQ in
mainline U-Boot.
-Scott
CONFIDENTIALITY: The contents of this e-mail are confidential and
intended only for the above addressee(s). If you are not the intended
recipient, or the person responsible for delivering it to the intended
recipient, copying or delivering it to anyone else or using it in any
unauthorized manner is prohibited and may be unlawful. If you
receive this e-mail by mistake, please notify the sender and the
systems administrator at straymail at tttech.com immediately.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-14 1:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-08 15:31 [U-Boot] U-Boot NAND-Access Peter Niklas
2012-11-08 20:18 ` Wolfgang Denk
2012-11-13 2:58 ` Scott Wood
2012-11-13 9:57 ` Peter Niklas
2012-11-14 1:04 ` Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox