industrialNETworXnetx

wangl

wangl

| 03.07.2009 | 10:23 | 7 replies

about CF Card driver in folder drivers/pcmcia

Dear MT:
I see the CF card driver netx_cf.c in linux source code.
Does hilscher test that driver?
Can linux use it to mount the ext2 filesytem in CF card?
In the bsp document,you haven't mentioned it!

Best regards

M T

M T

Hilscher Gesellschaft für Systemautomation mbH

| 03.07.2009 | 13:23

wangl wrote:

I see the CF card driver netx_cf.c in linux source code.
Does hilscher test that driver?

It was tested by the guys that made the BSP, yes.

wangl wrote:

Can linux use it to mount the ext2 filesytem in CF card?
In the bsp document,you haven't mentioned it!

In the BSP manual (Rev5.) I have here, the CF driver is mentioned (page 33). Ok. It mentions the FAT filesystem as this is the default for CF cards, but the filesystem does not matter for a pcmcia / cf driver.

Regards

MT

wangl

wangl

| 06.07.2009 | 06:39

Dear MT:
We need to store the uboot in nor flash,and linux uImage and file system in the CF card .
the driver which you provided not use the trueIDE mode,
however,there is ide support in the uboot,
Is there CF card support use in the BSP of uboot using PC card mode?
Is it will by quickly to develop a true ide driver in linux and uboot compared with develop a pc card driver in uboot?
can you give some advice?
Thank you.

Best regards!

M T

M T

Hilscher Gesellschaft für Systemautomation mbH

| 06.07.2009 | 10:45

wangl wrote:
Dear MT:
We need to store the uboot in nor flash,and linux uImage and file system in the CF card .
the driver which you provided not use the trueIDE mode,
however,there is ide support in the uboot,
Is there CF card support use in the BSP of uboot using PC card mode?
Is it will by quickly to develop a true ide driver in linux and uboot compared with develop a pc card driver in uboot?
can you give some advice?
Thank you.

The CF Card interface is basically a PCMCIA interface (Memory and IO Mapped windows), connected to the extension bus of the netX. AFAIK you would need an ATA/IDE controller to use True IDE mode. But the CF card offers all registers of an ATA controller anyway, so memory mode should be ready to go in uboot.

See http://ozlabs.org/pipermail/linuxppc-embedded/2002-July/007917.html

Regards

MT

wangl

wangl

| 06.07.2009 | 12:35

MT wrote:
But the CF card offers all registers of an ATA controller anyway, so memory mode should be ready to go in uboot.
MT

Dear MT
as you say, it support
and I see the links
> I have seen in the PPCBoot source code a function called "ide_init" that
> initialize PCMCIA interface as a common memory space .

there is CF card interface on nxeb500-hmi board,however there is no CF card interface on our board nxdb500.
Do you do such a test on it?
It is quite easy to test it on that board by using "ide write 0x1000000 0x9D80 0x4000 " !
But you have do some little change in the /include/configs/nxdb500.h

M T

M T

Hilscher Gesellschaft für Systemautomation mbH

| 06.07.2009 | 13:09

wangl wrote:
MT wrote:
But the CF card offers all registers of an ATA controller anyway, so memory mode should be ready to go in uboot.
MT

there is CF card interface on nxeb500-hmi board,however there is no CF card interface on our board nxdb500.
Do you do such a test on it?

As you already remarked, there is no physical CF card connector attached to the NXDB500-SYS Board, so the answer is no. We did not test it on this board.

So no test on this board, without external HW attached to the Extension bus pins.

Regards

MT

wangl

wangl

| 07.07.2009 | 03:21

Dear MT:
I mean: Can you do the memory mode test on the nxeb500-hmi board?

thank you

M T

M T

Hilscher Gesellschaft für Systemautomation mbH

| 07.07.2009 | 07:19

wangl wrote:

I mean: Can you do the memory mode test on the nxeb500-hmi board?

No, i won't do this test. The Linux netX pcmcia / cf driver does work, and uses memory mode, so why should I do another test?

The hardware connection is working, and I don't have time and hardware to test the features you desire or that you are implementing.

Regards

MT

Login