From: Heinrich Schuchardt Date: Mon, 22 Feb 2021 10:42:13 +0100 Subject: [PATCH 1/1] arm: qemu: support qfw In-Reply-To: <20210222091229.3ey26jhjonxmy6ks@talia.n4wrvuuuhszuhem3na2pm5saea.px.internal.cloudapp.net> References: <20210219005235.17387-1-ashe@kivikakk.ee> <20210219005235.17387-2-ashe@kivikakk.ee> <233c91e4-07e2-e694-4edc-55d0c6618796@gmx.de> <20210220011400.ayzvqi4jrbbljmzq@talia.n4wrvuuuhszuhem3na2pm5saea.px.internal.cloudapp.net> <20210220221208.GG10169@bill-the-cat> <20210222091229.3ey26jhjonxmy6ks@talia.n4wrvuuuhszuhem3na2pm5saea.px.internal.cloudapp.net> Message-ID: <49cd0816-99d9-e52b-6f54-16c1015c0036@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 22.02.21 10:12, Asherah Connor wrote: > Hi Tom, Simon; > > On 21/02/20 05:02:p, Tom Rini wrote: >> On Sat, Feb 20, 2021 at 04:54:41AM -0700, Simon Glass wrote: >>> Probably create a uclass. I expect there are operations and some >>> private data. We also need to think about testing, since all uclasses >>> need a sandbox test. >> >> Well, need a test. Since this is something for qemu, which is already a >> virtual platform, I'd be quite happy to see this tested in the qemu >> platforms that will support it and then not sandbox. > > I've completed the rewrite to uclass and will be sending the next > version of the patch series along shortly. I'm now looking to complete > the tests. > > Tom, what do you have in mind when you say "see this tested in the qemu > platforms that will support it"? It looks like we don't have any > existing tests that use qemu, with the exception of > test/nokia_rx51_test.sh, which doesn't look like anything to pattern > from. If you look into a Gitlab job log like https://gitlab.denx.de/u-boot/u-boot/-/jobs/225922 you will see a lot of tests executed.'on QEMU. Have a look into file .gitlab-ci.yml for variables TEST_PY* and at https://gitlab.denx.de/u-boot/u-boot-test-hooks. In https://github.com/swarren/uboot-test-hooks you will have to change bin/travis-ci/conf.qemu_arm64_na, bin/travis-ci/conf.qemu_arm64_na to enable the framebuffer device. Best regards Heinrich > > A simple sandbox test in test/dm looks like it shouldn't be much work, > if it's ideal. > > Best, > > Asherah >