Giter Site home page Giter Site logo

phoenix-rtos-lwip's Introduction

lwIP network server for Phoenix-RTOS

Run

netsrv driver [driver...]

where driver is one of:

  1. RTL8139C+ (eg. as emulated by qemu)

    rtl:pcidev:irq

    pcidev = (bus << 8) | (dev << 3) | (fn << 0)

For qemu, it's usually: rtl:0x10:10

  1. iMX.6ULL ENET module (== "Freescale Ethernet Controller"?)

    enet:mmio:irq[:no-mdio][:phyinfo]

. ENET1 ENET2
mmio 0x02188000 0x020b4000
irq 150 152

no-mdio disables MDIO support (only one module can drive MDIO bus)

When an external PHY is used, phyinfo is formatted as follows:

PHY:[busnr.]id[:reset:[-]n:/dev/gpioX][:irq:[-]n:/dev/gpioX]

busnr = bus registered by driver (in driver-arg-order, counted from 0)

id = PHY address

reset/irq: GPIO descriptors:

minus = signal is active-low

n = pin number

/dev/gpioX = GPIO bank driver node

(When GPIOs are used, gpiosrv must be already running.)

iMX.6ULL's evaluation board needs:

enet:0x02188000:150:PHY:0.2:reset:-1:/dev/gpio6:irq:-5:/dev/gpio5
enet:0x020b4000:152:no-mdio:PHY:0.1:reset:-2:/dev/gpio6:irq:-6:/dev/gpio5

Build

make TARGET=target

where target matches kernel/libphoenix TARGET value.

License

This work is licensed under a BSD license. See the LICENSE file for details.

SPDX-License-Identifier: BSD-3-Clause

phoenix-rtos-lwip's People

Contributors

maciejpurski avatar nalajcie avatar ziemleszcz avatar gerard5 avatar agkaminski avatar anglov avatar darchiv avatar damianloew avatar kwasik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.