- Apr 14, 2013
-
-
Albert ARIBAUD authored
Remove SPL-related ASSERT() in arch/arm/cpu/u-boot.lds as this file is never used for SPL builds. Rewrite the ASSERT() in arch/arm/cpu/u-boot-spl.lds to separately test image (text,data,rodata...) size, BSS size, and full footprint each against its own max, and make Tegra boards check full footprint. Also, output section mmutable is not used in SPL builds. Remove it. Finally, update README regarding the (now homogeneous) semantics of CONFIG_SPL_[BSS_]MAX_SIZE and add the new CONFIG_SPL_MAX_FOOTPRINT macro. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Reported-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Albert ARIBAUD authored
-
Andrew Gabbasov authored
Rework the waiting for transfer completion loop condition to continue waiting until both Transfer Complete and DMA End interrupts occur. Checking of DLA bit in Present State register looks not needed in addition to interrupts status checking, so it can be removed from the condition. Also, DMA Error condition is added to the list of data errors, checked in the loop. Signed-off-by:
Andrew Gabbasov <andrew_gabbasov@mentor.com>
-
Eric Nelson authored
The cache should invalidate the read buffer for the SD card interface after the transfer complete, not command-complete. Tested-by:
Andrew Gabbasov <Andrew_Gabbasov@mentor.com> Signed-off-by:
Eric Nelson <eric.nelson@boundarydevices.com>
-
Albert ARIBAUD authored
-
- Apr 13, 2013
-
-
Albert ARIBAUD authored
Commit 3ebd1cbc introduced compiler-generated __bss_start and __bss_end__ and commit c23561e7 rewrote all __bss_end__ as __bss_end. Their merge caused silent and harmless but potentially bug-inducing clashes between compiler- and linker- generated __bss_end symbols. Make __bss_end and __bss_start compiler-only, and create __bss_base and __bss_limit for linker-only use. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Reported-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Fabio Estevam authored
The glitch in the SPI clock line, which commit 3cea335c (spi: mxc_spi: Fix spi clock glitch durant reset) solved, is back now and itwas re-introduced by commit d36b39bf (spi: mxc_spi: Fix ECSPI reset handling). Actually the glitch is happening due to always toggling between slave mode and master mode by configuring the CHANNEL_MODE bits in this reset function. Since the spi driver only supports master mode, set the mode for all channels always to master mode in order to have a stable, "glitch-free" SPI clock line. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Otavio Salvador authored
Signed-off-by:
Otavio Salvador <otavio@ossystems.com.br> Acked-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Tetsuyuki Kobayashi authored
When swi instruction is executed, it is expected to get message "software interrupt" in console and dump registers and reboot, as do_software_interrupt() in arch/arm/lib/interrupts.c. But, actually it causes data abort accessing wrong address in get_bad_stack_swi macro in arch/arm/cpu/v7/start.S. This patch fixes this problem. The same mistake in arch/arm/cpu/{arm1136,arm1176,pxa}/start.S. Signed-off-by:
Tetsuyuki Kobayashi <koba@kmckk.co.jp>
-
Albert ARIBAUD authored
-
- Apr 12, 2013
-
-
Linus Walleij authored
This enables the device tree library on the Integrator platforms so we can pass a device tree when booting. Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
Tom Rini authored
As this board has NAND and supports YAFFS2, add CONFIG_MD_NAND_YAFFS Cc: David Müller <d.mueller@elsoft.ch> Signed-off-by:
Tom Rini <trini@ti.com> Acked-by:
David Müller <d.mueller@elsoft.ch>
-
Albert ARIBAUD authored
Conflicts: drivers/video/exynos_fb.c
-
Tom Rini authored
ext3 should not be used on SD cards, so use ext4 instead. Cc: Sricharan R <r.sricharan@ti.com> Signed-off-by:
Tom Rini <trini@ti.com>
-
man.huber@arcor.de authored
The processor is hopefully running with M(ega)Hz and not with m(illi)Hz. Signed-off-by:
Manfred Huber <man.huber@arcor.de>
-
Tom Rini authored
The previous timings were done on the internal-only A1 board which has different DDR part than all later revs. The timings need a slight adjustment to be correct in all cases with later revs. Signed-off-by:
Tom Rini <trini@ti.com>
-
Holger Brunck authored
This board is from a u-boot point of view a mixture between kmnusa and a standard km_kirkwood board. We have our u-boot environment in the spi NOR flash, but we have a direct connection between the kirkwood and the piggy. A FPGA is connected via the PCIe interface. So we only have to select the specific features in the board setup. Signed-off-by:
Holger Brunck <holger.brunck@keymile.com> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com> Acked-By:
Prafulla Wadaskar <prafulla@marvell.com>
-
Holger Brunck authored
Switch from 1-bit ecc to 4-bit ecc. Signed-off-by:
Holger Brunck <holger.brunck@keymile.com> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com> Acked-By:
Prafulla Wadaskar <prafulla@marvell.com>
-
Holger Brunck authored
commit 9660e442 cosmetic: s/BOARD_LATE_INIT/CONFIG_BOARD_LATE_INIT removes BOARD_LATE_INIT and uses CONFIG_BOARD_LATE_INIT instead. Therefore we have to use this define. Signed-off-by:
Holger Brunck <holger.brunck@keymile.com> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com> Acked-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Gerlando Falauto authored
If CONFIG_NAND_ECC_BCH is set use 4-bit error correction code instead of the 1-bit error correction code on the NAND device. Signed-off-by:
Gerlando Falauto <gerlando.falauto@keymile.com> Signed-off-by:
Holger Brunck <holger.brunck@keymile.com> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com> Acked-by:
Prafulla Wadaskar <prafulla@marvell.com> Acked-by:
Scott Wood <scottwood@freescale.com>
-
Albert ARIBAUD authored
-
Fabio Estevam authored
The conversion of mx31pdk to SPL NAND fixed the boot issue, but we start seeing resets in loop, which prevents us from reaching the U-boot prompt. Until the proper fix can be identified, disable watchdog, so that mx31pdk can be functional again. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Acked-by:
Stefano Babic <sbabic@denx.de>
-
Benoît Thébaudeau authored
Let all ARM linker scripts handle properly -ffunction-sections and -fdata-sections. This will be useful for future changes in order to create symbol-specific sections in common .S files. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
Following the removal of the smdk6400 board, the MMU setup code in arm1176/start.S becomes unused, so remove it. It will still be possible to restore it later from the Git history if necessary, in which case it should be moved out of the relocate_code() function. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
Following the removal of the smdk6400 board, the s3c64xx SoC becomes unused, so remove associated code. It will still be possible to restore it later from the Git history if necessary. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
This reverts commit 1285a280 since the migration of boards from Makefile to boards.cfg is now complete. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
The migration of boards from Makefile to boards.cfg was due for v2012.03, but smdk6400 did not follow, and it does not build, so move it to scrapyard. It will still be possible to restore it from the Git history before fixing it. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
This image combines the SPL with the i.MX header, the FCB and U-Boot. For i.MX25/35/51, the FCB is ignored by the boot ROM, so this image is just useful because it can be programmed on a NAND Flash page boundary. For i.MX53, the FCB is required by the boot ROM. This does not support i.MX6 so far because its FCB is more complicated. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
This image combines the SPL with the i.MX header and U-Boot. This is a convenient way of having a single image to program on some boot devices. The i.MX header has to be added to the SPL before appending U-Boot, so that the boot ROM loads only the SPL. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
make never uses the SHELL variable from the environment. Instead, it uses /bin/sh, or the value assigned to the SHELL variable by the Makefile. This makes the export of the SHELL variable useless for sub-makes (but still useful for the environment of recipes). However, we want all makes to use the same shell. This patch fixes this issue by moving the SHELL variable setup and export to the top config.mk, so that all Makefile-s including it use the same shell. Since BASH is used by default, this makes it possible to use things like 'echo -e ...' in sub-makes, which would otherwise fail e.g. with /bin/sh symlinked to /bin/dash on Ubuntu. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Benoît Thébaudeau authored
Commit e05e5de7 made the 2 1st parameters of ARM's relocate_code() useless since it moved the code handling them to crt0.S. So, drop these parameters. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
This also fixes support for mx31pdk and tx25, which had been broken by commit e05e5de7fae5bec79617e113916dac6631251156. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Acked-by:
Scott Wood <scottwood@freescale.com> Tested-by:
Fabio Estevam <fabio.estevam@freescale.com>
-
Benoît Thébaudeau authored
Automatically build the 'u-boot.imx' (i.e. imx header + u-boot.bin) and 'SPL' (i.e. imx header + u-boot-spl.bin) make targets for all imx processors supporting this header, so for arm926ejs, arm1136 and armv7. Some combinations were missing. At the same time, fix the build of SPL targets not supporting the imx header on arm1136. For arm1136, the 'SPL' make target was forced to build in all cases if CONFIG_SPL_BUILD was defined, even for non-imx platforms or imx setups without an imx header. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
Change CONFIG_SPL_PAD_TO from a link address to an image offset since this is more handy and closer to the purpose of this config. Automatically define CONFIG_SPL_PAD_TO to CONFIG_SPL_MAX_SIZE (or 0 without CONFIG_SPL_MAX_SIZE). Test that CONFIG_SPL_PAD_TO >= CONFIG_SPL_MAX_SIZE if CONFIG_SPL_PAD_TO is non-zero. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
Give more flexibility to define configs that can be interpreted by make, e.g. to define fallback values of configs like in the example below. Before this change, the config lines: #define CONFIG_SPL_MAX_SIZE 2048 #define CONFIG_SPL_PAD_TO CONFIG_SPL_MAX_SIZE would have been changed in autoconfig.mk into: CONFIG_SPL_MAX_SIZE=2048 CONFIG_SPL_PAD_TO="CONFIG_SPL_MAX_SIZE" Hence, a make recipe using as an argument to $(OBJCOPY): --pad-to=$(CONFIG_SPL_PAD_TO) would have issued: --pad-to="CONFIG_SPL_MAX_SIZE" which means nothing for $(OBJCOPY) and makes it fail. Thanks to this change, the config lines above are changed in autoconfig.mk into: CONFIG_SPL_MAX_SIZE=2048 CONFIG_SPL_PAD_TO=$(CONFIG_SPL_MAX_SIZE) Hence, the make recipe above now issues: --pad-to=2048 as expected from the defined config. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Benoît Thébaudeau authored
The purpose of .globl is to export symbols for ld, not to declare external symbols. By the way, use the ENTRY() and ENDPROC() macros to define functions rather than using .global directly. Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Benoît Thébaudeau authored
Use __image_copy_end instead of __bss_start for the end of the image to relocate. This is the same as commit 033ca724, but applied to all ARM start.S. This is a more appropriate symbol naming for an image copy & relocate feature, and this also saves a useless copy of data put between __image_copy_end and __bss_start in linker scripts (e.g. relocation information, or MMU initialization tables used only before jumping to the relocated image). Signed-off-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-