Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/36954 )
Change subject: util/release: Try reusing the local checkout for cloning
......................................................................
util/release: Try reusing the local checkout for cloning
git clone allows using a local repo as reference which reduces the
required network traffic.
Change-Id: I64722cd5dbdfc0c2bcd935715cffdb99b773711c
Signed-off-by: Patrick Georgi <pgeorgi(a)…
[View More]google.com>
---
M util/release/build-release
1 file changed, 7 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/36954/1
diff --git a/util/release/build-release b/util/release/build-release
index fd3f63c..464388b 100755
--- a/util/release/build-release
+++ b/util/release/build-release
@@ -39,10 +39,15 @@
fi
if [ ! -d "coreboot-${VERSION_NAME}" ]; then
+ if [ -d .git ]; then
+ GIT_REF_OPTS="--reference . --dissociate"
+ elif [ -d ../../.git ]; then
+ GIT_REF_OPTS="--reference ../.. --dissociate"
+ fi
if [ -n "${USERNAME}" ]; then
- git clone "ssh://${USERNAME}@review.coreboot.org:29418/coreboot.git" "coreboot-${VERSION_NAME}"
+ git clone ${GIT_REF_OPTS} "ssh://${USERNAME}@review.coreboot.org:29418/coreboot.git" "coreboot-${VERSION_NAME}"
else
- git clone https://review.coreboot.org/coreboot.git "coreboot-${VERSION_NAME}"
+ git clone ${GIT_REF_OPTS} https://review.coreboot.org/coreboot.git "coreboot-${VERSION_NAME}"
fi
fi
--
To view, visit https://review.coreboot.org/c/coreboot/+/36954
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I64722cd5dbdfc0c2bcd935715cffdb99b773711c
Gerrit-Change-Number: 36954
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-MessageType: newchange
[View Less]
Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/36953 )
Change subject: util/release: Make signing with GPG 2 easier
......................................................................
util/release: Make signing with GPG 2 easier
GPG 2 expects the GPG_TTY variable to be configured so
that it can properly ask for the passphrase. If it's
not already set, do so.
Change-Id: I7e145a492c9eceda40cc1a1e04452a78852042d1
Signed-off-by: Patrick Georgi …
[View More]<pgeorgi(a)google.com>
---
M util/release/build-release
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/36953/1
diff --git a/util/release/build-release b/util/release/build-release
index 224be5b..fd3f63c 100755
--- a/util/release/build-release
+++ b/util/release/build-release
@@ -10,6 +10,10 @@
set -e
+if [ -z "$GPG_TTY" ]; then
+ export GPG_TTY=$(tty)
+fi
+
# set local + tz to be reproducible
LC_ALL=C
LANG=C
--
To view, visit https://review.coreboot.org/c/coreboot/+/36953
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7e145a492c9eceda40cc1a1e04452a78852042d1
Gerrit-Change-Number: 36953
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-MessageType: newchange
[View Less]
Peter Lemenkov has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/29235 )
Change subject: src: Remove asterisks from variable name annotation
......................................................................
Abandoned
Not really a big deal.
--
To view, visit https://review.coreboot.org/c/coreboot/+/29235
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: …
[View More]I65da8efa9a67b2915fbc0276ce800104198abcee
Gerrit-Change-Number: 29235
Gerrit-PatchSet: 10
Gerrit-Owner: Peter Lemenkov <lemenkov(a)gmail.com>
Gerrit-Reviewer: Huang Jin <huang.jin(a)intel.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski(a)3mdeb.com>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Peter Lemenkov <lemenkov(a)gmail.com>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Piotr Król <piotr.krol(a)3mdeb.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: York Yang <yyang024(a)gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-MessageType: abandon
[View Less]
Stefan Reinauer has uploaded this change for review. ( https://review.coreboot.org/c/em100/+/37126 )
Change subject: makechips.sh: protect version number
......................................................................
makechips.sh: protect version number
Things go wrong if the version number has a space in it right now.
Change-Id: I584c60a6c6c957f775981a900b701455d0742502
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
M makechips.sh
1 file changed, 2 …
[View More]insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/em100 refs/changes/26/37126/1
diff --git a/makechips.sh b/makechips.sh
index aff2301..61d7357 100755
--- a/makechips.sh
+++ b/makechips.sh
@@ -53,8 +53,8 @@
echo " Creating configs..."
mkdir -p $WD/configs
cp -a $TEMP/Program\ Files/DediProg/EM100/config/EM100Pro/*.cfg $WD/configs
-echo "${VERSION}" > $WD/configs/VERSION
-VERSION=${VERSION} $WD/makechips $WD/configs/*.cfg > $WD/em100pro_chips.h
+echo -n "${VERSION}" > $WD/configs/VERSION
+VERSION="${VERSION}" $WD/makechips $WD/configs/*.cfg > $WD/em100pro_chips.h
echo " Extract firmware files..."
mkdir -p $WD/firmware
--
To view, visit https://review.coreboot.org/c/em100/+/37126
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: em100
Gerrit-Branch: master
Gerrit-Change-Id: I584c60a6c6c957f775981a900b701455d0742502
Gerrit-Change-Number: 37126
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-MessageType: newchange
[View Less]
Stefan Reinauer has uploaded this change for review. ( https://review.coreboot.org/c/em100/+/37122 )
Change subject: write_dfifo: Actually send data to FIFO
......................................................................
write_dfifo: Actually send data to FIFO
The function is not currently used, so this was never discovered.
Change-Id: If2210938fa31604bc81f5599dce8384ff9936b2a
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
M spi.c
1 file changed, 2 …
[View More]insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/em100 refs/changes/22/37122/1
diff --git a/spi.c b/spi.c
index 1a225a4..cc1d706 100644
--- a/spi.c
+++ b/spi.c
@@ -258,6 +258,8 @@
" be > 512\n");
return 0;
}
+ memcpy(data, blk, length);
+
memset(cmd, 0, 16);
cmd[0] = 0x52; /* write dFIFO */
cmd[1] = (length >> 8) & 0xff;
--
To view, visit https://review.coreboot.org/c/em100/+/37122
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: em100
Gerrit-Branch: master
Gerrit-Change-Id: If2210938fa31604bc81f5599dce8384ff9936b2a
Gerrit-Change-Number: 37122
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-MessageType: newchange
[View Less]
Stefan Reinauer has uploaded this change for review. ( https://review.coreboot.org/c/em100/+/37083 )
Change subject: Fix serial number printing and parsing
......................................................................
Fix serial number printing and parsing
Dediprog has switched the format of serial numbers on newer
EM100Pro and all EM100Pro-G2 from DPxxxxxx to EMxxxxxx. Switch
to that format, but still allow the format DPxxxxxx when a serial
number is entered.
Signed-off-by: …
[View More]Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Change-Id: Idf44d1a468a7c62b0c5d2d66c37f261eb3c1950c
---
M em100.c
1 file changed, 9 insertions(+), 5 deletions(-)
git pull ssh://review.coreboot.org:29418/em100 refs/changes/83/37083/1
diff --git a/em100.c b/em100.c
index 4950fa8..5949ec8 100644
--- a/em100.c
+++ b/em100.c
@@ -255,7 +255,7 @@
/* Re-read serial number */
get_device_info(em100);
if (em100->serialno != 0xffffffff)
- printf("New serial number: DP%06d\n", em100->serialno);
+ printf("New serial number: EM%06d\n", em100->serialno);
else
printf("New serial number: N.A.\n");
@@ -433,7 +433,7 @@
if (bus && device)
printf("Could not find EM100pro at %03d:%03d.\n", bus, device);
else if (serial_number)
- printf("Could not find EM100pro with serial number DP%06d.\n",
+ printf("Could not find EM100pro with serial number EM%06d.\n",
serial_number);
else
printf("Could not find EM100pro device.\n");
@@ -493,7 +493,7 @@
libusb_get_device_address(dev));
continue;
}
- printf(" Bus %03d Device %03d: EM100pro DP%06d\n",
+ printf(" Bus %03d Device %03d: EM100pro EM%06d\n",
libusb_get_bus_number(dev),
libusb_get_device_address(dev),
em100.serialno);
@@ -679,7 +679,7 @@
" -V|--set-voltage [1.8|3.3] switch FPGA voltage\n"
" -p|--holdpin [LOW|FLOAT|INPUT]: set the hold pin state\n"
" -x|--device BUS:DEV use EM100pro on USB bus/device\n"
- " -x|--device DPxxxxxx use EM100pro with serial no DPxxxxxx\n"
+ " -x|--device EMxxxxxx use EM100pro with serial no EMxxxxxx\n"
" -l|--list-devices list all connected EM100pro devices\n"
" -D|--debug: print debug information.\n"
" -h|--help: this help text\n\n",
@@ -830,7 +830,7 @@
printf("Hardware version: %u\n", em100.hwversion);
if (em100.serialno != 0xffffffff)
- printf("Serial number: DP%06d\n", em100.serialno);
+ printf("Serial number: EM%06d\n", em100.serialno);
else
printf("Serial number: N.A.\n");
printf("SPI flash database: %s\n", VERSION);
@@ -858,6 +858,10 @@
if ((serialno[0] == 'D' || serialno[0] == 'd') &&
(serialno[1] == 'P' || serialno[1] == 'p'))
offset = 2;
+ /* if the user specified a serial containing EM, skip that */
+ if ((serialno[0] == 'E' || serialno[0] == 'e') &&
+ (serialno[1] == 'M' || serialno[1] == 'm'))
+ offset = 2;
if (sscanf(serialno + offset, "%d", &serial_number) != 1)
printf("Error: Can't parse serial number '%s'\n",
--
To view, visit https://review.coreboot.org/c/em100/+/37083
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: em100
Gerrit-Branch: master
Gerrit-Change-Id: Idf44d1a468a7c62b0c5d2d66c37f261eb3c1950c
Gerrit-Change-Number: 37083
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Gerrit-MessageType: newchange
[View Less]