[U-Boot] mx35pdk vs. mx35_3stack

Hi,
We have mx35 based hardware where I've been using U-boot from mx35_3stack dev-board so far. It's version 2009.08. Due upgrading the compiler the U-boot didn't compile correctly anymore so I thought I upgrade it to latest available which is 2011.06. That doesn't have the mx35_3stack target anymore, but mx35pdk instead. I'm guessing the mx35_3stack is coming from Freescale patches or is it?
Does anyone know if the is mx35_3stack the same as mx35pdk? At least the U-boot 2011.06 compiled to target mx35pdk doesn't show any kind of life signs in a hardware where 2009.08 with mx35_3stack works without any additional patches.
-Teemu

On 09/05/2011 12:44 PM, Teemu Keskinarkaus wrote:
Hi,
Hi Teemu,
We have mx35 based hardware where I've been using U-boot from mx35_3stack dev-board so far. It's version 2009.08. Due upgrading the compiler the U-boot didn't compile correctly anymore so I thought I upgrade it to latest available which is 2011.06. That doesn't have the mx35_3stack target anymore, but mx35pdk instead. I'm guessing the mx35_3stack is coming from Freescale patches or is it?
Does anyone know if the is mx35_3stack the same as mx35pdk? At least the U-boot 2011.06 compiled to target mx35pdk doesn't show any kind of life signs in a hardware where 2009.08 with mx35_3stack works without any additional patches.
It is the same board: mx35pdk is the official name we can found on the Freescale's Website.
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX35PDK&...
As you can see, this should be the board you have.
Take into account that the u-boot.bin in the last release must be stored on the NOR flash of your board - the board has both NAND and NOR flash. The DIP switch on the main board and on the Debug extension must be set to boot from the NOR flash.
Best regards, Stefano Babic

Hi,
-----Original Message----- From: Stefano Babic [mailto:sbabic@denx.de]
Take into account that the u-boot.bin in the last release must be stored on the NOR flash of your board - the board has both NAND and NOR flash. The DIP switch on the main board and on the Debug extension must be set to boot from the NOR flash.
Yes, I just realized that it might be the cause. I our hw doesn't have NOR, only NAND. I looked in mx35pdk.h config-header, but couldn't find place where to config U-boot for NAND. I'm compiling U-boot myself and not using precompiled binary.
-Teemu

On 09/06/2011 06:29 AM, Teemu Keskinarkaus wrote:
Hi,
Hi Teemu,
-----Original Message----- From: Stefano Babic [mailto:sbabic@denx.de]
Take into account that the u-boot.bin in the last release must be stored on the NOR flash of your board - the board has both NAND and NOR flash. The DIP switch on the main board and on the Debug extension must be set to boot from the NOR flash.
Yes, I just realized that it might be the cause. I our hw doesn't have NOR, only NAND.
Well, the mx35pdk (aka mx35_3stack) has always NOR flash, so far as I know. Do you mean you are running a custom board ?
I looked in mx35pdk.h config-header, but couldn't find place where to config U-boot for NAND. I'm compiling U-boot myself and not using precompiled binary.
There is no such a simple CONFIG_ to switch them and you must add support for it.
To boot with NAND, you have to use the SPL mechanism. This set up the RAM and copies the u-boot image from NAND to RAM. NAND driver for the MX35 is supported, so it should be not a big effort to add the board.
Best regards, Stefano Babic

Hi,
From: u-boot-bounces@lists.denx.de [mailto:u-boot-bounces@lists.denx.de] On Behalf Of Stefano Babic
Well, the mx35pdk (aka mx35_3stack) has always NOR flash, so far as I know. Do you mean you are running a custom board ?
Yes, I'm running custom board.
There is no such a simple CONFIG_ to switch them and you must add support for it.
To boot with NAND, you have to use the SPL mechanism. This set up the RAM and copies the u-boot image from NAND to RAM. NAND driver for the MX35 is supported, so it should be not a big effort to add the board.
I'm currently running U-boot from Freescale that runs as is in dev-board as well and it boots from NAND. That's why I thought that newer U-boot would also, but I guess I was mistaken. I'll have to take a look how to get U-boot to boot from NAND instead of NOR unless someone else has already made this patch? I don't think I'm first one with this problem?
- Teemu
participants (2)
-
Stefano Babic
-
Teemu Keskinarkaus