Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1649545

Re: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure DCD and RI irqs to be off

From Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure DCD and RI irqs to be off
Date 2017-05-24 14:10 +0200
Message-ID <tKDh0-2cD-11@gated-at.bofh.it> (permalink)
References <tKhgt-3cf-7@gated-at.bofh.it> <tKkR4-5Bx-11@gated-at.bofh.it> <tKBRU-18H-13@gated-at.bofh.it> <tKD7k-1Uh-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hey Fabio,

On Wed, May 24, 2017 at 08:52:50AM -0300, Fabio Estevam wrote:
> On Wed, May 24, 2017 at 7:32 AM, Steve Twiss
> <stwiss.opensource@diasemi.com> wrote:
> 
> > The USB to UART connection gets corrupted.
> > If this patch is applied to the kernel, the i.MX6 Q (quad), and only this board as far as
> > we know, starts to fail. This does *not* change the i.MX6DL and other sabre boards
> > have been tested on kernelci.org and do not see a problem.
> >
> > An NXP/Freescale SABRESD i.MX6 Q board is requred.
> >
> > My system for testing is to TFTP the Linux kernel over an ethernet connection. The
> > U-boot executes okay and the UART is working at that point. When the kernel loads
> > the console trace becomes garbled, in the sense that I get the some characters being
> > output to the console, in the style of the kernel starting up, but they are not correct.
> >
> > I expect the kernel has started ok, but I am unable to read/write through the UART
> > console because of corruptions.
> >
> > Console log with the output I am seeing with linux-next/v4.12-rc2
> > --- 8< ---
> > U-Boot 2009.08-00001-gf65536a (Jan 12 2015 - 15:47:19)
> 
> Thanks for your detailed explanation.
> 
> I also have a mx6q sabresd board here, but the error did not happen
> when I use a recent U-Boot version.
> 
> I would like to use the same U-Boot version here as well to help
> debugging this problem.
> 
> Could you please let me know which 2009.08 branch you used? Is it any
> one from git.freescale.com
> http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/refs/heads ?

The problem is that RFDIV, RXTL and TXTL are overwritten in the UFCR
register.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH V1] serial: imx: revert setup DCEDTE early and ensure DCD and  RI irqs to be off Steve Twiss <stwiss.opensource@diasemi.com> - 2017-05-23 14:40 +0200
  Re: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure DCD  and RI irqs to be off Uwe Kleine-König          <u.kleine-koenig@pengutronix.de> - 2017-05-23 16:10 +0200
    RE: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure  DCD and RI irqs to be off Steve Twiss <stwiss.opensource@diasemi.com> - 2017-05-23 16:30 +0200
      Re: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure DCD  and RI irqs to be off Uwe Kleine-König          <u.kleine-koenig@pengutronix.de> - 2017-05-23 16:40 +0200
        RE: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure  DCD and RI irqs to be off Steve Twiss <stwiss.opensource@diasemi.com> - 2017-05-23 17:10 +0200
          Re: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure DCD  and RI irqs to be off Uwe Kleine-König          <u.kleine-koenig@pengutronix.de> - 2017-05-23 18:10 +0200
            RE: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure  DCD and RI irqs to be off Steve Twiss <stwiss.opensource@diasemi.com> - 2017-05-24 12:30 +0200
              Re: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure DCD  and RI irqs to be off Uwe Kleine-König          <u.kleine-koenig@pengutronix.de> - 2017-05-24 14:00 +0200
  Re: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure DCD  and RI irqs to be off Fabio Estevam <festevam@gmail.com> - 2017-05-23 18:30 +0200
    RE: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure  DCD and RI irqs to be off Steve Twiss <stwiss.opensource@diasemi.com> - 2017-05-24 12:40 +0200
      Re: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure DCD  and RI irqs to be off Fabio Estevam <festevam@gmail.com> - 2017-05-24 14:00 +0200
        Re: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure DCD  and RI irqs to be off Uwe Kleine-König          <u.kleine-koenig@pengutronix.de> - 2017-05-24 14:10 +0200
        RE: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure  DCD and RI irqs to be off Steve Twiss <stwiss.opensource@diasemi.com> - 2017-05-24 15:00 +0200
          Re: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure DCD  and RI irqs to be off Fabio Estevam <festevam@gmail.com> - 2017-05-24 16:00 +0200
            RE: [PATCH V1] serial: imx: revert setup DCEDTE early and ensure  DCD and RI irqs to be off Steve Twiss <stwiss.opensource@diasemi.com> - 2017-05-24 18:10 +0200

csiph-web