Question about nand tests

Adrian Hunter adrian.hunter at nokia.com
Tue Apr 19 04:59:29 EDT 2011


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
>




More information about the linux-mtd mailing list