Re: [PATCH] net: Add MOXA ART SoCs ethernet driver

2013-07-20 Thread Jonas Jensen
I think this driver may have a bug. After some time running ping successfully, the message "no TX space for packet" is printed resulting in 100% packet loss. The message is printed from .ndo_start_xmit and I think it may be because of how priv->tx_desc_now is now set up in moxart_mac_setup_desc_r

[PATCH] net: Add MOXA ART SoCs ethernet driver

2013-07-18 Thread Jonas Jensen
network device drivers. +# + +obj-$(CONFIG_ARM_MOXART_ETHER) += moxart_ether.o + diff --git a/drivers/net/ethernet/moxa/moxart_ether.c b/drivers/net/ethernet/moxa/moxart_ether.c new file mode 100644 index 000..172f718 --- /dev/null +++ b/drivers/net/ethernet/moxa/moxart_ether.c @@ -0,0 +1,544 @@

[PATCH] Documentation: Add device tree binding file for MOXA ART SoCs interrupt controller

2013-07-18 Thread Jonas Jensen
Add binding document for MOXA ART SoCs interrupt controller. Signed-off-by: Jonas Jensen --- Notes: The MOXA ART irqchip driver was added without accompanying devicetree document. ( in next-20130716 drivers/irqchip/irq-moxart.c ) Applies to next-20130716 .../interrupt

Re: [PATCH v3 2/4] ARM: mach-moxart: add MOXA ART device tree files

2013-07-17 Thread Jonas Jensen
Just as a reminder, I intend to update this set with some minor changes: 1. remove devicetree bindings for drivers, I will mail those out separately 2. a devicetree node for DMA was added 3. GPIO numbers are now in DT aswell Best regards, Jonas ___ devi

Re: [PATCH v3 4/4] ARM: reinsert ARCH_MULTI_V4 Kconfig option

2013-07-08 Thread Jonas Jensen
Arnd suggested removing one (or many) of the options: CPU_ABRT_EV4T CPU_CACHE_V4WT CPU_COPY_V4WB CPU_TLB_V4WBI However boot is still broken after removing all including CPU_32v4T. Selecting CPU_SA1100 instead, it boots normally and init works. The idea is, If you can help figure out what exactl

[PATCH v3 2/4] ARM: mach-moxart: add MOXA ART device tree files

2013-07-04 Thread Jonas Jensen
Add generic SoC include and UC-7112-LX platform device tree files and documentation. Signed-off-by: Jonas Jensen --- Notes: Applies to next-20130703 Changes since v2: 1. add and update documentation, new drivers: mmc, mac, rtc, watchdog, gpio, core-clock, apb-clock

[PATCH v3 4/4] ARM: reinsert ARCH_MULTI_V4 Kconfig option

2013-07-04 Thread Jonas Jensen
+0x9c/0x3cc) [2.58] [] (do_signal+0x9c/0x3cc) from [] (do_work_pending+0xc4/0xe0) [2.58] [] (do_work_pending+0xc4/0xe0) from [] (work_pending+0xc/0x20) Signed-off-by: Jonas Jensen --- arch/arm/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/Kconfig b/arch

[PATCH v3 3/4] ARM: mach-moxart: add MOXA ART UART debug files

2013-07-04 Thread Jonas Jensen
Add MOXA ART kernel low-level debugging port support. Signed-off-by: Jonas Jensen --- Notes: Applies to next-20130703 Changes since v2: 1. use alphabetic ordering in Kconfig arch/arm/Kconfig.debug | 8 arch/arm/include/debug/moxart.S | 20

[PATCH v3 1/4] ARM: mach-moxart: add MOXA ART SoC files

2013-07-04 Thread Jonas Jensen
Add MOXA ART SoC support. The MOXA ART SoC is based on a Faraday FA526 ARMv4 32-bit 192 MHz CPU with MMU and 16KB/8KB D/I-cache (UC-7112-LX). Signed-off-by: Jonas Jensen --- Notes: Applies to next-20130703 Changes since v2: 1. add CLKSRC_MMIO and GENERIC_CLOCKEVENTS to

Re: [PATCH v2 1/3] ARM: mach-moxart: add MOXA ART SoC files

2013-06-18 Thread Jonas Jensen
I may have submitted this one too early. There are now a few things I want to address: * rename moxart_uc7112lx_defconfig moxart_defconfig * remove MACH_UC7112LX "default y" from arch/arm/mach-moxart/Kconfig Also, the omitted arch/arm/mach-moxart/idle.c hinges on a patch now submitted to Russell'

[PATCH v2 3/3] ARM: mach-moxart: add MOXA ART UART debug files

2013-06-17 Thread Jonas Jensen
Add MOXA ART kernel low-level debugging port support. Signed-off-by: Jonas Jensen --- arch/arm/Kconfig.debug |8 arch/arm/include/debug/moxart.S | 16 2 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 arch/arm/include/debug/moxart.S

[PATCH v2 2/3] ARM: mach-moxart: add MOXA ART device tree files

2013-06-17 Thread Jonas Jensen
Add generic SoC include and UC-7112-LX platform device tree files. Add device tree bindings documentation. Signed-off-by: Jonas Jensen --- Documentation/devicetree/bindings/arm/moxart.txt |8 +++ .../arm/moxart/moxart-interrupt-controller.txt | 29 + .../bindings/arm/moxart

[PATCH v2 1/3] ARM: mach-moxart: add MOXA ART SoC files

2013-06-17 Thread Jonas Jensen
Add MOXA ART SoC support. The MOXA ART SoC is based on a Faraday FA526 ARMv4 32-bit 192 MHz CPU with MMU and 16KB/8KB D/I-cache (UC-7112-LX). Used on models UC-7101, UC-7112/UC-7110, IA240/IA241, IA3341. Signed-off-by: Jonas Jensen --- arch/arm/Kconfig |2 + arch

Re: [PATCH 2/3] ARM: mach-moxart: add MOXA ART device tree files

2013-06-14 Thread Jonas Jensen
Hi, Thanks for the replies. What isn't commented below should already be fixed. On 13 June 2013 00:49, Olof Johansson wrote: > Hi, > > You should add a bindings description for the MOXA SoC platforms, similar to > how others do it, under Documentation/devicetree/bindings/arm/. The following is

Re: [PATCH 1/3] ARM: mach-moxart: add MOXA ART SoC files

2013-06-14 Thread Jonas Jensen
Hi, Thanks for the replies. What isn't commented below should already be fixed. I'll resubmit the entire set when it looks like there's nothing left to amend. On 13 June 2013 00:42, Olof Johansson wrote: > You should provide a commit message, ideally with a short introduction of the > platform.