summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/coreboot/g43t_am3/target.cfg1
-rw-r--r--config/coreboot/g43t_am3_16mb/target.cfg1
-rw-r--r--config/coreboot/ga_g41m_es2l/target.cfg1
-rw-r--r--config/coreboot/hp2170p_16mb/target.cfg1
-rw-r--r--config/coreboot/hp2560p_8mb/target.cfg1
-rw-r--r--config/coreboot/hp2570p_16mb/target.cfg1
-rw-r--r--config/coreboot/hp8200sff_4mb/target.cfg1
-rw-r--r--config/coreboot/hp8200sff_8mb/target.cfg1
-rw-r--r--config/coreboot/hp8300cmt_16mb/target.cfg1
-rw-r--r--config/coreboot/hp8300usdt_16mb/target.cfg1
-rw-r--r--config/coreboot/hp8460pintel_8mb/target.cfg1
-rw-r--r--config/coreboot/hp8470pintel_16mb/target.cfg1
-rw-r--r--config/coreboot/hp8560w_8mb/target.cfg1
-rw-r--r--config/coreboot/hp9470m_16mb/target.cfg1
-rw-r--r--config/coreboot/kcma_d8_rdimm_16mb/target.cfg1
-rw-r--r--config/coreboot/kcma_d8_udimm_2mb/target.cfg1
-rw-r--r--config/coreboot/kfsn4_dre_1mb/target.cfg1
-rw-r--r--config/coreboot/kfsn4_dre_2mb/target.cfg1
-rw-r--r--config/coreboot/kgpe_d16_rdimm_16mb/target.cfg1
-rw-r--r--config/coreboot/kgpe_d16_rdimm_2mb/target.cfg1
-rw-r--r--config/coreboot/kgpe_d16_udimm_16mb/target.cfg1
-rw-r--r--config/coreboot/kgpe_d16_udimm_2mb/target.cfg1
-rw-r--r--config/grub/default/config/payload2
-rw-r--r--config/grub/nvme/config/payload2
-rw-r--r--config/grub/xhci/config/payload2
-rwxr-xr-xscript/roms10
26 files changed, 6 insertions, 32 deletions
diff --git a/config/coreboot/g43t_am3/target.cfg b/config/coreboot/g43t_am3/target.cfg
index f0e838fb..796ceabf 100644
--- a/config/coreboot/g43t_am3/target.cfg
+++ b/config/coreboot/g43t_am3/target.cfg
@@ -2,5 +2,4 @@ tree="default"
xarch="i386-elf"
payload_seabios="y"
payload_memtest="y"
-grub_timeout=10
grubtree="nvme"
diff --git a/config/coreboot/g43t_am3_16mb/target.cfg b/config/coreboot/g43t_am3_16mb/target.cfg
index 533d8b5a..46e8fc4f 100644
--- a/config/coreboot/g43t_am3_16mb/target.cfg
+++ b/config/coreboot/g43t_am3_16mb/target.cfg
@@ -2,6 +2,5 @@ tree="default"
xarch="i386-elf"
payload_seabios="y"
payload_memtest="y"
-grub_timeout=10
release="n"
grubtree="nvme"
diff --git a/config/coreboot/ga_g41m_es2l/target.cfg b/config/coreboot/ga_g41m_es2l/target.cfg
index f0e838fb..796ceabf 100644
--- a/config/coreboot/ga_g41m_es2l/target.cfg
+++ b/config/coreboot/ga_g41m_es2l/target.cfg
@@ -2,5 +2,4 @@ tree="default"
xarch="i386-elf"
payload_seabios="y"
payload_memtest="y"
-grub_timeout=10
grubtree="nvme"
diff --git a/config/coreboot/hp2170p_16mb/target.cfg b/config/coreboot/hp2170p_16mb/target.cfg
index 2e48c44d..341e655e 100644
--- a/config/coreboot/hp2170p_16mb/target.cfg
+++ b/config/coreboot/hp2170p_16mb/target.cfg
@@ -3,5 +3,4 @@ xarch="i386-elf"
payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
-grub_timeout=10
grub_scan_disk="ahci"
diff --git a/config/coreboot/hp2560p_8mb/target.cfg b/config/coreboot/hp2560p_8mb/target.cfg
index 2e48c44d..341e655e 100644
--- a/config/coreboot/hp2560p_8mb/target.cfg
+++ b/config/coreboot/hp2560p_8mb/target.cfg
@@ -3,5 +3,4 @@ xarch="i386-elf"
payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
-grub_timeout=10
grub_scan_disk="ahci"
diff --git a/config/coreboot/hp2570p_16mb/target.cfg b/config/coreboot/hp2570p_16mb/target.cfg
index 2e48c44d..341e655e 100644
--- a/config/coreboot/hp2570p_16mb/target.cfg
+++ b/config/coreboot/hp2570p_16mb/target.cfg
@@ -3,5 +3,4 @@ xarch="i386-elf"
payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
-grub_timeout=10
grub_scan_disk="ahci"
diff --git a/config/coreboot/hp8200sff_4mb/target.cfg b/config/coreboot/hp8200sff_4mb/target.cfg
index 82169ae7..a2b3d31f 100644
--- a/config/coreboot/hp8200sff_4mb/target.cfg
+++ b/config/coreboot/hp8200sff_4mb/target.cfg
@@ -3,6 +3,5 @@ xarch="i386-elf"
payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
-grub_timeout=10
grub_scan_disk="nvme ahci"
grubtree="nvme"
diff --git a/config/coreboot/hp8200sff_8mb/target.cfg b/config/coreboot/hp8200sff_8mb/target.cfg
index 82169ae7..a2b3d31f 100644
--- a/config/coreboot/hp8200sff_8mb/target.cfg
+++ b/config/coreboot/hp8200sff_8mb/target.cfg
@@ -3,6 +3,5 @@ xarch="i386-elf"
payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
-grub_timeout=10
grub_scan_disk="nvme ahci"
grubtree="nvme"
diff --git a/config/coreboot/hp8300cmt_16mb/target.cfg b/config/coreboot/hp8300cmt_16mb/target.cfg
index 82169ae7..a2b3d31f 100644
--- a/config/coreboot/hp8300cmt_16mb/target.cfg
+++ b/config/coreboot/hp8300cmt_16mb/target.cfg
@@ -3,6 +3,5 @@ xarch="i386-elf"
payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
-grub_timeout=10
grub_scan_disk="nvme ahci"
grubtree="nvme"
diff --git a/config/coreboot/hp8300usdt_16mb/target.cfg b/config/coreboot/hp8300usdt_16mb/target.cfg
index 2e48c44d..341e655e 100644
--- a/config/coreboot/hp8300usdt_16mb/target.cfg
+++ b/config/coreboot/hp8300usdt_16mb/target.cfg
@@ -3,5 +3,4 @@ xarch="i386-elf"
payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
-grub_timeout=10
grub_scan_disk="ahci"
diff --git a/config/coreboot/hp8460pintel_8mb/target.cfg b/config/coreboot/hp8460pintel_8mb/target.cfg
index 2e48c44d..341e655e 100644
--- a/config/coreboot/hp8460pintel_8mb/target.cfg
+++ b/config/coreboot/hp8460pintel_8mb/target.cfg
@@ -3,5 +3,4 @@ xarch="i386-elf"
payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
-grub_timeout=10
grub_scan_disk="ahci"
diff --git a/config/coreboot/hp8470pintel_16mb/target.cfg b/config/coreboot/hp8470pintel_16mb/target.cfg
index 2e48c44d..341e655e 100644
--- a/config/coreboot/hp8470pintel_16mb/target.cfg
+++ b/config/coreboot/hp8470pintel_16mb/target.cfg
@@ -3,5 +3,4 @@ xarch="i386-elf"
payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
-grub_timeout=10
grub_scan_disk="ahci"
diff --git a/config/coreboot/hp8560w_8mb/target.cfg b/config/coreboot/hp8560w_8mb/target.cfg
index 2e48c44d..341e655e 100644
--- a/config/coreboot/hp8560w_8mb/target.cfg
+++ b/config/coreboot/hp8560w_8mb/target.cfg
@@ -3,5 +3,4 @@ xarch="i386-elf"
payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
-grub_timeout=10
grub_scan_disk="ahci"
diff --git a/config/coreboot/hp9470m_16mb/target.cfg b/config/coreboot/hp9470m_16mb/target.cfg
index 2e48c44d..341e655e 100644
--- a/config/coreboot/hp9470m_16mb/target.cfg
+++ b/config/coreboot/hp9470m_16mb/target.cfg
@@ -3,5 +3,4 @@ xarch="i386-elf"
payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
-grub_timeout=10
grub_scan_disk="ahci"
diff --git a/config/coreboot/kcma_d8_rdimm_16mb/target.cfg b/config/coreboot/kcma_d8_rdimm_16mb/target.cfg
index 80d2018e..744b6e10 100644
--- a/config/coreboot/kcma_d8_rdimm_16mb/target.cfg
+++ b/config/coreboot/kcma_d8_rdimm_16mb/target.cfg
@@ -4,6 +4,5 @@ payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
xlang="c"
-grub_timeout=10
grub_scan_disk="nvme ahci"
grubtree="nvme"
diff --git a/config/coreboot/kcma_d8_udimm_2mb/target.cfg b/config/coreboot/kcma_d8_udimm_2mb/target.cfg
index d4079eb4..00e1d511 100644
--- a/config/coreboot/kcma_d8_udimm_2mb/target.cfg
+++ b/config/coreboot/kcma_d8_udimm_2mb/target.cfg
@@ -5,6 +5,5 @@ payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
xlang="c"
-grub_timeout=10
grub_scan_disk="nvme ahci"
grubtree="nvme"
diff --git a/config/coreboot/kfsn4_dre_1mb/target.cfg b/config/coreboot/kfsn4_dre_1mb/target.cfg
index 19c57b8d..79ca98c4 100644
--- a/config/coreboot/kfsn4_dre_1mb/target.cfg
+++ b/config/coreboot/kfsn4_dre_1mb/target.cfg
@@ -3,4 +3,3 @@ xarch="i386-elf"
payload_seabios="y"
payload_memtest="y"
xlang="c"
-grub_timeout=10
diff --git a/config/coreboot/kfsn4_dre_2mb/target.cfg b/config/coreboot/kfsn4_dre_2mb/target.cfg
index 9bd20d45..51b50a3b 100644
--- a/config/coreboot/kfsn4_dre_2mb/target.cfg
+++ b/config/coreboot/kfsn4_dre_2mb/target.cfg
@@ -4,4 +4,3 @@ payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
xlang="c"
-grub_timeout=10
diff --git a/config/coreboot/kgpe_d16_rdimm_16mb/target.cfg b/config/coreboot/kgpe_d16_rdimm_16mb/target.cfg
index 80d2018e..744b6e10 100644
--- a/config/coreboot/kgpe_d16_rdimm_16mb/target.cfg
+++ b/config/coreboot/kgpe_d16_rdimm_16mb/target.cfg
@@ -4,6 +4,5 @@ payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
xlang="c"
-grub_timeout=10
grub_scan_disk="nvme ahci"
grubtree="nvme"
diff --git a/config/coreboot/kgpe_d16_rdimm_2mb/target.cfg b/config/coreboot/kgpe_d16_rdimm_2mb/target.cfg
index 80d2018e..744b6e10 100644
--- a/config/coreboot/kgpe_d16_rdimm_2mb/target.cfg
+++ b/config/coreboot/kgpe_d16_rdimm_2mb/target.cfg
@@ -4,6 +4,5 @@ payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
xlang="c"
-grub_timeout=10
grub_scan_disk="nvme ahci"
grubtree="nvme"
diff --git a/config/coreboot/kgpe_d16_udimm_16mb/target.cfg b/config/coreboot/kgpe_d16_udimm_16mb/target.cfg
index d4079eb4..00e1d511 100644
--- a/config/coreboot/kgpe_d16_udimm_16mb/target.cfg
+++ b/config/coreboot/kgpe_d16_udimm_16mb/target.cfg
@@ -5,6 +5,5 @@ payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
xlang="c"
-grub_timeout=10
grub_scan_disk="nvme ahci"
grubtree="nvme"
diff --git a/config/coreboot/kgpe_d16_udimm_2mb/target.cfg b/config/coreboot/kgpe_d16_udimm_2mb/target.cfg
index d4079eb4..00e1d511 100644
--- a/config/coreboot/kgpe_d16_udimm_2mb/target.cfg
+++ b/config/coreboot/kgpe_d16_udimm_2mb/target.cfg
@@ -5,6 +5,5 @@ payload_seabios="y"
payload_seabios_withgrub="y"
payload_memtest="y"
xlang="c"
-grub_timeout=10
grub_scan_disk="nvme ahci"
grubtree="nvme"
diff --git a/config/grub/default/config/payload b/config/grub/default/config/payload
index 313290ed..cdd6c0f0 100644
--- a/config/grub/default/config/payload
+++ b/config/grub/default/config/payload
@@ -53,7 +53,7 @@ set default="0"
if [ -f (cbfsdisk)/timeout.cfg ]; then
source (cbfsdisk)/timeout.cfg
else
- set timeout=5
+ set timeout=8
fi
set grub_scan_disk="ahci ata"
if [ -f (cbfsdisk)/scan.cfg ]; then
diff --git a/config/grub/nvme/config/payload b/config/grub/nvme/config/payload
index d7a3c57d..2f9c7114 100644
--- a/config/grub/nvme/config/payload
+++ b/config/grub/nvme/config/payload
@@ -53,7 +53,7 @@ set default="0"
if [ -f (cbfsdisk)/timeout.cfg ]; then
source (cbfsdisk)/timeout.cfg
else
- set timeout=5
+ set timeout=8
fi
set grub_scan_disk="nvme ahci ata"
if [ -f (cbfsdisk)/scan.cfg ]; then
diff --git a/config/grub/xhci/config/payload b/config/grub/xhci/config/payload
index cd5b49b3..923e3551 100644
--- a/config/grub/xhci/config/payload
+++ b/config/grub/xhci/config/payload
@@ -54,7 +54,7 @@ set default="0"
if [ -f (cbfsdisk)/timeout.cfg ]; then
source (cbfsdisk)/timeout.cfg
else
- set timeout=5
+ set timeout=8
fi
set grub_scan_disk="nvme ahci ata"
if [ -f (cbfsdisk)/scan.cfg ]; then
diff --git a/script/roms b/script/roms
index 51ce4fd7..90521041 100755
--- a/script/roms
+++ b/script/roms
@@ -17,7 +17,6 @@ rp2040x="$rp2040src/build/pico_serprog.uf2"
picosdk="src/pico-sdk"
stm32src="src/stm32-vserprog"
stm32x="$stm32src/stm32-vserprog.hex"
-tmpcfg="$tmpdir/tmpcfg"
# Disable all payloads by default.
# target.cfg files have to specifically enable [a] payload(s)
@@ -217,12 +216,9 @@ build_grub_roms()
# we only need insert grub.elf once, for each coreboot config:
cbfs "$tmprom" "$grubelf" "$grub_cbfs"
- printf "set grub_scan_disk=\"%s\"\n" "$grub_scan_disk" > "$tmpcfg" || \
- $err "set grub_scan_disk, $grub_scan_disk, $tmpcfg"
- cbfs "$tmprom" "$tmpcfg" scan.cfg raw
-
- printf "set timeout=%s\n" "$grub_timeout" > "$tmpcfg" || $err "!time"
- [ -z "$grub_timeout" ] || cbfs "$tmprom" "$tmpcfg" timeout.cfg raw
+ printf "set grub_scan_disk=\"%s\"\n" "$grub_scan_disk" \
+ > "$tmpdir/tmpcfg" || $err "set grub_scan_disk, $grub_scan_disk"
+ cbfs "$tmprom" "$tmpdir/tmpcfg" scan.cfg raw
newrom="$romdir/${payload1}_${board}_${initmode}_$displaymode.rom"
[ "$initmode" = "normal" ] && newrom="$romdir/${payload1}_" \