Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
e583c88
Initial build frame for low RISC eth driver in Zephyr
akifsaglam Jan 28, 2021
7e07c92
Port the lr_send based on freeFtos implementation and bring some util…
akifsaglam Jan 28, 2021
4857f9a
Add probe function for low risc driver init
akifsaglam Jan 29, 2021
7b067c6
Add iface_api.init function
akifsaglam Jan 29, 2021
8351323
Turn on DT interrupt parsing and modify dtsi to include eth in soc
akifsaglam Jan 29, 2021
5e83b02
Make sure MAC address saved properly
akifsaglam Jan 29, 2021
8e6ca0a
Check in lowRisc config for echo test
akifsaglam Jan 29, 2021
2cc9c67
Checkin the latest mdio changes and DT IRQ parsing update (broken)
akifsaglam Jan 30, 2021
1ecac30
enable DT_INST for eth driver slot 0
sabhiram Jan 30, 2021
ecab84a
Check in lowRISC ISR for rx packets and helper functions
akifsaglam Feb 1, 2021
9e4eb1e
Correct indendation
akifsaglam Feb 1, 2021
7b6727a
Correct lr_send to properly process pkt to be sent
akifsaglam Feb 3, 2021
f08baf9
Initial build frame for low RISC eth driver in Zephyr
akifsaglam Jan 28, 2021
32882a0
Port the lr_send based on freeFtos implementation and bring some util…
akifsaglam Jan 28, 2021
7198d13
Add probe function for low risc driver init
akifsaglam Jan 29, 2021
f50681a
Add iface_api.init function
akifsaglam Jan 29, 2021
b9222dc
Turn on DT interrupt parsing and modify dtsi to include eth in soc
akifsaglam Jan 29, 2021
ded2bf1
Make sure MAC address saved properly
akifsaglam Jan 29, 2021
eb2602a
Check in lowRisc config for echo test
akifsaglam Jan 29, 2021
896d46b
Checkin the latest mdio changes and DT IRQ parsing update (broken)
akifsaglam Jan 30, 2021
b2a9bdd
enable DT_INST for eth driver slot 0
sabhiram Jan 30, 2021
19fee97
Check in lowRISC ISR for rx packets and helper functions
akifsaglam Feb 1, 2021
14ca82e
Correct indendation
akifsaglam Feb 1, 2021
3ec9c98
Correct lr_send to properly process pkt to be sent
akifsaglam Feb 3, 2021
7e34fcf
format :: use uncrustify on edited files
sabhiram Feb 3, 2021
f50dd3f
Fix rebase merge issues
akifsaglam Feb 3, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion boards/riscv/genesys2/pinmux.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ static int genesys2_pinmux_init(const struct device *dev)
{
ARG_UNUSED(dev);

//const struct device *p = device_get_binding(CONFIG_PINMUX_ARIANE_NAME);
// const struct device *p = device_get_binding(CONFIG_PINMUX_ARIANE_NAME);

#ifdef CONFIG_UART_ARIANE
/* UART0 RX */
Expand Down
2 changes: 2 additions & 0 deletions drivers/ethernet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ zephyr_sources_ifdef(CONFIG_ETH_SMSC911X eth_smsc911x.c)
zephyr_sources_ifdef(CONFIG_ETH_STM32_HAL eth_stm32_hal.c)
zephyr_sources_ifdef(CONFIG_ETH_LITEETH eth_liteeth.c)
zephyr_sources_ifdef(CONFIG_ETH_W5500 eth_w5500.c)
zephyr_sources_ifdef(CONFIG_ETH_LOWRISC eth_lowRISC.c)
zephyr_sources_ifdef(CONFIG_ETH_LOWRISC mdiobb.c)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am pretty sure they have a MDIO driver in zephyr - we can investigate this later.


if(CONFIG_ETH_NATIVE_POSIX)
zephyr_library()
Expand Down
1 change: 1 addition & 0 deletions drivers/ethernet/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,6 @@ source "drivers/ethernet/Kconfig.stellaris"
source "drivers/ethernet/Kconfig.liteeth"
source "drivers/ethernet/Kconfig.gecko"
source "drivers/ethernet/Kconfig.w5500"
source "drivers/ethernet/Kconfig.lowRISC"

endmenu # "Ethernet Drivers"
23 changes: 23 additions & 0 deletions drivers/ethernet/Kconfig.lowRISC
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

# Copyright (c) Recogni


menuconfig ETH_LOWRISC
bool "Low Risc Ethernet driver"
help
Enable LowRISC Ethernet driver.

config ETH_NIC_MODEL
string
default "lowRISC"
depends on ETH_LOWRISC
help
Tells what Qemu network model to use. This value is given as
a parameter to -nic qemu command line option.

config ETH_LOWRISC_VERBOSE_DEBUG
bool "Enable hexdump of the received and sent frames"
help
Enabling this will turn on the hexdump of the received and sent
frames. Do not leave on for production.

Loading