Re: [U-Boot] AT91RM9200 boots from NOR Flash or not

2010-02-19 Thread Drasko DRASKOVIC
On Fri, Feb 19, 2010 at 11:30 AM, Nikumbh, Raj (IE10) raj.niku...@honeywell.com wrote: I want to use the u-boot-1.3.4 with the patch from AT91 for my custom board based on AT91RM9200 with 32MB SDRAM (MT48LC8M16A2) and 8MB flash (AT49BV6416-70TI). I am directly flashing the image to flash

Re: [U-Boot] AT91RM9200 boots from NOR Flash or not

2010-02-19 Thread Drasko DRASKOVIC
On Fri, Feb 19, 2010 at 1:16 PM, Nikumbh, Raj (IE10) raj.niku...@honeywell.com wrote: I am using JTAG port with SAM-ICE. Can't you stop your uC at reset addr and step to see if you go to _start or hit some exception? I guess you connect GDB to JTAG via monitor and disassemble what you have

Re: [U-Boot] lib_arm global data pointer

2009-07-14 Thread Drasko DRASKOVIC
of ams instructions important here? (I did not had time yet to recompile without this membar before posting this question, so I will try to do it and reproduce the problem). Best regards, Drasko DRASKOVIC ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Can I and/or D Cache work without MMU enabling in ARM11 or ARM cortex

2009-07-13 Thread Drasko DRASKOVIC
I yes, D no. On Mon, Jul 13, 2009 at 9:04 AM, akshay ts taksh...@yahoo.co.in wrote: Hi, I want to use i and/or D cache in ARM cortex on a OMAP3430 system without MMU. Is it possible? Warm Regards, Akshay Looking for local information? Find it on Yahoo! Local

Re: [U-Boot] lib_arm global data pointer

2009-07-13 Thread Drasko DRASKOVIC
code like it is not volatile (optimize by deleting conditions, assign values by add and not mov, etc...) BR, Drasko On Mon, Jul 13, 2009 at 3:38 PM, Rabin Vincent ra...@rab.in wrote: On Fri, Jul 10, 2009 at 02:52:32PM +0200, Drasko DRASKOVIC wrote: [...] Suppose that I allocated one register

Re: [U-Boot] Can I and/or D Cache work without MMU enabling in ARM11 or ARM cortex

2009-07-13 Thread Drasko DRASKOVIC
, 2009 at 12:57 PM, akshay ts taksh...@yahoo.co.in wrote: Hi, Can u please tell me the reason, without D cache i dont see significant performance improvents. Warm Regards, Akshay --- On Mon, 13/7/09, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: From: Drasko DRASKOVIC drasko.drasko

Re: [U-Boot] lib_arm global data pointer

2009-07-13 Thread Drasko DRASKOVIC
regards, Drasko DRASKOVIC ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] itoa(), base of 16

2009-05-27 Thread Drasko DRASKOVIC
Hi all, how do we use itoa() fnc in U-Boot? I can seem to find it (there is simple_strtoul(), but I need inverse of this). BR, Drasko ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] MAC Address reading procedure in board.c

2009-05-26 Thread Drasko DRASKOVIC
Hi Wolfgang, first of all thanks a lot for your answers. On Mon, May 25, 2009 at 8:32 PM, Wolfgang Denk w...@denx.de wrote: Dear Drasko DRASKOVIC, In message 5ec3d7930905250856k6cffb4ber261bd99f15868...@mail.gmail.com you wrote: I have been looking at MAC addr obtaining procedure

[U-Boot] MAC Address reading procedure in board.c

2009-05-25 Thread Drasko DRASKOVIC
Hi all, I have been looking at MAC addr obtaining procedure in lib_arm/board.c and I am puzzled with this implementation : /* MAC Address */ { int i; ulong reg; char *s, *e; char tmp[64]; i = getenv_r (ethaddr, tmp, sizeof (tmp)); s = (i 0) ?

Re: [U-Boot] Add a new command to U-Boot

2009-05-11 Thread Drasko DRASKOVIC
Hmmm... what about these additional steps: 1) Add .o file to COBJS in ./common/Makefile 2) Add CFG_CMD_MY_COMMAND to CONFIG_COMMANDS macro in ./include/configs/board_name.h 3) Add CFG_CMD_MY_COMMAND definition to ./include/cmd_confdefs.h are they necesarry? I think that I had to do these also.

[U-Boot] Relocation confusion

2009-04-22 Thread Drasko DRASKOVIC
section of u-boot that goes before TEXT section, and will never be relocated to RAM _TEXT_BASE. What could that ever be? Thanks for your answers. Best regards, Drasko DRASKOVIC ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] Data cache breaks U-Boot on ARM

2009-04-08 Thread Drasko DRASKOVIC
regards, Drasko DRASKOVIC ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Data cache breaks U-Boot on ARM

2009-04-08 Thread Drasko DRASKOVIC
to assume that you do not use USB on your system (resp. did not test USB yet) ? It is corrrect, no USB used. Best Regards, Drasko DRASKOVIC ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Enabling ARM DCache (and MMU setup) in U-Boot

2009-04-06 Thread Drasko DRASKOVIC
On Tue, Mar 31, 2009 at 4:09 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: if you want to use the dcache you must first correctly setup the MMU and the TLB I set-up : 1) pagetable in the SDRAM (one master pagetable, to map all 4096 pages of address space to map from the virtual to the same

Re: [U-Boot] Enabling ARM DCache (and MMU setup) in U-Boot

2009-03-31 Thread Drasko DRASKOVIC
On Mon, Mar 30, 2009 at 10:31 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: before booting linux you must disable the cache which will be re-enable by linux. OK. Is that done in bootm.c? I can see lines : /* * We have reached the point of no return: we are going to * overwrite all

Re: [U-Boot] Enabling ARM DCache (and MMU setup) in U-Boot

2009-03-31 Thread Drasko DRASKOVIC
On Tue, Mar 31, 2009 at 2:21 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: U-Boot 1.1.6 is quite old (more than 2 years old) please try to the current version I know, but that's the one we use... For now, everything works fine. is your SOC in the Mainline? if you can tell us which one it's and if

Re: [U-Boot] Enabling ARM DCache (and MMU setup) in U-Boot

2009-03-31 Thread Drasko DRASKOVIC
On Tue, Mar 31, 2009 at 2:21 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: but until we can take a look on the code it will be hard to known And I just found : ./examples/test_burst_lib.S: *void mmu_init(void); ./examples/test_burst_lib.S:.global mmu_init

Re: [U-Boot] Enabling ARM DCache (and MMU setup) in U-Boot

2009-03-31 Thread Drasko DRASKOVIC
On Tue, Mar 31, 2009 at 4:09 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: Honnestly we will not work on such old code. so please really consider to rebase it against mainline I downloaded the last version of U-Boot and will do all my work regarding DCache and MMU setup here. first you may start to

[U-Boot] Enabling ARM DCache (and MMU setup) in U-Boot

2009-03-30 Thread Drasko DRASKOVIC
Hi all, I would like to eneble DCache in U-Boot, because peripheral register R/W and SDRAM R/W is extremely slow on my platform, so booting Linux image takes unexceptable long time. But apparently for ARM, MMU setup is needed first. Now, I did not find example on any presented ARM platforms

Re: [U-Boot] exit(-1) function in U-Boot

2009-03-17 Thread Drasko DRASKOVIC
On Tue, Mar 17, 2009 at 11:18 AM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Actually, I ment U-boot itself. When I said application, I was wrong. I ment for example command, which is part of U-Boot. If I want to exit when something is wrong within TFTP for example, I cannnot break

Re: [U-Boot] exit(-1) function in U-Boot

2009-03-17 Thread Drasko DRASKOVIC
Hi Wolfgang, When something is wrong within TFTP, the respective function returns an error code, which propagates upward and causes the running command to terminate, so you automatically end up back in the U-Boot shell. Yes, I agree but the caller might do something else before exits

Re: [U-Boot] exit(-1) function in U-Boot

2009-03-17 Thread Drasko DRASKOVIC
Hi Wolfgang, Instead of vague descriptions like something is wrong within TFTP or it breaks you could try and post the exact commands you're trying and the exact error messages you are seing, I am sorry for being vague, I hope this example will make it a bit more clear: static void

[U-Boot] exit(-1) function in U-Boot

2009-03-13 Thread Drasko DRASKOVIC
Hi all, I am having hard time to find exit() function in U-Boot, so I can exit from a application at any function when something goes wrong. Is there some alternative? I just want to break program execution, printf message on the screen and regain the prompt. Salut, Drasko

[U-Boot] Compiling for i386

2009-02-22 Thread Drasko DRASKOVIC
Hi all, can u-boot be copiled for PC (i.e. x86 machine) and run via qemu. I'd like to use it for educational purposes, so I was wondering what would be the best way to start it withouth the board. BR, Drasko ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Compiling for i386

2009-02-22 Thread Drasko DRASKOVIC
, but only qemu emulator. BR, Drasko On Sun, Feb 22, 2009 at 11:47 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Drasko, On Mon, Feb 23, 2009 at 9:17 AM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: Hi all, can u-boot be copiled for PC (i.e. x86 machine) and run via qemu. I'd like