[U-Boot] A question about Initialize GOT pointer

2009-10-26 Thread XR SU
hi,all: here is a question, who can tell me? thanks.   in uboot file : cpu/mips/start.S   /* Initialize GOT pointer. */     bal 1f     nop     .word   _GLOBAL_OFFSET_TABLE_     1:     move    gp, ra     lw  t1, 0(ra)     move    gp, t1   I do't know why code

Re: [U-Boot] [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 00:48:39 miaofng wrote: Thanks for careful review. I'll resend the patch according to your remarks except follwing: 1) +int register_candev(struct can_device *dev) use can or candev, dont mix the two answer: register_candev is origin from

Re: [U-Boot] Compiling with arm-eabi and YAFFS2

2009-10-26 Thread Chris Isbell
On Sat, 2009-10-24 at 13:31 -0500, Tom wrote: Chris Isbell wrote: U-Boot 2009.08 fails to compile with the arm-eabi compiler (V4.1.0 and V4.3.1) when YAFFS2 support is enabled (CONFIG_YAFFS2 defined as 1). It reports undefined symbols. (JFFS2 support compiles successfully.) Having

Re: [U-Boot] macro substitution - can someone explain please

2009-10-26 Thread javier Martin
I have a similar problem. In my environment: bootcmd=cp.b c004 ${loadaddr} 28;bootm ${loadaddr} mtdparts=mtdparts=mxc_nor_flash.0:256k(U-Boot),2560k(kernel),29312k(rootfs),512k(config),128k(env1) bootargs=noinitrd console=ttymxc0,115200 root=/dev/mtdblock2 init=linuxrc rw ${mtdparts} But

Re: [U-Boot] macro substitution - can someone explain please

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 03:44:41 javier Martin wrote: I have a similar problem. In my environment: bootcmd=cp.b c004 ${loadaddr} 28;bootm ${loadaddr} mtdparts=mtdparts=mxc_nor_flash.0:256k(U-Boot),2560k(kernel),29312k(rootfs) ,512k(config),128k(env1) bootargs=noinitrd

Re: [U-Boot] macro substitution - can someone explain please

2009-10-26 Thread Mike Frysinger
On Friday 23 October 2009 08:25:00 David Collier wrote: If I put the following line in my board.h file #define CONFIG_RAMBOOTCOMMAND \ ping ${serverip} tftp bootm ${fileaddr} start with the binary. run `strings` on your u-boot.bin (or whatever

[U-Boot] CAN console

2009-10-26 Thread Matthias Weißer
Hi I have a device here which has only a CAN interface to the outside world. I am currently thinking about implementing a serial driver using the CAN controller. Is there any chance to get this accepted in the public u-boot tree? A special program on the PC side would be needed to translate the

Re: [U-Boot] [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Matthias Fuchs
Do we have boards that use this code? Matthias On Saturday 24 October 2009 06:17, miaofng wrote: From 1f6aaba856fbf484c442eb33cf220774d57fba8d Mon Sep 17 00:00:00 2001 From: miaofng miao...@gmail.com Date: Fri, 23 Oct 2009 17:06:50 +0800 Subject: [PATCH] [can] add u-boot sja1000/can support

Re: [U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

2009-10-26 Thread Mike Frysinger
On Sunday 25 October 2009 17:55:07 Wolfgang Denk wrote: Mike Frysinger wrote: i'm attaching two patches here. since we're past the merge window but before rc1, i dont know how invasive you want to get. the first one restores env_embedded.o building for certain config options (even

Re: [U-Boot] CAN console

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 04:20:02 Matthias Weißer wrote: I have a device here which has only a CAN interface to the outside world. I am currently thinking about implementing a serial driver using the CAN controller. Is there any chance to get this accepted in the public u-boot tree?

Re: [U-Boot] [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 04:30:10 miaofng wrote: Hi mike, please do not top post It seems there's a big difference between my current project and u-boot common usage. I can only enjoy the patch myself now i want to get a packet from usb/network, then redirect it to can bus. So blocked

[U-Boot] Fw: Re: Re: [PATCH] add u-boot sj a1000/can support

2009-10-26 Thread miaofng
Hi mike, It seems there's a big difference between my current project and u-boot common usage. I can only enjoy the patch myself now i want to get a packet from usb/network, then redirect it to can bus. So blocked write/read of can is not allowed. On Monday 26 October 2009 00:48:39 miaofng

Re: [U-Boot] A question about Initialize GOT pointer

2009-10-26 Thread Jello huang
I am not familiar with mips instruction.but i think it mean: pg=ra t1=0(ra) then move t1 to gp. so u cannot remove it . 2009/10/26 XR SU x_r...@yahoo.com.cn hi,all: here is a question, who can tell me? thanks. in uboot file : cpu/mips/start.S /* Initialize GOT pointer. */ bal

Re: [U-Boot] Compiling with arm-eabi and YAFFS2

2009-10-26 Thread Jello huang
if u use eabi compiler to compile u-boot,there r some error. why not use abi compiler for u-boot.it can compile successful 2009/10/26 Chris Isbell chris.isb...@cdsrail.com On Sat, 2009-10-24 at 13:31 -0500, Tom wrote: Chris Isbell wrote: U-Boot 2009.08 fails to compile with the arm-eabi

[U-Boot] [PATCH 1/2] Add minimal SJA1000 header for basic CAN mode

2009-10-26 Thread Matthias Fuchs
This patch is in preparation for the upcoming PLU405 board fix. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- include/sja1000.h | 60 + 1 files changed, 60 insertions(+), 0 deletions(-) create mode 100644 include/sja1000.h diff

[U-Boot] [PATCH 2/2 V3] ppc4xx: Initialize magnetic couplers in PLU405

2009-10-26 Thread Matthias Fuchs
This patch fixes an ugly behavior of the IL712 magnetic couplers as used on PLU405. These parts will remember their last state over a power cycle which might cause unwanted behavior. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- V2: - use C struct to access CAN controller registes V3:

[U-Boot] [PATCH] MPC85xx crashes on SPE instruction (misalignment?), workaround tested to work

2009-10-26 Thread Leon Woestenberg
Hello, my MPC85xx U-Boot crashed on the last instruction: openembedded/tmp/cross/ppce500v2/bin/powerpc-angstrom-linux-gnuspe-objdump -M e500x2 -S u-boot | less int parse_stream_outer(struct in_str *inp, int flag) { effa4784: 94 21 ff 38 stwur1,-200(r1) effa4788: 7c 08 02 a6

[U-Boot] why there is no code boot from nand flash?

2009-10-26 Thread Jello huang
Dear list, why is there no code boot from nand flash and nor flash in / cpu / arm920t / start.S? I am puzzle. anybody can show me some reason? Thanks a lot! -- JUST DO IT,NOTHING IS IMPOSSIBLE ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] last step to go - dead PHY

2009-10-26 Thread David Collier
My apologies, I've posted this is AVR32_u-boot where it probably belongs. But I'm running out of time to ship some prototypes tomorrow, and this is my last major issue with them, so could I throw myself on the mercy of the assembled wisdom please? Maybe someone will say - you stupid person, you

Re: [U-Boot] setting u-boot params based on serial number

2009-10-26 Thread David Collier
I did not only describe it, I tested it. I just tricked a bit. You asked to extract the last two digits, and I used % 100 to do this. Note that this works correctly in any number base - may it be 10 or 16 or whatever :-) Hey, that was clever, wasn't it? :-) yeah it was - but of course I

[U-Boot] user input

2009-10-26 Thread David Collier
I have a script environment variable called set_mac_IP which requires me to do setenv sn 1234 ( or whatever ) before I run it. The script is always run from the console. Is there a simple way to do ask sn; . and ask for a number to be input on the console? I was wondering if hush could

Re: [U-Boot] DHCP command

2009-10-26 Thread David Collier
In article 20091023133850.6f4ace39...@gemini.denx.de, w...@denx.de (Wolfgang Denk) wrote: *From:* Wolfgang Denk w...@denx.de *To:* from_denx_ub...@dexdyne.com *CC:* u-boot@lists.denx.de *Date:* Fri, 23 Oct 2009 15:38:50 +0200 Dear David Collier, In message

Re: [U-Boot] stopping u-boot from booting an old image in RAM.

2009-10-26 Thread David Collier
now that I have read TFM... I find that the easier way to do this, rather than installing hush and using would have been to define setenv x mmcinit setenv y setenv z bootm setenv bootcmd run x y z in which case y would only run if x succeeded. but I like hush and don't regret doing

Re: [U-Boot] CAN console

2009-10-26 Thread Matthias Weißer
Mike Frysinger schrieb: On Monday 26 October 2009 04:20:02 Matthias Weißer wrote: I have a device here which has only a CAN interface to the outside world. I am currently thinking about implementing a serial driver using the CAN controller. Is there any chance to get this accepted in the

Re: [U-Boot] CAN console

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 07:09:03 Matthias Weißer wrote: Mike Frysinger schrieb: On Monday 26 October 2009 04:20:02 Matthias Weißer wrote: I have a device here which has only a CAN interface to the outside world. I am currently thinking about implementing a serial driver using the CAN

[U-Boot] smc911x: problem with if there is ethernet traffic

2009-10-26 Thread Raffaele Recalcati
I've customized the commit f67066b6b0740b826ed862615c5ab022aaf4779a for my pxa255/smx911x (lan9118) board. tftp works nice, also through a switch, but only if I'm not connected to the LAN. = tftp a200 uImage smc911x: detected LAN9118 controller smc911x: phy initialized .. BSR=0x782D smc911x:

Re: [U-Boot] last step to go - dead PHY

2009-10-26 Thread Wolfgang Denk
Dear David Collier, In message memo.20091026103604.20...@postmaster+dexdyne.com.cix.co.uk you wrote: My apologies, I've posted this is AVR32_u-boot where it probably belongs. But I'm running out of time to ship some prototypes tomorrow, and this is my last major issue with them, so could I

Re: [U-Boot] setting u-boot params based on serial number

2009-10-26 Thread Wolfgang Denk
Dear David Collier, In message memo.20091026103604.20...@postmaster+dexdyne.com.cix.co.uk you wrote: I did not only describe it, I tested it. I just tricked a bit. You asked to extract the last two digits, and I used % 100 to do this. Note that this works correctly in any number base - may

Re: [U-Boot] user input

2009-10-26 Thread Wolfgang Denk
Dear David Collier, In message memo.20091026105212.20...@postmaster+dexdyne.com.cix.co.uk you wrote: I have a script environment variable called set_mac_IP which requires me to do setenv sn 1234 ( or whatever ) before I run it. The script is always run from the console. Is there a simple

Re: [U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

2009-10-26 Thread Stefan Roese
On Monday 26 October 2009 09:36:11 Mike Frysinger wrote: But when I remove the CONFIG_ENV_IS_EMBEDDED definition from line 127 of include/configs/kilauea.h, then I get this: ./MAKEALL kilauea kilauea_nand Configuring for kilauea board... textdata bss dec

Re: [U-Boot] [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Wolfgang Grandegger
Hello, miaofng wrote: From 1f6aaba856fbf484c442eb33cf220774d57fba8d Mon Sep 17 00:00:00 2001 From: miaofng miao...@gmail.com Date: Fri, 23 Oct 2009 17:06:50 +0800 Subject: [PATCH] [can] add u-boot sja1000/can support There are already CAN controllers supported for some board, e.g.

Re: [U-Boot] smc911x: problem with if there is ethernet traffic

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 07:35:14 Raffaele Recalcati wrote: I've customized the commit f67066b6b0740b826ed862615c5ab022aaf4779a for my pxa255/smx911x (lan9118) board. tftp works nice, also through a switch, but only if I'm not connected to the LAN. you really need to be careful when throwing

Re: [U-Boot] CAN console

2009-10-26 Thread Matthias Weißer
Mike Frysinger schrieb: you would rather write a driver that is specific to one CAN hardware ? In general? No, I wouldn't. I would use a given CAN driver framework where I put my CAN driver in. In this specific case: I think I would, as there is currently no CAN framework available in

Re: [U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 08:13:57 Stefan Roese wrote: On Monday 26 October 2009 09:36:11 Mike Frysinger wrote: But when I remove the CONFIG_ENV_IS_EMBEDDED definition from line 127 of include/configs/kilauea.h, then I get this: ./MAKEALL kilauea kilauea_nand Configuring for

Re: [U-Boot] CAN console

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 08:20:03 Matthias Weißer wrote: Mike Frysinger schrieb: you would rather write a driver that is specific to one CAN hardware ? In general? No, I wouldn't. I would use a given CAN driver framework where I put my CAN driver in. In this specific case: I think I

Re: [U-Boot] CAN console

2009-10-26 Thread Wolfgang Grandegger
Mike Frysinger wrote: On Monday 26 October 2009 07:09:03 Matthias Weißer wrote: Mike Frysinger schrieb: On Monday 26 October 2009 04:20:02 Matthias Weißer wrote: I have a device here which has only a CAN interface to the outside world. I am currently thinking about implementing a serial

Re: [U-Boot] Fw: Re: Re: [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Wolfgang Grandegger
miaofng wrote: Hi mike, It seems there's a big difference between my current project and u-boot common usage. I can only enjoy the patch myself now Yes, can you describe your use-case. CAN in U-BOOT, so far, was just used to send or receive one or a few messages, mainly for testing purposes.

Re: [U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

2009-10-26 Thread Stefan Roese
On Monday 26 October 2009 13:26:22 Mike Frysinger wrote: Thanks. With this patch, most of the ppc4xx compile problems I have noticed are gone now. But unfortunately not all. Those two 4xx platforms still don't compile: CRAYL1 EXBITGEN $ ./MAKEALL CRAYL1 Configuring for CRAYL1

Re: [U-Boot] Compiling with arm-eabi and YAFFS2

2009-10-26 Thread Tom
In my android work. I use a separate compiler for the u-boot and kernel, the Code Sourcery arm lite edition. http://www.codesourcery.com/sgpp/editions.html#lite Please try this. Tom Jello huang wrote: if u use eabi compiler to compile u-boot,there r some error. why not use abi compiler

Re: [U-Boot] CAN console

2009-10-26 Thread Wolfgang Grandegger
Matthias Weißer wrote: Hi I have a device here which has only a CAN interface to the outside world. I am currently thinking about implementing a serial driver using the CAN controller. OK, a dedicated CAN driver would make more sense. Is there any chance to get this accepted in the public

Re: [U-Boot] why there is no code boot from nand flash?

2009-10-26 Thread kevin.morf...@fearnside-systems.co.uk
! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot __ Information from ESET NOD32 Antivirus, version of virus signature database 4543 (20091026) __ The message was checked

Re: [U-Boot] CAN console

2009-10-26 Thread Wolfgang Denk
Dear =?ISO-8859-15?Q?Matthias_Wei=DFer?=, In message 4ae593f3.3030...@arcor.de you wrote: In this specific case: I think I would, as there is currently no CAN framework available in u-boot. This just means that your implementation requires a two-step approach. In step 1, implement the

Re: [U-Boot] [PATCH] add u-boot sja1000/can support

2009-10-26 Thread miaofng
It seems there's a big difference between my current project and u-boot common usage. I can only enjoy the patch myself now i want to get a packet from usb/network, then redirect it to can bus. So blocked write/read of can is not allowed. what's wrong with receiving data over

[U-Boot] do_jffs2_ls fails

2009-10-26 Thread Ricardo Martínez
Hi, I'm trying to execute ls command from u-boot shell, but it fails. My board consists of an ARM926ej, 128MB of NOR flash (at 0x2000 after remap) and 64MB of DDRII at 0x. u-boot is running perfectly appart from this. This means that it loads linux correctly when I have uImage in

Re: [U-Boot] user input

2009-10-26 Thread David Collier
Use the askenv command? I'm so sorry - how did I miss that? thanks David Collier www.dexdyne.com ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] setting u-boot params based on serial number

2009-10-26 Thread David Collier
OK, I concede I can indeed do the one thing I need here by using decimal values with hex arithmetic, and it will give the right answer. though it is truly horrible coding :-) I can see situations where I'd want to do something like add one to the last serial number I used where decimal

Re: [U-Boot] last step to go - dead PHY

2009-10-26 Thread David Collier
This is unlogical. Instead of updating and fixing the saveenv issue (whatever this is) you are using old code - where you now have to fix the PHY issue. the saveenv issue was that when I tried to work with the latest sources for the AVR32 it wouldn't do savenv. So I backed off to the

Re: [U-Boot] Fw: Re: Re: [PATCH] add u-boot sja1000/can support

2009-10-26 Thread miaofng
Wolfgang Grandegger wrote: miaofng wrote: Hi mike, It seems there's a big difference between my current project and u-boot common usage. I can only enjoy the patch myself now Yes, can you describe your use-case. CAN in U-BOOT, so far, was just used to send or receive one or a few

Re: [U-Boot] CAN console

2009-10-26 Thread miaofng
Wolfgang Denk wrote: Is there any chance that the stuff posted by miaofng will be available in u-boot-next? I'm not really sure. As Wolfgang Grandegger already commented, the implementation is really heavy for a mere boot loader. Sharing code with Linux is generally a good thing, but

[U-Boot] default load addresses

2009-10-26 Thread David Collier
the tftp command works with the default address set indirectly by CFG_LOAD_ADDR the ext2load command doesn't, and I don't know how to specify the default load address by ${defload} or anything similar. Is there an underlying reason why one command can use a default addr, and the other can't?

Re: [U-Boot] setting u-boot params based on serial number

2009-10-26 Thread Wolfgang Denk
Dear David Collier, In message memo.20091026132928.20...@postmaster+dexdyne.com.cix.co.uk you wrote: I concede I can indeed do the one thing I need here by using decimal values with hex arithmetic, and it will give the right answer. though it is truly horrible coding :-) You

Re: [U-Boot] default load addresses

2009-10-26 Thread Wolfgang Denk
Dear David Collier, In message memo.20091026135931.20...@postmaster+dexdyne.com.cix.co.uk you wrote: the tftp command works with the default address set indirectly by CFG_LOAD_ADDR CFG_LOAD_ADDR has long been obsoleted. It's CONFIG_SYS_LOAD_ADDR now. the ext2load command doesn't, and I

Re: [U-Boot] do_jffs2_ls fails

2009-10-26 Thread Wolfgang Denk
Dear =?iso-8859-1?Q?Ricardo_Mart=EDnez?=, In message a25e5d6a481444c4bf45fe1156c64...@teltronic.es you wrote: I'm trying to execute ls command from u-boot shell, but it fails. ... Taking a look at the last lines, it seems there is a problem with malloc. ... add_node: malloc failed add_node

[U-Boot] [PATCH] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Nick Thompson
Remove volatiles and memory mapped structure accesses from the davinci cpu timer.c functions and replace with readl and writel macro usage. Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com --- This patch was originally part of the da830 support patch, but this effort is now being integrated

Re: [U-Boot] Compiling with arm-eabi and YAFFS2

2009-10-26 Thread Chris Isbell
On Mon, 2009-10-26 at 07:41 -0500, Tom wrote: In my android work. I use a separate compiler for the u-boot and kernel, the Code Sourcery arm lite edition. http://www.codesourcery.com/sgpp/editions.html#lite Please try this. Tom Jello huang wrote: if u use eabi compiler to

Re: [U-Boot] [PATCH] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Peter Tyser
Hi Nick, --- a/cpu/arm926ejs/davinci/timer.c +++ b/cpu/arm926ejs/davinci/timer.c @@ -1,4 +1,8 @@ /* + * Copyright (C) 2009 Nick Thompson, GE Fanuc, Ltd. nick.thomp...@gefanuc.com + * + * Coding style changes. Use writel and readl for hardware accesses. + * * (C) Copyright 2003 *

Re: [U-Boot] Fw: Re: Re: [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Wolfgang Grandegger
miaofng wrote: Wolfgang Grandegger wrote: miaofng wrote: Hi mike, It seems there's a big difference between my current project and u-boot common usage. I can only enjoy the patch myself now Yes, can you describe your use-case. CAN in U-BOOT, so far, was just used to send or

Re: [U-Boot] [PATCH] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Stefan Roese
On Monday 26 October 2009 15:42:56 Peter Tyser wrote: +++ b/cpu/arm926ejs/davinci/timer.c @@ -1,4 +1,8 @@ /* + * Copyright (C) 2009 Nick Thompson, GE Fanuc, Ltd. nick.thomp...@gefanuc.com + * + * Coding style changes. Use writel and readl for hardware accesses. + * * (C)

Re: [U-Boot] [PATCH v2 4/4] add TI DA8xx support: Integrate DA830 EVM support into U-Boot

2009-10-26 Thread Paulraj, Sandeep
Nick Thompson wrote: Integrate DA830 EVM support into U-Boot. Provides initial support for TI OMAP-L137/DA830 SoC devices on a Spectrum Digital EVM board. See http://www.spectrumdigital.com/ Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com --- Applies to u-boot-ti

[U-Boot] File name substitution in linker scripts

2009-10-26 Thread Stefan Roese
I'm wondering if and how it's possible to use a variable file name for inclusion in a linker script. Reason for this is the consolidation of the ppc4xx linker scripts, where some boards (PPC440) include a board specific file (e.g. board/amcc/canyonlands/init.o) into the section bootpg:

Re: [U-Boot] File name substitution in linker scripts

2009-10-26 Thread Wolfgang Denk
Dear Stefan Roese, In message 200910261549.05545...@denx.de you wrote: I'm wondering if and how it's possible to use a variable file name for inclusion in a linker script. Reason for this is the consolidation of the ppc4xx linker scripts, where some boards (PPC440) include a board specific

Re: [U-Boot] do_jffs2_ls fails

2009-10-26 Thread Ricardo Martínez
Hi Wolfgang, Thanks. But get_node_mem((u32)part-offset + offset) in function jffs2_1pass_build_lists(struct part_info * part) in folder fs/jffs2, file jffs2_1pass.c called during do_jffs2_ls is still reading node-type = 0x2005 While I've checked types defined in jffs2.h and they are #define

[U-Boot] UBOOT port to i.MX27ADS - NAND issues ( again )

2009-10-26 Thread Hamilton Vera
Greetings everyone, some time ago I saw in the list an issue about booting from nand using an IMX27ADS http://www.mail-archive.com/u-boot-us...@lists.sourceforge.net/msg10305.html I am searching in the code for the modifications, but I did not find enough clues. It seems that boot from NAND is

Re: [U-Boot] do_jffs2_ls fails

2009-10-26 Thread Ricardo Martínez
Me again :) Anyway, I've made malloc size huge (2MB), then scanning whole JFFS2 filesystem succeeds and, although I still have those horrible Unknown node type messages, I can load uImage from Filesystem. I bet it is because I'm scanning from an offset where flash has NOT jffs2 format. Silly

[U-Boot] [PATCH v2] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Nick Thompson
Remove volatiles and memory mapped structure accesses and replace with readl and writel macro usage. Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com --- This patch was originally part of the da830 support patch, but this effort is now being integrated into davinci. As a result, these

Re: [U-Boot] smc911x: problem with if there is ethernet traffic

2009-10-26 Thread Raffaele Recalcati
2009/10/26 Mike Frysinger vap...@gentoo.org: On Monday 26 October 2009 07:35:14 Raffaele Recalcati wrote: I've customized the commit f67066b6b0740b826ed862615c5ab022aaf4779a for my pxa255/smx911x (lan9118) board. tftp works nice, also through a switch, but only if I'm not connected to the

Re: [U-Boot] A question about Initialize GOT pointer

2009-10-26 Thread Andrew Dyer
On Mon, Oct 26, 2009 at 1:41 AM, XR SU x_r...@yahoo.com.cn wrote: hi,all: here is a question, who can tell me? thanks. in uboot file : cpu/mips/start.S /* Initialize GOT pointer. */     bal 1f     nop     .word   _GLOBAL_OFFSET_TABLE_     1:     move    gp, ra   

Re: [U-Boot] [PATCH v2] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Paulraj, Sandeep
Remove volatiles and memory mapped structure accesses and replace with readl and writel macro usage. Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com --- This patch was originally part of the da830 support patch, but this effort is now being integrated into davinci. As a result,

Re: [U-Boot] [PATCH v2] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Nick Thompson
Paulraj, Sandeep wrote: Remove volatiles and memory mapped structure accesses and replace with readl and writel macro usage. Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com --- This patch was originally part of the da830 support patch, but this effort is now being integrated into

Re: [U-Boot] [PATCH v2] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Paulraj, Sandeep
Paulraj, Sandeep wrote: Remove volatiles and memory mapped structure accesses and replace with readl and writel macro usage. Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com --- This patch was originally part of the da830 support patch, but this effort is now being

[U-Boot] [PATCH v3] davinci timer.c: Remove volatiles and memory mapped structures

2009-10-26 Thread Nick Thompson
Remove volatiles and memory mapped structure accesses and replace with readl and writel macro usage. Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com --- This patch was originally part of the da830 support patch, but this effort is now being integrated into davinci. As a result, these

[U-Boot] [PATCH V3 0/4] add TI DA8xx support:

2009-10-26 Thread Nick Thompson
Add initial support for DA8xx SoC's and the spectrum digital DA830 EVM board. See: http://www.ti.com http://www.spectrumdigital.com/ DA8xx is similar to DaVinci devices, but has a differing memory map and updated peripherals. It is intended that DaVinci drivers will be modified

[U-Boot] [PATCH V3 3/4] add TI DA8xx support: Add new directory for da830evm board

2009-10-26 Thread Nick Thompson
Add new directory for da830evm board Provides initial support for TI OMAP-L137/DA830 SoC devices on a Spectrum Digital EVM board. See http://www.spectrumdigital.com/ Provides: Initial boot and configuration. Support for i2c. UART support (console). Signed-off-by: Nick Thompson

[U-Boot] [PATCH V3 2/4] add TI DA8xx support: Add DA8xx cpu functions

2009-10-26 Thread Nick Thompson
Provides initial support for TI OMAP-L1x/DA8xx SoC devices. See http://www.ti.com Provides: Low level initialisation. System clock API. Timer control. Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com --- Applies to u-boot-ti diff --git a/cpu/arm926ejs/davinci/cpu.c

[U-Boot] [PATCH v3 4/4] add TI DA8xx support: Integrate DA830 EVM support into U-Boot

2009-10-26 Thread Nick Thompson
Integrate DA830 EVM support into U-Boot. Provides initial support for TI OMAP-L137/DA830 SoC devices on a Spectrum Digital EVM board. See http://www.spectrumdigital.com/ Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com --- Applies to u-boot-ti diff --git a/MAINTAINERS b/MAINTAINERS index

[U-Boot] [PATCH V3 1/4] add TI DA8xx support: DA8xx includes

2009-10-26 Thread Nick Thompson
Provides initial support for TI OMAP-L1x/DA8xx SoC devices. See http://www.ti.com The DA8xx devices are similar to DaVinci devices but have a differing memory map and updated peripheral versions. Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com --- Applies to u-boot-ti diff --git

Re: [U-Boot] [PATCH V3 0/4] add TI DA8xx support:

2009-10-26 Thread Paulraj, Sandeep
Add initial support for DA8xx SoC's and the spectrum digital DA830 EVM board. See: http://www.ti.com http://www.spectrumdigital.com/ DA8xx is similar to DaVinci devices, but has a differing memory map and updated peripherals. It is intended that DaVinci drivers will be

Re: [U-Boot] [PATCH V3 1/4] add TI DA8xx support: DA8xx includes

2009-10-26 Thread Paulraj, Sandeep
Provides initial support for TI OMAP-L1x/DA8xx SoC devices. See http://www.ti.com The DA8xx devices are similar to DaVinci devices but have a differing memory map and updated peripheral versions. Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com --- Applies to u-boot-ti diff

Re: [U-Boot] [PATCH v3 4/4] add TI DA8xx support: Integrate DA830 EVM support into U-Boot

2009-10-26 Thread Paulraj, Sandeep
Integrate DA830 EVM support into U-Boot. Provides initial support for TI OMAP-L137/DA830 SoC devices on a Spectrum Digital EVM board. See http://www.spectrumdigital.com/ Signed-off-by: Nick Thompson nick.thomp...@gefanuc.com --- Applies to u-boot-ti diff --git a/MAINTAINERS

Re: [U-Boot] [PATCH V3 3/4] add TI DA8xx support: Add new directory for da830evm board

2009-10-26 Thread Paulraj, Sandeep
Add new directory for da830evm board Provides initial support for TI OMAP-L137/DA830 SoC devices on a Spectrum Digital EVM board. See http://www.spectrumdigital.com/ Provides: Initial boot and configuration. Support for i2c. UART support (console). Signed-off-by: Nick Thompson

[U-Boot] [PATCH] MCF5271-only: Added a weak board_reset function to allow custom reset.

2009-10-26 Thread Richard Retanubun
From 304334adbbc3b7e70366fed0495af46536a7941f Mon Sep 17 00:00:00 2001 From: Richard Retanubun richardretanu...@ruggedcom.com Date: Mon, 26 Oct 2009 14:19:17 -0400 Subject: [PATCH] MCF5271-only: Added a weak board_reset function to allow custom reset. This patch adds a board_reset function to

[U-Boot] [PATCH] 83xx: Added a weak board_reset function to allow custom reset.

2009-10-26 Thread Richard Retanubun
From 2b9f89f5d0538e44ebbe66236cd9b6be4ee902e3 Mon Sep 17 00:00:00 2001 From: Richard Retanubun richardretanu...@ruggedcom.com Date: Mon, 26 Oct 2009 14:16:03 -0400 Subject: [PATCH] Added a weak board_reset function to allow custom reset. This patch adds a board_reset function to allow boards to

Re: [U-Boot] replacing do_reset with a custom one

2009-10-26 Thread Richard Retanubun
Mike Frysinger wrote: #ifdef's are the past. weaks are in! the Blackfin port already does: void board_reset(void) __attribute__((__weak__)); ... if (board_reset) board_reset(); ... the bf537-stamp uses this to make sure some pins are driven low to workaround weak pull

Re: [U-Boot] about ## Unknown FLASH on Bank 0

2009-10-26 Thread Wolfgang Denk
Dear Peter Pan, In message 48abf2c20910251922o7251d876hebfedc6aed5b8...@mail.gmail.com you wrote: My U-boot 1.2.0 works fine before. but I want to add some memory test actions before u-boot start Linux. I use the mtest command to test the memory. But the mtest command will test the memory

Re: [U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

2009-10-26 Thread Wolfgang Denk
Dear Mike Frysinger, In message 200910260436.12814.vap...@gentoo.org you wrote: should be harmless, but obviously it's ugly. the attached patch should fix things up. the related issue is the one i raised in the other env embedded thread wrt the meaning of ENV_IS_EMBEDDED ... I see.

Re: [U-Boot] esdmode for DDR2

2009-10-26 Thread Werner Nedel
Sorry for this big mistake and wasting your time :-( There's a bit between rtt and ocd, that don't match with definition in jedec ddr2 sdram specification. On Sat, Oct 24, 2009 at 12:38 PM, Kumar Gala ga...@kernel.crashing.orgwrote: 5 is correct. Here's an example: rtt = 0x3: esd_mode

Re: [U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 15:17:45 Wolfgang Denk wrote: Mike Frysinger wrote: should be harmless, but obviously it's ugly. the attached patch should fix things up. the related issue is the one i raised in the other env embedded thread wrt the meaning of ENV_IS_EMBEDDED ... I see.

Re: [U-Boot] replacing do_reset with a custom one

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 14:44:28 Richard Retanubun wrote: Mike Frysinger wrote: #ifdef's are the past. weaks are in! the Blackfin port already does: void board_reset(void) __attribute__((__weak__)); ... if (board_reset) board_reset(); ... the bf537-stamp uses

Re: [U-Boot] [PATCH] 83xx: Added a weak board_reset function to allow custom reset.

2009-10-26 Thread Wolfgang Denk
Dear Richard Retanubun, In message 4ae5edcc.5050...@ruggedcom.com you wrote: From 2b9f89f5d0538e44ebbe66236cd9b6be4ee902e3 Mon Sep 17 00:00:00 2001 From: Richard Retanubun richardretanu...@ruggedcom.com Date: Mon, 26 Oct 2009 14:16:03 -0400 Subject: [PATCH] Added a weak board_reset function

Re: [U-Boot] [PATCH v2 1/4] add TI DA8xx support: Add new directory for da8xx cpu functions

2009-10-26 Thread Wolfgang Denk
Dear Sandeep, In message 0554bef07d437848af01b9c9b5f0bc5d93807...@dlee01.ent.ti.com you wrote: It looks like this patch is duplicating much of what is already in arm926ejs/davinci. Unless there is a really good reason for a separate cpu dir, this patch should change to merge with

Re: [U-Boot] [PATCH v2 4/4] mpc52xx: add support for the IPEK01 board

2009-10-26 Thread Wolfgang Denk
Dear Wolfgang Grandegger, In message 1256292196-20660-5-git-send-email...@grandegger.com you wrote: From: Wolfgang Grandegger w...@denx.de This patch adds support for the board IPEK01 based on the MPC5200. The Futjitsu Lime graphics controller is configured in 16 bpp mode. Signed-off-by:

Re: [U-Boot] [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Wolfgang Denk
Dear miaofng, In message 200910241217470153...@gmail.com you wrote: From 1f6aaba856fbf484c442eb33cf220774d57fba8d Mon Sep 17 00:00:00 2001 From: miaofng miao...@gmail.com Date: Fri, 23 Oct 2009 17:06:50 +0800 Subject: [PATCH] [can] add u-boot sja1000/can support Signed-off-by: miaofng

Re: [U-Boot] Fw: Re: Re: [PATCH] add u-boot sj a1000/can support

2009-10-26 Thread Wolfgang Denk
Dear =?utf-8?B?bWlhb2ZuZw==?=, In message 200910261647227347...@gmail.com you wrote: Hi mike, It seems there's a big difference between my current project and u-boot common usage. I can only enjoy the patch myself now i want to get a packet from usb/network, then redirect it to can bus. So

Re: [U-Boot] Fw: Re: Re: [PATCH] add u-boot sja1000/can support

2009-10-26 Thread Wolfgang Denk
Dear miaofng, In message 4ae5a449.7040...@gmail.com you wrote: what i want to do is something like a protocol gateway. It converts the data from one type to another. Use an OS for this purpose. U-Boot is just a boot loader. u-boot has support so many cpu/board/, i thinks it can do much

[U-Boot] [PATCH] makefiles: fixes/cleanup for building build tools

2009-10-26 Thread Scott Wood
Currently, some of the tools instead set CC to be HOSTCC in order to re-use some pattern rules -- but this fails when the user overrides CC on the make command line. Also, the HOSTCFLAGS in tools/Makefile are currently not being used because config.mk overwrites them. This patch adds static

Re: [U-Boot] [PATCH 1/2] Don't let the command-line ARCH=powerpc override our redefinition to ppc.

2009-10-26 Thread Scott Wood
Scott Wood wrote: Wolfgang Denk wrote: Dear Scott Wood, In message 20091019212409.ga31...@loki.buserror.net you wrote: The override keyword is needed for make to take our version over the one specified on the command line, and remove it from the list of command line overrides that are

[U-Boot] [PATCH] new PCA9564 i2c bridge driver

2009-10-26 Thread Mike Frysinger
From: Valentin Yakovenkov yakoven...@niistt.ru Signed-off-by: Valentin Yakovenkov yakoven...@niistt.ru Signed-off-by: Mike Frysinger vap...@gentoo.org --- drivers/i2c/Makefile |1 + drivers/i2c/pca9564_i2c.c | 189 + include/pca9564.h

Re: [U-Boot] [PATCH 1/2 v4] env: only build env_embedded and envcrc when needed

2009-10-26 Thread Wolfgang Denk
Dear Mike Frysinger, In message 200910182055.01744.vap...@gentoo.org you wrote: ... From 1ffa4c71d249e877c8b4b84e412af7efc1e8f113 Mon Sep 17 00:00:00 2001 From: Mike Frysinger vap...@gentoo.org Date: Sun, 18 Oct 2009 19:37:11 -0400 Subject: [PATCH 2/2] env_embedded: remove unused code from

Re: [U-Boot] [PATCH] makefiles: fixes/cleanup for building build tools

2009-10-26 Thread Mike Frysinger
On Monday 26 October 2009 18:17:03 Scott Wood wrote: Currently, some of the tools instead set CC to be HOSTCC in order to re-use some pattern rules -- but this fails when the user overrides CC on the make command line. Also, the HOSTCFLAGS in tools/Makefile are currently not being used

Re: [U-Boot] UBOOT port to i.MX27ADS - NAND issues ( again )

2009-10-26 Thread Fabio Estevam
Hi Hamilton, --- On Mon, 10/26/09, Hamilton Vera hamilton.lis...@gmail.com wrote: From: Hamilton Vera hamilton.lis...@gmail.com Subject: [U-Boot] UBOOT port to i.MX27ADS - NAND issues ( again ) To: u-boot@lists.denx.de Date: Monday, October 26, 2009, 1:29 PM Greetings everyone, some time

  1   2   >