Skip to contentSkip to conversation

8260, FCC and local bus

DISCUSSION Matt Gessner 2 participants 3 messages Jun 27, 2000

lore
Share & tools
lore
#0 lore raw

Hello list,

Has anyone done anything with mapping local bus memory so that it can be used for FCC BD's and buffers?

I **thought** I had it right, but my driver eventually causes the machine to hang (EST SBC8260).

I had ioremap'd it, and put va's and pa's where each belonged (va's for the kernel's tracking stuff and pa's for the CPM stuff).

Alas, to no avail.

Has anyone had any success with this, and if so, would you be willing to share?

TIA,

--
Matt Gessner, [email protected]
Senior Software Engineer, R&D
Applied Innovation, Inc.
614-798-2000

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 17 lines · Matt Gessner

Hello list,

Has anyone done anything with mapping local bus memory so that it can be used for FCC BD's and buffers?

I **thought** I had it right, but my driver eventually causes the machine to hang (EST SBC8260).

I had ioremap'd it, and put va's and pa's where each belonged (va's for the kernel's tracking stuff and pa's for the CPM stuff).

Alas, to no avail.

Has anyone had any success with this, and if so, would you be willing to share?

Quoted 8 lines

TIA,

--
Matt Gessner, [email protected]
Senior Software Engineer, R&D
Applied Innovation, Inc.
614-798-2000

Sigh.

Check RSTATE and TSTATE (for FCRx) .

Thanks anyway.
--
Matt Gessner, [email protected]
Senior Software Engineer, R&D
Applied Innovation, Inc.
614-798-2000

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 2 lines · Matt Gessner

I had ioremap'd it, and put va's and pa's where each belonged (va's for the kernel's tracking stuff and pa's for the CPM stuff).

The va/pa macros are not going to work on Local memory addresses. You have to explicitly compute these addresses.

I have a board with some local memory. I'll test it.

	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/