0.5sec delay when ttyO0 is enabled

2012-09-18 Thread Mark Jackson
this delay be removed ? My total boot time is only 1.3sec, so a 0.5sec delay is quite significant !?! Below is the first portion of my boot log. Thanks for any advice Mark JACKSON --- [0.00] Initializing cgroup subsys cpu [0.00] Linux version 3.2.28+ (mpfj@mpfj-nanobone) (gcc version 4.5.4

Re: 0.5sec delay when ttyO0 is enabled

2012-09-18 Thread Mark Jackson
On 18/09/12 11:40, Mark Jackson wrote: I'm using a BeagleBone, and the linux kernel from Koen Kooi (https://github.com/koenkooi/linux.git). I have noticed there is a 0.5sec delay between OMAP UART0 being initialised and the console being enabled. It is, of course, when the printk

gpmc_cs_request() causes early boot hang

2012-09-21 Thread Mark Jackson
? Cheers Mark JACKSON -- 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: gpmc_cs_request() causes early boot hang

2012-09-24 Thread Mark Jackson
such as gpmc_cs_request() ? Is there a method to delay my test code, or maybe get the omap-gpmc registered earlier ? Cheers Mark JACKSON -- 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

Re: gpmc_cs_request() causes early boot hang

2012-09-24 Thread Mark Jackson
On 24/09/12 12:13, Mohammed, Afzal wrote: Hi Mark, On Mon, Sep 24, 2012 at 16:21:40, Mark Jackson wrote: On 24/09/12 05:51, Mohammed, Afzal wrote: It seems you are using PSP Kernel. Invoking omap_init_gpmc before gpmc request should help. Okay ... I'm now using earlyprintk

Re: OMAP baseline test results for v3.7-rc3

2012-10-30 Thread Mark Jackson
anyone testing a new kernel will probably expect the same setup to work. Cheers Mark JACKSON -- 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: OMAP baseline test results for v3.7-rc3

2012-10-31 Thread Mark Jackson
On 30/10/12 14:48, Vaibhav Hiremath wrote: On 10/30/2012 6:09 PM, Hiremath, Vaibhav wrote: Mark, MMC is dependent on EDMA-DMA conversion patches from Matt, which he has already submitted to the list recently. So MMC support will come along with EDMA support. DMA-EDMA patches are

Re: OMAP baseline test results for v3.7-rc3

2012-10-31 Thread Mark Jackson
On 31/10/12 13:57, Hiremath, Vaibhav wrote: On Wed, Oct 31, 2012 at 19:11:03, Mark Jackson wrote: If I try the latest mainline U-Boot (or the TI branch), I just get to Starting kernel ... and then hangs. I am using Mainline u-boot and it works for me. Can you paste u-boot boot log

Re: OMAP baseline test results for v3.7-rc3

2012-11-01 Thread Mark Jackson
On 31/10/12 14:24, Mark Jackson wrote: On 31/10/12 13:57, Hiremath, Vaibhav wrote: On Wed, Oct 31, 2012 at 19:11:03, Mark Jackson wrote: If I try the latest mainline U-Boot (or the TI branch), I just get to Starting kernel ... and then hangs. I am using Mainline u-boot and it works

Re: OMAP baseline test results for v3.7-rc3

2012-11-05 Thread Mark Jackson
On 31/10/12 13:57, Hiremath, Vaibhav wrote: On Wed, Oct 31, 2012 at 19:11:03, Mark Jackson wrote: On 30/10/12 14:48, Vaibhav Hiremath wrote: Okay, so I'm now coming up against a brick wall regarding U-Boot. The Kernel boots fine (as per the tree + patch above) provided I build U-Boot using

Re: OMAP baseline test results for v3.7-rc3

2012-11-06 Thread Mark Jackson
On 06/11/12 06:16, Hiremath, Vaibhav wrote: Where is your DTB? Is it appended to Kernel image? Can you try below sequence/commands from u-boot? mmc rescan 0 fatload mmc 0 8000 am335x-bone.dtb fatload mmc 0 8100 uImage setenv bootargs console=ttyO0,115200n8 mem=256M

Re: Current state of AM33xx patches

2012-06-29 Thread Mark Jackson
in ? Cheers Mark Jackson [1] https://github.com/koenkooi/linux [2] http://processors.wiki.ti.com/index.php/Sitara_Linux_Upstream_Status -- 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

Re: Current state of AM33xx patches

2012-07-02 Thread Mark Jackson
On 29/06/12 18:56, Hiremath, Vaibhav wrote: On Fri, Jun 29, 2012 at 19:50:45, Mark Jackson wrote: This does appear to work using the ramdisk, but there seems to be no support for booting off MMC. This is known thing and clearly mentioned/highlighted above. Use the ramdisk image to boot

[regression] 2.6.39-rc1 - Beagleboard usbnet broken

2011-04-04 Thread Mark Jackson
Running 2.6.38 on my beagleboard, I can boot using nfs:- regulator_init_complete: VDVI: incomplete constraints, leaving on regulator_init_complete: VDAC: incomplete constraints, leaving on usb 1-2: new high speed USB device using ehci-omap and address 2 mmc0: host does not support reading

Re: OMAP baseline test results for v3.7-rc3

2012-11-13 Thread Mark Jackson
On 06/11/12 09:47, Mark Jackson wrote: On 06/11/12 06:16, Hiremath, Vaibhav wrote: Where is your DTB? Is it appended to Kernel image? Can you try below sequence/commands from u-boot? mmc rescan 0 fatload mmc 0 8000 am335x-bone.dtb fatload mmc 0 8100 uImage setenv bootargs console

Re: OMAP baseline test results for v3.7-rc3

2012-11-13 Thread Mark Jackson
On 13/11/12 15:35, Paul Walmsley wrote: instead of this: $ cat arch/arm/boot/uImage arch/arm/boot/am335x-bone.dtb arch/arm/boot/uImage-dtb.am335x-bone $ cp arch/arm/boot/uImage-dtb.am335x-bone /media/boot/uImage something like this is what you need to do instead: $ cat

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

2013-01-21 Thread Mark Jackson
Vaibhav / Matt On 20/01/13 21:38, Paul Walmsley wrote: Here are some basic OMAP test results for Linux v3.8-rc4. Logs and other details at: http://www.pwsan.com/omap/testlogs/test_v3.8-rc4/20130120122039/ snip Failing tests: needing investigation

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

2013-01-22 Thread Mark Jackson
On 22/01/13 02:24, Paul Walmsley wrote: Hi guys, Regarding the AM33xx test failures with appended DTBs, it would be very helpful if especially the TI people could try reproducing the problem. My non-working setup (I'm using a recent U-Boot) is as follows ... [Note that the DTB patch

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

2013-01-22 Thread Mark Jackson
On 22/01/13 12:21, Peter Korsgaard wrote: Mark == Mark Jackson mpfj-l...@mimc.co.uk writes: Hi, Mark Bytes transferred = 3963919 (3c7c0f hex) Mark ## Booting kernel from Legacy Image at 8000 ... MarkImage Name: Linux MarkImage Type: ARM Linux Kernel Image

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

2013-01-22 Thread Mark Jackson
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 menuconfig make -j7 cat arch/arm/boot/zImage arch/arm/boot/dts/am335x-bone.dtb

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

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? -

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

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

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

[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-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

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

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 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:

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

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]

[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

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

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 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

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

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: 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

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: [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

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-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-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-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

[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

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

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

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

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

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

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: 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

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: [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: [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 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: 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 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

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

[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

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

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

  1   2   >