From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/8] video/console: Implement relative cursor movement ANSI handling
Date: Sun, 14 Apr 2019 14:54:47 +0200 [thread overview]
Message-ID: <20190414145447.2ae7000a@crub> (raw)
In-Reply-To: <a9de80f1-bb70-5a54-5769-79b3a7dfc025@arm.com>
Hi André,
On Sat, 13 Apr 2019 22:40:03 +0100
André Przywara andre.przywara at arm.com wrote:
...
> > I've dropped all applied patches of this series now, some of them
> > introduced dm video_ansi test error [1]. Please fix. Thanks!
>
> Hmh, good one. Didn't find an easy way to get to the bottom of this
> within the ut test system, so I copied the ANSI sequences out and
> replayed them with a custom command, inspecting the (sandbox) screen
> manually. Is there a canonical way to trace down those issues?
You can build sandbox defconfig an run U-Boot with "--show_lcd"
option, then run the "ut dm video_ansi" command to inspect the
rendered characters and colors, e.g.:
$ make sandbox_defconfig
$ make
$ ./u-boot -d arch/sandbox/dts/test.dtb -l
U-Boot 2019.04-00326-g7b64a70a3a (Apr 14 2019 - 14:37:44 +0200)
Model: sandbox
DRAM: 128 MiB
MMC: mmc2: 2 (SD), mmc1: 1 (SD), mmc0: 0 (SD)
In: serial
Out: vidconsole
Err: vidconsole
Model: sandbox
SCSI:
Net: eth0: eth at 10002000, eth5: eth at 10003000, eth3: sbe5, eth1: eth at 10004000
Hit any key to stop autoboot: 0
=> ut dm video_ansi
Test: dm_test_video_ansi: video.c
Failures: 0
In the "U-Boot" window you will see the output of the video_ansi test.
Without your fix for masking bit 3 in the bg index, the high-intensity
background colors will be used, you will see brighter BG colors. The test
expects results for standard background colors (indexes 0-7).
> Anyway, the fix for patch 2/8 is rather simple (see below), do you want
> to fix this up in your tree? Or shall I sent a v2?
Thanks! I've merged your fix for patch 2/8, no need to resend. Build-
testing now.
--
Anatolij
next prev parent reply other threads:[~2019-04-14 12:54 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-23 1:29 [U-Boot] [PATCH 0/8] video/console: Fix various DM_VIDEO console issues Andre Przywara
2019-03-23 1:29 ` [U-Boot] [PATCH 1/8] video/console: Fix DM_VIDEO font glyph array indexing Andre Przywara
2019-03-30 21:18 ` Simon Glass
2019-04-09 21:03 ` Anatolij Gustschin
2019-03-23 1:29 ` [U-Boot] [PATCH 2/8] video/console: Implement reverse video ANSI sequence for DM_VIDEO Andre Przywara
2019-03-30 21:18 ` Simon Glass
2019-04-09 21:04 ` Anatolij Gustschin
2019-04-14 13:05 ` [U-Boot] [PATCH v2 " Anatolij Gustschin
2019-04-17 13:36 ` Anatolij Gustschin
2019-03-23 1:29 ` [U-Boot] [PATCH 3/8] video/console: Implement relative cursor movement ANSI handling Andre Przywara
2019-03-30 21:18 ` Simon Glass
2019-04-09 21:05 ` Anatolij Gustschin
2019-04-11 12:09 ` Anatolij Gustschin
2019-04-13 21:40 ` André Przywara
2019-04-14 12:54 ` Anatolij Gustschin [this message]
2019-04-14 21:49 ` André Przywara
2019-03-23 1:29 ` [U-Boot] [PATCH 4/8] video/console: Implement ANSI clear line command Andre Przywara
2019-03-30 21:18 ` Simon Glass
2019-04-09 21:05 ` Anatolij Gustschin
2019-03-23 1:29 ` [U-Boot] [PATCH 5/8] video/console: Factor out actual character output Andre Przywara
2019-03-30 21:18 ` Simon Glass
2019-04-09 21:06 ` Anatolij Gustschin
2019-03-23 1:30 ` [U-Boot] [PATCH 6/8] video/console: Convert UTF-8 codes to CP437 code points Andre Przywara
2019-03-30 21:18 ` Simon Glass
2019-03-31 18:28 ` Alexander Graf
2019-03-31 23:54 ` André Przywara
2019-03-23 1:30 ` [U-Boot] [PATCH 7/8] usb: kbd: Properly translate up/down arrow keys Andre Przywara
2019-03-30 21:18 ` Simon Glass
2019-04-01 0:04 ` André Przywara
2019-04-01 1:58 ` Simon Glass
2019-04-09 21:06 ` Anatolij Gustschin
2019-03-23 1:30 ` [U-Boot] [PATCH 8/8] sunxi: allow boards to de-select SYS_WHITE_ON_BLACK font scheme Andre Przywara
2019-03-30 21:18 ` Simon Glass
2019-04-09 21:07 ` Anatolij Gustschin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190414145447.2ae7000a@crub \
--to=agust@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox