public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Re: Question about nand tests
       [not found] <33579C238B096249ADEFFC942E9C396301BA2C52@guru-msv.BQC.CORP.COM>
@ 2011-04-19  8:59 ` Adrian Hunter
  2011-04-19  9:00   ` Artem Bityutskiy
  2011-04-19  9:06   ` Ryan Liu
  0 siblings, 2 replies; 4+ messages in thread
From: Adrian Hunter @ 2011-04-19  8:59 UTC (permalink / raw)
  To: Ryan Liu; +Cc: linux-mtd Mailing List

On 19/04/11 11:21, Ryan Liu wrote:
> Hi Adrian,
>
>
> I'm new to linux, and currently study MTD driver. I tried google but not
> find useful information.
>
> I have a Samsung S5PC100(ARM cortex A8) platform board(running Android)
> with 256MiB SLC NAND Flash on it (K9F2G08U0B) and try to run nand test
> on it.
>
> I download nand-tests-f9f10b8.tar.gz from
> http://git.infradead.org/users/ahunter/nand-tests.git first, and modify
> KERNEL_PATH in the Makefile.

Those tests are out of date.  The uptodate tests are in the kernel itself,
in drivers/mtd/tests

Please refer your questions to the mtd mailing list.

>
> Then I compile the project with "make ARCH=arm
> CROSS_COMPILER=/usr/local/arm/4.2.2-eabi/usr/bin/arm-unknown-linux-gnuea
> bi-" successfully.
>
> After compiling, I get some files such as scantest.ko, speedtest.ko
> etc.
>
> After pushing the xxxtest.ko file into the board memory and running
> "chmod 777 xxxtest.ko" file,
> I find error "insmod: can't insert '/storage/mstorage/scantest.ko':
> unknown symbol in module or invalid parameter"
> after running "busybox insmod scantest.ko dev=4", but above the error
> there is no inofrmation like "ext3: Unknown symbol warn_on_slowpath".
>
> Is there anything I missed or doing something wrong?
>
> Thanks in advance.
>
>
> Regards,
> Ryan
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Question about nand tests
  2011-04-19  8:59 ` Question about nand tests Adrian Hunter
@ 2011-04-19  9:00   ` Artem Bityutskiy
  2011-04-19  9:08     ` Ryan Liu
  2011-04-19  9:06   ` Ryan Liu
  1 sibling, 1 reply; 4+ messages in thread
From: Artem Bityutskiy @ 2011-04-19  9:00 UTC (permalink / raw)
  To: Adrian Hunter; +Cc: linux-mtd Mailing List, Ryan Liu

On Tue, 2011-04-19 at 11:59 +0300, Adrian Hunter wrote:
> > I download nand-tests-f9f10b8.tar.gz from
> > http://git.infradead.org/users/ahunter/nand-tests.git first, and modify
> > KERNEL_PATH in the Makefile.
> 
> Those tests are out of date.  The uptodate tests are in the kernel itself,
> in drivers/mtd/tests

Yes, they are upstream:

http://www.linux-mtd.infradead.org/doc/general.html#L_mtd_tests

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Question about nand tests
  2011-04-19  8:59 ` Question about nand tests Adrian Hunter
  2011-04-19  9:00   ` Artem Bityutskiy
@ 2011-04-19  9:06   ` Ryan Liu
  1 sibling, 0 replies; 4+ messages in thread
From: Ryan Liu @ 2011-04-19  9:06 UTC (permalink / raw)
  To: Adrian Hunter; +Cc: linux-mtd Mailing List


thanks 

-----Original Message-----
From: Adrian Hunter [mailto:adrian.hunter@nokia.com] 
Sent: Tuesday, April 19, 2011 4:59 PM
To: Ryan Liu
Cc: linux-mtd Mailing List
Subject: Re: Question about nand tests

On 19/04/11 11:21, Ryan Liu wrote:
> Hi Adrian,
>
>
> I'm new to linux, and currently study MTD driver. I tried google but 
> not find useful information.
>
> I have a Samsung S5PC100(ARM cortex A8) platform board(running 
> Android) with 256MiB SLC NAND Flash on it (K9F2G08U0B) and try to run 
> nand test on it.
>
> I download nand-tests-f9f10b8.tar.gz from 
> http://git.infradead.org/users/ahunter/nand-tests.git first, and 
> modify KERNEL_PATH in the Makefile.

Those tests are out of date.  The uptodate tests are in the kernel
itself, in drivers/mtd/tests

Please refer your questions to the mtd mailing list.

>
> Then I compile the project with "make ARCH=arm 
> CROSS_COMPILER=/usr/local/arm/4.2.2-eabi/usr/bin/arm-unknown-linux-gnu
> ea
> bi-" successfully.
>
> After compiling, I get some files such as scantest.ko, speedtest.ko 
> etc.
>
> After pushing the xxxtest.ko file into the board memory and running 
> "chmod 777 xxxtest.ko" file, I find error "insmod: can't insert 
> '/storage/mstorage/scantest.ko':
> unknown symbol in module or invalid parameter"
> after running "busybox insmod scantest.ko dev=4", but above the error 
> there is no inofrmation like "ext3: Unknown symbol warn_on_slowpath".
>
> Is there anything I missed or doing something wrong?
>
> Thanks in advance.
>
>
> Regards,
> Ryan
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Question about nand tests
  2011-04-19  9:00   ` Artem Bityutskiy
@ 2011-04-19  9:08     ` Ryan Liu
  0 siblings, 0 replies; 4+ messages in thread
From: Ryan Liu @ 2011-04-19  9:08 UTC (permalink / raw)
  To: dedekind1, Adrian Hunter; +Cc: linux-mtd Mailing List


thanks, I'll look into it 

-----Original Message-----
From: Artem Bityutskiy [mailto:dedekind1@gmail.com] 
Sent: Tuesday, April 19, 2011 5:01 PM
To: Adrian Hunter
Cc: Ryan Liu; linux-mtd Mailing List
Subject: Re: Question about nand tests

On Tue, 2011-04-19 at 11:59 +0300, Adrian Hunter wrote:
> > I download nand-tests-f9f10b8.tar.gz from 
> > http://git.infradead.org/users/ahunter/nand-tests.git first, and 
> > modify KERNEL_PATH in the Makefile.
> 
> Those tests are out of date.  The uptodate tests are in the kernel 
> itself, in drivers/mtd/tests

Yes, they are upstream:

http://www.linux-mtd.infradead.org/doc/general.html#L_mtd_tests

--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-19  9:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <33579C238B096249ADEFFC942E9C396301BA2C52@guru-msv.BQC.CORP.COM>
2011-04-19  8:59 ` Question about nand tests Adrian Hunter
2011-04-19  9:00   ` Artem Bityutskiy
2011-04-19  9:08     ` Ryan Liu
2011-04-19  9:06   ` Ryan Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox