U-Boot CPU clock slower than it is in OS?

2021-11-16 Thread Kyle Woolsey
I’m doing some development on an AM335x ARM CPU and want to run applications in the U-Boot command prompt. My problem: the code is much slower in U-Boot than it is in Linux. I was wondering if U-Boot is able to set clock settings and if there's a way that I can tweak them to improve performance of

[U-Boot] CPU errata workarounds are using the SPL stack before it is initialized

2017-07-25 Thread Siarhei Siamashka
Hello, Currently the code in 'arch/arm/cpu/armv7/start.S' calls the 'cpu_init_cp15' function before 'cpu_init_crit'. The initial SPL stack is initialized in 'lowlevel_init', which is called from 'cpu_init_crit'. But 'cpu_init_cp15' is already using stack when applying errata workarounds. Here is o

[U-Boot] CPU up timeout. CPU up mask is 1 should be 3

2016-10-13 Thread Wesolowski, Carol
Hello, I'm using u-boot.bin built from u-boot-2009.11-cloud. I have single core boards that run this same u-boot.bin but I don't see the "CPU up timeout." message in the u-boot start up screen. //dual core u-boot U-Boot 2009.11 (Oct 10 2016 - 19:17:09) CPU0: P2020, Version: 2.1, (0x80e20021

Re: [U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-24 Thread Stephen Warren
(CC += a few people who co-incidentally seem to be having an almost identical conversation on the Linux mailing list instead). On 08/24/2016 10:38 AM, vinoth eswaran wrote: On Wed, Aug 24, 2016 at 6:01 PM, Stephen Warren wrote: On 08/24/2016 05:44 AM, vinoth eswaran wrote: On Tue, Aug 23, 2

Re: [U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-24 Thread vinoth eswaran
On Wed, Aug 24, 2016 at 6:01 PM, Stephen Warren wrote: > On 08/24/2016 05:44 AM, vinoth eswaran wrote: >> >> On Tue, Aug 23, 2016 at 6:09 PM, Stephen Warren >> wrote: >>> >>> On 08/23/2016 06:23 AM, vinoth eswaran wrote: On Mon, Aug 22, 2016 at 6:15 PM, Stephen Warren wrote:

Re: [U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-24 Thread Stephen Warren
On 08/24/2016 05:44 AM, vinoth eswaran wrote: On Tue, Aug 23, 2016 at 6:09 PM, Stephen Warren wrote: On 08/23/2016 06:23 AM, vinoth eswaran wrote: On Mon, Aug 22, 2016 at 6:15 PM, Stephen Warren wrote: On 08/22/2016 08:37 AM, vinoth eswaran wrote: Hello Developers, Currently I am wo

Re: [U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-24 Thread vinoth eswaran
On Tue, Aug 23, 2016 at 6:09 PM, Stephen Warren wrote: > On 08/23/2016 06:23 AM, vinoth eswaran wrote: >> >> On Mon, Aug 22, 2016 at 6:15 PM, Stephen Warren >> wrote: >>> >>> >>> On 08/22/2016 08:37 AM, vinoth eswaran wrote: Hello Developers, Currently I am working on a

Re: [U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-23 Thread Stephen Warren
On 08/23/2016 06:23 AM, vinoth eswaran wrote: On Mon, Aug 22, 2016 at 6:15 PM, Stephen Warren wrote: On 08/22/2016 08:37 AM, vinoth eswaran wrote: Hello Developers, Currently I am working on an embedded project using Tegra Jetson Tk1 board. The Linux Kernel version is 4.7 and the u-boot v

Re: [U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-23 Thread vinoth eswaran
On Mon, Aug 22, 2016 at 6:15 PM, Stephen Warren wrote: > > On 08/22/2016 08:37 AM, vinoth eswaran wrote: >> >> Hello Developers, >> >> Currently I am working on an embedded project using Tegra Jetson Tk1 >> board. The Linux Kernel version is 4.7 and the u-boot version is v2016.05. >> I am buildi

Re: [U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-22 Thread Stephen Warren
On 08/22/2016 08:37 AM, vinoth eswaran wrote: Hello Developers, Currently I am working on an embedded project using Tegra Jetson Tk1 board. The Linux Kernel version is 4.7 and the u-boot version is v2016.05. I am building a customised Linux kernel and u-boot to have the fastest boot time possi

[U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-22 Thread vinoth eswaran
Hello Developers, Currently I am working on an embedded project using Tegra Jetson Tk1 board. The Linux Kernel version is 4.7 and the u-boot version is v2016.05. I am building a customised Linux kernel and u-boot to have the fastest boot time possible. During Kernel startup I am seeing some err

Re: [U-Boot] CPU Wachtog for P2041

2014-08-12 Thread Valentin Longchamp
gt; -Original Message- >>> From: u-boot-boun...@lists.denx.de [mailto:u-boot- >>> boun...@lists.denx.de] On Behalf Of Rainer Boschung >>> Sent: Tuesday, June 3, 2014 9:05 AM >>> To: u-boot@lists.denx.de >>> Subject: [U-Boot] CPU Wachtog f

Re: [U-Boot] CPU Wachtog for P2041

2014-08-04 Thread York Sun
On 06/03/2014 12:05 AM, Rainer Boschung wrote: > I am using the core watchdog of the P2041 on the kmp204x board. > > For the watchdog initialization I use the mpc85xx framework and > the powerpc register definitions. However, I had to modify both > for the following reasons (Patches 1 to 4): > -

Re: [U-Boot] CPU Wachtog for P2041

2014-07-18 Thread York Sun
t regards > > Rainer Boschung > KEYMILE AG > >> -Original Message- >> From: u-boot-boun...@lists.denx.de [mailto:u-boot- >> boun...@lists.denx.de] On Behalf Of Rainer Boschung >> Sent: Tuesday, June 3, 2014 9:05 AM >> To: u-boot@lists.denx.de >>

Re: [U-Boot] CPU Wachtog for P2041

2014-07-16 Thread York Sun
boun...@lists.denx.de] On Behalf Of Rainer Boschung >> Sent: Tuesday, June 3, 2014 9:05 AM >> To: u-boot@lists.denx.de >> Subject: [U-Boot] CPU Wachtog for P2041 >> >> I am using the core watchdog of the P2041 on the kmp204x board. >> >> For the watchdog initia

Re: [U-Boot] CPU Wachtog for P2041

2014-07-16 Thread Boschung, Rainer
rom: u-boot-boun...@lists.denx.de [mailto:u-boot- > boun...@lists.denx.de] On Behalf Of Rainer Boschung > Sent: Tuesday, June 3, 2014 9:05 AM > To: u-boot@lists.denx.de > Subject: [U-Boot] CPU Wachtog for P2041 > > I am using the core watchdog of the P2041 on the kmp204x boar

[U-Boot] CPU Wachtog for P2041

2014-06-03 Thread Rainer Boschung
I am using the core watchdog of the P2041 on the kmp204x board. For the watchdog initialization I use the mpc85xx framework and the powerpc register definitions. However, I had to modify both for the following reasons (Patches 1 to 4): -the e500mc register implementation differs from other ppc

[U-Boot] CPU POST on MPC5200 fails with U-Boot built using GCC 4.6.1

2011-12-22 Thread Anatolij Gustschin
Hi, I noticed a problem while testing Wolfgang's patch PPC: fix "Warning: FOO uses hard float, BAR uses soft float". U-Boot built for TQM5200 using ELDK-5.1 powerpc toolchain seems to have issues in CPU POST test. I see similar problem both with and also without Wolfgang's patch applied: U-Boot

Re: [U-Boot] cpu/arm926ejs/start.S question

2011-07-11 Thread Fabio Estevam
Hi Andre, On Mon, Jul 11, 2011 at 1:59 AM, Andre Renaud wrote: ... > I have basically got this working, but I have to put the final > u-boot.imx image into the SPI flash at address 0x400, not the base (the > image that I had essentially padded it out to 0x400). Is there any > reason that imximage

Re: [U-Boot] cpu/arm926ejs/start.S question

2011-07-10 Thread Andre Renaud
Hi Fabio, On 08/07/11 12:54, Fabio Estevam wrote: > Just to make sure I understand: you want to boot MX25 from internal > mode (from ROM), correct? > > We currently do this on the MX51 and we pass the DDR timings, IOMUX, > etc via the DCD (Device Configuration Data) mechanism. > > You can refer

Re: [U-Boot] cpu/arm926ejs/start.S question

2011-07-07 Thread Stefano Babic
On 07/08/2011 03:20 AM, Andre Renaud wrote: > Hi Fabio, > On 08/07/11 12:54, Fabio Estevam wrote: >> Just to make sure I understand: you want to boot MX25 from internal >> mode (from ROM), correct? > Hi Andre, > Just out of interest, how does the imximage.cfg file work? I can't see > any referen

Re: [U-Boot] cpu/arm926ejs/start.S question

2011-07-07 Thread Andre Renaud
Hi Fabio, > Please check doc/README.imximage file for details regarding the > generation of the u-boot.imx image. > > I think that it would be nice if you include such file for your board > so that the same approach as in MX51/MX53 can be used. This is basically exactly what I was after. Thanks f

Re: [U-Boot] cpu/arm926ejs/start.S question

2011-07-07 Thread Fabio Estevam
Hi Andre, On Thu, Jul 7, 2011 at 10:20 PM, Andre Renaud wrote: .. > Just out of interest, how does the imximage.cfg file work? I can't see > any reference to that file in any of the build system, so how do you get > it prepended to the image? Please check doc/README.imximage file for details reg

Re: [U-Boot] cpu/arm926ejs/start.S question

2011-07-07 Thread Andre Renaud
Hi Fabio, On 08/07/11 12:54, Fabio Estevam wrote: > Just to make sure I understand: you want to boot MX25 from internal > mode (from ROM), correct? Yes, I am booting in internal mode, so that I can load U-Boot from NAND (or SPI flash). > We currently do this on the MX51 and we pass the DDR timing

Re: [U-Boot] cpu/arm926ejs/start.S question

2011-07-07 Thread Fabio Estevam
Hi Andre, On Thu, Jul 7, 2011 at 6:38 PM, Andre Renaud wrote: > Hello, > I am working on an i.MX25 board, and would like to know the recommended > mechanism for putting code in before the first instruction in the > executable, but outside the *_spl system. > > Basically, the i.MX25 has a smart bo

Re: [U-Boot] cpu/arm926ejs/start.S question

2011-07-07 Thread Andre Renaud
Hi Simon, > We have a similar thing with Tegra, and have built something into the > USB download script which prepends the needed data. In this case it > needs to be signed so it isn't possible to just include it in the U-Boot > source, anyway. > > I suppose > > cat preload.bin u-boot.bin >u-boot

Re: [U-Boot] cpu/arm926ejs/start.S question

2011-07-07 Thread Simon Glass
Hi Andre, On Thu, Jul 7, 2011 at 2:38 PM, Andre Renaud wrote: > Hello, > I am working on an i.MX25 board, and would like to know the recommended > mechanism for putting code in before the first instruction in the > executable, but outside the *_spl system. > > Basically, the i.MX25 has a smart b

[U-Boot] cpu/arm926ejs/start.S question

2011-07-07 Thread Andre Renaud
Hello, I am working on an i.MX25 board, and would like to know the recommended mechanism for putting code in before the first instruction in the executable, but outside the *_spl system. Basically, the i.MX25 has a smart boot rom in the CPU, which will extract the first block, and interpret it (as

Re: [U-Boot] CPU Sleep in ARM Cortex A8

2009-10-12 Thread Magnus Lilja
Hi 2009/10/12 akshay ts : > Hi, > I want to know what is the instruction for sleeping in ARM Cortex A8. > I did execute a WFI instruction seems to be a NOP. > void cpu_idle() > { >    unsigned long tmp = 0; >    asm("b 1f\n\t" >            ".align 5\n\t" >            "1:\n\t" >            "mcr p15

[U-Boot] CPU Sleep in ARM Cortex A8

2009-10-12 Thread akshay ts
Hi, I want to know what is the instruction for sleeping in ARM Cortex A8. I did execute a WFI instruction seems to be a NOP. void cpu_idle() { unsigned long tmp = 0; asm("b 1f\n\t" ".align 5\n\t" "1:\n\t" "mcr p15, 0, %0, c7, c10, 5\n\t" "mcr

Re: [U-Boot] cpu/cortex_a9

2009-10-06 Thread Tom
Armando VISCONTI wrote: > Dears, > > I'm not able to find the code for Cortex A9, but > in some discussion I saw it is (maybe) planned > to be in cpu/cortex_a9. > > Is this correct? > Anyway, can you possibly update me about the current status? > > Thx, > Armando > I believe you are correct. To

[U-Boot] cpu/cortex_a9

2009-10-06 Thread Armando VISCONTI
Dears, I'm not able to find the code for Cortex A9, but in some discussion I saw it is (maybe) planned to be in cpu/cortex_a9. Is this correct? Anyway, can you possibly update me about the current status? Thx, Armando ___ U-Boot mailing list U-Boot

Re: [U-Boot] cpu/mpc512x/start.S question: the compare test during relocation...

2009-08-08 Thread Wolfgang Denk
Dear Mike Timmons, In message you wrote: > > I have a board similar to the ads512101 evaluation board, at least that's my > starting point. Is your board really similar, i. e. did you copy all the CPLD stuff from MPC5121ADS as well? Otherwise, ARIA might be a better choice to copy code from. >

[U-Boot] cpu/mpc512x/start.S question: the compare test during relocation...

2009-08-08 Thread Mike Timmons
I have a board similar to the ads512101 evaluation board, at least that's my starting point. I'm booting and running, after making a slight change to start.S to get lowboot working, as my board is hard-wired for lowboot. In order to boot-through to the console I needed to disable a bne on a compa

[U-Boot] CPU with USB host mode and a USB console

2009-03-12 Thread Jon Smirl
I see in the readme that u-boot can be configured as a USB serial device on processor that can function as a USB device. My CPU, the mpc5200, only supports USB host. Has anyone tried this the other way around? Plugging in a USB to serial convert to the target system USB and getting console that wa

Re: [U-Boot] [83xx] [RFC] Widening the scope of u-boot/cpu/mpc83xx/cpu.c : upmconfig

2008-10-15 Thread Kim Phillips
On Wed, 15 Oct 2008 17:35:39 -0400 richardretanubun <[EMAIL PROTECTED]> wrote: > Two questions: > 1. Can the CONFIG_MPC834X limitation be relaxed? (I am using an MPC8360E), If > so, what should it be? CONFIG_83XX? > 2. Can the #else action be changed from a printf to a #error? Something like > t

[U-Boot] [83xx] [RFC] Widening the scope of u-boot/cpu/mpc83xx/cpu.c : upmconfig

2008-10-15 Thread richardretanubun
Hi Kim, I recently tried calling the u-boot/cpu/mpc83xx/cpu.c : upmconfig function to configure one of my UPMs to work as a Compact flash controller. When I tried the compile I am getting the error from the #else of this code void upmconfig (uint upm, uint *table, uint size) { #if defined

[U-Boot] cpu

2008-08-29 Thread mendoza
Which CPU (ARCH) should i define for ARM7EJS ? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot