Re: am335x: system doesn't reboot after flashing NAND

2014-07-03 Thread Sekhar Nori
On Thursday 03 July 2014 02:45 AM, Yegor Yefremov wrote: > Btw how can I debug the kernel via JTAG? I've read, that one must > activate JTAG clock or something like this. What is the proper way to > do this in 3.15 - 3.16? Please try with Lokesh's patch here: http://www.spinics.net/lists/arm-kern

Re: am335x: system doesn't reboot after flashing NAND

2014-07-03 Thread Roger Quadros
+ Nishant. On 07/02/2014 06:45 PM, Yegor Yefremov wrote: > On Fri, Jun 6, 2014 at 11:33 AM, Roger Quadros wrote: >> On 06/05/2014 01:07 PM, Yegor Yefremov wrote: >>> On Thu, Jun 5, 2014 at 12:02 PM, Roger Quadros wrote: On 06/04/2014 10:45 PM, Yegor Yefremov wrote: > On Wed, Jun 4, 2014

Re: am335x: system doesn't reboot after flashing NAND

2014-07-02 Thread Yegor Yefremov
On Wed, Jul 2, 2014 at 5:45 PM, Yegor Yefremov wrote: > On Fri, Jun 6, 2014 at 11:33 AM, Roger Quadros wrote: >> On 06/05/2014 01:07 PM, Yegor Yefremov wrote: >>> On Thu, Jun 5, 2014 at 12:02 PM, Roger Quadros wrote: On 06/04/2014 10:45 PM, Yegor Yefremov wrote: > On Wed, Jun 4, 2014 at

Re: am335x: system doesn't reboot after flashing NAND

2014-07-02 Thread Yegor Yefremov
On Fri, Jun 6, 2014 at 11:33 AM, Roger Quadros wrote: > On 06/05/2014 01:07 PM, Yegor Yefremov wrote: >> On Thu, Jun 5, 2014 at 12:02 PM, Roger Quadros wrote: >>> On 06/04/2014 10:45 PM, Yegor Yefremov wrote: On Wed, Jun 4, 2014 at 12:52 PM, Sekhar Nori wrote: > On Wednesday 04 June 201

Re: am335x: system doesn't reboot after flashing NAND

2014-06-06 Thread jean-philippe francois
2014-06-06 11:33 GMT+02:00 Roger Quadros : > On 06/05/2014 01:07 PM, Yegor Yefremov wrote: >> On Thu, Jun 5, 2014 at 12:02 PM, Roger Quadros wrote: >>> On 06/04/2014 10:45 PM, Yegor Yefremov wrote: On Wed, Jun 4, 2014 at 12:52 PM, Sekhar Nori wrote: > On Wednesday 04 June 2014 04:00 PM,

Re: am335x: system doesn't reboot after flashing NAND

2014-06-06 Thread Roger Quadros
On 06/05/2014 01:07 PM, Yegor Yefremov wrote: > On Thu, Jun 5, 2014 at 12:02 PM, Roger Quadros wrote: >> On 06/04/2014 10:45 PM, Yegor Yefremov wrote: >>> On Wed, Jun 4, 2014 at 12:52 PM, Sekhar Nori wrote: On Wednesday 04 June 2014 04:00 PM, Yegor Yefremov wrote: > On Wed, Jun 4, 2014 a

RE: am335x: system doesn't reboot after flashing NAND

2014-06-05 Thread Gupta, Pekon
Hi Yegor, >From: Gupta, Pekon > >However, I don't suspect XIP boot here because even if CPU is detecting >garbage data while reading from 0x8000 it won't find a valid image >header there, and so XIP boot should have failed, and boot sequence >should fall back to MMC. It shouldn't have hung. >

RE: am335x: system doesn't reboot after flashing NAND

2014-06-05 Thread Gupta, Pekon
Hi Roger, Yegor, >From: Quadros, Roger >>On 06/04/2014 10:45 PM, Yegor Yefremov wrote: [...] >> >> The 0x8000 address seems to be the beginning of NAND region: >> >> ranges = <0 0 0x0800 0x1000>; /* CS0: NAND */ >> >> I've taken this example from am335x_evm.dts. I have tried to chan

Re: am335x: system doesn't reboot after flashing NAND

2014-06-05 Thread Yegor Yefremov
On Thu, Jun 5, 2014 at 12:02 PM, Roger Quadros wrote: > On 06/04/2014 10:45 PM, Yegor Yefremov wrote: >> On Wed, Jun 4, 2014 at 12:52 PM, Sekhar Nori wrote: >>> On Wednesday 04 June 2014 04:00 PM, Yegor Yefremov wrote: On Wed, Jun 4, 2014 at 12:20 PM, Sekhar Nori wrote: > On Wednesday 0

Re: am335x: system doesn't reboot after flashing NAND

2014-06-05 Thread Roger Quadros
On 06/04/2014 10:45 PM, Yegor Yefremov wrote: > On Wed, Jun 4, 2014 at 12:52 PM, Sekhar Nori wrote: >> On Wednesday 04 June 2014 04:00 PM, Yegor Yefremov wrote: >>> On Wed, Jun 4, 2014 at 12:20 PM, Sekhar Nori wrote: On Wednesday 04 June 2014 03:11 PM, Yegor Yefremov wrote: > On Wed, Jun

Re: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Yegor Yefremov
On Wed, Jun 4, 2014 at 12:52 PM, Sekhar Nori wrote: > On Wednesday 04 June 2014 04:00 PM, Yegor Yefremov wrote: >> On Wed, Jun 4, 2014 at 12:20 PM, Sekhar Nori wrote: >>> On Wednesday 04 June 2014 03:11 PM, Yegor Yefremov wrote: On Wed, Jun 4, 2014 at 10:48 AM, Roger Quadros wrote: > Hi

Re: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Yegor Yefremov
On Wed, Jun 4, 2014 at 1:49 PM, Gupta, Pekon wrote: >>On Wednesday 04 June 2014 04:00 PM, Yegor Yefremov wrote: > [...] > The way ROM works for XIP boot is: 1) Set chip select 0 base address to 0x0800' 2) Read memory at 0x0800' 3) If something else other than 0x0 o

Re: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Yegor Yefremov
On Wed, Jun 4, 2014 at 12:21 PM, Roger Quadros wrote: > On 06/04/2014 01:07 PM, Yegor Yefremov wrote: >> On Wed, Jun 4, 2014 at 11:49 AM, Roger Quadros wrote: >>> On 06/04/2014 12:39 PM, Yegor Yefremov wrote: On Wed, Jun 4, 2014 at 10:54 AM, Sekhar Nori wrote: > On Wednesday 04 June 201

RE: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Gupta, Pekon
>On Wednesday 04 June 2014 04:00 PM, Yegor Yefremov wrote: [...] >>> The way ROM works for XIP boot is: >>> >>> 1) Set chip select 0 base address to 0x0800' >>> 2) Read memory at 0x0800' >>> 3) If something else other than 0x0 or ~0x0 is found, jump to >>> 0x0800' and start executing.

Re: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Sekhar Nori
On Wednesday 04 June 2014 04:00 PM, Yegor Yefremov wrote: > On Wed, Jun 4, 2014 at 12:20 PM, Sekhar Nori wrote: >> On Wednesday 04 June 2014 03:11 PM, Yegor Yefremov wrote: >>> On Wed, Jun 4, 2014 at 10:48 AM, Roger Quadros wrote: Hi, On 06/04/2014 11:25 AM, Yegor Yefremov wrote: >

Re: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Yegor Yefremov
On Wed, Jun 4, 2014 at 12:20 PM, Sekhar Nori wrote: > On Wednesday 04 June 2014 03:11 PM, Yegor Yefremov wrote: >> On Wed, Jun 4, 2014 at 10:48 AM, Roger Quadros wrote: >>> Hi, >>> >>> On 06/04/2014 11:25 AM, Yegor Yefremov wrote: On Wed, Jun 4, 2014 at 8:40 AM, Sekhar Nori wrote: > On

Re: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Roger Quadros
On 06/04/2014 01:07 PM, Yegor Yefremov wrote: > On Wed, Jun 4, 2014 at 11:49 AM, Roger Quadros wrote: >> On 06/04/2014 12:39 PM, Yegor Yefremov wrote: >>> On Wed, Jun 4, 2014 at 10:54 AM, Sekhar Nori wrote: On Wednesday 04 June 2014 01:55 PM, Yegor Yefremov wrote: > On Wed, Jun 4, 2014 a

Re: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Sekhar Nori
On Wednesday 04 June 2014 03:11 PM, Yegor Yefremov wrote: > On Wed, Jun 4, 2014 at 10:48 AM, Roger Quadros wrote: >> Hi, >> >> On 06/04/2014 11:25 AM, Yegor Yefremov wrote: >>> On Wed, Jun 4, 2014 at 8:40 AM, Sekhar Nori wrote: On Tuesday 03 June 2014 04:18 PM, Yegor Yefremov wrote: > On

Re: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Yegor Yefremov
On Wed, Jun 4, 2014 at 11:49 AM, Roger Quadros wrote: > On 06/04/2014 12:39 PM, Yegor Yefremov wrote: >> On Wed, Jun 4, 2014 at 10:54 AM, Sekhar Nori wrote: >>> On Wednesday 04 June 2014 01:55 PM, Yegor Yefremov wrote: On Wed, Jun 4, 2014 at 8:40 AM, Sekhar Nori wrote: > On Tuesday 03 J

Re: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Roger Quadros
On 06/04/2014 12:39 PM, Yegor Yefremov wrote: > On Wed, Jun 4, 2014 at 10:54 AM, Sekhar Nori wrote: >> On Wednesday 04 June 2014 01:55 PM, Yegor Yefremov wrote: >>> On Wed, Jun 4, 2014 at 8:40 AM, Sekhar Nori wrote: On Tuesday 03 June 2014 04:18 PM, Yegor Yefremov wrote: > On Tue, Jun 3,

Re: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Yegor Yefremov
On Wed, Jun 4, 2014 at 10:48 AM, Roger Quadros wrote: > Hi, > > On 06/04/2014 11:25 AM, Yegor Yefremov wrote: >> On Wed, Jun 4, 2014 at 8:40 AM, Sekhar Nori wrote: >>> On Tuesday 03 June 2014 04:18 PM, Yegor Yefremov wrote: On Tue, Jun 3, 2014 at 9:57 AM, Yegor Yefremov wrote: > Ke

Re: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Yegor Yefremov
On Wed, Jun 4, 2014 at 10:54 AM, Sekhar Nori wrote: > On Wednesday 04 June 2014 01:55 PM, Yegor Yefremov wrote: >> On Wed, Jun 4, 2014 at 8:40 AM, Sekhar Nori wrote: >>> On Tuesday 03 June 2014 04:18 PM, Yegor Yefremov wrote: On Tue, Jun 3, 2014 at 9:57 AM, Yegor Yefremov wrote: >

Re: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Sekhar Nori
On Wednesday 04 June 2014 01:55 PM, Yegor Yefremov wrote: > On Wed, Jun 4, 2014 at 8:40 AM, Sekhar Nori wrote: >> On Tuesday 03 June 2014 04:18 PM, Yegor Yefremov wrote: >>> On Tue, Jun 3, 2014 at 9:57 AM, Yegor Yefremov >>> wrote: Kernel: 3.14, 3.15 (I haven't tried another kernels) >>

Re: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Roger Quadros
Hi, On 06/04/2014 11:25 AM, Yegor Yefremov wrote: > On Wed, Jun 4, 2014 at 8:40 AM, Sekhar Nori wrote: >> On Tuesday 03 June 2014 04:18 PM, Yegor Yefremov wrote: >>> On Tue, Jun 3, 2014 at 9:57 AM, Yegor Yefremov >>> wrote: Kernel: 3.14, 3.15 (I haven't tried another kernels) As s

Re: am335x: system doesn't reboot after flashing NAND

2014-06-04 Thread Yegor Yefremov
On Wed, Jun 4, 2014 at 8:40 AM, Sekhar Nori wrote: > On Tuesday 03 June 2014 04:18 PM, Yegor Yefremov wrote: >> On Tue, Jun 3, 2014 at 9:57 AM, Yegor Yefremov >> wrote: >>> Kernel: 3.14, 3.15 (I haven't tried another kernels) >>> >>> As soon as I write something to my NAND flash (via cat image >

Re: am335x: system doesn't reboot after flashing NAND

2014-06-03 Thread Sekhar Nori
On Tuesday 03 June 2014 04:18 PM, Yegor Yefremov wrote: > On Tue, Jun 3, 2014 at 9:57 AM, Yegor Yefremov > wrote: >> Kernel: 3.14, 3.15 (I haven't tried another kernels) >> >> As soon as I write something to my NAND flash (via cat image > >> /dev/mtdblockx or ubiupdatevol) and make reboot or press

Re: am335x: system doesn't reboot after flashing NAND

2014-06-03 Thread Yegor Yefremov
On Tue, Jun 3, 2014 at 9:57 AM, Yegor Yefremov wrote: > Kernel: 3.14, 3.15 (I haven't tried another kernels) > > As soon as I write something to my NAND flash (via cat image > > /dev/mtdblockx or ubiupdatevol) and make reboot or press a reset > button, I see only C and nothing happens before I

am335x: system doesn't reboot after flashing NAND

2014-06-03 Thread Yegor Yefremov
Kernel: 3.14, 3.15 (I haven't tried another kernels) As soon as I write something to my NAND flash (via cat image > /dev/mtdblockx or ubiupdatevol) and make reboot or press a reset button, I see only C and nothing happens before I make a power cycle. Any idea? Yegor -- To unsubscribe from thi