Skip to content

Instantly share code, notes, and snippets.

View nathanrossi's full-sized avatar

Nathan Rossi nathanrossi

  • Brisbane, Australia
View GitHub Profile
diff --git a/meta/lib/oeqa/core/utils/concurrencytest.py b/meta/lib/oeqa/core/utils/concurrencytest.py
index ae68fd5090..ed5b89b671 100644
--- a/meta/lib/oeqa/core/utils/concurrencytest.py
+++ b/meta/lib/oeqa/core/utils/concurrencytest.py
@@ -82,7 +82,10 @@ class ProxyTestResult:
return method(test, *args, **kwargs)
def addSubTest(self, test, subtest, outcome, **kwargs):
- self._addResult(self.result.addSubTest, test, subtest, outcome, exception = (outcome is not None), **kwargs)
+ if outcome is None:
2019-09-06 17:44:14,431 - oe-selftest - WARNING - meta-selftest layer not found in BBLAYERS, adding it
2019-09-06 17:44:17,314 - oe-selftest - INFO - Adding layer libraries:
2019-09-06 17:44:17,314 - oe-selftest - INFO - /home/nathan/build/gnuts/openembedded-core/meta/lib
2019-09-06 17:44:17,314 - oe-selftest - INFO - /home/nathan/build/gnuts/openembedded-core/meta-selftest/lib
2019-09-06 17:44:17,315 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2019-09-06 17:44:19,590 - oe-selftest - INFO - Adding: "include selftest.inc" in /home/nathan/build/gnuts-m-st-28613/conf/local.conf
2019-09-06 17:44:19,590 - oe-selftest - INFO - Adding: "include selftest.inc" in /home/nathan/build/gnuts-m-st-28614/conf/local.conf
2019-09-06 17:44:19,590 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2019-09-06 17:44:19,590 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2019-09-06 17:44:19,598 - oe-selftest - INFO - testconcurrent.TestCaseB.tes
@nathanrossi
nathanrossi / log.txt
Created May 10, 2019 07:02
litex-linux-vexriscv-log-prebuilt-binaries
/ / (_) /____ | |/_/
/ /__/ / __/ -_)> <
/____/_/\__/\__/_/|_|
(c) Copyright 2012-2019 Enjoy-Digital
(c) Copyright 2012-2015 M-Labs Ltd
BIOS built on May 5 2019 10:17:03
BIOS CRC passed (b1957b0a)
@nathanrossi
nathanrossi / gist:9f1c2d876622f69386684a2242787e60
Created October 31, 2018 15:53
OE runqemu litex micropython
nathanbuild@arty-lm32# runqemu arty-lm32 slirp
runqemu - INFO - Running MACHINE=arty-lm32 bitbake -e...
runqemu - INFO - Continuing with the following parameters:
KERNEL: []
MACHINE: [arty-lm32]
FSTYPE: [none]
ROOTFS: []
CONFFILE: [/storage/nathan/build/testing/tmp-newlib/deploy/images/arty-lm32/litex-fupy-image-arty-lm32-20181031154922.qemuboot.conf]
@nathanrossi
nathanrossi / gist:67537236a43a784a3ab12be41bce75b6
Created October 25, 2018 19:18
OE built or1k - kernel boot log + python
Compiled-in FDT at (ptrval)
Linux version 4.18.14 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 Thu Oct 25 19:09:06 UTC 2018
CPU: OpenRISC-0 (revision 0) @20 MHz
-- dcache disabled
-- icache disabled
-- dmmu: 128 entries, 1 way(s)
-- immu: 128 entries, 1 way(s)
-- additional features:
-- power management
-- PIC
@nathanrossi
nathanrossi / ld.script
Created September 15, 2018 10:22
lm32-test-uart-compiler
OUTPUT_FORMAT("elf32-lm32")
ENTRY(_stext)
/*INCLUDE configs/misoc/include/generated/regions.ld*/
MEMORY
{
/*rom : ORIGIN = 0x04000000, LENGTH = 0x00008000*/
/*sram : ORIGIN = 0x10000000, LENGTH = 0x00004000*/
main_ram : ORIGIN = 0x08000000, LENGTH = 0x04000000
}
@nathanrossi
nathanrossi / gist:2847ec57457d2c576dec43bc3183272b
Created September 2, 2018 11:33
ice40-lp8k-broken-pll-lock
// pcf
set_io pin_cs F7
set_io pin_sck G7
set_io pin_mosi G6
set_io pin_miso H7
set_io -nowarn pin_usbp A3
set_io -nowarn pin_usbn A4
set_io pin_clk C4
set_io test_led J1
diff --git a/tools/imagetool.c b/tools/imagetool.c
index 855a096d0a..b39a1e3ce6 100644
--- a/tools/imagetool.c
+++ b/tools/imagetool.c
@@ -51,14 +51,15 @@ int imagetool_verify_print_header(
* successful
*/
if ((*curr)->print_header) {
- if (!params->quiet)
+ if (!params->quiet) {
@nathanrossi
nathanrossi / glibc-2.26-microblazeel-testsuite
Created August 17, 2017 08:52
GLibc 2.26 (1c9a5c270d8b66f30dcfaf1cb2d6cf39d3e18369) MicroBlaze test suite results
Build system: GCC 7.1.0, binutils 2.28-20170627, Linux 4.12 (LE soft-float) (Nathan Rossi <nathan@nathanrossi.com>)
FAIL: debug/tst-backtrace2
FAIL: debug/tst-backtrace3
FAIL: debug/tst-backtrace4
FAIL: debug/tst-backtrace5
FAIL: debug/tst-backtrace6
FAIL: debug/tst-chk2
FAIL: debug/tst-chk3
FAIL: debug/tst-chk5
@nathanrossi
nathanrossi / collect.sh
Created January 30, 2017 08:17
2017-01-30 - meta-mingw QEMU testing scripts
#!/bin/bash
LOCALSRC="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
BUILDDIR=$(readlink -f $(pwd))
TMPDIR=$(readlink -f $BUILDDIR/tmp-glibc)
OUTDIR=$(readlink -f $(pwd)/windows-testing)
ROOT=$(readlink -f $(pwd)/srv)
if [ ! -d $ROOT ]; then
mkdir -p $ROOT