From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikita Kiryanov Date: Sun, 10 Mar 2013 13:22:30 +0200 Subject: [U-Boot] [PATCH 0/2] Protect splashimage from improperly aligned addresses In-Reply-To: <1361722763-22953-1-git-send-email-nikita@compulab.co.il> References: <1361722763-22953-1-git-send-email-nikita@compulab.co.il> Message-ID: <513C6CF6.2030308@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Gentle ping. On 02/24/2013 06:19 PM, Nikita Kiryanov wrote: > As discussed in the links below, one needs to be careful about choosing an > address for a splash image BMP file when working on architectures that can't > handle unaligned memory accesses. A bad address may lead to a bricked board, > and the safe addresses are not obvious due to the internal structure of BMP > files. > > This patchset documents the problem and implements an optional callback that > prevents the environment variable from being set to a bad value. > > Finally, it turns this protection on for cm_t35. > > http://lists.denx.de/pipermail/u-boot/2013-January/144666.html > http://lists.denx.de/pipermail/u-boot/2013-February/146021.html > > Nikita Kiryanov (2): > lcd: implement a callback for splashimage > cm_t35: prevent splashimage from being set to a bad value > > README | 11 +++++++++++ > common/lcd.c | 26 ++++++++++++++++++++++++++ > doc/README.displaying-bmps | 27 +++++++++++++++++++++++++++ > include/configs/cm_t35.h | 2 ++ > include/env_callback.h | 7 +++++++ > 5 files changed, 73 insertions(+) > create mode 100644 doc/README.displaying-bmps > -- Regards, Nikita.