From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBCaWXDn21hbm4=?= Date: Tue, 04 Sep 2012 22:10:26 +0200 Subject: [U-Boot] [PATCH 2/2] Fixes the crippled console output on PortuxG20. In-Reply-To: <1345141329-1084-3-git-send-email-mhubig@imko.de> References: <1345141329-1084-1-git-send-email-mhubig@imko.de> <1345141329-1084-3-git-send-email-mhubig@imko.de> Message-ID: <50466032.1050604@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Markus Hubig, On 16.08.2012 20:22, Markus Hubig wrote: > In order to use the serial interface on the PortuxG20 we need to enable the > level converter first by setting the PC9 pin to high. The level converter needs > some time to settle so we have to use the mdelay() function to wait for some > time. Unfortunately we have no timers available at board_early_init_f() so we > enable the serial output early within board_postclk_init(). > > Now the U-Boot output looks fine: > > | U-Boot 2012.07-00132-gaf1a3b0-dirty (Aug 16 2012 - 18:21:32) > | > | CPU: AT91SAM9G20 > | Crystal frequency: 18.432 MHz > | CPU clock : 396.288 MHz > | Master clock : 132.096 MHz > | DRAM: 64 MiB > | WARNING: Caches not enabled > | NAND: 128 MiB > | In: serial > | Out: serial > | Err: serial > | Net: macb0 > | Hit any key to stop autoboot: 0 > > Signed-off-by: Markus Hubig > Cc: Andreas Bie?mann > --- applied to u-boot-atmel/master, thanks! Best regards Andreas Bie?mann