All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lorenz Kolb <linuxppcemb@lkmail.de>
To: "Wang, Junhua H. (NSN - CN/Hangzhou)" <junhua.h.wang@nsn.com>
Cc: Linuxppc-dev@lists.ozlabs.org
Subject: Re: Ask a technical problem happened on PPC board
Date: Sat, 31 Dec 2011 12:16:36 +0100	[thread overview]
Message-ID: <4EFEEF14.3070707@lkmail.de> (raw)
In-Reply-To: <E2D908A47720CD488BC2AFD11DB6A1B540E9A1@CNBEEXC007.nsn-intra.net>

[-- Attachment #1: Type: text/plain, Size: 2743 bytes --]

Hi,

first of all: have you tried doing a standalone memory test application?
 From what I see you are using either a Virtex-4FX or Virtex-5FXT 
device, correct?

So I'd highly recommend doing a standalone test prior to booting Linux 
to verify the memory controller timings of the FPGA based SoC.

Apart from this: your Linux-Kernel and gcc seem to be pretty outdated. 
Using a more recent Linux and toolchain often solves a lot of issues (my 
experience, esp. with PowerPC Linux for Xilinx FPGAs).

Regards,

Lorenz
Missing Link Electronics

On 12/31/2011 5:15 AM, Wang, Junhua H. (NSN - CN/Hangzhou) wrote:
>
> HI, all:
>
> Sorry to disturb all of you in the linuxppc-dev mail group. I am a new 
> member from linuxppc-dev from China, and I have a very weird problem, 
> it have been bothering me for a long time.  I will be very grateful if 
> you can help me to analyse it.
>
>   1) Problem description:
>
> a) FRIU(a circuit board) unit is a ppc(powerpc) unit, 256 M bytes Ram, 
> bootloader is uboot, kernel linux-2.6.21 filesystem: initramfs
>
> The main problem is that when kernel start up and mount initramfs, run 
> the init process(pid 1), when the process(init) write file(20 M bytes) 
> to filesystem(initramfs),
>
> sometimes it will find some data modified when check the file's 
> contents by read it.
>
> b) I have write a test init process which will write 20 Mbytes 
> data(0xFF) to "/TEST0.IMG" and check it's contents. Sometimes, the 
> contents will by modified.
>
> c) Here is the test procedure:
>
> Uboot download linux kernel and initramfs --> cmd "bootm" to start 
> linux -->after kernel start complete, mount initramfs, run init 
> process(pid 1)
>
> --> It will write 20 Mbytes data(0XFF) to 'TEST0.IMG' and check it's 
> contents, If there is error, the error data will be printed.
>
> 2) Error data:
>
> a) Every time the error happened, a pair of data modified:
>
> first place: 1C 00 FF FF FF FF FF FF 00 00 00 040 80 ...
>
> Second place:FF FF FF FF FF FF 00 A0 ....
>
> Sometimes, there will be 2 pair of data modified.
>
> b) The error happens not very often, but it happens sometime.
>
> 3)
>
> Could you give me some advice on how to investigate it or which part 
> you think will have problem?
>
> Thanks very much!
>
> Usedkernel: linux-2.6.21<<init process write_read file(20Mbytes) 
> error2.txt>> <<init process write_read file(20Mbytes) error.txt>>
>
> Br,
>
> Wang Junhua
>
> *Wang Junhua (Jonny)*//
>
> /-----------------------------------------/
>
> /LINDX/
>
> /DX 200 R&D HZ Area E /
>
> /MP: +8615967154143/
>
> /Seat:4076/
>
>
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev


[-- Attachment #2: Type: text/html, Size: 8685 bytes --]

      parent reply	other threads:[~2011-12-31 11:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-31  4:15 Ask a technical problem happened on PPC board Wang, Junhua H. (NSN - CN/Hangzhou)
2011-12-31  9:01 ` manu
2011-12-31 11:16 ` Lorenz Kolb [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EFEEF14.3070707@lkmail.de \
    --to=linuxppcemb@lkmail.de \
    --cc=Linuxppc-dev@lists.ozlabs.org \
    --cc=junhua.h.wang@nsn.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.