[U-Boot] U-boot on MPC8641D based board

Hi All, I have been facing a strange problem in my board which is MPC8641D based. In this board we have two nor spansion flashes connected to cs0 and cs1. U boot had detected both the flashes and when flinfo command is it shows both flash information but when we try to access another flash u-boot is crashing.
Flash part no is s29gl01gs which is CFI complaint.
Please provide some pointers where I should concentrate more to resolve this issue. As I have checked all the configuration in configuration file it seems to be fine. Any help will be really appreciated.
Ashish Khetan +91-8886013575

Hi Ashish
On 03/19/2015 08:12 AM, Ashish Khetan wrote:
Hi All, I have been facing a strange problem in my board which is MPC8641D based. In this board we have two nor spansion flashes connected to cs0 and cs1. U boot had detected both the flashes and when flinfo command is it shows both flash information but when we try to access another flash u-boot is crashing.
Flash part no is s29gl01gs which is CFI complaint.
Please provide some pointers where I should concentrate more to resolve this issue. As I have checked all the configuration in configuration file it seems to be fine. Any help will be really appreciated.
As a rule of thumb, you need to provide u-boot version that you are running. Ideally you should run the latest mainline u-boot and reproduce the problem if you like to get effective help from others.
So please reproduce the issue with the latest mainline u-boot, document the steps and provide some more info on your target hw.
Regards Sinan Akman

Hi Sinan,
Thanks for your Reply, I am using u-boot-2013.04 version. These are the following configuration which we are using: 1. SySclk -> 100Mhz 2. MPX Clk -> 400Mhz 3. Core Clk ->1200Mhz 4. LBC clk -> 25Mhz 5. LBC CS0 -> Flash1(128Mbyte s29gl01gs) 6. LBC CS1 -> Flash2(256Mbyte s70gl02gs)
I have attached booting and crash log file. But when I type bdinfo in there its display only current flash size. I hope this information will help to understand the problem.
On Thu, Mar 19, 2015 at 11:02 PM, Sinan Akman sinan@writeme.com wrote:
Hi Ashish
On 03/19/2015 08:12 AM, Ashish Khetan wrote:
Hi All, I have been facing a strange problem in my board which is MPC8641D based. In this board we have two nor spansion flashes connected to cs0 and cs1. U boot had detected both the flashes and when flinfo command is it shows both flash information but when we try to access another flash u-boot is crashing.
Flash part no is s29gl01gs which is CFI complaint.
Please provide some pointers where I should concentrate more to resolve this issue. As I have checked all the configuration in configuration file it seems to be fine. Any help will be really appreciated.
As a rule of thumb, you need to provide u-boot version that you are running. Ideally you should run the latest mainline u-boot and reproduce the problem if you like to get effective help from others.
So please reproduce the issue with the latest mainline u-boot, document the steps and provide some more info on your target hw.
Regards Sinan Akman

Hi Ashish
On 03/20/2015 02:51 AM, Ashish Khetan wrote:
Hi Sinan,
Thanks for your Reply, I am using u-boot-2013.04 version. These are the following configuration which we are using:
Your u-boot is old. Please run a recent mainline u-boot so that people here can help you.
- SySclk -> 100Mhz
- MPX Clk -> 400Mhz
- Core Clk ->1200Mhz
- LBC clk -> 25Mhz
- LBC CS0 -> Flash1(128Mbyte s29gl01gs)
- LBC CS1 -> Flash2(256Mbyte s70gl02gs)
I have attached booting and crash log file. But when I type bdinfo in there its display only current flash size. I hope this information will help to understand the problem.
If you need to add a log file etc. please use pastebin or something similar and provide here the url to it. Attaching big files are not acceptable and not very efficient.
Also, please don't top post.
Give it a try with the most recent mainline u-boot and we might be able to help you debug the issue a bit better.
Regards Sinan Akman
participants (2)
-
Ashish Khetan
-
Sinan Akman