From 38e46271a9c25d289b12ff4723c51aa169698389 Mon Sep 17 00:00:00 2001 From: Zoran Ancevski Date: Wed, 29 Jun 2011 17:42:43 +0100 Subject: Add eMMC-MLC as bootable memory Set Enhanced Area command added New error codes added ST-Ericsson ID: 325127 ST-Ericsson FOSS-OUT ID: NA Change-Id: I4a06ca15cccd4cba033aeb181db9bbd71b9ddac2 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/22864 Reviewed-by: QATEST Reviewed-by: Johan YDSTROM Tested-by: Vlatko STENKOSKI Reviewed-by: Vlatko PISTOLOV Tested-by: Vlatko PISTOLOV Conflicts: lcmodule/win_binaries/LCM.dll win_binaries/LCDriver_CNH1606432.dll --- lcmodule/source/LCM.rc | 6 +++--- .../config/commands.xml | 20 ++++++++++++++++++++ .../config/error_codes.xml | 3 +++ source/CEH/commands_impl.cpp | 7 +++++++ source/LCDriver.cpp | 7 +++++++ source/LCDriver.h | 10 ++++++++++ source/LCDriver.rc | 6 +++--- source/LCDriverMethods.cpp | 21 +++++++++++++++++++++ source/LCDriverMethods.h | 1 + source/config/commands.xml | 20 ++++++++++++++++++++ 10 files changed, 95 insertions(+), 6 deletions(-) mode change 100755 => 100644 lcmodule/source/LCM.rc mode change 100755 => 100644 source/LCDriver.rc diff --git a/lcmodule/source/LCM.rc b/lcmodule/source/LCM.rc old mode 100755 new mode 100644 index 572d78e..1bc8f62 --- a/lcmodule/source/LCM.rc +++ b/lcmodule/source/LCM.rc @@ -69,16 +69,16 @@ BEGIN BEGIN BLOCK "040904b0" BEGIN - VALUE "Comments", "Build date: 2011-06-21" + VALUE "Comments", "Build date: 2011-06-29" VALUE "CompanyName", "ST Ericsson AB" VALUE "FileDescription", "LCM Dynamic Link Library" VALUE "FileVersion", "1,0,0,1" VALUE "InternalName", "LCM" VALUE "LegalCopyright", "Copyright (C) ST Ericsson 2011" VALUE "OriginalFilename", "LCM.dll" - VALUE "PrivateBuild", "Change-Id: I5d459585cb065bad1cc16ffefd25ec28b731778d" + VALUE "PrivateBuild", "http://gerrit.lud.stericsson.com/gerrit/22864" VALUE "ProductName", "CXA1104507 Loader Communication Module" - VALUE "ProductVersion", "P1S" + VALUE "ProductVersion", "P1T" END END BLOCK "VarFileInfo" diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/config/commands.xml b/lcmodule/source/cnh1606344_ldr_communication_module/config/commands.xml index d37a13e..000e960 100644 --- a/lcmodule/source/cnh1606344_ldr_communication_module/config/commands.xml +++ b/lcmodule/source/cnh1606344_ldr_communication_module/config/commands.xml @@ -482,6 +482,26 @@ + + + This command is used to set enhanced area on eMC card. + + + + Path to the device where area will be set. + Start address of enhanced area in bytes. + Length of the enhanced area in bytes. + + + + + + + + + + + diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/config/error_codes.xml b/lcmodule/source/cnh1606344_ldr_communication_module/config/error_codes.xml index 7435367..60d2fbe 100644 --- a/lcmodule/source/cnh1606344_ldr_communication_module/config/error_codes.xml +++ b/lcmodule/source/cnh1606344_ldr_communication_module/config/error_codes.xml @@ -144,6 +144,9 @@ The file is too large to fit in the partition. Increase the partition size and try to flash the file again. If problem still exist, report it The file is too large to fit in the boot area. The requested dump size is outside of the flash range, available flash range is dumped. + Archive contains image marked for enhanced area, but enhanced area is not set on eMMC + Image marked for enhanced area has start and/or end address out of enhanced area + eMMC driver returned error while setting enhanced area