Re: [U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-12-01 Thread Igor Grinberg
On 12/01/11 12:16, Aneesh V wrote: > Hi Igor, > > On Thursday 01 December 2011 03:33 PM, Igor Grinberg wrote: >> On 12/01/11 11:07, Simon Schwarz wrote: >>> Hi Igor, >>> >>> this only affects Boards with SPL support - and only devkit8000. >>> >>> The SPL has its .bss section in SD-RAM while the re

Re: [U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-12-01 Thread Aneesh V
Hi Igor, On Thursday 01 December 2011 03:33 PM, Igor Grinberg wrote: On 12/01/11 11:07, Simon Schwarz wrote: Hi Igor, this only affects Boards with SPL support - and only devkit8000. The SPL has its .bss section in SD-RAM while the rest is in SRAM - CONFIG_SYS_TEXT_BASE was in the same area a

Re: [U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-12-01 Thread Igor Grinberg
On 12/01/11 11:07, Simon Schwarz wrote: > Hi Igor, > > this only affects Boards with SPL support - and only devkit8000. > > The SPL has its .bss section in SD-RAM while the rest is in SRAM - > CONFIG_SYS_TEXT_BASE was in the same area as .bss. This caused trouble > as the header of the u-boot.img

Re: [U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-12-01 Thread Simon Schwarz
Hi Igor, this only affects Boards with SPL support - and only devkit8000. The SPL has its .bss section in SD-RAM while the rest is in SRAM - CONFIG_SYS_TEXT_BASE was in the same area as .bss. This caused trouble as the header of the u-boot.img was written before CONFIG_SYS_TEXT_BASE. In the descr

Re: [U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-12-01 Thread Thomas Weber
Hello Simon, On 30.11.2011 18:05, Simon Schwarz wrote: > This moves CONFIG_SYS_TEXT_BASE one MB after beginning of SD-RAM. Move > CONFIG_SYS_SPL_MALLOC_START to have one MB of free space for the u-boot image. > > CONFIG_SYS_TEXT_BASE was in the middle of the bss-section. This was the reason > for

Re: [U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-11-30 Thread Igor Grinberg
Hi Simon, On 11/30/11 19:05, Simon Schwarz wrote: > This moves CONFIG_SYS_TEXT_BASE one MB after beginning of SD-RAM. Move > CONFIG_SYS_SPL_MALLOC_START to have one MB of free space for the u-boot image. > > CONFIG_SYS_TEXT_BASE was in the middle of the bss-section. This was the reason > for the

Re: [U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-11-30 Thread Tom Rini
On 11/30/2011 10:05 AM, Simon Schwarz wrote: > This moves CONFIG_SYS_TEXT_BASE one MB after beginning of SD-RAM. Move > CONFIG_SYS_SPL_MALLOC_START to have one MB of free space for the u-boot image. > > CONFIG_SYS_TEXT_BASE was in the middle of the bss-section. This was the reason > for the proble

Re: [U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-11-30 Thread Simon Schwarz
This fixes the current mmc booting problems with devkit8000. I would recommend to include it into the upcoming release. Regards Simon 2011/11/30 Simon Schwarz : > This moves CONFIG_SYS_TEXT_BASE one MB after beginning of SD-RAM. Move > CONFIG_SYS_SPL_MALLOC_START to have one MB of free space for

[U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-11-30 Thread Simon Schwarz
This moves CONFIG_SYS_TEXT_BASE one MB after beginning of SD-RAM. Move CONFIG_SYS_SPL_MALLOC_START to have one MB of free space for the u-boot image. CONFIG_SYS_TEXT_BASE was in the middle of the bss-section. This was the reason for the problems with MMC boot described here: http://article.gmane.o