From: Wolfgang Denk Date: Thu, 25 Oct 2018 16:04:51 +0200 Subject: [U-Boot] [U-Boot-DM] [PATCH] drivers: serial: probe all serial devices In-Reply-To: References: <1539562189-3137-1-git-send-email-vabhav.sharma@nxp.com> Message-ID: <20181025140452.0D54A240044@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Vabhav, In message you wrote: > > > You can also use setenv stdin/stdout/stderr to alternate between stdio > > devices. So what is the problem ? > Problem is seen with PL011 driver using DM model, Only boot console baud rate is set. U-Boot can talk to only one serial device at a time anyway, so why should it intiaalize othe rports than the one used for the (then current) console? U-Boot does lazy initializationintentionally. It is wrong to initialize devices which are not actually used. > Tried modifying the environment variable but seems readonly (## > Error inserting "stdout" variable, errno=22) How exactly did you try to do that? > Multiple UART enablement is required to use all console. I have a feeling that you attempt to do the Wong Thing. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I am an atheist, thank God!