Skip to contentSkip to conversation

Is there some articles discussing how to change bare-board code to linux driver?

DISCUSSION T Ziomek 3 participants 3 messages Nov 30, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

T Ziomek

author
#1 lore raw
Quoted 1 line

Where can i find them?thanks.

In addition to LDD3 (for 2.6 kernels, or the freely available LDD2 for 2.4 kernels), you might want to look at some existing Linux drivers that are based on "bare metal" / "no OS" drivers. The ones I know of are for Xilinx
peripherals, for example (within the Linux kernel tree),
- ./drivers/net/xilinx_enet
- ./drivers/char/xilinx_uartlite
- ./drivers/char/xilinx_gpio

Tom

Signature · 4 lines
  /"\  ASCII Ribbon Campaign   |
  \ /                          |   Email to user 'CTZ001'
   X        Against HTML       |             at 'email.mot.com'
  / \     in e-mail & news     |
#2 lore raw

Where can I find the ./drivers/net/xilinx_enet, ... etc files. I can not find them in the 2.6.14.2 tree

Quoted 10 lines · T Ziomek
Quoted 1 line

Where can i find them?thanks.

In addition to LDD3 (for 2.6 kernels, or the freely available LDD2 for 2.4 kernels), you might want to look at some existing Linux drivers that are based on "bare metal" / "no OS" drivers. The ones I know of are for Xilinx
peripherals, for example (within the Linux kernel tree),
- ./drivers/net/xilinx_enet
- ./drivers/char/xilinx_uartlite
- ./drivers/char/xilinx_gpio

Tom

#3 lore raw
Quoted 2 lines · David H. Lynch Jr

Where can I find the ./drivers/net/xilinx_enet, ... etc files. I can not find them in the 2.6.14.2 tree

They are in the linuxppc-2.4 tree. Try
rsync -avz --delete source.mvista.com::linuxppc-2.4 <directory>

-- Andrei

Quoted 19 lines
Quoted 11 lines · T Ziomek
Quoted 1 line

Where can i find them?thanks.

In addition to LDD3 (for 2.6 kernels, or the freely available LDD2 for 2.4 kernels), you might want to look at some existing Linux drivers that are based on "bare metal" / "no OS" drivers. The ones I know of are for Xilinx
peripherals, for example (within the Linux kernel tree),
- ./drivers/net/xilinx_enet
- ./drivers/char/xilinx_uartlite
- ./drivers/char/xilinx_gpio

Tom

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded