Index: host/cros_sign_bootstub |
diff --git a/host/cros_sign_bootstub b/host/cros_sign_bootstub |
index 878f45cc5ccb07862898b23c97443dc4b788e3f7..7abbc5d255c507be768c71c453080fceeadd5ad0 100755 |
--- a/host/cros_sign_bootstub |
+++ b/host/cros_sign_bootstub |
@@ -34,11 +34,6 @@ function construct_config() { |
local text_base="$4" |
# |
- # First we output the boot flash configuration file. |
- # |
- cat ${flash_file} |
- |
- # |
# The cbootimage config file format is not yet documented. Below is |
# a minimal config file that merges a BCT file and bootloader; in |
# this case our stub U-Boot image. We do not use the Version, but it |
@@ -54,11 +49,19 @@ function construct_config() { |
# entry point of the resulting image. For U-Boot these are the same |
# value (TEXT_BASE). |
# |
+ echo "Bctfile = ${bct_file};" |
+ echo "Version = 1;" |
+ echo "Redundancy = 1;" |
+ echo "" |
vb
2011/03/03 03:55:24
I am not sure I follow - is it right that essentia
robotboy
2011/03/03 17:53:33
Done.
|
+ |
+ # TODO(robotboy): This needs to be added back in to support selecting the |
vb
2011/03/03 03:55:24
Please open a tracker entry for this problem and i
robotboy
2011/03/03 17:53:33
Done.
|
+ # boot flash device. With this commented out we can only boot from the |
+ # boot device that the source BCT file was created for. This is commented |
+ # out because it causes the resulting image to not boot if it is added. |
+ # cat ${flash_file} |
+ |
echo "" |
- echo "Bctfile=${bct_file};" |
- echo "Version=1;" |
- echo "Redundancy=1;" |
- echo "BootLoader=${bootstub},${text_base},${text_base},Complete;" |
+ echo "BootLoader = ${bootstub},${text_base},${text_base},Complete;" |
} |
############################################################################### |