Message ID | 20190220054531.5345-1-anup.patel@wdc.com |
---|---|
Headers | show |
Series | SiFive FU540 Support | expand |
On Wed, Feb 20, 2019 at 05:45:59AM +0000, Anup Patel wrote: > This patchset adds SiFive Freedom Unleashed (FU540) support > to RISC-V U-Boot. > > The patches are based upon latest U-Boot source tree > (git://git.denx.de/u-boot.git) at v2019.04-rc2 commit id > f14de0014c56093feecf42ca38b8ae5b3878f176 > > All drivers namely: SiFive PRCI, SiFive Serial, and Cadance > MACB Ethernet work fine on actual SiFive Unleashed board and > QEMU sifive_u machine. Is the sifive_u QEMU machine in upstream QEMU? If so, lets add it to the travis file and run tests. Thanks!
On Thu, 21 Feb 2019 15:41:02 PST (-0800), trini@konsulko.com wrote: > On Wed, Feb 20, 2019 at 05:45:59AM +0000, Anup Patel wrote: > >> This patchset adds SiFive Freedom Unleashed (FU540) support >> to RISC-V U-Boot. >> >> The patches are based upon latest U-Boot source tree >> (git://git.denx.de/u-boot.git) at v2019.04-rc2 commit id >> f14de0014c56093feecf42ca38b8ae5b3878f176 >> >> All drivers namely: SiFive PRCI, SiFive Serial, and Cadance >> MACB Ethernet work fine on actual SiFive Unleashed board and >> QEMU sifive_u machine. > > Is the sifive_u QEMU machine in upstream QEMU? If so, lets add it to > the travis file and run tests. Thanks! It's been upstream for a while, though we might deprecate it in the future because the name is a bit ambiguous. There's nothing better right now, so it's probably a good bet to test against.
On Thu, Feb 21, 2019 at 04:03:41PM -0800, Palmer Dabbelt wrote: > On Thu, 21 Feb 2019 15:41:02 PST (-0800), trini@konsulko.com wrote: > >On Wed, Feb 20, 2019 at 05:45:59AM +0000, Anup Patel wrote: > > > >>This patchset adds SiFive Freedom Unleashed (FU540) support > >>to RISC-V U-Boot. > >> > >>The patches are based upon latest U-Boot source tree > >>(git://git.denx.de/u-boot.git) at v2019.04-rc2 commit id > >>f14de0014c56093feecf42ca38b8ae5b3878f176 > >> > >>All drivers namely: SiFive PRCI, SiFive Serial, and Cadance > >>MACB Ethernet work fine on actual SiFive Unleashed board and > >>QEMU sifive_u machine. > > > >Is the sifive_u QEMU machine in upstream QEMU? If so, lets add it to > >the travis file and run tests. Thanks! > > It's been upstream for a while, though we might deprecate it in the future > because the name is a bit ambiguous. There's nothing better right now, so > it's probably a good bet to test against. Great! Then we should model something based on - name: "test/py qemu-x86" env: - TEST_PY_BD="qemu-x86" TEST_PY_TEST_SPEC="not sleep" QEMU_TARGET="i386-softmmu" BUILDMAN="^qemu-x86$" TOOLCHAIN="i386" BUILD_ROM="yes" And an appropriate PR to https://github.com/swarren/uboot-test-hooks so that we can run the testsuite every time.
On Fri, Feb 22, 2019 at 8:12 AM Tom Rini <trini@konsulko.com> wrote: > > On Thu, Feb 21, 2019 at 04:03:41PM -0800, Palmer Dabbelt wrote: > > On Thu, 21 Feb 2019 15:41:02 PST (-0800), trini@konsulko.com wrote: > > >On Wed, Feb 20, 2019 at 05:45:59AM +0000, Anup Patel wrote: > > > > > >>This patchset adds SiFive Freedom Unleashed (FU540) support > > >>to RISC-V U-Boot. > > >> > > >>The patches are based upon latest U-Boot source tree > > >>(git://git.denx.de/u-boot.git) at v2019.04-rc2 commit id > > >>f14de0014c56093feecf42ca38b8ae5b3878f176 > > >> > > >>All drivers namely: SiFive PRCI, SiFive Serial, and Cadance > > >>MACB Ethernet work fine on actual SiFive Unleashed board and > > >>QEMU sifive_u machine. > > > > > >Is the sifive_u QEMU machine in upstream QEMU? If so, lets add it to > > >the travis file and run tests. Thanks! > > > > It's been upstream for a while, though we might deprecate it in the future > > because the name is a bit ambiguous. There's nothing better right now, so > > it's probably a good bet to test against. > > Great! Then we should model something based on > - name: "test/py qemu-x86" > env: > - TEST_PY_BD="qemu-x86" > TEST_PY_TEST_SPEC="not sleep" > QEMU_TARGET="i386-softmmu" > BUILDMAN="^qemu-x86$" > TOOLCHAIN="i386" > BUILD_ROM="yes" > > And an appropriate PR to https://github.com/swarren/uboot-test-hooks so > that we can run the testsuite every time. > Yes, this has been on my todo list for a while when qemu-riscv was initially supported. Regards, Bin