Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12275
-gerrit
commit 16ecdd443da16e759f0964b7c1ca8686a63072cf
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Fri Oct 30 23:25:23 2015 +0100
abuild: change remove_board interface
It's passed the mainboard's directory name (below $TARGET) directly
in preparation of more rework in that area.
Change-Id: I3a82b8673fdea07bc5c957f76f4685c34a805334
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
util/abuild/abuild | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/util/abuild/abuild b/util/abuild/abuild
index 942698b..40d4b41 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -324,17 +324,16 @@ function remove_target
return 0
fi
- VENDOR=$1
- MAINBOARD=$2
+ local MAINBOARD=$1
# Save the generated coreboot.rom file of each board.
- if [ -r "$TARGET/${VENDOR}_${MAINBOARD}/coreboot.rom" ]; then
- cp $TARGET/${VENDOR}_${MAINBOARD}/coreboot.rom \
- ${VENDOR}_${MAINBOARD}_coreboot.rom
+ if [ -r "$TARGET/${MAINBOARD}/coreboot.rom" ]; then
+ cp $TARGET/${MAINBOARD}/coreboot.rom \
+ ${MAINBOARD}_coreboot.rom
fi
- printf "Removing build dir for board $VENDOR $MAINBOARD...\n"
- rm -rf $TARGET/${VENDOR}_${MAINBOARD}
+ printf "Removing build dir for board $MAINBOARD...\n"
+ rm -rf $TARGET/${MAINBOARD}
return 0
}
@@ -536,7 +535,7 @@ build_all_targets()
for VENDOR in $( vendors ); do
for MAINBOARD in $( mainboards $VENDOR ); do
build_target $VENDOR $MAINBOARD
- remove_target $VENDOR $MAINBOARD
+ remove_target ${VENDOR}_${MAINBOARD}
done
done
}
@@ -610,7 +609,7 @@ if [ "$target" != "" ]; then
failed=1
else
build_target $VENDOR $MAINBOARD
- remove_target $VENDOR $MAINBOARD
+ remove_target ${VENDOR}_${MAINBOARD}
test "$mode" != "text" && \
test -f $TARGET/abuild/${VENDOR}_${MAINBOARD}.xml && \
cat $TARGET/abuild/${VENDOR}_${MAINBOARD}.xml >> $REAL_XMLFILE
Timothy Pearson (tpearson(a)raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11963
-gerrit
commit d3c4d8f1666ba15b137bc608f2d997fdbad76415
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Sat Sep 5 19:31:20 2015 -0500
cpu/x86/lapic: Add stack overrun detection
Change-Id: I03e43f38e0d2e51141208ebb169ad8deba77ab78
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
---
src/cpu/x86/lapic/lapic_cpu_init.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c
index 7fedd00..faa1f1f 100644
--- a/src/cpu/x86/lapic/lapic_cpu_init.c
+++ b/src/cpu/x86/lapic/lapic_cpu_init.c
@@ -5,6 +5,7 @@
* Copyright (C) 2001 Ronald G. Minnich
* Copyright (C) 2005 Yinghai Lu
* Copyright (C) 2008 coresystems GmbH
+ * Copyright (C) 2015 Timothy Pearson <tpearson(a)raptorengineeringinc.com>, Raptor Engineering
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -494,6 +495,7 @@ static void wait_other_cpus_stop(struct bus *cpu_bus)
}
}
printk(BIOS_DEBUG, "All AP CPUs stopped (%ld loops)\n", loopcount);
+ checkstack(_estack, 0);
for(i = 1; i <= last_cpu_index; i++)
checkstack((void *)stacks[i] + CONFIG_STACK_SIZE, i);
}