* [U-Boot] Help Required [imx35pdk] @ 2012-09-12 10:03 Muhammad Usman 2012-09-12 21:07 ` Marek Vasut 0 siblings, 1 reply; 7+ messages in thread From: Muhammad Usman @ 2012-09-12 10:03 UTC (permalink / raw) To: u-boot I am adding support of imx35pdk in yocto. I have done with my bsp. But the u-boot that build in response of my bsp only runs over NOR and not on NAND. I spend 2 days on it but failed to do so. I read some where that mx35pdk required some external 4-pins bla bla something like that. Also the u-boot running on NOR is not configuring uImage. I am using tftp but when it comes on loading, it keeps on showing "T T T T T..." (time-out response). I'm stuck here. Need help :( I am using u-boot from this repo: git://git.denx.de/u-boot.git One thing more, in the above mentioned repository, there is a directory like spl_nand in which they have already add mx31pdk for u-boot-nand.bin support but not mx35pdk. What should i do to overcome all this ??? Regards, Usman ^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Help Required [imx35pdk] 2012-09-12 10:03 [U-Boot] Help Required [imx35pdk] Muhammad Usman @ 2012-09-12 21:07 ` Marek Vasut 2012-09-12 21:44 ` stefano babic 0 siblings, 1 reply; 7+ messages in thread From: Marek Vasut @ 2012-09-12 21:07 UTC (permalink / raw) To: u-boot Dear Muhammad Usman, Ccing Stefano. > I am adding support of imx35pdk in yocto. > I have done with my bsp. But the u-boot that build in response of my bsp > only runs over NOR and not on NAND. I spend 2 days on it but failed to do > so. I read some where that mx35pdk required some external 4-pins bla bla > something like that. > > Also the u-boot running on NOR is not configuring uImage. I am using tftp > but when it comes on loading, it keeps on showing "T T T T T..." (time-out > response). > I'm stuck here. Need help :( > > I am using u-boot from this repo: > git://git.denx.de/u-boot.git > > > > One thing more, in the above mentioned repository, there is a directory > like spl_nand in which they have already add mx31pdk for u-boot-nand.bin > support but not mx35pdk. What should i do to overcome all this ??? > > > > Regards, > Usman Best regards, Marek Vasut ^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Help Required [imx35pdk] 2012-09-12 21:07 ` Marek Vasut @ 2012-09-12 21:44 ` stefano babic 2012-09-13 4:55 ` Fabio Estevam 2012-09-13 6:13 ` Muhammad Usman 0 siblings, 2 replies; 7+ messages in thread From: stefano babic @ 2012-09-12 21:44 UTC (permalink / raw) To: u-boot Am 12/09/2012 23:07, schrieb Marek Vasut: > Dear Muhammad Usman, > Hi Muhammad, > Ccing Stefano. > >> I am adding support of imx35pdk in yocto. >> I have done with my bsp. But the u-boot that build in response of my bsp >> only runs over NOR and not on NAND. I spend 2 days on it but failed to do >> so. U-Boot for mx35pdk runs from NOR and not from NAND. There is no support to run from NAND. Even if I can "convince" the board to boot from NAND, this was not pushed to mainline. I explain why. You have found nand_spl with support for mx31pdk. This was the method we have previously to boot from NAND. We have now a generic framework for SPL, and all new boards (or added support for booting from NAND) must use it. A board using the old nand_spl will not be merged into mainline. The mx35pdk was not ported to this generic SPL. We are really merging this framework now to make it available for all SOC, because it was common only for TI processor. > I read some where that mx35pdk required some external 4-pins bla bla >> something like that. It does not require external pins. You have to configure the dip switches on the mx35pdk. >> >> Also the u-boot running on NOR is not configuring uImage. I am using tftp >> but when it comes on loading, it keeps on showing "T T T T T..." (time-out >> response). I think I have tested it recently, and it worked - which of the two interfaces have you used in u-boot ? Both (FEC and SMC) are supported in the mx35pdk u-boot, and both should work, as far as I know. >> One thing more, in the above mentioned repository, there is a directory >> like spl_nand in which they have already add mx31pdk for u-boot-nand.bin >> support but not mx35pdk. What should i do to overcome all this ??? This is what I talked about before. All boards using spl_nand were added a lot of time ago. spl_nand requires a separate driver for SPL, and this is highly inefficient. The way we decided to go is to use a generic SPL, valid for all SOC. And there is not yet a port for mx35pdk to boot directly from NAND. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Help Required [imx35pdk] 2012-09-12 21:44 ` stefano babic @ 2012-09-13 4:55 ` Fabio Estevam 2012-09-13 6:18 ` Muhammad Usman 2012-09-13 7:48 ` stefano babic 2012-09-13 6:13 ` Muhammad Usman 1 sibling, 2 replies; 7+ messages in thread From: Fabio Estevam @ 2012-09-13 4:55 UTC (permalink / raw) To: u-boot Hi Stefano, On Wed, Sep 12, 2012 at 6:44 PM, stefano babic <sbabic@denx.de> wrote: > U-Boot for mx35pdk runs from NOR and not from NAND. There is no support > to run from NAND. Even if I can "convince" the board to boot from NAND, > this was not pushed to mainline. I explain why. Reading board/freescale/mx35pdk/README it gives the impression that booting from NAND is supported. Should this be updated? Regards, Fabio Estevam ^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Help Required [imx35pdk] 2012-09-13 4:55 ` Fabio Estevam @ 2012-09-13 6:18 ` Muhammad Usman 2012-09-13 7:48 ` stefano babic 1 sibling, 0 replies; 7+ messages in thread From: Muhammad Usman @ 2012-09-13 6:18 UTC (permalink / raw) To: u-boot I am totally agree with you Fabio. By reading the README.txt, it gives clear impression regarding NAND that it can also be used as an alternate. The text should be modify for NAND so that no one further stuck on it. On Thu, Sep 13, 2012 at 9:55 AM, Fabio Estevam <festevam@gmail.com> wrote: > Hi Stefano, > > On Wed, Sep 12, 2012 at 6:44 PM, stefano babic <sbabic@denx.de> wrote: > > > U-Boot for mx35pdk runs from NOR and not from NAND. There is no support > > to run from NAND. Even if I can "convince" the board to boot from NAND, > > this was not pushed to mainline. I explain why. > > Reading board/freescale/mx35pdk/README it gives the impression that > booting from NAND is supported. > > Should this be updated? > > Regards, > > Fabio Estevam > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > ^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Help Required [imx35pdk] 2012-09-13 4:55 ` Fabio Estevam 2012-09-13 6:18 ` Muhammad Usman @ 2012-09-13 7:48 ` stefano babic 1 sibling, 0 replies; 7+ messages in thread From: stefano babic @ 2012-09-13 7:48 UTC (permalink / raw) To: u-boot Am 13/09/2012 06:55, schrieb Fabio Estevam: > Hi Stefano, > > On Wed, Sep 12, 2012 at 6:44 PM, stefano babic <sbabic@denx.de> wrote: > >> U-Boot for mx35pdk runs from NOR and not from NAND. There is no support >> to run from NAND. Even if I can "convince" the board to boot from NAND, >> this was not pushed to mainline. I explain why. > > Reading board/freescale/mx35pdk/README it gives the impression that > booting from NAND is supported. It is a wrong impression, it is not (yet) supported.. > > Should this be updated? Yes ! Regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de ===================================================================== ^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] Help Required [imx35pdk] 2012-09-12 21:44 ` stefano babic 2012-09-13 4:55 ` Fabio Estevam @ 2012-09-13 6:13 ` Muhammad Usman 1 sibling, 0 replies; 7+ messages in thread From: Muhammad Usman @ 2012-09-13 6:13 UTC (permalink / raw) To: u-boot Dear Stefano, You really explained well. I have got it now. For now I have left the NAND flash and instead I'm now using NOR. I have successfully boot Linux with the latest kernel 3.5.3 from NOR. Thanks a lot for all your support. On Thu, Sep 13, 2012 at 2:44 AM, stefano babic <sbabic@denx.de> wrote: > Am 12/09/2012 23:07, schrieb Marek Vasut: > > Dear Muhammad Usman, > > > > Hi Muhammad, > > > Ccing Stefano. > > > >> I am adding support of imx35pdk in yocto. > >> I have done with my bsp. But the u-boot that build in response of my bsp > >> only runs over NOR and not on NAND. I spend 2 days on it but failed to > do > >> so. > > U-Boot for mx35pdk runs from NOR and not from NAND. There is no support > to run from NAND. Even if I can "convince" the board to boot from NAND, > this was not pushed to mainline. I explain why. > > You have found nand_spl with support for mx31pdk. This was the method we > have previously to boot from NAND. We have now a generic framework for > SPL, and all new boards (or added support for booting from NAND) must > use it. A board using the old nand_spl will not be merged into mainline. > > The mx35pdk was not ported to this generic SPL. We are really merging > this framework now to make it available for all SOC, because it was > common only for TI processor. > > > I read some where that mx35pdk required some external 4-pins bla bla > >> something like that. > > It does not require external pins. You have to configure the dip > switches on the mx35pdk. > > >> > >> Also the u-boot running on NOR is not configuring uImage. I am using > tftp > >> but when it comes on loading, it keeps on showing "T T T T T..." > (time-out > >> response). > > I think I have tested it recently, and it worked - which of the two > interfaces have you used in u-boot ? Both (FEC and SMC) are supported in > the mx35pdk u-boot, and both should work, as far as I know. > > > >> One thing more, in the above mentioned repository, there is a directory > >> like spl_nand in which they have already add mx31pdk for u-boot-nand.bin > >> support but not mx35pdk. What should i do to overcome all this ??? > > This is what I talked about before. All boards using spl_nand were added > a lot of time ago. spl_nand requires a separate driver for SPL, and this > is highly inefficient. The way we decided to go is to use a generic SPL, > valid for all SOC. And there is not yet a port for mx35pdk to boot > directly from NAND. > > Best regards, > Stefano Babic > > > -- > ===================================================================== > DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de > ===================================================================== > ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-09-13 7:48 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-09-12 10:03 [U-Boot] Help Required [imx35pdk] Muhammad Usman 2012-09-12 21:07 ` Marek Vasut 2012-09-12 21:44 ` stefano babic 2012-09-13 4:55 ` Fabio Estevam 2012-09-13 6:18 ` Muhammad Usman 2012-09-13 7:48 ` stefano babic 2012-09-13 6:13 ` Muhammad Usman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox