Greetings,
I've been fighting with SPL passing not boot_params properly to u-boot on
OMAP4. There are many layers to this onion but I've tracked the bulk of the
problem down to the following issues.
--- SPL ---
arch/arm/cpu/armv7/omap-common/hwinit-common.c sets a pointer to the SPL's
&boot_p
Thanks, I'll be glad to finally see this patch applied.
-Aaron
On 04/02/2013 05:34 AM, Stefan Roese wrote:
On 27.03.2013 11:22, Jagannadha Sutradharudu Teki wrote:
Hi,
Any update on this.
I'll apply this patch shortly. Sorry for the delay.
Thanks,
Stefan
--
Aaron Williams
Software Engi
This fixes this build warning:
Configuring for qemu_mips64 - Board: qemu-mips64, Options: SYS_BIG_ENDIAN
textdata bss dec hex filename
215344 13082 218720 447146 6d2aa qemu_mips64/u-boot
cfi_flash.c: In function 'flash_map':
cfi_flash.c:217:9: warning: cast to pointer fro
On 02.04.2013 23:48, txcotrader wrote:
> Hello,
>
> I'm looking for some direction. I'm trying to update my version of u-boot
> for a custom board based off of the PPC460SX. I'm struggling to understand
> why I cannot get past reading the I2C on the DIMM. I'm receiving this error:
>
> CPU: AMCC
On Apr 2, 2013, at 2:56 PM, Tom Rini wrote:
> On 04/02/2013 02:41 PM, Michael Cashwell wrote:
>
>> I'm currently using 3.0.8. That version most assuredly fails miserably
>> without defining CONFIG_SYS_(CLOCKS|PADS)_ENABLE_ALL in
>> u-boot. That kernel is part of the 3.0.x longterm lineage whic
Hi Michael,
(please wrap your line around 70 chars max)
I won't comment on the 'u-boot' part of your message as it is quite
SPL-vs-U-Boot- and OMAP-specific, and I prefer to leave this to people
better suited for this. However, on the low level init front:
On Tue, 2 Apr 2013 18:39:17 -0400, Mich
From: Fabio Estevam
Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT option so that other NAND controller
drivers could use it when a 16-bit NAND is deployed.
drivers/mtd/nand/ndfc has CONFIG_SYS_NDFC_16BIT, so just rename it, so that
other NAND drivers could reuse the same symbol.
Signed-off-by: Fabio
From: Fabio Estevam
Currently is_16bit_nand() is a per SoC function and it decides the bus nand
width by reading some boot related registers.
This method works when NAND is the boot medium, but does not work if another
boot medium is used. For example: booting from a SD card and then using NAND
Don't use several instructions to build constant values.
Signed-off-by: Benoît Thébaudeau
Acked-by: Stefano Babic
---
Changes in v10: None
Changes in v9: None
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3:
- New patch.
Changes
Add some abstraction to NFC definitions so that some parts of the current code
can also be used for future i.MX5 code.
Clean up a few things by the way.
Signed-off-by: Benoît Thébaudeau
Acked-by: Scott Wood
Tested-by: Fabio Estevam
---
Changes in v10: None
Changes in v9: None
Changes in v8: No
The page number indicated in the debug trace of mxc_nand_read_oob_syndrome() did
not match the page being worked on.
By the way, replace the GCC-specific __FUNCTION__ with __func__.
Signed-off-by: Benoît Thébaudeau
Acked-by: Scott Wood
---
Changes in v10: None
Changes in v9: None
Changes in v8:
Add support for the Samsung K9LAG08U0M NAND Flash (2-GiB MLC NAND Flash, 2-kiB
pages, 256-kiB blocks, 30-ns R/W cycles, 1 CS) on mx53ard.
eNFC_CLK_ROOT is set up with a cycle time of 37.5 ns (400 MHz / 3 / 5) for this
board, which satisfies the 30-ns NF R/W cycle requirement.
Signed-off-by: Benoî
Signed-off-by: Benoît Thébaudeau
Acked-by: Scott Wood
Tested-by: Fabio Estevam
---
Changes in v10: None
Changes in v9:
- Drop the now unused SRC register definitions.
Changes in v8:
- Rebase on Fabio's patches using CONFIG_SYS_NAND_BUSWIDTH_16BIT instead of
NAND Flash boot config pins to d
Signed-off-by: Benoît Thébaudeau
---
Changes in v10: None
Changes in v9: None
Changes in v8: None
Changes in v7: None
Changes in v6:
- New patch, extracted from "nand: mxc: Switch NAND SPL to generic SPL".
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm
Commit e05e5de7fae5bec79617e113916dac6631251156 made ARM's relocate_code()
return to its caller, but it did not update its declaration accordingly.
Fixing this function declaration fixes dropped C code following calls to
relocate_code().
Signed-off-by: Benoît Thébaudeau
---
Changes in v10: None
The syndrome functions should use the page number passed as argument instead of
the page number saved upon NAND_CMD_READ0.
This does not make any difference if the NAND_NO_AUTOINCR option is set, but
otherwise this fixes accesses to the wrong pages.
Signed-off-by: Benoît Thébaudeau
Acked-by: Sco
_TEXT_BASE must be set to CONFIG_SPL_TEXT_BASE for generic SPL, and to
CONFIG_SYS_TEXT_BASE for non-SPL builds.
Signed-off-by: Benoît Thébaudeau
Reviewed-by: Tom Rini
---
Changes in v10: None
Changes in v9: None
Changes in v8:
- Apply to mxs SPL too.
Changes in v7: None
Changes in v6:
- New p
Signed-off-by: Benoît Thébaudeau
---
Changes in v10: None
Changes in v9: None
Changes in v8:
- Make sure that r9 is initialized in all cases because it may be used after
relocate_code().
Changes in v7: None
Changes in v6:
- New patch.
Changes in v5: None
Changes in v4: None
Changes in v3: N
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
---
Changes in v10:
- Rebase on current u-boot-arm/master.
Changes in v9
Use __image_copy_end instead of __bss_start for the end of the image to
relocate. This is the same as commit 033ca72, 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_e
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_SIZE2048
#define CONFIG_SPL_PAD_TO CONFIG_SPL_MAX_SIZE
would have been changed in au
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
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 suppo
Commit e05e5de7fae5bec79617e113916dac6631251156 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
---
Changes in v10: None
Changes in v9: None
Changes in v8:
- Update the functio
Signed-off-by: Benoît Thébaudeau
---
Changes in v10:
- Rebase on current u-boot-arm/master.
Changes in v9: None
Changes in v8: None
Changes in v7: None
Changes in v6:
- New patch.
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/cpu/arm926ejs/start.S |
This also fixes support for mx31pdk and tx25, which had been broken by commit
e05e5de7fae5bec79617e113916dac6631251156.
Signed-off-by: Benoît Thébaudeau
Acked-by: Scott Wood
Tested-by: Fabio Estevam
---
Changes in v10:
- Rebase on current u-boot-arm/master, especially following commits 3ebd1cb
Signed-off-by: Benoît Thébaudeau
---
Changes in v10: None
Changes in v9: None
Changes in v8:
- New patch.
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
.gitignore |1 +
1 file changed, 1 insertion(+)
diff --git a/.g
Signed-off-by: Benoît Thébaudeau
---
Changes in v10: None
Changes in v9: None
Changes in v8:
- New patch.
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/config.mk |2 --
arch/arm/cpu/arm1176/start.S
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
---
Change
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
This reverts commit 1285a2808a254f3d1a809c1a541f0c0f746e03d7 since the migration
of boards from Makefile to boards.cfg is now complete.
Signed-off-by: Benoît Thébaudeau
---
Changes in v10: None
Changes in v9: None
Changes in v8:
- New patch.
Changes in v7: None
Changes in v6: None
Changes in v5
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
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
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
---
Changes in v10:
- Rebase on current u-boot-arm/master.
Changes in v9:
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
---
Changes in v10:
- Rebase on c
This patch set adds cpu frequency scaling and tmu throttling
for exynos5.
Akshay Saraswat (4):
pmic: max77686: add pmic_set_voltage api for max77686
Exynos5: cpufreq: Implement frequency scaling for exynos5
smdk5250: enable support for tmu throttling
Exynos5: config: enable cpu freq
arch
This patch adds pmic_set_voltage api in max77686.
As the name suggests, this api is required for switching
voltage from one level to another.
Signed-off-by: Akshay Saraswat
---
drivers/power/pmic/pmic_max77686.c | 61 ++
include/power/max77686_pmic.h | 12
Exynos5 currently runs at full speed i.e. 1.7 GHz everytime.
Scaling down the clock speed in certain situations, may help in
reducing the ARM temperature and power consumption.
Signed-off-by: Akshay Saraswat
---
arch/arm/include/asm/arch-exynos/cpufreq.h | 54 ++
drivers/power/Makefile
This patch enables cpu freq support for exynos5 by adding
config for it.
Signed-off-by: Akshay Saraswat
---
include/configs/exynos5250-dt.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
index 496a194..18d3e04 100644
--- a
Adding tmu throttling support to smdk5250.
Signed-off-by: Akshay Saraswat
---
board/samsung/smdk5250/smdk5250.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/board/samsung/smdk5250/smdk5250.c
b/board/samsung/smdk5250/smdk5250.c
index 8b09e1d..301dcf8 100644
--- a/boar
Hi Albert,
On Monday, April 1, 2013 5:53:55 PM, Albert ARIBAUD wrote:
> Hi Benoît,
>
> On Mon, 1 Apr 2013 15:13:05 +0200 (CEST), Benoît Thébaudeau
> wrote:
>
> > OK, then it's probably better if I send v10 ASAP. I may not have access to
> > my
> > repo before this date, and I have not kept my v
> From: Eric Nelson [eric.nel...@boundarydevices.com]
> Sent: Wednesday, April 03, 2013 01:38
> To: Gabbasov, Andrew
> Cc: u-boot@lists.denx.de; Behme, Dirk - Bosch
> Subject: Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation
> completion
>
> Thanks Andrew,
>
> On 04/02/2013 11:
101 - 142 of 142 matches
Mail list logo