Re: [U-Boot] Booting from NAND on MX51

2010-02-16 Thread Detlev Zundel
Hi, > I would not be surprised to see JFFS2 problems with most i.MX > platforms. The nand ecc includes the spare area so you can not write > a JFFS2 free marker to spare and then later write to the main area. > There are patches for JFFS2 in the kernel for this. I don't know > about u-boot. Als

Re: [U-Boot] Booting from NAND on MX51

2010-02-15 Thread John Rigby
-Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On > Behalf Of Andreas Orfanos > Sent: 11 February 2010 10:25 > To: Eric Bénard > Cc: U-Boot user list > Subject: Re: [U-Boot] Booting from NAND on MX51 > > Hi Eric, > > Th

Re: [U-Boot] Booting from NAND on MX51

2010-02-15 Thread Andreas Orfanos
o: Eric Bénard Cc: U-Boot user list Subject: Re: [U-Boot] Booting from NAND on MX51 Hi Eric, Thank you for the information. Yes, I have found 2 DCD errors when comparing RedBood DCDs with u-boot DCDs, I fixed those error and now the MX51 ROM boot loader copies the u-boot code into RAM. Someone w

Re: [U-Boot] Booting from NAND on MX51

2010-02-11 Thread Stefano Babic
Detlev Zundel wrote: > Would you please be so kind and point those errors out explicitely so > that not every reader has to find the differences by himself? Posting a > patch which does the updates would be an easy way to accompish this... And why not to send a patch to try to get the 3stack boa

Re: [U-Boot] Booting from NAND on MX51

2010-02-11 Thread Detlev Zundel
Hi Andreas, > Thank you for the information. Yes, I have found 2 DCD errors when comparing > RedBood DCDs with u-boot DCDs, > I fixed those error and now the MX51 ROM boot loader copies the u-boot code > into RAM. Would you please be so kind and point those errors out explicitely so that not e

Re: [U-Boot] Booting from NAND on MX51

2010-02-11 Thread Andreas Orfanos
DR + ESDCTL_ESDCDLY5, 0x00ed8000) dcd_data_end: //image_len:.word 0x8 image_len: .word __u_boot_cmd_end - TEXT_BASE #endif -Original Message- From: Eric Bénard [mailto:e...@eukrea.com] Sent: 10 February 2010 15:16 To: Andreas Orfanos Cc: U-Boot user list

Re: [U-Boot] Booting from NAND on MX51

2010-02-10 Thread Eric Bénard
Hi Andreas, Le 10/02/2010 15:55, Andreas Orfanos a écrit : > Did you have to make changes in cpu/arm_cortex8/start.S file? we are using u-boot-2009.01 + freescale patches. No change to start.S (except a small hack to turn on a led to check u-boot is properly loaded and run). > I don't have to ma

Re: [U-Boot] Booting from NAND on MX51

2010-02-10 Thread Andreas Orfanos
ruary 2010 13:55 To: Andreas Orfanos Cc: U-Boot user list; sba...@denx.de Subject: Re: [U-Boot] Booting from NAND on MX51 Hi, Le 10/02/2010 13:23, Andreas Orfanos a écrit : > I have set up the right switches on the board, and I can boot RedBoot > from nand without problem. > Therefore it sho

Re: [U-Boot] Booting from NAND on MX51

2010-02-10 Thread Eric Bénard
Hi, Le 10/02/2010 13:23, Andreas Orfanos a écrit : > I have set up the right switches on the board, and I can boot RedBoot > from nand without problem. > Therefore it should be easy to do it on u-boot. > we are booting u-boot from NAND on a custom iMX51 board (using mDDR and not DDR2), we started

Re: [U-Boot] Booting from NAND on MX51

2010-02-10 Thread Andreas Orfanos
I found it on the latest git u-boot repository. I will check out the latest u-boot and give it a go. Regards, Andreas -Original Message- From: Stefano Babic [mailto:sba...@denx.de] Sent: 10 February 2010 11:44 To: Andreas Orfanos Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Booting fr

Re: [U-Boot] Booting from NAND on MX51

2010-02-10 Thread Stefano Babic
Andreas Orfanos wrote: > Hi, > Hi Andreas, > I am using mx51 3stack Freescale dev board, and I would like to make it > boot u-boot from NAND. I sent patches for the mx51evk (babbage board), but NAND is not (yet) supported. This is the first MX51 board that should go into mainline. The mx51_3sta

[U-Boot] Booting from NAND on MX51

2010-02-10 Thread Andreas Orfanos
velop nand_spl, early stage0 loader? I have also tried to change the following setting on the standard mx51_3stack config but still cannot get it boot from NAND. #undef CONFIG_SKIP_RELOCATE_UBOOT #define CONFIG_SYS_NAND_BOOT 1 Does anyone have u-boot booting from NAND on mx51? Any repository,