EmbeddedRelated.com
Forums
Memfault Beyond the Launch

AT91SAM9263 is not booting with NAND Flash..........

Started by KRN February 2, 2009
Deal All,

I am using AT91SAM9263 Rev.B CPU, with NAND Boot-Strap from www.linux4sam.org.
CPU will not boot with 64MB (512b page, 16k/block) NAND Flash (ST/Numonyx make) NAND512W3A2C,
but I changed 256MB (2048b page, 64pages/block) NAND Flash (Micron make) MT29F2G08AACWP, CPU is booting well....

Can any one suggest me what may be the woring thing??

Thanks in advance.
Regards,
Kiran
Hi,

Have you looked at the source of this NAND Boot-Strap from www.linux4sam.org
?
It could be possible that the sector size is hardcoded for 2K sectors.
Until late last year (AFAIK) Linux treated the actual device's sector size
("HW sector size") and the
user space/kernel's side of drivers both as default 512 bytes. (this of
course has nothing to do with the bootstrap, but it
does affect the bootstrap's perception of sector sizes)
They are now differentiated, I think so far 2K or 512 B sector sizes are
only supported.
So it might be coincidence, but it sounds like that bootstrap is fixed for
2K sectors ???

This is just conjecture, hoping it might help.

Best Regards,
Kris
________________________________________
From: A... [mailto:A...] On Behalf Of
KRN
Sent: Monday, 2 February 2009 11:05 PM
To: A...
Subject: [AT91SAM] AT91SAM9263 is not booting with NAND Flash..........

Deal All,

I am using AT91SAM9263 Rev.B CPU, with NAND Boot-Strap from
www.linux4sam.org.
CPUwill not boot with 64MB (512b page, 16k/block) NAND Flash (ST/Numonyx
make) NAND512W3A2C,
but I changed 256MB (2048b page, 64pages/block) NAND Flash (Micron make)
MT29F2G08AACWP, CPU is booting well....

Can any one suggest me what may be the woring thing??

Thanks in advance.


Regards,
Kiran

hi kiran,
i am working on AT91SAM9263 Rev B cpu with Nand 64MB (ST make)
and i got my bootstrap working... i am getting my bootstrap working but not able to get u-boot could u suggest ny thing on tht after getting bootstrap working the bord simply hangs...
in your case with 64MB NAND i guess something went wrong with page sizes were u uisng samll block size?

Thanks& Regards
Mahesh

________________________________
From: KRN
To: A...
Sent: Monday, 2 February, 2009 4:04:52 AM
Subject: [AT91SAM] AT91SAM9263 is not booting with NAND Flash..........
Deal All,

I am using AT91SAM9263 Rev.B CPU, with NAND
Boot-Strap from www.linux4sam. org.
CPU will not boot with 64MB (512b page,
16k/block) NAND Flash (ST/Numonyx make) NAND512W3A2C,
but I changed 256MB (2048b page, 64pages/block)
NAND Flash (Micron make)
MT29F2G08AACWP, CPU is booting well....

Can any one suggest me what may be the woring
thing??

Thanks in advance.

Regards,
Kiran
Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Dear Mahesh,

OK,
I will send boot-strap & u-boot by tomorrow, try this one.

can u send ur boot-strap, u-boot & datasheet of NAND Flash.
also send address location for the same.

Thanks and regards,
Kiran
----- Original Message -----
From: mahesh ingle
To: A...
Sent: Tuesday, February 03, 2009 7:41 PM
Subject: Re: [AT91SAM] AT91SAM9263 is not booting with NAND Flash..........

hi kiran,
i am working on AT91SAM9263 Rev B cpu with Nand 64MB (ST make)
and i got my bootstrap working... i am getting my bootstrap working but not able to get u-boot could u suggest ny thing on tht after getting bootstrap working the bord simply hangs...
in your case with 64MB NAND i guess something went wrong with page sizes were u uisng samll block size?

Thanks& Regards
Mahesh

------
From: KRN
To: A...
Sent: Monday, 2 February, 2009 4:04:52 AM
Subject: [AT91SAM] AT91SAM9263 is not booting with NAND Flash..........

Deal All,

I am using AT91SAM9263 Rev.B CPU, with NAND Boot-Strap from www.linux4sam. org.
CPU will not boot with 64MB (512b page, 16k/block) NAND Flash (ST/Numonyx make) NAND512W3A2C,
but I changed 256MB (2048b page, 64pages/block) NAND Flash (Micron make) MT29F2G08AACWP, CPU is booting well....

Can any one suggest me what may be the woring thing??

Thanks in advance.
Regards,
Kiran
------
Add more friends to your messenger and enjoy! Invite them now.
hai Mahesh,

Does your board display anything after the bootstrap is up?If yes can you
build your u-boot to use the default enviroment?
Are you burning the environment variables into Nand flash?
Regards
T.V.R.Prasad
On 2/3/09, mahesh ingle wrote:
>
> hi kiran,
> i am working on AT91SAM9263 Rev B cpu with Nand 64MB (ST make)
> and i got my bootstrap working... i am getting my bootstrap working but not
> able to get u-boot could u suggest ny thing on tht after getting bootstrap
> working the bord simply hangs...
> in your case with 64MB NAND i guess something went wrong with page sizes
> were u uisng samll block size?
>
> Thanks& Regards
> Mahesh
> ------------------------------
> *From:* KRN
> *To:* A...
> *Sent:* Monday, 2 February, 2009 4:04:52 AM
> *Subject:* [AT91SAM] AT91SAM9263 is not booting with NAND Flash..........
>
> Deal All,
>
> I am using AT91SAM9263 Rev.B CPU, with NAND Boot-Strap from www.linux4sam.
> org .
> CPU will not boot with 64MB (512b page, 16k/block) NAND Flash (ST/Numonyx
> make) NAND512W3A2C,
> but I changed 256MB (2048b page, 64pages/block) NAND Flash (Micron make)
> MT29F2G08AACWP, CPU is booting well....
>
> Can any one suggest me what may be the woring thing??
>
> Thanks in advance.
> Regards,
> Kiran
>
> ------------------------------
> Add more friends to your messenger and enjoy! Invite them now.
hi kiran,
i have attached bootstrap code have a look at it. as i said i got it working but not getting u-boot working . addresses u can see the board/... nandflash/9263.h
also send me your bootstrap + bootloader for 9263

Regards
Mahesh.
________________________________
From: Kiran
To: A...
Sent: Tuesday, 3 February, 2009 6:36:42 AM
Subject: Re: [AT91SAM] AT91SAM9263 is not booting with NAND Flash..........

Dear Mahesh,

OK,
I will send boot-strap & u-boot by tomorrow,
try this one.

can u send ur boot-strap, u-boot & datasheet of
NAND Flash.
also send address location for the
same.

Thanks and regards,
Kiran

----- Original Message -----
From: mahesh ingle
To: AT91SAM@yahoogroups .com
Sent: Tuesday, February 03, 2009 7:41 PM
Subject: Re: [AT91SAM] AT91SAM9263 is not booting with NAND Flash....... ...

hi kiran,
i am working on AT91SAM9263 Rev B cpu with Nand 64MB (ST make)
and i got my bootstrap working... i am getting my bootstrap working but not able to get u-boot could u suggest ny thing on tht after getting bootstrap working the bord simply hangs...
in your case with 64MB NAND i guess something went wrong with page sizes were u uisng samll block size?

Thanks& Regards
Mahesh

________________________________
From: KRN
To: AT91SAM@yahoogroups .com
Sent: Monday, 2 February, 2009 4:04:52 AM
Subject: [AT91SAM] AT91SAM9263 is not booting with NAND Flash....... ...
Deal All,

I am using AT91SAM9263 Rev.B CPU, with NAND Boot-Strap from www.linux4sam. org.
CPU will not boot with 64MB (512b page, 16k/block) NAND Flash (ST/Numonyx make) NAND512W3A2C,
but I changed 256MB (2048b page, 64pages/block) NAND Flash (Micron make) MT29F2G08AACWP, CPU is booting well....

Can any one suggest me what may be the woring thing??

Thanks in advance.

Regards,
Kiran
________________________________
Add more friends to your messenger and enjoy! Invite them now.
Did you know? You can CHAT without downloading messenger. Go to http://in.webmessenger.yahoo.com/
hi vishnu,
i get the prints from bootstrap on consol after booting from bootstrap but nothing from u-boot, and yes i have build the u-boot with environment variables in nand flash... but i have not tried keeping environment default i will try that...

Thanks
Mahesh.

________________________________
From: vishnu Tadepalli
To: A...
Sent: Tuesday, 3 February, 2009 6:40:30 AM
Subject: Re: [AT91SAM] AT91SAM9263 is not booting with NAND Flash..........
hai Mahesh,

Does your board display anything after the bootstrap is up?If yes can you build your u-boot to use the default enviroment?
Are you burning the environment variables into Nand flash?

Regards
T.V.R.Prasad

On 2/3/09, mahesh ingle wrote:
hi kiran,
i am working on AT91SAM9263 Rev B cpu with Nand 64MB (ST make)
and i got my bootstrap working... i am getting my bootstrap working but not able to get u-boot could u suggest ny thing on tht after getting bootstrap working the bord simply hangs...
in your case with 64MB NAND i guess something went wrong with page sizes were u uisng samll block size?

Thanks& Regards
Mahesh

________________________________
From: KRN
To: AT91SAM@yahoogroups .com
Sent: Monday, 2 February, 2009 4:04:52 AM
Subject: [AT91SAM] AT91SAM9263 is not booting with NAND Flash....... ...
Deal All,

I am using AT91SAM9263 Rev.B CPU, with NAND Boot-Strap from www.linux4sam. org.
CPU will not boot with 64MB (512b page, 16k/block) NAND Flash (ST/Numonyx make) NAND512W3A2C,
but I changed 256MB (2048b page, 64pages/block) NAND Flash (Micron make) MT29F2G08AACWP, CPU is booting well....

Can any one suggest me what may be the woring thing??

Thanks in advance.

Regards,
Kiran
________________________________
Add more friends to your messenger and enjoy! Invite them now.

Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Dear Mahesh,

board is not booting with your bootstrap,
I am using NAND512W3A2C NAND Flash, (512b page, 16k/block, ST/Numonyx make).

find the attached bootstrap+uboot, it works with 512MB NAND Flash (Part # MT29F2G08AACWP, Micron make).
but not works with ST make NAND Flash.

can u send me NAND Flash part #, that u r using.

Regards,
Kiran
----- Original Message -----
From: mahesh ingle
To: A...
Sent: Wednesday, February 04, 2009 10:33 PM
Subject: Re: [AT91SAM] AT91SAM9263 is not booting with NAND Flash..........

hi kiran,
i have attached bootstrap code have a look at it. as i said i got it working but not getting u-boot working . addresses u can see the board/... nandflash/9263.h
also send me your bootstrap + bootloader for 9263

Regards
Mahesh.
------
From: Kiran
To: A...
Sent: Tuesday, 3 February, 2009 6:36:42 AM
Subject: Re: [AT91SAM] AT91SAM9263 is not booting with NAND Flash..........


Dear Mahesh,

OK,
I will send boot-strap & u-boot by tomorrow, try this one.

can u send ur boot-strap, u-boot & datasheet of NAND Flash.
also send address location for the same.

Thanks and regards,
Kiran
----- Original Message -----
From: mahesh ingle
To: AT91SAM@yahoogroups .com
Sent: Tuesday, February 03, 2009 7:41 PM
Subject: Re: [AT91SAM] AT91SAM9263 is not booting with NAND Flash....... ...

hi kiran,
i am working on AT91SAM9263 Rev B cpu with Nand 64MB (ST make)
and i got my bootstrap working... i am getting my bootstrap working but not able to get u-boot could u suggest ny thing on tht after getting bootstrap working the bord simply hangs...
in your case with 64MB NAND i guess something went wrong with page sizes were u uisng samll block size?

Thanks& Regards
Mahesh

----
From: KRN
To: AT91SAM@yahoogroups .com
Sent: Monday, 2 February, 2009 4:04:52 AM
Subject: [AT91SAM] AT91SAM9263 is not booting with NAND Flash....... ...

Deal All,

I am using AT91SAM9263 Rev.B CPU, with NAND Boot-Strap from www.linux4sam. org.
CPU will not boot with 64MB (512b page, 16k/block) NAND Flash (ST/Numonyx make) NAND512W3A2C,
but I changed 256MB (2048b page, 64pages/block) NAND Flash (Micron make) MT29F2G08AACWP, CPU is booting well....

Can any one suggest me what may be the woring thing??

Thanks in advance.
Regards,
Kiran
----
Add more friends to your messenger and enjoy! Invite them now.

------
Add more friends to your messenger and enjoy! Invite them now.

Memfault Beyond the Launch