mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* 4096 page NAND boot support on iMX35 PDK board
@ 2010-12-29 20:35 Boaz Ben-David
  2010-12-29 20:48 ` Eric Bénard
  0 siblings, 1 reply; 8+ messages in thread
From: Boaz Ben-David @ 2010-12-29 20:35 UTC (permalink / raw)
  To: barebox

Hi all,

I just started using barebox on the iMX35 PDK and I have a bit of a problem.
My actual board is based on the PDK but with a slight change: the NAND chip is of newer generation and
has 4k page and 218 oob area.
I need to add support to boot from 4k pages in barebox and I can't seem to find any documentation on how to do that.
Can anyone point me in the right direction as to where to find this in the barebox code?

Thanks,

Boaz.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 4096 page NAND boot support on iMX35 PDK board
  2010-12-29 20:35 4096 page NAND boot support on iMX35 PDK board Boaz Ben-David
@ 2010-12-29 20:48 ` Eric Bénard
  2010-12-29 20:51   ` Boaz Ben-David
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Bénard @ 2010-12-29 20:48 UTC (permalink / raw)
  To: barebox

Hi Boaz,

On 29/12/2010 21:35, Boaz Ben-David wrote:
> I just started using barebox on the iMX35 PDK and I have a bit of a problem.
> My actual board is based on the PDK but with a slight change: the NAND chip is of newer generation and
> has 4k page and 218 oob area.
> I need to add support to boot from 4k pages in barebox and I can't seem to find any documentation on how to do that.
> Can anyone point me in the right direction as to where to find this in the barebox code?
>
check in drivers/mtd/nand/nand_imx.c

Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: 4096 page NAND boot support on iMX35 PDK board
  2010-12-29 20:48 ` Eric Bénard
@ 2010-12-29 20:51   ` Boaz Ben-David
  2010-12-29 20:58     ` Eric Bénard
  0 siblings, 1 reply; 8+ messages in thread
From: Boaz Ben-David @ 2010-12-29 20:51 UTC (permalink / raw)
  To: Eric Bénard, barebox

Hi Eric,

Thanks for the quick response, what I would like to know is where is the actual entry point to the code,
i.e. the "main()" function...
I'm asking this because when I try to boot barebox on my board with the different NAND I don't even get a prompt on
the serial line so I figured the image is not read properly.

Thanks,

Boaz.
________________________________________
From: barebox-bounces@lists.infradead.org [barebox-bounces@lists.infradead.org] On Behalf Of Eric Bénard [eric@eukrea.com]
Sent: Wednesday, December 29, 2010 10:48 PM
To: barebox@lists.infradead.org
Subject: Re: 4096 page NAND boot support on iMX35 PDK board

Hi Boaz,

On 29/12/2010 21:35, Boaz Ben-David wrote:
> I just started using barebox on the iMX35 PDK and I have a bit of a problem.
> My actual board is based on the PDK but with a slight change: the NAND chip is of newer generation and
> has 4k page and 218 oob area.
> I need to add support to boot from 4k pages in barebox and I can't seem to find any documentation on how to do that.
> Can anyone point me in the right direction as to where to find this in the barebox code?
>
check in drivers/mtd/nand/nand_imx.c

Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 4096 page NAND boot support on iMX35 PDK board
  2010-12-29 20:51   ` Boaz Ben-David
@ 2010-12-29 20:58     ` Eric Bénard
  2010-12-29 21:05       ` Boaz Ben-David
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Bénard @ 2010-12-29 20:58 UTC (permalink / raw)
  To: Boaz Ben-David; +Cc: barebox

On 29/12/2010 21:51, Boaz Ben-David wrote:
> Thanks for the quick response, what I would like to know is where is the actual entry point to the code,
> i.e. the "main()" function...
> I'm asking this because when I try to boot barebox on my board with the different NAND I don't even get a prompt on
> the serial line so I figured the image is not read properly.
>
check in this file, the imx_nand_load_image function where only 512 & 2k nand 
are handled.

Are you using internal or external boot ?

Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: 4096 page NAND boot support on iMX35 PDK board
  2010-12-29 20:58     ` Eric Bénard
@ 2010-12-29 21:05       ` Boaz Ben-David
  2010-12-29 21:10         ` Eric Bénard
  0 siblings, 1 reply; 8+ messages in thread
From: Boaz Ben-David @ 2010-12-29 21:05 UTC (permalink / raw)
  To: Eric Bénard; +Cc: barebox

external
________________________________________
From: Eric Bénard [eric@eukrea.com]
Sent: Wednesday, December 29, 2010 10:58 PM
To: Boaz Ben-David
Cc: barebox@lists.infradead.org
Subject: Re: 4096 page NAND boot support on iMX35 PDK board

On 29/12/2010 21:51, Boaz Ben-David wrote:
> Thanks for the quick response, what I would like to know is where is the actual entry point to the code,
> i.e. the "main()" function...
> I'm asking this because when I try to boot barebox on my board with the different NAND I don't even get a prompt on
> the serial line so I figured the image is not read properly.
>
check in this file, the imx_nand_load_image function where only 512 & 2k nand
are handled.

Are you using internal or external boot ?

Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 4096 page NAND boot support on iMX35 PDK board
  2010-12-29 21:05       ` Boaz Ben-David
@ 2010-12-29 21:10         ` Eric Bénard
  2010-12-29 21:15           ` Boaz Ben-David
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Bénard @ 2010-12-29 21:10 UTC (permalink / raw)
  To: Boaz Ben-David; +Cc: barebox

On 29/12/2010 22:05, Boaz Ben-David wrote:
> external

so you have to update this function to your hardware (ie : to add 4k page 
support in the nand driver).

Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: 4096 page NAND boot support on iMX35 PDK board
  2010-12-29 21:10         ` Eric Bénard
@ 2010-12-29 21:15           ` Boaz Ben-David
  0 siblings, 0 replies; 8+ messages in thread
From: Boaz Ben-David @ 2010-12-29 21:15 UTC (permalink / raw)
  To: Eric Bénard; +Cc: barebox

Ok, thanks a lot for your help I hope it won't be too complicated implementing the support...

Boaz.
________________________________________
From: Eric Bénard [eric@eukrea.com]
Sent: Wednesday, December 29, 2010 11:10 PM
To: Boaz Ben-David
Cc: barebox@lists.infradead.org
Subject: Re: 4096 page NAND boot support on iMX35 PDK board

On 29/12/2010 22:05, Boaz Ben-David wrote:
> external

so you have to update this function to your hardware (ie : to add 4k page
support in the nand driver).

Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: 4096 page NAND boot support on iMX35 PDK board
@ 2010-12-29 21:11 Boaz Ben-David
  0 siblings, 0 replies; 8+ messages in thread
From: Boaz Ben-David @ 2010-12-29 21:11 UTC (permalink / raw)
  To: Eric Bénard; +Cc: barebox

Ok, thanks alot for the help!

Boaz.

Eric Bénard <eric@eukrea.com> wrote:


On 29/12/2010 22:05, Boaz Ben-David wrote:
> external

so you have to update this function to your hardware (ie : to add 4k page
support in the nand driver).

Eric

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-12-29 21:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-29 20:35 4096 page NAND boot support on iMX35 PDK board Boaz Ben-David
2010-12-29 20:48 ` Eric Bénard
2010-12-29 20:51   ` Boaz Ben-David
2010-12-29 20:58     ` Eric Bénard
2010-12-29 21:05       ` Boaz Ben-David
2010-12-29 21:10         ` Eric Bénard
2010-12-29 21:15           ` Boaz Ben-David
2010-12-29 21:11 Boaz Ben-David

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox