Add callback with __weak annotation to allow setup of environment
partition number in runtime from a board file.
Propagate mmc_switch_part() return value into init_mmc_for_env() instead
of -1 in case of failure.
Signed-off-by: Dmitry Lifshitz
Signed-off-by: Igor Grinberg
---
common/env_mmc.c
Add callback with __weak annotation to allow setup of environment
partition number in runtime from a board file.
Propagate mmc_switch_part() return value into init_mmc_for_env() instead
of -1 in case of failure.
Signed-off-by: Dmitry Lifshitz
Signed-off-by: Igor Grinberg
---
Changes in v2
Add missing mmc_get_env_addr() prototype in environment.h
Signed-off-by: Dmitry Lifshitz
---
include/environment.h |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/environment.h b/include/environment.h
index 08679ae..d7a1adf 100644
--- a/include
Use generic board setup functions by defining
CONFIG_SYS_GENERIC_BOARD.
Signed-off-by: Dmitry Lifshitz
---
include/configs/cm_t54.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/configs/cm_t54.h b/include/configs/cm_t54.h
index db04095..df93a59 100644
--- a
Fix MAC address data read (from EEPROM) issue and boot mode check.
Convert to generic board.
Dmitry Lifshitz (3):
cm-t54: fix EEPROM read return value check
cm-t54: fix eMMC boot mode check
cm-t54: convert to generic board
board/compulab/cm_t54/cm_t54.c |6 +++---
include/configs
Fix cl_eeprom_read_mac_addr() return value check.
Fix long line codding style issue in board_init().
Signed-off-by: Dmitry Lifshitz
---
board/compulab/cm_t54/cm_t54.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/compulab/cm_t54/cm_t54.c b/board/compulab
Boot from eMMC boot partition corresponds to BOOT_DEVICE_MMC2
omap_bootmode, while BOOT_DEVICE_MMC2_2 corresponds to the user
data partition boot.
Fix mmc_get_env_part() boot mode check to use a correct value.
Signed-off-by: Dmitry Lifshitz
---
board/compulab/cm_t54/cm_t54.c |2 +-
1 files
Hi Pantelis,
On 06/12/2014 06:10 PM, Pantelis Antoniou wrote:
Hi Dmitry,
I took a good look at the patch and there's a problem.
On Apr 27, 2014, at 1:18 PM, Dmitry Lifshitz wrote:
Add callback with __weak annotation to allow setup of environment
partition number in runtime from a board
.
Dmitry Lifshitz (3):
cm-t54: add EEPROM support and MAC address handling
env_mmc: support env partition setup in runtime
cm-t54: add environment partition runtime detection
board/compulab/cm_t54/cm_t54.c | 85
common/env_mmc.c | 35
Add cm-t54 board directory, config file. Enable build.
Basic support includes:
Serial console
SD/MMC
eMMC
USB
Ethernet
Signed-off-by: Dmitry Lifshitz
Acked-by: Igor Grinberg
---
board/compulab/cm_t54/Makefile | 10 ++
board/compulab/cm_t54/cm_t54.c | 177
Add environment partition runtime detection callback.
Signed-off-by: Dmitry Lifshitz
Acked-by: Igor Grinberg
---
board/compulab/cm_t54/cm_t54.c | 22 ++
include/configs/cm_t54.h |1 +
2 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/board/compulab
Add UART4 base address.
Signed-off-by: Dmitry Lifshitz
---
arch/arm/include/asm/arch-omap5/omap.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include/asm/arch-omap5/omap.h
b/arch/arm/include/asm/arch-omap5/omap.h
index 19fdece..e35a81a 100644
--- a/arch
Add callback with __weak annotation to allow setup of environment
partition number in runtime from a board file.
Signed-off-by: Dmitry Lifshitz
Signed-off-by: Igor Grinberg
---
common/env_mmc.c | 35 ++-
1 files changed, 26 insertions(+), 9 deletions(-)
diff
Add support for CompuLab cm-t54 CoM, based on OMAP5432 CPU.
http://compulab.co.il/products/computer-on-modules/cm-t54/
Basic support includes:
* Boot from MMC/SD and eMMC
* USB
* LAN
Dmitry Lifshitz (4):
ARM: OMAP5: add UART4 support
ARM: OMAP5: Power: add LDO2 support for Palmas driver
Add CKOBUFFER_CLK_EN bit mask enabling FREF_XTAL_CLK clock.
Signed-off-by: Dmitry Lifshitz
---
arch/arm/include/asm/arch-omap5/clock.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include/asm/arch-omap5/clock.h
b/arch/arm/include/asm/arch-omap5/clock.h
Add defines required to turn on LDO2 regulator.
Signed-off-by: Dmitry Lifshitz
---
include/palmas.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/palmas.h b/include/palmas.h
index eaf3670..cca3f9a 100644
--- a/include/palmas.h
+++ b/include/palmas.h
retrieved data.
Signed-off-by: Dmitry Lifshitz
Acked-by: Igor Grinberg
---
board/compulab/cm_t54/cm_t54.c | 63
include/configs/cm_t54.h |9 ++
2 files changed, 72 insertions(+), 0 deletions(-)
diff --git a/board/compulab/cm_t54/cm_t54.c b
Add cm-t54 board directory, config file. Enable build.
Basic support includes:
Serial console
SD/MMC
eMMC
USB
Ethernet
Signed-off-by: Dmitry Lifshitz
Acked-by: Igor Grinberg
---
v2: * Fixed Makefile to use board file name explicitely instead of $(BOARD).o
* Use CONFIG_SYS_SDRAM_BASE
ition setup in runtime")
Signed-off-by: Peter A. Bigot
Thank you for fixing this.
Acked-by: Dmitry Lifshitz
Dmitry
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Mainline CM-T3517 U-Boot environment size differs from the that one
shipped with CM-T3517 boards.
Update environment size, to avoid backward compatability issues.
Signed-off-by: Dmitry Lifshitz
---
include/configs/cm_t3517.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff
Fix MMC1 pinmux setup, thus enable SD/MMC card support with CM-T3517.
Signed-off-by: Dmitry Lifshitz
---
board/compulab/cm_t3517/mux.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/board/compulab/cm_t3517/mux.c b/board/compulab/cm_t3517/mux.c
index 88ce2cc
SBC-T3517 evaluation board has two Eth interfaces.
Enable network retry of another interface if the default if failed
or disconnected.
Add 'netretry=yes' in the default env. Setup relevant
timeout values in the board config file.
Signed-off-by: Dmitry Lifshitz
---
include/configs/
These patches fix non critical issues, required to sync CM-T3517
mainline U-Boot with the that, shipped with the boards.
Dmitry Lifshitz (3):
omap3: cm-t3517: enable 'netretry' and setup timeout
omap3: cm-t3517: fix MMC1 pinmux
omap3: cm-t3517: change environment size
boar
Mainline CM-T3517 U-Boot environment size differs from that one
shipped with CM-T3517 boards.
Update environment size, to avoid backward compatibility issues.
Signed-off-by: Dmitry Lifshitz
---
Changes in v2:
* Removed unjustified CONFIG_SYS_MALLOC_LEN change.
include/configs/cm_t3517
Define CONFIG_MACH_TYPE to allow non DT Linux boot.
Signed-off-by: Dmitry Lifshitz
---
include/configs/cm_t3517.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h
index fbc10dd..27c023c 100644
--- a/include/configs
CM-T3517 has several HW revisions.
Add board specific get_board_rev() callback to retrieve revision number.
Signed-off-by: Dmitry Lifshitz
---
board/compulab/cm_t3517/cm_t3517.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/board/compulab/cm_t3517/cm_t3517.c
Hi Gabriel,
Try fixing CM-A510 related code:
mvBoardEnvSpec.h
...
...
/* CM-A510 */
#define CM_A510_MPP0_7 0x0033
#define CM_A510_MPP8_150x00445050
#define CM_A510_MPP16_23 0x4040
#define CM_
Hi Gabriel,
On 03/04/2015 10:18 AM, Gabriel Dobato wrote:
HI Dmitry,
Thank you very much for your answer!
I have tried it, but I get the same:
CM-A510>> mmc init
CM-A510>> mmcinfo 0
Device: MV_SDHCI
Manufacturer ID: 0
OEM: 0
Name: Tran Speed: 0
Rd Block Len: 0
MMC version 0.0
High Capacity: N
Regards,
Gabriel
On 04/03/15 09:50, Dmitry Lifshitz wrote:
Hi Gabriel,
On 03/04/2015 10:18 AM, Gabriel Dobato wrote:
HI Dmitry,
Thank you very much for your answer!
I have tried it, but I get the same:
CM-A510>> mmc init
CM-A510>> mmcinfo 0
Device: MV_SDHCI
Manufacturer ID: 0
OEM
Implement missing scsi_bus_reset() for SCSI subsystem commands
on OMAP platforms.
Signed-off-by: Dmitry Lifshitz
---
arch/arm/cpu/armv7/omap-common/sata.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/arm/cpu/armv7/omap-common/sata.c
b/arch/arm/cpu/armv7
This allow the platform to handle a custom reset sequence.
Signed-off-by: Dmitry Lifshitz
---
drivers/block/ahci.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c
index 12ed5e3..37d2d2a 100644
--- a/drivers/block/ahci.c
On OMAP platforms (like OMAP5) Linux kernel fails to detect a SATA
device if it is used by U-Boot.
It happens because U-Boot does not reset SATA controller before boot.
Reset the controller on OS boot so that Linux will have a clean state
to work with.
Signed-off-by: Dmitry Lifshitz
---
arch
Extract controller reset code from ahci_host_init() into separate
ahci_reset().
Signed-off-by: Dmitry Lifshitz
---
drivers/block/ahci.c | 47 ++-
include/ahci.h |1 +
2 files changed, 31 insertions(+), 17 deletions(-)
diff --git a/drivers
Add configs required for SATA support on CM-T54 board.
Signed-off-by: Dmitry Lifshitz
---
include/configs/cm_t54.h | 13 +
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/include/configs/cm_t54.h b/include/configs/cm_t54.h
index 92ce1e1..0cd4aec 100644
--- a
This series adds a SATA controller reset mechanism for OMAP platforms.
On OMAP platforms SATA support is provided via SCSI subsystem.
Implement missing SCSI reset command.
Use the new functionality to reset SATA on OS boot.
Dmitry Lifshitz (5):
ahci: introduce ahci_reset()
ahci-plat
Hi Tom,
On 12/15/2014 07:00 PM, Tom Rini wrote:
On Mon, Dec 15, 2014 at 04:02:58PM +0200, Dmitry Lifshitz wrote:
On OMAP platforms (like OMAP5) Linux kernel fails to detect a SATA
device if it is used by U-Boot.
It happens because U-Boot does not reset SATA controller before boot.
Reset the
CM-T3517 has several HW revisions.
Add board specific get_board_rev() callback to retrieve revision number.
Signed-off-by: Dmitry Lifshitz
---
Igor, Tom
I forgot to add a mailing list address in send-email.
Resending the patch.
v2: Make proper use of cl_eeprom_get_board_rev() parameter
evice. Set this value to 0x1."
This contradicts with the following patch, enabling HW leveling for
BeagleBoard-X15.
Please, advice, if it save and required to apply HW leveling related
registers settings.
Does DRA7x DDR3 HW leveling code is relevant for AM57xx ?
Thank you,
Dmitry Lifshi
Hi Lokesh,
On 12/16/2015 02:54 PM, Lokesh Vutla wrote:
Hi,
On Monday 14 December 2015 06:40 PM, Dmitry Lifshitz wrote:
Hi Lokesh,
We are working on U-Boot for CompuLab board based on
AM57xx SoC (CL-SOM-AM57x).
We figured out the following note in AM57xx TRM for EMIF register
39 matches
Mail list logo