From: Wolfgang Denk Date: Tue, 12 Oct 2010 22:45:59 +0200 Subject: [U-Boot] [PATCH 4/4] a4m072: support for SHOW_BOOT_PROGRESS feature using LED display In-Reply-To: <1284066214-749-5-git-send-email-yanok@emcraft.com> References: <1284066214-749-1-git-send-email-yanok@emcraft.com> <1284066214-749-2-git-send-email-yanok@emcraft.com> <1284066214-749-3-git-send-email-yanok@emcraft.com> <1284066214-749-4-git-send-email-yanok@emcraft.com> <1284066214-749-5-git-send-email-yanok@emcraft.com> Message-ID: <20101012204559.2357D151F66@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Ilya Yanok, In message <1284066214-749-5-git-send-email-yanok@emcraft.com> you wrote: > This patch adds support for displaying boot progress codes on a4m072 board > using LED display. As we can display only one symbol at any time on the hardware > (two symbols with blinking) we can't display progress codes directly and have > to map them to 2-symbol codes. > We use the following mapping on the a4m972 board: > [1, 8] U [100, 108] -> 5 > [-9, -1] U [-101, -100] U [-113, -103] -> -5 > [9, 14] U [120, 123] U [125, 129] -> 8 > [-13, -10] U [-122, -120] U [-127, -124] U {-129} -> -8 > {15} -> 9 > [-32, -30] -> -A > [-40, -35] U [-51, -42] U [-58, -53] U > [-83, -80] U {-64, -130, -140, -150} -> -B > > Other progress code are ignored. One symbol codes are displayed steady while > two-symbol codes are displayed using blinking. Boot progress codes are > displayed with decimal got unset (as opposed to 'display' command output). > > Signed-off-by: Ilya Yanok > --- > board/a4m072/a4m072.c | 79 +++++++++++++++++++++++++++++++++++++++++++--- > include/configs/a4m072.h | 2 + > 2 files changed, 76 insertions(+), 5 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The human race is a race of cowards; and I am not only marching in that procession but carrying a banner. - Mark Twain