Re: [U-Boot] [PATCH v3] arm920t: implement elf relocation

2010-11-04 Thread Albert ARIBAUD
Hi Andreas, Le 04/11/2010 00:29, Andreas Bießmann a écrit : This is mostly a copy of arm926ejs relocation and known to _not_ work correctly a.t.m! Can you give a specific case of board and toolchain that does not work? Amicalement, -- Albert. ___

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Joakim Tjernlund
Andre Schwarz andre.schw...@matrix-vision.de wrote on 2010/10/25 15:50:19: Jocke, [snip] You still haven't reported weather the 4 nop's helped or not, yet you seek my help. I am just going to ignore you until you do test it. finally I got both some time and hardware : 4 nops after

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Wolfgang Denk
Dear Andre Schwarz, In message 4cc58b1b.8040...@matrix-vision.de you wrote: Diffing both System.maps and U-Boot hexdump gives only trivial results : - in_flash and _start_of_vectors adress increment = 0x10. Hey, stop here. How can _start_of_vectors shift? It i supposed to be at a fixed

[U-Boot] [PATCH] OMAP4: speed up booting on Pandaboard

2010-11-04 Thread Sergiy Kibrik
Improved default config for OMAP4 Pandaboard for faster boot: -reduced environment size to speed up memory initialization; -USB TTY driver turned off; -tweaked blob load address to avoid image relocation (according to default uImage load address); Signed-off-by: Sergiy

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message of5324ec0a.37c044b2-onc12577d1.0031f002-c12577d1.00326...@transmode.se you wrote: 4 nops after _start does the trick, i.e. the board is up and running fine. ... How is this going? If nothing else I think you should send a patch for 83xx, adding the 4 nop's

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Andre Schwarz
Jocke, [snip] finally I got both some time and hardware : 4 nops after _start does the trick, i.e. the board is up and running fine. Diffing both System.maps and U-Boot hexdump gives only trivial results : - in_flash and _start_of_vectors adress increment = 0x10. - offset calculation for

[U-Boot] [PATCH] support for 2 DRAM banks and FLASH bank with 16MB in KS8695

2010-11-04 Thread Bernstein, Michael
Hello, The patch attached add support for a flash bank size of 16 MB and for a second DRAM bank for the KS8695 (ARM9 core) depending on the configuration. A better solution would be to calculate the values for the registers (only some shifts are needed) but this was the lazy implementation. I

[U-Boot] [PATCH 0/2] use MAC from environment and add support for new NET_MULTI api in ethernet driver of KS8695

2010-11-04 Thread Bernstein, Michael
Hello, Because the Ethernet driver of the KS8695 reads his MAC from a fixed address, I changed this driver to use the MAC from the environment like it was mentioned in the docs. The second patch in the patch set adds support for the new net multi api. Sadly, the Ethernet driver has one

[U-Boot] [PATCH 1/2] use MAC from environment and add support for new NET_MULTI api in ethernet driver of KS8695

2010-11-04 Thread Bernstein, Michael
Hello, Use MAC from the environment instead of read a hard coded address in the ethernet driver of the KS8695. Signed-off-by: Michael Bernstein michael.bernst...@controlware.de --- diff --unified --recursive --new-file u-boot-2009.11/drivers/net/ks8695eth.c

[U-Boot] [PATCH 2/2] use MAC from environment and add support for new NET_MULTI api in ethernet driver of KS8695

2010-11-04 Thread Bernstein, Michael
Hello, Add support for the new NET MULTI api in the ethernet driver of the KS8695. Signed-off-by: Michael Bernstein michael.bernst...@controlware.de --- diff --unified --recursive --new-file u-boot-2009.11/drivers/net/ks8695eth.c u-boot-2009.11.new/drivers/net/ks8695eth.c ---

Re: [U-Boot] [PATCH v3] arm920t: implement elf relocation

2010-11-04 Thread Andreas Bießmann
Hi Albert, Am 04.11.2010 07:14, schrieb Albert ARIBAUD: Hi Andreas, Le 04/11/2010 00:29, Andreas Bießmann a écrit : This is mostly a copy of arm926ejs relocation and known to _not_ work correctly a.t.m! Can you give a specific case of board and toolchain that does not work?

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2010/11/04 10:50:38: Dear Andre Schwarz, In message 4cc58b1b.8040...@matrix-vision.de you wrote: Diffing both System.maps and U-Boot hexdump gives only trivial results : - in_flash and _start_of_vectors adress increment = 0x10. Hey, stop here.

Re: [U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support

2010-11-04 Thread Alexander Holler
I've just tested that patch using my small test-patch: --- Marvell g 0x70 ## Starting application at 0x0070 ... U-Boot 2010.12-rc1-00037-g0ab2006 (Nov 04 2010 - 11:14:24) Seagate-DockStar SoC: Kirkwood 88F6281_A0 DRAM: 128 MiB

Re: [U-Boot] [PATCH v2 1/2] arm920t/at91/reset.c: fix weak reset_board()

2010-11-04 Thread Andreas Bießmann
Dear all, Am 04.11.2010 02:23, schrieb Joakim Tjernlund: Graeme Russ graeme.r...@gmail.com wrote on 2010/11/04 02:13:44: On Thu, Nov 4, 2010 at 12:00 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: The arm920t compiler/linker dif not handle weak functions correctely. Therefore

Re: [U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support

2010-11-04 Thread Alexander Holler
Am 04.11.2010 11:26, schrieb Alexander Holler: I've just tested that patch using my small test-patch: --- Marvell g 0x70 ## Starting application at 0x0070 ... U-Boot 2010.12-rc1-00037-g0ab2006 (Nov 04 2010 - 11:14:24)

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2010/11/04 10:57:42: Dear Joakim Tjernlund, In message of5324ec0a.37c044b2-onc12577d1.0031f002-c12577d1.00326...@transmode.se you wrote: 4 nops after _start does the trick, i.e. the board is up and running fine. ... How is this going? If nothing

Re: [U-Boot] [PATCH v2 1/2] arm920t/at91/reset.c: fix weak reset_board()

2010-11-04 Thread Andreas Bießmann
Dear Sebastien Carlier, Am 04.11.2010 04:27, schrieb Sebastien Carlier: These weakly defined empty functions prevent the strong definition from being linked in. For example, libarm.a contains a weak symbol 'red_LED_on', which is expected to be defined (strongly) in the board library.

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2010/11/04 10:57:42: Dear Joakim Tjernlund, In message of5324ec0a.37c044b2-onc12577d1.0031f002-c12577d1.00326...@transmode.se you wrote: 4 nops after _start does the trick, i.e. the board is up and running fine. ... How is this

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Reinhard Meyer
Dear Joakim Tjernlund schrieb: no, the nops has to be directly after _start: . = EXC_OFF_SYS_RESET .globl _start _start: /* time t 0 */ nop nop nop nop My theory is that e300c2(no FPU) CPUs configured for low boot vector, 0x100, really uses 0x110

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Joakim Tjernlund
Andy Pont andy.p...@sdcsystems.com wrote on 2010/11/04 11:58:19: Joakim wrote... Sure, but until freescale or someone else with eq. and motivation researches it, we are stuck. I am not sure anyone else has tried 83xx based boards yet. If someone has please report. Also include weather

Re: [U-Boot] [PATCH v2 1/2] arm920t/at91/reset.c: fix weak reset_board()

2010-11-04 Thread Sebastien Carlier
On Thu, Nov 4, 2010 at 11:54 AM, Andreas Bießmann andreas.de...@googlemail.com wrote: ---8--- __LIBS := $(subst $(obj),,$(LIBBOARD)) $(subst $(obj),,$(LIBS)) ---8--- Still, why would the linker pull definitions from libboard.a? Library archive are only searched by the linker to resolved

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Andy Pont
Joakim wrote... Sure, but until freescale or someone else with eq. and motivation researches it, we are stuck. I am not sure anyone else has tried 83xx based boards yet. If someone has please report. Also include weather booted from NAND or NOR, CPU type(e300cX) and what reset vector is

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message of4390b64d.1fbd6276-onc12577d1.003bb658-c12577d1.003bf...@transmode.se you wrote: hmm, what if a board decides to do a soft reset anyway, perhaps by mistake. Would it not be a good thing if u-boot could handle that too? What exactly is a soft reset in

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Andre Schwarz
Andy, Sure, but until freescale or someone else with eq. and motivation researches it, we are stuck. I am not sure anyone else has tried 83xx based boards yet. If someone has please report. Also include weather booted from NAND or NOR, CPU type(e300cX) and what reset vector is used. I

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Joakim Tjernlund
Andre Schwarz andre.schw...@matrix-vision.de wrote on 2010/11/04 13:14:37: Andy, Sure, but until freescale or someone else with eq. and motivation researches it, we are stuck. I am not sure anyone else has tried 83xx based boards yet. If someone has please report. Also include weather

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2010/11/04 12:16:31: Dear Joakim Tjernlund, In message of4390b64d.1fbd6276-onc12577d1.003bb658-c12577d1.003bf...@transmode.se you wrote: hmm, what if a board decides to do a soft reset anyway, perhaps by mistake. Would it not be a good thing if

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Andre Schwarz
Andy, Sure, but until freescale or someone else with eq. and motivation researches it, we are stuck. I am not sure anyone else has tried 83xx based boards yet. If someone has please report. Also include weather booted from NAND or NOR, CPU type(e300cX) and what reset vector is used.

Re: [U-Boot] [PATCH v3] arm920t: implement elf relocation

2010-11-04 Thread Albert ARIBAUD
Le 04/11/2010 11:15, Andreas Bießmann a écrit : Can you give a specific case of board and toolchain that does not work? at91rm9200ek_ram_config (patch sent these days, is at91rm9200ek_config with TEXT_BASE in RAM and SKIP_LOWLEVEL_INIT set). Toolchain was a selfbuilt gcc-4.5.1 + binutils

Re: [U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support

2010-11-04 Thread Albert ARIBAUD
Le 04/11/2010 11:46, Alexander Holler a écrit : So the suggested change from Steve Sakoman (reordered fix from Albert Aribaud) still seems to be the one to prefer. Something is wrong here: - .rel.dyn : { *(.rel.dyn) } + .rel.dyn : { *(.rel.*) } This change is the same as the one

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message of18ca6215.dc3a539b-onc12577d1.00439a8b-c12577d1.0043b...@transmode.se you wrote: What exactly is a soft reset in U-Boot? And how would you perform one? Not in u-boot, but Linux or a privileged linux app. could. Could do what? Modify the memory map

Re: [U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support

2010-11-04 Thread Alexander Holler
Am 04.11.2010 13:40, schrieb Albert ARIBAUD: Le 04/11/2010 11:46, Alexander Holler a écrit : So the suggested change from Steve Sakoman (reordered fix from Albert Aribaud) still seems to be the one to prefer. Something is wrong here: - .rel.dyn : { *(.rel.dyn) } + .rel.dyn : { *(.rel.*) }

Re: [U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support

2010-11-04 Thread Albert ARIBAUD
Le 04/11/2010 13:47, Alexander Holler a écrit : Am 04.11.2010 13:40, schrieb Albert ARIBAUD: Le 04/11/2010 11:46, Alexander Holler a écrit : So the suggested change from Steve Sakoman (reordered fix from Albert Aribaud) still seems to be the one to prefer. Something is wrong here: -

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2010/11/04 13:46:17: Dear Joakim Tjernlund, In message of18ca6215.dc3a539b-onc12577d1.00439a8b-c12577d1.0043b...@transmode.se you wrote: What exactly is a soft reset in U-Boot? And how would you perform one? Not in u-boot, but Linux or a

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Joakim Tjernlund
Andre Schwarz andre.schw...@matrix-vision.de wrote on 2010/11/04 13:28:27: Andy, Sure, but until freescale or someone else with eq. and motivation researches it, we are stuck. I am not sure anyone else has tried 83xx based boards yet. If someone has please report. Also include

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message of51547b77.f521dbce-onc12577d1.0046eb0d-c12577d1.00474...@transmode.se you wrote: Could do what? Modify the memory map such that the Flash is mapped Issue an soft reset somehow. Don't know how but I guessing it is possible? If so the CPU would use reset

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2010/11/04 14:07:50: Dear Joakim Tjernlund, In message of51547b77.f521dbce-onc12577d1.0046eb0d-c12577d1.00474...@transmode.se you wrote: Could do what? Modify the memory map such that the Flash is mapped Issue an soft reset somehow. Don't know

Re: [U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support

2010-11-04 Thread Alexander Holler
Am 04.11.2010 13:55, schrieb Albert ARIBAUD: Then please do test this V3 patch and verify if the issues you raise still apply or are fixed. V3 failed using my relocation-test-patch (and resulted in the same problems as without any relocation patch). Therefor I've posted the output. I though

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Andre Schwarz
Jocke, [snip] still -E_TOO_LITTLE_INFO: sorry - thought it was clear already. include weather booted from NAND or NOR, CPU type(e300cX) and what reset vector is used. CPU: e300c4, MPC8379, Rev: 2.1 at 600 MHz, CSB: 400 MHz - Boot from NOR Flash - HRCW from I2C EEPROM - Reset

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Joakim Tjernlund
Andre Schwarz andre.schw...@matrix-vision.de wrote on 2010/11/04 14:32:15: Jocke, [snip] still -E_TOO_LITTLE_INFO: sorry - thought it was clear already. include weather booted from NAND or NOR, CPU type(e300cX) and what reset vector is used. CPU: e300c4, MPC8379, Rev: 2.1 at

Re: [U-Boot] patch for gc-sections

2010-11-04 Thread Haiying Wang
On Wed, 2010-11-03 at 13:38 -0700, Peter Tyser wrote: I'd guess none of the functions in the SPL binary are referenced in the linker script or linker command line, so the linker thinks none of them are necessary and removes them. Can you try the following patch: I did a quick compile

[U-Boot] [PATCH] mpc83xx: Make it boot again

2010-11-04 Thread Joakim Tjernlund
After the removal of COLD/WARM start flags my mpc8321 board didn't boot anymore. Trial and error suggests that map_flash_by_law1 needs an isync(padding with 4 nop's also did the trick) after updating LBLAWAR1 to make sure the the change has reached the HW before continuing with the code that

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Andre Schwarz
Jocke, CPU: e300c4, MPC8379, Rev: 2.1 at 600 MHz, CSB: 400 MHz - Boot from NOR Flash - HRCW from I2C EEPROM - Reset Vector 0x100, i.e. low boot. OK, almost the same as me, but I got a: CPU: e300c2, MPC8321, Rev: 1.1 at 266.664 MHz, CSB: 133.332 MHz However, I think I just

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Joakim Tjernlund
Andre Schwarz andre.schw...@matrix-vision.de wrote on 2010/11/04 15:49:06: Jocke, CPU: e300c4, MPC8379, Rev: 2.1 at 600 MHz, CSB: 400 MHz - Boot from NOR Flash - HRCW from I2C EEPROM - Reset Vector 0x100, i.e. low boot. OK, almost the same as me, but I got a: CPU: e300c2,

Re: [U-Boot] patch for gc-sections

2010-11-04 Thread Peter Tyser
On Thu, 2010-11-04 at 10:19 -0400, Haiying Wang wrote: On Wed, 2010-11-03 at 13:38 -0700, Peter Tyser wrote: I'd guess none of the functions in the SPL binary are referenced in the linker script or linker command line, so the linker thinks none of them are necessary and removes them.

Re: [U-Boot] [PATCH v3] mmc: omap: timeout counter fix

2010-11-04 Thread Menon, Nishanth
On Tue, Oct 26, 2010 at 14:04, Menon, Nishanth n...@ti.com wrote: Having a loop with a counter is no timing guarentee for timing accuracy or compiler optimizations. For e.g. the same loop counter which runs when the MPU is running at 600MHz will timeout in around half the time when running at

Re: [U-Boot] [PATCH] omap4: board: change global data pointer to file scope

2010-11-04 Thread Menon, Nishanth
On Mon, Oct 25, 2010 at 16:13, Menon, Nishanth n...@ti.com wrote: DECLARE_GLOBAL_DATA_PTR is currently defined within the scope of function while it is a global pointer. Change the scope of definition to replicate it's global scope. This seems to help gcc 4.5 optimizations as well.

Re: [U-Boot] [PATCH 06/11] at91: Add defines for spi SoC access

2010-11-04 Thread Thomas Petazzoni
On Mon, 01 Nov 2010 13:31:38 +0100 Reinhard Meyer u-b...@emk-elektronik.de wrote: In this particular case the driver is not yet using the (existing) struct at91_spi at all WAIT!!! There is the COMMON driver atmel_spi.c with atmel_spi.h in drivers/spi. There need not be and

Re: [U-Boot] patch for gc-sections

2010-11-04 Thread Haiying Wang
On Thu, 2010-11-04 at 08:45 -0700, Peter Tyser wrote: Can you explain what you mean? The binary needs to be 4K, right? So it can't be trimmed down. But there should be more available space in that 4K region, eg (all tests on MPC8536DS_NAND_config): /* After apply my patch sent yesterday

Re: [U-Boot] patch for gc-sections

2010-11-04 Thread Peter Tyser
Yes, you are right, the size is down. I only noticed the u-boot-spl size by using ls -l, not via size. Now I get the same result as yours. It is very good to see this trim-down size because I know some board developers are fighting with the 4k limitation of the nand-spl size. Are you going

Re: [U-Boot] [PATCH] mpc83xx: Make it boot again

2010-11-04 Thread Wood Scott-B07421
Joakim Tjernlund wrote: Trial and error suggests that map_flash_by_law1 needs an isync(padding with 4 nop's also did the trick) after updating LBLAWAR1 to make sure the the change has reached the HW before continuing with the code that depends on it. Add an isync to remap_flash_by_law0 for

Re: [U-Boot] [PATCH] powerpc: do not fixup NULL ptrs

2010-11-04 Thread Andre Schwarz
Jocke, ok - works for me, i.e. no quad-nop needed anymore. Does both your boards work now? MPC8343 @ 400MHz never had any issues - it's still working with your patch applied. MPC8377 works fine up to 533MHz ... 600MHz+ still hangs. Looks like there are more sync missing. I am

Re: [U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support

2010-11-04 Thread Albert ARIBAUD
Le 04/11/2010 14:18, Alexander Holler a écrit : Am 04.11.2010 13:55, schrieb Albert ARIBAUD: Then please do test this V3 patch and verify if the issues you raise still apply or are fixed. V3 failed using my relocation-test-patch (and resulted in the same problems as without any relocation

Re: [U-Boot] [PATCH] mpc83xx: Make it boot again

2010-11-04 Thread Timur Tabi
Wood Scott-B07421 wrote: To be totally safe, we probably want to do a readback plus twi (to turn a data dependency into a flow dependency) before the isync. twi == trap word immediate? If so, I don't see how that will turn a data dependency into a flow dependency. Is that some sort of side

Re: [U-Boot] [PATCH] mpc83xx: Make it boot again

2010-11-04 Thread Joakim Tjernlund
Wood Scott-B07421 b07...@freescale.com wrote on 2010/11/04 17:47:41: Joakim Tjernlund wrote: Trial and error suggests that map_flash_by_law1 needs an isync(padding with 4 nop's also did the trick) after updating LBLAWAR1 to make sure the the change has reached the HW before continuing

[U-Boot] [PATCH] PowerPC: Don't destroy fixup table while doing fixups

2010-11-04 Thread Joakim Tjernlund
The fixup procedure just stored a constant value in the fixup table rather than just adjusting the table. Although that doesn't seem to do any harm, it prevents relocation more that once. Signed-off-by: Joakim Tjernlund joakim.tjernl...@transmode.se --- arch/powerpc/cpu/74xx_7xx/start.S |2

Re: [U-Boot] [PATCH v2] ARMV7: OMAP3: Add expansion board detection for Beagle

2010-11-04 Thread Stefano Babic
On 10/29/2010 10:58 PM, Steve Sakoman wrote: Beagle expansion boards contain an i2c eeprom to identify themselves. This patch adds code to read and parse the eeprom contents. It prints the expansion board name and revision and modifies environment variables as appropriate. This patch is based

[U-Boot] Fwd: [PATCH] OMAP4: speed up booting on Pandaboard

2010-11-04 Thread Steve Sakoman
Forgot to copy list on my reply! -- Forwarded message -- From: Steve Sakoman sako...@gmail.com Date: Thu, Nov 4, 2010 at 11:09 AM Subject: Re: [U-Boot] [PATCH] OMAP4: speed up booting on Pandaboard To: Sergiy Kibrik sergiy.kib...@globallogic.com On Thu, Nov 4, 2010 at 2:38 AM,

Re: [U-Boot] patch for gc-sections

2010-11-04 Thread Haiying Wang
On Thu, 2010-11-04 at 09:36 -0700, Peter Tyser wrote: Glad to hear. I'll submit an official patch shortly. Just to make sure, have you tried running one of the nand-spl images after the patch I sent yesterday? It'd be good to get confirmation that the -gc-sections doesn't have any

Re: [U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support

2010-11-04 Thread Alexander Holler
You're still using a locally-built toolchain different from CS and ELDK toolhcains that were tested so far, right? There is a warning at the Yes, I'm still using Gentoo to compile u-boot native on that board. linker stage in the build log you sent me: ld: warning: creating a DT_TEXTREL in

Re: [U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support

2010-11-04 Thread Alexander Holler
Am 04.11.2010 19:37, schrieb Alexander Holler: You're still using a locally-built toolchain different from CS and ELDK toolhcains that were tested so far, right? There is a warning at the Yes, I'm still using Gentoo to compile u-boot native on that board. linker stage in the build log you

Re: [U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support

2010-11-04 Thread Albert ARIBAUD
Le 04/11/2010 19:42, Alexander Holler a écrit : Am 04.11.2010 19:37, schrieb Alexander Holler: You're still using a locally-built toolchain different from CS and ELDK toolhcains that were tested so far, right? There is a warning at the Yes, I'm still using Gentoo to compile u-boot native on

Re: [U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support

2010-11-04 Thread Alexander Holler
Hello, Am 04.11.2010 20:20, schrieb Albert ARIBAUD: If I read that patch (66_*) correctly, it's the same as when using --warn-shared-textrel in LDFLAGS. All right. I don't like getting a warning like that, but as I cannot reproduce your toolchain, I cannot avoid it. I think they enabbled

Re: [U-Boot] [PATCH] mpc83xx: Make it boot again

2010-11-04 Thread Wood Scott-B07421
Timur Tabi wrote: Wood Scott-B07421 wrote: To be totally safe, we probably want to do a readback plus twi (to turn a data dependency into a flow dependency) before the isync. twi == trap word immediate? Yes. If so, I don't see how that will turn a data dependency into a flow

[U-Boot] patches added to u-boot-ti

2010-11-04 Thread Paulraj, Sandeep
I have added quite a few patches to u-boot-ti but MAKEALL returns several errors. I think most boards have not been updated since the ARM relocation patch. I believe the rule is that support for boards that are not compiling will be kept in mainline till the next release. After that we will

[U-Boot] Please pull u-boot-ti/master

2010-11-04 Thread s-paulraj
The following changes since commit 0c0892be0d93a5a892b93739c5eb3bf692fed4ff: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-marvell are available in the git repository at: git://git.denx.de/u-boot-ti.git master Alagu Sankar (1): mmc: Add multi-block read

Re: [U-Boot] [PATCH] omap4: board: change global data pointer to file scope

2010-11-04 Thread Wolfgang Denk
Dear Menon, Nishanth, In message aanlkti=hwbui5=zcfumma-eay7aaqw10g73w_cex8...@mail.gmail.com you wrote: On Mon, Oct 25, 2010 at 16:13, Menon, Nishanth n...@ti.com wrote: DECLARE_GLOBAL_DATA_PTR is currently defined within the scope of function while it is a global pointer. Change the scope

Re: [U-Boot] [PATCH] omap4: board: change global data pointer to file scope

2010-11-04 Thread Steve Sakoman
On Thu, Nov 4, 2010 at 8:58 AM, Menon, Nishanth n...@ti.com wrote: On Mon, Oct 25, 2010 at 16:13, Menon, Nishanth n...@ti.com wrote: DECLARE_GLOBAL_DATA_PTR is currently defined within the scope of function while it is a global pointer. Change the scope of definition to replicate it's global

Re: [U-Boot] [PATCH v3] mmc: omap: timeout counter fix

2010-11-04 Thread Steve Sakoman
On Tue, Oct 26, 2010 at 11:04 AM, Nishanth Menon n...@ti.com wrote: Having a loop with a counter is no timing guarentee for timing accuracy or compiler optimizations. For e.g. the same loop counter which runs when the MPU is running at 600MHz will timeout in around half the time when running

Re: [U-Boot] patches added to u-boot-ti

2010-11-04 Thread Steve Sakoman
On Thu, Nov 4, 2010 at 1:25 PM, Paulraj, Sandeep s-paul...@ti.com wrote: I have added quite a few patches to u-boot-ti but MAKEALL returns several errors. I think most boards have not been updated since the ARM relocation patch. I believe the rule is that support for boards that are not

Re: [U-Boot] patches added to u-boot-ti

2010-11-04 Thread Paulraj, Sandeep
On Thu, Nov 4, 2010 at 1:25 PM, Paulraj, Sandeep s-paul...@ti.com wrote: I have added quite a few patches to u-boot-ti but MAKEALL returns several errors. I think most boards have not been updated since the ARM relocation patch. I believe the rule is that support for boards that

Re: [U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support

2010-11-04 Thread Albert ARIBAUD
Le 04/11/2010 20:39, Alexander Holler a écrit : Sidenote: My toolchain is reproducable, but that means you have to compile a Gentoo system, because Gentoo is a source only distribution. So it isn't as comfortable as using binary distributions (here), but it has other advantages. It probably

[U-Boot] [PATCH V4 1/2] arm926ejs: fix linker file for newer ld support

2010-11-04 Thread Albert Aribaud
older ld emitted all ELF relocations in input sections named .rel.dyn, whereas newer ld uses names of the form .rel*. The linker script only collected .rel.dyn input sections. Rewrite to collect all .rel* input sections and overlay with .bss. Signed-off-by: Albert Aribaud albert.arib...@free.fr

[U-Boot] [PATCH V4 2/2] tx25: fix linker file for newer ld support

2010-11-04 Thread Albert Aribaud
older ld emitted all ELF relocations in input sections named .rel.dyn, whereas newer ld uses names of the form .rel*. The linker script only collected .rel.dyn input sections. Rewrite to collect all .rel* input sections and overlay with .bss. Signed-off-by: Albert Aribaud albert.arib...@free.fr

Re: [U-Boot] [PATCH V4 1/2] arm926ejs: fix linker file for newer ld support

2010-11-04 Thread Albert ARIBAUD
Le 04/11/2010 23:22, Albert Aribaud a écrit : older ld emitted all ELF relocations in input sections named ..rel.dyn, whereas newer ld uses names of the form .rel*. The linker script only collected .rel.dyn input sections. Rewrite to collect all .rel* input sections and overlay with .bss.

[U-Boot] [PATCH] ARMV7: OMAP3: BeagleBoard: add xM rev B to ID table

2010-11-04 Thread Jason Kridner
From: Koen Kooi k...@dominion.thruhere.net Patch was updated by Jason Kridner jkrid...@beagleboard.org: * Use tabs to match style of other board revisions * Only include board revisions that exist * Default to the same configuration as the latest revision, but without setting 'beaglerev'

[U-Boot] [RFC] Add 'led' command

2010-11-04 Thread Jason Kridner
It is desired to have the led command on the BeagleBoard to allow for some interaction in the scripts. This patch allows any board implementing the coloured LED API to control the LEDs from the console. led [green | yellow | red | all ] [ on | off ] or led [ 1 | 2 | 3 | all ] [ on | off ]

[U-Boot] [PATCH] BeagleBoard: Added LED driver

2010-11-04 Thread Jason Kridner
Added LED driver using status_led. USR0 is set to monitor the boot status. USR1 is set to be the green LED. (cherry picked from commit 048b526fd7cc0c642f27c674b3e235321c880b66) Signed-off-by: Jason Kridner jkrid...@beagleboard.org --- board/ti/beagle/Makefile |4 ++-

[U-Boot] [PATCH] ARMV7: OMAP3: BeagleBoard: Enable pullups on i2c2.

2010-11-04 Thread Jason Kridner
From: Steve Kipisz s-kipi...@ti.com Signed-off-by: Jason Kridner jkrid...@beagleboard.org --- arch/arm/include/asm/arch-omap3/omap3.h |9 + board/ti/beagle/beagle.c|3 +++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git