[PATCH] Add USB hooks into NanoBone DTS file

2015-10-14 Thread Mark Jackson
Add USB hooks into NanoBone DTS file Signed-off-by: Mark Jackson <m...@newflow.co.uk> --- arch/arm/boot/dts/am335x-nano.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts index 5ed4ca6..b86937a

[PATCH] Update Nanobone dts file

2015-03-19 Thread Mark Jackson
Update dts file to reflect:- (1) new flash memory layout (2) add missing phy-mode property Signed-off-by: Mark Jackson m...@newflow.co.uk --- arch/arm/boot/dts/am335x-nano.dts | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch

[PATCH v2] Update Nanobone dts file

2015-03-19 Thread Mark Jackson
Update dts file to reflect:- * new flash memory layout * add missing phy-mode property * dual_emac now just a boolean * rename mcp to microchip * update gpio definition Signed-off-by: Mark Jackson m...@newflow.co.uk --- arch/arm/boot/dts/am335x-nano.dts | 18 +++--- 1 file changed

Re: rts-gpio DT binding

2014-03-19 Thread Mark Jackson
On 19/03/14 14:59, Felipe Balbi wrote: Hi, On Wed, Mar 19, 2014 at 09:15:03AM +, Mark Jackson wrote: [snip] Okay ... it comes back to me now. When using RS485 drivers, we're not actually using RTS as a Ready To Send, we're really using it as an enable RS485 driver. I just used

Re: rts-gpio DT binding

2014-03-18 Thread Mark Jackson
On 18/03/14 16:55, Felipe Balbi wrote: Hi Mark, I'm looking at the omap-serial driver and saw that you added rts-gpio binding in commit 4a0ac0f55b18dc297a87a85417fcf068658bf103 (OMAP: add RS485 support) but, as it turns out, gpio0_13 and gpio2_15 are both actual RTS signals. Instead of

Help needed to force USB host mode on AM335x CPU

2013-11-22 Thread Mark Jackson
We have a custom AM335x board where the USB0_ID pin has been left floating. By default, this puts the USB controller into peripheral mode, but we need to force it into host mode. This can be achieved in s/w by setting some bits in the relevant USB mode register (see TRM 16.5.2.35). This mode

[PATCH] Allow MUSB DSPS to use force host mode

2013-11-22 Thread Mark Jackson
The IDDIG input pin is normally used to determine the USB mode (i.e. HOST or DEVICE). On some systems (e.g. AM335x) leaving this pin floating allows the USB mode to be set via software. This patch adds support for this via the device tree. Signed-off-by: Mark Jackson m...@newflow.co.uk

Re: [PATCH] Allow MUSB DSPS to use force host mode

2013-11-22 Thread Mark Jackson
On 22/11/13 16:38, Michael Grzeschik wrote: Hallo, On Fri, Nov 22, 2013 at 03:55:59PM +, Mark Jackson wrote: The IDDIG input pin is normally used to determine the USB mode (i.e. HOST or DEVICE). On some systems (e.g. AM335x) leaving this pin floating allows the USB mode to be set via

Re: [PATCH] Allow MUSB DSPS to use force host mode

2013-11-22 Thread Mark Jackson
On 22/11/13 16:33, Sebastian Andrzej Siewior wrote: On 11/22/2013 04:55 PM, Mark Jackson wrote: The IDDIG input pin is normally used to determine the USB mode (i.e. HOST or DEVICE). On some systems (e.g. AM335x) leaving this pin floating allows the USB mode to be set via software. So you

Re: [PATCH] Allow MUSB DSPS to use force host mode

2013-11-22 Thread Mark Jackson
On 22/11/13 17:01, Sebastian Andrzej Siewior wrote: On 11/22/2013 05:49 PM, Mark Jackson wrote: and the ID pin not on ground or 3.3V? What are the side effects? I remember correctly Bin wanted to avoid settings this if it could be avoided. Yes ... we have a host only USB port

Re: [PATCH v3] Add support for Newflow NanoBone board

2013-10-04 Thread Mark Jackson
On 25/09/13 09:04, Mark Jackson wrote: NanoBone Specification: --- CPU: TI AM335x Memory: 256MB DDR3 128MB NOR flash 128KB FRAM Ethernet: 2 x 10/100 connected to SMSC LAN8710 PHY USB: 1 x USB2.0 Type A I2C: 2Kbit EEPROM (Microchip 24AA02

[PATCH v3] Add support for Newflow NanoBone board

2013-10-04 Thread Mark Jackson
) Expansion connector: 6 x UART 1 x MMC/SD 1 x USB2.0 Signed-off-by: Mark Jackson m...@newflow.co.uk Reviewed-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- Changes in v3: - Added MMC support - Fixed regulator limits Changes in v2: - Reworked to use existing device nodes

[PATCH v3] Add support for Newflow NanoBone board

2013-09-25 Thread Mark Jackson
) Expansion connector: 6 x UART 1 x MMC/SD 1 x USB2.0 Signed-off-by: Mark Jackson m...@newflow.co.uk Reviewed-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- Changes in v3: - Added MMC support - Fixed regulator limits Changes in v2: - Reworked to use existing device nodes

Re: PCF857x and 16-bit GPIO expanders

2013-09-19 Thread Mark Jackson
On 19/09/13 13:20, George Cherian wrote: On 9/19/2013 5:37 PM, Nishanth Menon wrote: On 09/19/2013 03:13 AM, George Cherian wrote: On 9/18/2013 11:06 PM, Felipe Balbi wrote: Hi, On Wed, Sep 18, 2013 at 07:18:04PM +0200, Laurent Pinchart wrote: On Wednesday 18 September 2013 13:16:27 Linus

Re: [PATCH v2] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-06 Thread Mark Jackson
On 23/08/13 20:53, Joel Fernandes wrote: HWMOD removal for MMC and Crypto is breaking edma_start as the events are being manually triggered due to unused channel list not being clear. Atleast breakage has been seen on these peripherals, but it is expected Audio (McASP) maybe breaking too.

Re: [PATCH v2] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-09-06 Thread Mark Jackson
On 06/09/13 20:13, Mark Jackson wrote: On 23/08/13 20:53, Joel Fernandes wrote: HWMOD removal for MMC and Crypto is breaking edma_start as the events are being manually triggered due to unused channel list not being clear. Atleast breakage has been seen on these peripherals, but it is expected

Re: [PATCH v2] Add support for Newflow NanoBone board

2013-08-23 Thread Mark Jackson
On 11/08/13 14:25, Mark Jackson wrote: NanoBone Specification: --- CPU: TI AM335x Memory: 256MB DDR3 128MB NOR flash 128KB FRAM Ethernet: 2 x 10/100 connected to SMSC LAN8710 PHY USB: 1 x USB2.0 Type A I2C: 2Kbit EEPROM (Microchip 24AA02

[PATCH] OMAP: serial: Remove incorrect disabling of IER interrupt

2013-08-15 Thread Mark Jackson
The recent patch to add RS485 contained a bug whereby the IER interrupt was cleared down incorrectly. This patch fixes the problem. Signed-off-by: Mark Jackson m...@newflow.co.uk --- drivers/tty/serial/omap-serial.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/tty/serial

Re: [RFC] OMAP: allow GPIO pin to enable/disable external UART driver chip.

2013-08-14 Thread Mark Jackson
On 13/08/13 21:12, Andrew Ruder wrote: Sorry for the late reply, I've been thinking about this for some time and was sad to see it didn't really evoke any sort of discussion :(. On Sat, Aug 10, 2013 at 02:58:08PM +0100, Mark Jackson wrote: When a UART transmitter is connected to (eg) a RS485

[PATCH v3] OMAP: add RS485 support

2013-08-14 Thread Mark Jackson
to on. Signed-off-by: Mark Jackson m...@newflow.co.uk --- Changes in v2: - Rebased against Greg KH's tty-next Changes in v2: - Fix incorrect logic in serial_omap_config_rs485() drivers/tty/serial/omap-serial.c | 179 ++ 1 file changed, 179 insertions(+) diff

Re: [PATCH v2] serial: OMAP: add RS485 support

2013-08-13 Thread Mark Jackson
On 12/08/13 23:56, Greg KH wrote: On Sun, Aug 11, 2013 at 02:56:50PM +0100, Mark Jackson wrote: This patch adds RS485 support to the OMAP serial driver, as defined in:- Documentation/devicetree/bindings/serial/rs485.txt When a UART transmitter is connected to (eg) a RS485 driver

Re: [PATCH v2] serial: OMAP: add RS485 support

2013-08-13 Thread Mark Jackson
On 13/08/13 11:54, Javier Martinez Canillas wrote: snip Hi Mark, I've seen several attempts to add RS485 support to the omap serial driver and it is always nack-ed. There seems to be concerns about controlling the RTS by software when RS485 is not supported by the UART hardware. Please

Re: [PATCH] Add support for Newflow NanoBone board

2013-08-11 Thread Mark Jackson
On 08/07/13 19:57, Mark Jackson wrote: NanoBone Specification: --- CPU: TI AM335x @ 720MHz Memory: 256MB DDR3 128MB NOR flash 128KB FRAM Ethernet: 2 x 10/100 connected to SMSC LAN8710 PHY USB: 1 x USB2.0 Type A I2C: 2Kbit EEPROM (Microchip

[RFC] OMAP: add RS485 support

2013-08-11 Thread Mark Jackson
to on. Signed-off-by: Mark Jackson m...@newflow.co.uk --- drivers/tty/serial/omap-serial.c | 177 ++ 1 file changed, 177 insertions(+) diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index b6d1728..a1d8d47 100644 --- a/drivers/tty

[PATCH v2] Add support for Newflow NanoBone board

2013-08-11 Thread Mark Jackson
) Expansion connector: 6 x UART 1 x MMC/SD 1 x USB2.0 Signed-off-by: Mark Jackson m...@newflow.co.uk Reviewed-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- Changes in v2: - Reworked to use existing device nodes as suggested by Javier MAINTAINERS |6

[PATCH v2] OMAP: add RS485 support

2013-08-11 Thread Mark Jackson
to on. Signed-off-by: Mark Jackson m...@newflow.co.uk --- Changes in v2: - Fix incorrect logic in serial_omap_config_rs485() drivers/tty/serial/omap-serial.c | 178 ++ 1 file changed, 178 insertions(+) diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty

[RFC] OMAP: allow GPIO pin to enable/disable external UART driver chip.

2013-08-10 Thread Mark Jackson
) that controls the enabling of the driver at the start of a message, and disables the driver when the message has been completed. Still to do:- Allow userspace to turn this feature on/off Do the same for the receiver (useful for 2 wire RS485) Signed-off-by: Mark Jackson m...@newflow.co.uk

ARM: AM335x: Reboot broken in 3.11

2013-08-08 Thread Mark Jackson
Rebooting appears to have broken in 3.11 (at some point before rc1). Here is the console output:- [0.00] Booting Linux on physical CPU 0x0 [0.00] Linux version 3.11.0-rc1-6-gf550793 (mpfj@mpfj-nanobone) (gcc version 4.6.3 (Buildroot 2013.02-dirty) ) #328 Thu Aug 8 14:36:16

Re: [PATCH 0/4] OMAP2+: Fix boot hang with earlycon enabled

2013-07-22 Thread Mark Jackson
hang for me so ... Tested-by: Mark Jackson mpfj-l...@newflow.co.uk -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: ARM: AM335x: Kernel oops when using EDMA and MMC

2013-07-18 Thread Mark Jackson
On 17/07/13 17:38, Joel Fernandes wrote: On 07/17/2013 10:55 AM, Mark Jackson wrote: I'm trying to get the MMC port working on our custom AM3352 CPU board. I have added MMC entries to out dts file (similar to [1]), and I've enabled CONFIG_TI_EDMA. Our board boots fine without an SD card

Re: [PATCH v2] ARM: dts: add AM33XX MMC support

2013-07-17 Thread Mark Jackson
On 27/06/13 04:32, Joel Fernandes wrote: From: Matt Porter mpor...@ti.com Adds AM33XX MMC support for am335x-bone, am335x-evm, and am335x-evmsk. Also added is the DMA binding definitions based on the generic DMA request binding. The HWMOD data removal was breaking MMC so some new

ARM: AM335x: Kernel oops when using EDMA and MMC

2013-07-17 Thread Mark Jackson
I'm trying to get the MMC port working on our custom AM3352 CPU board. I have added MMC entries to out dts file (similar to [1]), and I've enabled CONFIG_TI_EDMA. Our board boots fine without an SD card inserted ... [0.00] Booting Linux on physical CPU 0x0 [0.00] Linux version

Re: ARM: AM335x: Kernel oops when using EDMA and MMC

2013-07-17 Thread Mark Jackson
On 17/07/13 16:55, Mark Jackson wrote: I'm trying to get the MMC port working on our custom AM3352 CPU board. I have added MMC entries to out dts file (similar to [1]), and I've enabled CONFIG_TI_EDMA. Our board boots fine without an SD card inserted ... [0.00] Booting Linux

Re: [PATCH] remove vlan tags in CPSW dual emac mode

2013-07-15 Thread Mark Jackson
On 15/07/13 13:45, Mugunthan V N wrote: On 7/13/2013 12:55 AM, Mark Jackson wrote: On 12/07/13 19:35, Mugunthan V N wrote: On 7/12/2013 7:27 PM, Mark Jackson wrote: [snip] Just to update this (old) thread ... I can still confirm that *without* the above patch, I am *unable* to use both

Re: [PATCH] remove vlan tags in CPSW dual emac mode

2013-07-12 Thread Mark Jackson
that behaviour will fail to communicate. This patch fixes that behaviour by disabling the VLAN_AWARE mode as already described by the comment above. Signed-off-by: Markus Brunner systemprogrammierung.brun...@gmail.com Tested-by: Mark Jackson m...@newflow.co.uk --- --- linux-3.9-rc8.orig/drivers/net

Re: [PATCHv2] am33xx: cpsw: default to ethernet hwaddr from efuse if not defined in dt

2013-07-12 Thread Mark Jackson
On 08/07/13 13:42, Mark Jackson wrote: On 18/01/13 05:14, Mugunthan V N wrote: On 1/18/2013 3:48 AM, Peter Korsgaard wrote: When booting with CONFIG_ARM_APPENDED_DTB (either because of using an old U-Boot, not wanting the hassle of 2 files or when using Falcon fast boot mode in U-Boot

Re: [PATCH] remove vlan tags in CPSW dual emac mode

2013-07-12 Thread Mark Jackson
On 12/07/13 19:35, Mugunthan V N wrote: On 7/12/2013 7:27 PM, Mark Jackson wrote: [snip] Just to update this (old) thread ... I can still confirm that *without* the above patch, I am *unable* to use both network ports on our AM335x board. [snip] So I'm not sure what's wrong, but it's

Re: [PATCHv2] am33xx: cpsw: default to ethernet hwaddr from efuse if not defined in dt

2013-07-08 Thread Mark Jackson
the efuse addresses if the DTB didn't contain valid ones. Signed-off-by: Peter Korsgaard jac...@sunsite.dk This implementation looks fine. Acked-by: Mugunthan V N mugunthan...@ti.com Tested-by: Mark Jackson mpfj-l...@newflow.co.uk -- To unsubscribe from this list: send the line unsubscribe

[PATCH] Add support for Newflow NanoBone board

2013-07-08 Thread Mark Jackson
MCP23017) Expansion connector: 6 x UART 1 x MMC/SD 1 x USB2.0 Signed-off-by: Mark Jackson m...@newflow.co.uk --- MAINTAINERS |6 + arch/arm/boot/dts/Makefile|1 + arch/arm/boot/dts/am335x-nano.dts | 388 + 3 files

Re: Boot hang regression 3.10.0-rc4 - 3.10.0

2013-07-04 Thread Mark Jackson
On 04/07/13 14:25, Mark Jackson wrote: Our custom AM335x board has been booting just fine under 3.10.0-rc4. I've just done a git pull to update to 3.10 (now that it's released) and the board now hangs. Before I start trying to bisect the issue, does anyone have an clues ? Okay ... I've

Re: Boot hang regression 3.10.0-rc4 - 3.10.0

2013-07-04 Thread Mark Jackson
On 04/07/13 16:14, Mark Jackson wrote: On 04/07/13 14:25, Mark Jackson wrote: Our custom AM335x board has been booting just fine under 3.10.0-rc4. I've just done a git pull to update to 3.10 (now that it's released) and the board now hangs. Before I start trying to bisect the issue, does

AM335x: is AUTORTS mode supported ?

2013-07-03 Thread Mark Jackson
I'm struggling to determine if AUTORTS mode is currently supported in 3.10 ? I have dug into the source code, and can see various references to the relevant bits in the various UART registers, but I'm at a lose as to how to actually *enable* the mode !! In drivers/tty/omap-serial.c

Re: Unable to find JFFS2 partition ... but I know it's there !!

2013-06-20 Thread Mark Jackson
On 20/06/13 10:31, Mark Jackson wrote: I'm struggling to debug an issue where the kernel is unable to find a JFFS2 partition held in NOR flash (on CS0) Fixed ... I finally worked out I needed to add:- CONFIG_MTD_BLOCK CONFIG_MTD_BLOCK2MTD Sorry for the noise. Mark J. -- To unsubscribe from

v3.9.0-rc8 : oops in tick_do_update_jiffies64+0xbc/0x110

2013-04-29 Thread Mark Jackson
I've been experiencing several crashes all pointing exactly the same place in the same tick routine (see below). The exception stack trace at the end changes depending on when the oops occurs. I've had the oops occur maybe 6 times in the last 50 reboots. Any ideas ? Mark J. --- [

Re: v3.9.0-rc8 : oops in tick_do_update_jiffies64+0xbc/0x110

2013-04-29 Thread Mark Jackson
On 29/04/13 16:41, Tony Lindgren wrote: * Mark Jackson mpfj-l...@newflow.co.uk [130429 01:38]: I've been experiencing several crashes all pointing exactly the same place in the same tick routine (see below). The exception stack trace at the end changes depending on when the oops occurs

BUG: Unable to handle kernel NULL pointer dereference (cpsw driver)

2013-04-26 Thread Mark Jackson
Just got this on my AM335x board. [0.00] Booting Linux on physical CPU 0x0 [0.00] Linux version 3.9.0-rc8-00020-g6e8f1be-dirty (mpfj@mpfj-nanobone) (gcc version 4.5.4 (Buildroot 2012.11) ) #210 Thu Apr 25 13:00:09 BST 2013 [0.00] CPU: ARMv7 Processor [413fc082] revision

Re: MTD : cannot reserve enough PEBs for bad PEB handling [SOLVED]

2013-04-23 Thread Mark Jackson
On 22/04/13 10:38, Mark Jackson wrote: I'm trying to work out how to generate a valid UBI image, but I keep getting a cannot get enough PEBs warning. I generate my image (destined for a 64MB NAND partition) using:- $ mkfs.ubifs -d output/target -e 0x1f000 -c 483 -m 0x800 -x none -F -o

[PATCH v2] ARM: OMAP2+: Allow NAND transfer mode to be specified in DT

2013-04-23 Thread Mark Jackson
OMAP devices support various NAND transfer modes. Currently all device-tree definitions will use the default prefetch polled mode, so this patch enables the transfer mode to be specified in the device-tree. Signed-off-by: Mark Jackson m...@newflow.co.uk --- Changes in v2: - Fixed line wrapping

MTD : cannot reserve enough PEBs for bad PEB handling

2013-04-22 Thread Mark Jackson
I'm trying to work out how to generate a valid UBI image, but I keep getting a cannot get enough PEBs warning. I generate my image (destined for a 64MB NAND partition) using:- $ mkfs.ubifs -d output/target -e 0x1f000 -c 483 -m 0x800 -x none -F -o output/images/rootfs.ubifs $ ubinize -o

Re: MTD : cannot reserve enough PEBs for bad PEB handling

2013-04-22 Thread Mark Jackson
On 22/04/13 10:38, Mark Jackson wrote: I'm trying to work out how to generate a valid UBI image, but I keep getting a cannot get enough PEBs warning. snip ... [0.792456] UBI: attaching mtd7 to ubi0 [1.540858] UBI: scanning is finished [1.557578] UBI warning: print_rsvd_warning

Re: [PATCH 0/3] Dual EMAC mode implementation of CPSW

2013-04-22 Thread Mark Jackson
On 18/04/13 17:01, Mark Jackson wrote: On 15/04/13 18:34, Mugunthan V N wrote: On 4/15/2013 10:58 PM, Mark Jackson wrote: On 15/04/13 18:07, Mugunthan V N wrote: On 4/15/2013 12:46 AM, Mark Jackson wrote: snip Notice that at the end, the nfs link appears to come back ok, but the ps

Re: [PATCH 0/3] Dual EMAC mode implementation of CPSW

2013-04-22 Thread Mark Jackson
On 22/04/13 18:01, Mugunthan V N wrote: On 4/22/2013 7:37 PM, Mark Jackson wrote: Mugunthan Can you confirm that I'm actually trying to achieve the right thing ? I have all along assumed that Dual EMAC mode would simply provide the kernel will a pair of independent Ethernet ports. Yes

[PATCH] ARM: OMAP2+: Allow NAND transfer mode to be specified in DT

2013-04-19 Thread Mark Jackson
OMAP devices support various NAND transfer modes. Currently all device-tree definitions will use the default prefetch polled mode, so this patch enables the transfer mode to be specified in the device-tree. --- .../devicetree/bindings/mtd/gpmc-nand.txt |8

Re: [PATCH 0/3] Dual EMAC mode implementation of CPSW

2013-04-18 Thread Mark Jackson
On 15/04/13 18:34, Mugunthan V N wrote: On 4/15/2013 10:58 PM, Mark Jackson wrote: On 15/04/13 18:07, Mugunthan V N wrote: On 4/15/2013 12:46 AM, Mark Jackson wrote: snip Notice that at the end, the nfs link appears to come back ok, but the ps command never completes. Any ideas

Re: [PATCH 0/3] Dual EMAC mode implementation of CPSW

2013-04-16 Thread Mark Jackson
On 15/04/13 18:34, Mugunthan V N wrote: On 4/15/2013 10:58 PM, Mark Jackson wrote: On 15/04/13 18:07, Mugunthan V N wrote: On 4/15/2013 12:46 AM, Mark Jackson wrote: snip Notice that at the end, the nfs link appears to come back ok, but the ps command never completes. Any ideas

Re: [PATCH 0/3] Dual EMAC mode implementation of CPSW

2013-04-15 Thread Mark Jackson
On 15/04/13 18:07, Mugunthan V N wrote: On 4/15/2013 12:46 AM, Mark Jackson wrote: snip Notice that at the end, the nfs link appears to come back ok, but the ps command never completes. Any ideas of what's going on ? I have tried ping on both the interface fine. Will verify with ps again

Re: [PATCH 0/3] Dual EMAC mode implementation of CPSW

2013-04-15 Thread Mark Jackson
On 15/04/13 18:34, Mugunthan V N wrote: On 4/15/2013 10:58 PM, Mark Jackson wrote: On 15/04/13 18:07, Mugunthan V N wrote: On 4/15/2013 12:46 AM, Mark Jackson wrote: snip Notice that at the end, the nfs link appears to come back ok, but the ps command never completes. Any ideas of what's

Re: [PATCH 0/3] Dual EMAC mode implementation of CPSW

2013-04-14 Thread Mark Jackson
On 11/02/13 19:52, Mugunthan V N wrote: This patch series implements Dual EMAC mode implementation of CPSW which acts as two standalone EMAC by segregating the switch using VIDs and port VLAN Mugunthan V N (3): driver: net: ethernet: davinci_cpdma: add support for directed packet and

Re: [PATCH 3/3] driver: net: ethernet: cpsw: dual emac interface implementation

2013-04-14 Thread Mark Jackson
On 11/02/13 19:52, Mugunthan V N wrote: The CPSW switch can act as Dual EMAC by segregating the switch ports using VLAN and port VLAN as per the TRM description in 14.3.2.10.2 Dual Mac Mode Following CPSW components will be common for both the interfaces. * Interrupt source is common for both

Re: [PATCH 0/3] Dual EMAC mode implementation of CPSW

2013-04-12 Thread Mark Jackson
the kernel to see both ports ? If have been trying to get it going (see my posting [1]), but to no avail. Any help would be greatly appreciated !! [1] http://www.spinics.net/lists/linux-omap/msg89920.html Regards Mark JACKSON -- To unsubscribe from this list: send the line unsubscribe linux-omap

How do you configure AM335x dts for dual ethernet ?

2013-04-11 Thread Mark Jackson
I'm trying to work out how to setup my custom dts file to support dual ethernet. This is on a custom board based on the BeagleBone, but with both ethernet ports connected in MII mode. So far I have just copied the layout of am335x-evm.dts, but that only gives me eth0:- [1.418487]

Re: How do you configure AM335x dts for dual ethernet ?

2013-04-11 Thread Mark Jackson
On 11/04/13 17:14, Mark Jackson wrote: I'm trying to work out how to setup my custom dts file to support dual ethernet. This is on a custom board based on the BeagleBone, but with both ethernet ports connected in MII mode. snip I know this should work (since the svm has dual ethernet), so

Re: 3.9.0-rc3: BUG: Bad page state in process

2013-03-25 Thread Mark Jackson
On 25/03/13 13:30, Mark Jackson wrote: On our custom AM335x cpu board, I have had several kernel crashes via my userspace program. snip And here's another similar oops ... [16565.691706] Unable to handle kernel NULL pointer dereference at virtual address [16565.700289] pgd

Re: 3.9.0-rc3: BUG: Bad page state in process

2013-03-25 Thread Mark Jackson
On 25/03/13 13:59, Mark Jackson wrote: On 25/03/13 13:30, Mark Jackson wrote: On our custom AM335x cpu board, I have had several kernel crashes via my userspace program. snip And here's another similar oops ... snip Another big blowout ... [16910.346870] BUG: Bad page state in process

Re: 3.9.0-rc3: BUG: Bad page state in process

2013-03-25 Thread Mark Jackson
On 25/03/13 15:06, jean-philippe francois wrote: 2013/3/25 Mark Jackson mpfj-l...@mimc.co.uk: On 25/03/13 13:59, Mark Jackson wrote: On 25/03/13 13:30, Mark Jackson wrote: On our custom AM335x cpu board, I have had several kernel crashes via my userspace program. Is the problem still

AM335x crc32 oops ?

2013-03-15 Thread Mark Jackson
Apologies for the long email ... Following on from another thread, I have encountered an issue with crc32 within the mtd system, seemingly only on my AM335x cpu board. In function ubi_eba_atomic_leb_change() in drivers/mtd/ubi/eba.c, there is a call to crc32. During a remount of my ubifs

Re: MTD : Kernel oops when remounting ubifs as read/write

2013-03-14 Thread Mark Jackson
On 14/03/13 09:13, Artem Bityutskiy wrote: On Wed, 2013-03-13 at 11:12 +, Mark Jackson wrote: Sorry ... this just locks up the unit. OK, I've reproduced the issue with 3.9-rc2 in nandsim, see the details below. The patch I proposed did not get the error path correctly, but it does fix

Re: [PATCH v3 net-next 1/1] drivers: net: davinci_cpdma: acknowledge interrupt properly

2013-03-14 Thread Mark Jackson
On 14/03/13 10:21, Mugunthan V N wrote: On 3/13/2013 3:04 PM, Mark Jackson wrote: On 18/02/13 08:19, Mugunthan V N wrote: CPDMA interrupts are not properly acknowledged which leads to interrupt storm, only cpdma interrupt 0 is acknowledged in Davinci CPDMA driver. Changed cpdma_ctlr_eoi api

Re: MTD : Kernel oops when remounting ubifs as read/write

2013-03-14 Thread Mark Jackson
On 14/03/13 10:30, Artem Bityutskiy wrote: On Thu, 2013-03-14 at 09:54 +, Mark Jackson wrote: On 14/03/13 09:13, Artem Bityutskiy wrote: On Wed, 2013-03-13 at 11:12 +, Mark Jackson wrote: Sorry ... this just locks up the unit. OK, I've reproduced the issue with 3.9-rc2 in nandsim

Re: MTD : Kernel oops when remounting ubifs as read/write

2013-03-14 Thread Mark Jackson
On 14/03/13 12:23, Artem Bityutskiy wrote: On Thu, 2013-03-14 at 14:18 +0200, Artem Bityutskiy wrote: Is this size larger than the allocated buffer ? I believe so. Err, I mean, the buffer is large enough. I do not believe there is a stupid bug like too small buffer. This code has worked

Re: [PATCH v3 net-next 1/1] drivers: net: davinci_cpdma: acknowledge interrupt properly

2013-03-13 Thread Mark Jackson
On 18/02/13 08:19, Mugunthan V N wrote: CPDMA interrupts are not properly acknowledged which leads to interrupt storm, only cpdma interrupt 0 is acknowledged in Davinci CPDMA driver. Changed cpdma_ctlr_eoi api to acknowledge 1 and 2 interrupts which are used for rx and tx respectively.

Re: Excessive ethernet interrupts on AM335x board

2013-03-13 Thread Mark Jackson
On 13/03/13 08:44, Koen Kooi wrote: Op 12 mrt. 2013, om 16:35 heeft Mark Jackson mpfj-l...@mimc.co.uk het volgende geschreven: I'm just fighting an issue with ethernet on our custom AM335x board:- # uname -a Linux nanobone 3.9.0-rc2-00113-gd60f039 #139 Tue Mar 12 15:14:01 GMT 2013

Re: Excessive ethernet interrupts on AM335x board

2013-03-13 Thread Mark Jackson
On 13/03/13 10:32, Daniel Mack wrote: On Tue, Mar 12, 2013 at 4:35 PM, Mark Jackson mpfj-l...@mimc.co.uk wrote: I'm just fighting an issue with ethernet on our custom AM335x board:- # uname -a Linux nanobone 3.9.0-rc2-00113-gd60f039 #139 Tue Mar 12 15:14:01 GMT 2013 armv7l GNU/Linux Every

Re: MTD : Kernel oops when remounting ubifs as read/write

2013-03-13 Thread Mark Jackson
On 12/03/13 11:25, Artem Bityutskiy wrote: On Mon, 2013-03-04 at 16:42 +, Mark Jackson wrote: I'm encountering an oops when remounting my ubifs volume as read/write. # mount -o remount,rw / [ 89.434974] UBIFS assert failed in ubifs_write_node at 869 (pid 628) [ 89.442122] [c001b124

Re: MTD : Kernel oops when remounting ubifs as read/write

2013-03-13 Thread Mark Jackson
On 13/03/13 11:20, Artem Bityutskiy wrote: On Wed, 2013-03-13 at 11:12 +, Mark Jackson wrote: - if (c-space_fixup) { - err = ubifs_fixup_free_space(c); - if (err) - goto out; - } - mutex_unlock(c-umount_mutex); return err; Sorry

Excessive ethernet interrupts on AM335x board

2013-03-12 Thread Mark Jackson
I'm just fighting an issue with ethernet on our custom AM335x board:- # uname -a Linux nanobone 3.9.0-rc2-00113-gd60f039 #139 Tue Mar 12 15:14:01 GMT 2013 armv7l GNU/Linux Every now and then, the whole unit slows to a crawl. The only indication of any problem is:- (a) the serial tty port

Re: Excessive ethernet interrupts on AM335x board

2013-03-12 Thread Mark Jackson
On 12/03/13 15:35, Mark Jackson wrote: I'm just fighting an issue with ethernet on our custom AM335x board:- # uname -a Linux nanobone 3.9.0-rc2-00113-gd60f039 #139 Tue Mar 12 15:14:01 GMT 2013 armv7l GNU/Linux Every now and then, the whole unit slows to a crawl. The only indication

Booting 3.9.0-rc2 on Beaglebone ?

2013-03-12 Thread Mark Jackson
I'm struggling to get the latest kernel git to load on my beaglebone. My build process is:- $ make -j 8 ARCH=arm CROSS_COMPILE=arm-linux- distclean $ make -j 8 ARCH=arm CROSS_COMPILE=arm-linux- omap2plus_defconfig CONFIG_DEBUG_LL=y CONFIG_DEBUG_OMAP2PLUS_UART=y CONFIG_DEBUG_AM33XXUART1=y

Re: [PATCH 11/14] ARM: OMAP2+: Add device-tree support for NOR flash

2013-03-06 Thread Mark Jackson
On 05/03/13 21:34, Jon Hunter wrote: On 03/05/2013 11:30 AM, Jon Hunter wrote: On 03/05/2013 10:20 AM, Mark Jackson wrote: [snip] But I can see in physmap_of.c that the device gets registered without any call to devm_pinctrl_get_select_default() and hence no probe deferring takes

Re: [PATCH 11/14] ARM: OMAP2+: Add device-tree support for NOR flash

2013-03-06 Thread Mark Jackson
On 06/03/13 10:23, Mark Jackson wrote: On 05/03/13 21:34, Jon Hunter wrote: On 03/05/2013 11:30 AM, Jon Hunter wrote: On 03/05/2013 10:20 AM, Mark Jackson wrote: [snip] But I can see in physmap_of.c that the device gets registered without any call to devm_pinctrl_get_select_default

Re: [PATCH 11/14] ARM: OMAP2+: Add device-tree support for NOR flash

2013-03-06 Thread Mark Jackson
On 06/03/13 16:44, Jon Hunter wrote: On 03/06/2013 07:30 AM, Mark Jackson wrote: On 06/03/13 10:23, Mark Jackson wrote: snip [1.541884] gpmc_probe_nor_child 1 [1.545483] GPMC_CS_CONFIG7_0 : 0f48 [1.549621] GPMC_CS_CONFIG7_1 : 0f58 [1.553812] GPMC_CS_CONFIG7_2

[PATCH v2] ARM: OMAP: Clear GPMC bits when applying new setting.

2013-03-05 Thread Mark Jackson
When setting the GPMC device type, make sure any previous bits are cleared down, before applying the new setting. Signed-off-by: Mark Jackson m...@newflow.co.uk --- Changes in v2: - Change mux type to 2 bits - Add extra mux types in gpmc.h arch/arm/mach-omap2/gpmc.c |4 arch/arm/mach

Re: [PATCH 11/14] ARM: OMAP2+: Add device-tree support for NOR flash

2013-03-05 Thread Mark Jackson
On 26/02/13 17:30, Jon Hunter wrote: NOR flash is not currently supported when booting with device-tree on OMAP2+ devices. Add support to detect and configure NOR devices when booting with device-tree. Add documentation for the TI GPMC NOR binding. Signed-off-by: Jon Hunter

Re: [PATCH 11/14] ARM: OMAP2+: Add device-tree support for NOR flash

2013-03-05 Thread Mark Jackson
On 05/03/13 14:46, Jon Hunter wrote: On 03/05/2013 08:34 AM, Mark Jackson wrote: On 26/02/13 17:30, Jon Hunter wrote: NOR flash is not currently supported when booting with device-tree on OMAP2+ devices. Add support to detect and configure NOR devices when booting with device-tree. Add

MTD : Kernel oops when remounting ubifs as read/write

2013-03-04 Thread Mark Jackson
I'm encountering an oops when remounting my ubifs volume as read/write. # mount -o remount,rw / [ 89.434974] UBIFS assert failed in ubifs_write_node at 869 (pid 628) [ 89.442122] [c001b124] (unwind_backtrace+0x0/0xf0) from [c01ad7d4] (ubifs_write_node+0x180/0x1c4) [ 89.451896] [c01ad7d4]

Re: AM335x pinctrl error -19 (-ENODEV)

2013-03-01 Thread Mark Jackson
On 01/03/13 05:49, AnilKumar, Chimata wrote: On Wed, Feb 27, 2013 at 21:14:25, Mark Jackson wrote: I've specified an I2C bus and all 6 UARTs in the dts file for my custom cpu board, as follows:- ocp { uart1: serial@44e09000 { pinctrl-names = default

AM335x pinctrl error -19 (-ENODEV)

2013-02-27 Thread Mark Jackson
I've specified an I2C bus and all 6 UARTs in the dts file for my custom cpu board, as follows:- ocp { uart1: serial@44e09000 { pinctrl-names = default; status = okay; }; uart2:

AM335x mpurate + bogomips

2013-02-21 Thread Mark Jackson
Before I dig any deeper, can anyone tell me if the bootarg mpurate is meant to be supported for AM335x SoCs ? I've tried it on our custom board using 3v8, but no joy. The boot log shows:- [0.00] Booting Linux on physical CPU 0x0 [0.00] Linux version 3.8.0-03059-g621553c-dirty

AM335x : placing NAND @ address 0x0

2013-02-14 Thread Mark Jackson
I'm hitting an issue where I want to register my GPMC connected NAND on CS0 at address 0x0. Here's the relevant error from the boot messages:- [0.293834] omap-gpmc gpmc.3: GPMC revision 6.0 [0.294175] omap-gpmc gpmc.3: failed to reserve memory [0.294267] omap-gpmc: probe of gpmc.3

Re: AM335x : placing NAND @ address 0x0

2013-02-14 Thread Mark Jackson
On 14/02/13 11:59, Mark Jackson wrote: I'm hitting an issue where I want to register my GPMC connected NAND on CS0 at address 0x0. Just found the existing thread that already covers this. Sorry for the noise. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body

Re: DT GPMC SRAM and NOR flash support ?

2013-02-07 Thread Mark Jackson
Okay ... I have made some progress, but it's not ideal. Currently I've hacked the GPMC DT driver (gpmc_probe_dt(), etc) so it now handles setting up the chip selects and timings for NOR devices, e.g. gpmc: gpmc@5000 { status = okay;

Re: DT GPMC SRAM and NOR flash support ?

2013-02-07 Thread Mark Jackson
On 07/02/13 09:51, Mark Jackson wrote: Okay ... I have made some progress, but it's not ideal. snip But the physmap driver (of_flash_probe()) is unable to use this information. It seems that although I can call of_flash_probe() from my NOR setup code, the platform_device being reference

[PATCH] ARM: OMAP: Clear GPMC bits when applying new setting

2013-02-06 Thread Mark Jackson
When setting the GPMC device type, make sure any previous bits are cleared down, before applying the new setting. Signed-off-by: Mark Jackson m...@newflow.co.uk --- arch/arm/mach-omap2/gpmc.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach

Re: DT GPMC SRAM and NOR flash support ?

2013-02-05 Thread Mark Jackson
On 01/02/13 19:39, Mark Jackson wrote: On 01/02/13 17:12, Jon Hunter wrote: Hi Mark, On 02/01/2013 10:56 AM, Mark Jackson wrote: There's plenty of DT support going in for NAND flash, but is there any work going on to support NOR flash ? What board and device are you working that is using

Re: DT GPMC SRAM and NOR flash support ?

2013-02-05 Thread Mark Jackson
On 05/02/13 16:35, Jon Hunter wrote: On 02/05/2013 10:16 AM, Mark Jackson wrote: On 01/02/13 19:39, Mark Jackson wrote: On 01/02/13 17:12, Jon Hunter wrote: Hi Mark, On 02/01/2013 10:56 AM, Mark Jackson wrote: There's plenty of DT support going in for NAND flash, but is there any work

DT GPMC SRAM and NOR flash support ?

2013-02-01 Thread Mark Jackson
There's plenty of DT support going in for NAND flash, but is there any work going on to support NOR flash ? And how about SRAM chips or other memory mapped devices ? Regards Mark J. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to

Re: DT GPMC SRAM and NOR flash support ?

2013-02-01 Thread Mark Jackson
On 01/02/13 17:12, Jon Hunter wrote: Hi Mark, On 02/01/2013 10:56 AM, Mark Jackson wrote: There's plenty of DT support going in for NAND flash, but is there any work going on to support NOR flash ? What board and device are you working that is using NOR? I have a OMAP2420 H4 with NOR that I

ARM: OMAP2+: omap2plus_defconfig: enable omap1 rtc

2013-01-29 Thread Mark Jackson
The BeagleBone dev kit uses the built-in RTC module, so it would be nice to have this built by default in the omap2plus defconfig. Signed-off-by: Mark Jackson m...@newflow.co.uk --- arch/arm/configs/omap2plus_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs

Re: OMAP baseline test results for v3.8-rc5

2013-01-28 Thread Mark Jackson
On 28/01/13 10:34, Mohammed, Afzal wrote: Hi, On Sat, Jan 26, 2013 at 14:16:04, Balbi, Felipe wrote: On Sat, Jan 26, 2013 at 08:40:07AM +, Paul Walmsley wrote: * am335xbone: hangs after Starting kernel - Cause unknown; may be due to CONFIG_EARLY_PRINTK=y? -

Re: OMAP baseline test results for v3.8-rc4

2013-01-23 Thread Mark Jackson
On 22/01/13 18:23, Tony Lindgren wrote: * Mark Jackson mpfj-l...@mimc.co.uk [130122 05:46]: On 22/01/13 13:32, Bedia, Vaibhav wrote: snip Following works for me: Kernel === git checkout next-20130122 make distclean make omap2plus_defconfig Enable the appended DTB related options via

  1   2   >