net: ti: icssg: Add prueth support
Get series with b4
b4 am 20190806153523.atc3bbfsmit3u6se@jijiVersions newest first
- v1 Latest5 of 14 patches 0 repliesNew
5 of 14 patches are in this archive. The cover letter announces 14.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 3/14 | misc: uclass: Introduce misc_init_by_ofnode | +0 | 0 replies | |
| 4/14 | soc: ti: pruss: add a misc driver for PRUSS in TI SoCs | +0 | 0 replies | |
| 6/14 | net: ti: icssg-prueth: Add ICSSG ethernet driver | +0 | 0 replies | |
| 8/14 | arm: dts: k3-am65-main: Add msmc_ram node | +0 | 0 replies | |
| 12/14 | arm64: dts: ti: am654-base-board: add ICSSG2 Ethernet support | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 00/14] net: ti: icssg: Add prueth support
Keerthy,
Quoted 5 lines · Keerthy
The series adds support for
icssg_pruethfunctionality on u-boot. This series is based on top of master branch. rproc init needs to be done from uboot command prompt. The pru/rtu firmware loading is done by prueth driver soon after config paramters are setup.
for everybody's benefit, where does this firmware come from so one can experiment with this patch series?
--
Andreas Dannenberg
Texas Instruments Inc
Quoted 66 lines
Currently only slice0/1 of icssg2 instance on am6-evm is supported. i.e Both slices of icssg2 instance are supported.
On u-boot prompt following commands to test
icssg2_port0 on am654-evm:setenv ethact
pruss2_eth; setenv serverip 172.24.191.45; fatload mmc 1 ${pru0loadaddr} am65x-pru0-prueth-fw.elf; fatload mmc 1 ${rtu0loadaddr} am65x-rtu0-prueth-fw.elf; rproc init; setenv autoload no; dhcp; tftp0x82000000Image; tftp0x83000000k3-am654-base-board.dtb; booti0x82000000-0x83000000This tests tftp on prueth.
Note: Uboot ethernet driver architecture supports once instance per probe. So only one of the ports are supported per instance. So DT of prueth node should have either ethernet-mii0 or ethernet-mii1.
Keerthy (14):
net: eth-uclass:eth_get_devbased onSEQ_ALIASinstead of probe order
net: eth-uclass: call stop only for active devices
misc: uclass: Introducemisc_init_by_ofnode
soc: ti: pruss: add a misc driver for PRUSS in TI SoCs
remoteproc: pruss: add PRU remoteproc driver
net: ti: icssg-prueth: Add ICSSG ethernet driver
net: ti: icssg-prueth: Workaround to shutdown the prueth firmware
arm: dts: k3-am65-main: Addmsmc_ramnode
arm: dts: k3-am654-base-board-u-boot: Add icssg specificmsmc_ram
carveout nodes
arm: dts: k3-am65-main: Addscm_confnode
arm: dts: k3-am65-main: Add pruss nodes for ICSSG2
arm64: dts: ti: am654-base-board: add ICSSG2 Ethernet support
configs:am65x_evm_a53_defconfig: EnableCONFIG_REMOTEPROC_TI_PRU
configs:am65x_evm_a53_defconfig: EnableCONFIG_CMD_REMOTEPROCarch/arm/dts/k3-am65-main.dtsi | 212 ++++++++ arch/arm/dts/k3-am65.dtsi | 4 +- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 130 +++++ configs/am65x_evm_a53_defconfig | 5 + drivers/misc/misc-uclass.c | 25 + drivers/net/ti/Kconfig | 8 + drivers/net/ti/Makefile | 1 + drivers/net/ti/icssg-prueth.c | 525 +++++++++++++++++++ drivers/net/ti/icssg.h | 31 ++ drivers/net/ti/icssg_classifier.c | 397 ++++++++++++++ drivers/remoteproc/Kconfig | 11 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/pru_rproc.c | 384 ++++++++++++++ drivers/soc/ti/Kconfig | 13 + drivers/soc/ti/Makefile | 1 + drivers/soc/ti/pruss.c | 143 +++++ include/misc.h | 9 + include/ti-pruss.h | 13 + net/eth-uclass.c | 7 +- 19 files changed, 1916 insertions(+), 4 deletions(-) create mode 100644 drivers/net/ti/icssg-prueth.c create mode 100644 drivers/net/ti/icssg.h create mode 100644 drivers/net/ti/icssg_classifier.c create mode 100644 drivers/remoteproc/pru_rproc.c create mode 100644 drivers/soc/ti/pruss.c create mode 100644 include/ti-pruss.hSignature · 6 lines
2.17.1 _______________________________________________ U-Boot mailing list U-Boot at lists.denx.de https://lists.denx.de/listinfo/u-boot