From mboxrd@z Thu Jan 1 00:00:00 1970 From: angelo Date: Wed, 03 Aug 2011 15:29:50 +0200 Subject: [U-Boot] mcf5307, timer 2 issue loading linux In-Reply-To: <20110803130758.B4120177A7AA@gemini.denx.de> References: <4E390235.2090107@gmail.com> <20110803130758.B4120177A7AA@gemini.denx.de> Message-ID: <4E394D4E.30005@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, i confirm that before the patch/solution applied (i just posted it), i also tried "bootm FLASH_ADDR". Same result, loading fail, since timer2 interrupt is not stopped and the interrupt happen just after the linux head.S execution. As i said, probably this issue was not visible in other coldfire models since mcf5307 run at 90mhz only. I have copied the "arch_preboot_os()" solution from other boards, that was doing the same thing, disabling async interrupts before loading the os. Regards, angelo On 03/08/2011 15:07, Wolfgang Denk wrote: > Dear angelo, > > In message<4E390235.2090107@gmail.com> you wrote: > >> i am reporting the following issue, maybe related to something wrong in >> my new mcf5307 support addition (still under testing), or maybe not: >> >> >> 1. U-Boot run correctly, timer2 is enabled as a system timestamp counter. >> 2. I load a uClinux bianry from flash to SDRAM with "cp.l FLASH_ADDR >> SDRAM_ADDR SIZE/4 >> 3. i launch the binary with "go SDRAM_ADDR" >> > You must not start Linux with a "go" command. Please use "bootm" for > this purpose (and then you also don;t have to copy the kernal > manually). > > Best regards, > > Wolfgang Denk > > -- .:.:.SYSAM.:.:. di Angelo Dureghello via San Nazario 149 34151, Trieste, Italy ++39 340 7631990 www.sysam.it -------------- next part -------------- A non-text attachment was scrubbed... Name: logo.png Type: image/png Size: 3033 bytes Desc: not available Url : http://lists.denx.de/pipermail/u-boot/attachments/20110803/187428aa/attachment.png