diff --git a/resources/coreboot/d510mo/config/libgfxinit_txtmode b/resources/coreboot/d510mo/config/txtmode similarity index 100% rename from resources/coreboot/d510mo/config/libgfxinit_txtmode rename to resources/coreboot/d510mo/config/txtmode diff --git a/resources/coreboot/d510mo_16mb/config/libgfxinit_txtmode b/resources/coreboot/d510mo_16mb/config/txtmode similarity index 100% rename from resources/coreboot/d510mo_16mb/config/libgfxinit_txtmode rename to resources/coreboot/d510mo_16mb/config/txtmode diff --git a/resources/coreboot/d945gclf/config/libgfxinit_txtmode b/resources/coreboot/d945gclf/config/txtmode similarity index 100% rename from resources/coreboot/d945gclf/config/libgfxinit_txtmode rename to resources/coreboot/d945gclf/config/txtmode diff --git a/resources/coreboot/d945gclf_16mb/config/libgfxinit_txtmode b/resources/coreboot/d945gclf_16mb/config/txtmode similarity index 100% rename from resources/coreboot/d945gclf_16mb/config/libgfxinit_txtmode rename to resources/coreboot/d945gclf_16mb/config/txtmode diff --git a/resources/coreboot/g43t-am3/config/libgfxinit_txtmode b/resources/coreboot/g43t-am3/config/txtmode similarity index 100% rename from resources/coreboot/g43t-am3/config/libgfxinit_txtmode rename to resources/coreboot/g43t-am3/config/txtmode diff --git a/resources/coreboot/g43t-am3_16mb/config/libgfxinit_txtmode b/resources/coreboot/g43t-am3_16mb/config/txtmode similarity index 100% rename from resources/coreboot/g43t-am3_16mb/config/libgfxinit_txtmode rename to resources/coreboot/g43t-am3_16mb/config/txtmode diff --git a/resources/coreboot/ga-g41m-es2l/config/libgfxinit_txtmode b/resources/coreboot/ga-g41m-es2l/config/txtmode similarity index 100% rename from resources/coreboot/ga-g41m-es2l/config/libgfxinit_txtmode rename to resources/coreboot/ga-g41m-es2l/config/txtmode diff --git a/resources/coreboot/kcma-d8-rdimm_16mb/config/libgfxinit_txtmode b/resources/coreboot/kcma-d8-rdimm_16mb/config/txtmode similarity index 100% rename from resources/coreboot/kcma-d8-rdimm_16mb/config/libgfxinit_txtmode rename to resources/coreboot/kcma-d8-rdimm_16mb/config/txtmode diff --git a/resources/coreboot/kcma-d8-rdimm_2mb/config/libgfxinit_txtmode b/resources/coreboot/kcma-d8-rdimm_2mb/config/txtmode similarity index 100% rename from resources/coreboot/kcma-d8-rdimm_2mb/config/libgfxinit_txtmode rename to resources/coreboot/kcma-d8-rdimm_2mb/config/txtmode diff --git a/resources/coreboot/kcma-d8-udimm_16mb/config/libgfxinit_txtmode b/resources/coreboot/kcma-d8-udimm_16mb/config/txtmode similarity index 100% rename from resources/coreboot/kcma-d8-udimm_16mb/config/libgfxinit_txtmode rename to resources/coreboot/kcma-d8-udimm_16mb/config/txtmode diff --git a/resources/coreboot/kcma-d8-udimm_2mb/config/libgfxinit_txtmode b/resources/coreboot/kcma-d8-udimm_2mb/config/txtmode similarity index 100% rename from resources/coreboot/kcma-d8-udimm_2mb/config/libgfxinit_txtmode rename to resources/coreboot/kcma-d8-udimm_2mb/config/txtmode diff --git a/resources/coreboot/kfsn4-dre_1mb/config/libgfxinit_txtmode b/resources/coreboot/kfsn4-dre_1mb/config/txtmode similarity index 100% rename from resources/coreboot/kfsn4-dre_1mb/config/libgfxinit_txtmode rename to resources/coreboot/kfsn4-dre_1mb/config/txtmode diff --git a/resources/coreboot/kfsn4-dre_2mb/config/libgfxinit_txtmode b/resources/coreboot/kfsn4-dre_2mb/config/txtmode similarity index 100% rename from resources/coreboot/kfsn4-dre_2mb/config/libgfxinit_txtmode rename to resources/coreboot/kfsn4-dre_2mb/config/txtmode diff --git a/resources/coreboot/kgpe-d16-rdimm_16mb/config/libgfxinit_txtmode b/resources/coreboot/kgpe-d16-rdimm_16mb/config/txtmode similarity index 100% rename from resources/coreboot/kgpe-d16-rdimm_16mb/config/libgfxinit_txtmode rename to resources/coreboot/kgpe-d16-rdimm_16mb/config/txtmode diff --git a/resources/coreboot/kgpe-d16-rdimm_2mb/config/libgfxinit_txtmode b/resources/coreboot/kgpe-d16-rdimm_2mb/config/txtmode similarity index 100% rename from resources/coreboot/kgpe-d16-rdimm_2mb/config/libgfxinit_txtmode rename to resources/coreboot/kgpe-d16-rdimm_2mb/config/txtmode diff --git a/resources/coreboot/kgpe-d16-udimm_16mb/config/libgfxinit_txtmode b/resources/coreboot/kgpe-d16-udimm_16mb/config/txtmode similarity index 100% rename from resources/coreboot/kgpe-d16-udimm_16mb/config/libgfxinit_txtmode rename to resources/coreboot/kgpe-d16-udimm_16mb/config/txtmode diff --git a/resources/coreboot/kgpe-d16-udimm_2mb/config/libgfxinit_txtmode b/resources/coreboot/kgpe-d16-udimm_2mb/config/txtmode similarity index 100% rename from resources/coreboot/kgpe-d16-udimm_2mb/config/libgfxinit_txtmode rename to resources/coreboot/kgpe-d16-udimm_2mb/config/txtmode diff --git a/resources/coreboot/macbook11/config/libgfxinit_corebootfb b/resources/coreboot/macbook11/config/corebootfb similarity index 100% rename from resources/coreboot/macbook11/config/libgfxinit_corebootfb rename to resources/coreboot/macbook11/config/corebootfb diff --git a/resources/coreboot/macbook11/config/libgfxinit_txtmode b/resources/coreboot/macbook11/config/txtmode similarity index 100% rename from resources/coreboot/macbook11/config/libgfxinit_txtmode rename to resources/coreboot/macbook11/config/txtmode diff --git a/resources/coreboot/macbook11_16mb/config/libgfxinit_corebootfb b/resources/coreboot/macbook11_16mb/config/corebootfb similarity index 100% rename from resources/coreboot/macbook11_16mb/config/libgfxinit_corebootfb rename to resources/coreboot/macbook11_16mb/config/corebootfb diff --git a/resources/coreboot/macbook11_16mb/config/libgfxinit_txtmode b/resources/coreboot/macbook11_16mb/config/txtmode similarity index 100% rename from resources/coreboot/macbook11_16mb/config/libgfxinit_txtmode rename to resources/coreboot/macbook11_16mb/config/txtmode diff --git a/resources/coreboot/macbook21/config/libgfxinit_corebootfb b/resources/coreboot/macbook21/config/corebootfb similarity index 100% rename from resources/coreboot/macbook21/config/libgfxinit_corebootfb rename to resources/coreboot/macbook21/config/corebootfb diff --git a/resources/coreboot/macbook21/config/libgfxinit_txtmode b/resources/coreboot/macbook21/config/txtmode similarity index 100% rename from resources/coreboot/macbook21/config/libgfxinit_txtmode rename to resources/coreboot/macbook21/config/txtmode diff --git a/resources/coreboot/macbook21_16mb/config/libgfxinit_corebootfb b/resources/coreboot/macbook21_16mb/config/corebootfb similarity index 100% rename from resources/coreboot/macbook21_16mb/config/libgfxinit_corebootfb rename to resources/coreboot/macbook21_16mb/config/corebootfb diff --git a/resources/coreboot/macbook21_16mb/config/libgfxinit_txtmode b/resources/coreboot/macbook21_16mb/config/txtmode similarity index 100% rename from resources/coreboot/macbook21_16mb/config/libgfxinit_txtmode rename to resources/coreboot/macbook21_16mb/config/txtmode diff --git a/resources/coreboot/qemu-pc_2mb/config/libgfxinit_corebootfb b/resources/coreboot/qemu-pc_2mb/config/corebootfb similarity index 100% rename from resources/coreboot/qemu-pc_2mb/config/libgfxinit_corebootfb rename to resources/coreboot/qemu-pc_2mb/config/corebootfb diff --git a/resources/coreboot/qemu-pc_2mb/config/libgfxinit_txtmode b/resources/coreboot/qemu-pc_2mb/config/txtmode similarity index 100% rename from resources/coreboot/qemu-pc_2mb/config/libgfxinit_txtmode rename to resources/coreboot/qemu-pc_2mb/config/txtmode diff --git a/resources/coreboot/r400_16mb/config/libgfxinit_corebootfb b/resources/coreboot/r400_16mb/config/corebootfb similarity index 100% rename from resources/coreboot/r400_16mb/config/libgfxinit_corebootfb rename to resources/coreboot/r400_16mb/config/corebootfb diff --git a/resources/coreboot/r400_16mb/config/libgfxinit_txtmode b/resources/coreboot/r400_16mb/config/txtmode similarity index 100% rename from resources/coreboot/r400_16mb/config/libgfxinit_txtmode rename to resources/coreboot/r400_16mb/config/txtmode diff --git a/resources/coreboot/r400_4mb/config/libgfxinit_corebootfb b/resources/coreboot/r400_4mb/config/corebootfb similarity index 100% rename from resources/coreboot/r400_4mb/config/libgfxinit_corebootfb rename to resources/coreboot/r400_4mb/config/corebootfb diff --git a/resources/coreboot/r400_4mb/config/libgfxinit_txtmode b/resources/coreboot/r400_4mb/config/txtmode similarity index 100% rename from resources/coreboot/r400_4mb/config/libgfxinit_txtmode rename to resources/coreboot/r400_4mb/config/txtmode diff --git a/resources/coreboot/r400_8mb/config/libgfxinit_corebootfb b/resources/coreboot/r400_8mb/config/corebootfb similarity index 100% rename from resources/coreboot/r400_8mb/config/libgfxinit_corebootfb rename to resources/coreboot/r400_8mb/config/corebootfb diff --git a/resources/coreboot/r400_8mb/config/libgfxinit_txtmode b/resources/coreboot/r400_8mb/config/txtmode similarity index 100% rename from resources/coreboot/r400_8mb/config/libgfxinit_txtmode rename to resources/coreboot/r400_8mb/config/txtmode diff --git a/resources/coreboot/r500_4mb/config/libgfxinit_corebootfb b/resources/coreboot/r500_4mb/config/corebootfb similarity index 100% rename from resources/coreboot/r500_4mb/config/libgfxinit_corebootfb rename to resources/coreboot/r500_4mb/config/corebootfb diff --git a/resources/coreboot/r500_4mb/config/libgfxinit_txtmode b/resources/coreboot/r500_4mb/config/txtmode similarity index 100% rename from resources/coreboot/r500_4mb/config/libgfxinit_txtmode rename to resources/coreboot/r500_4mb/config/txtmode diff --git a/resources/coreboot/t400_16mb/config/libgfxinit_corebootfb b/resources/coreboot/t400_16mb/config/corebootfb similarity index 100% rename from resources/coreboot/t400_16mb/config/libgfxinit_corebootfb rename to resources/coreboot/t400_16mb/config/corebootfb diff --git a/resources/coreboot/t400_16mb/config/libgfxinit_txtmode b/resources/coreboot/t400_16mb/config/txtmode similarity index 100% rename from resources/coreboot/t400_16mb/config/libgfxinit_txtmode rename to resources/coreboot/t400_16mb/config/txtmode diff --git a/resources/coreboot/t400_4mb/config/libgfxinit_corebootfb b/resources/coreboot/t400_4mb/config/corebootfb similarity index 100% rename from resources/coreboot/t400_4mb/config/libgfxinit_corebootfb rename to resources/coreboot/t400_4mb/config/corebootfb diff --git a/resources/coreboot/t400_4mb/config/libgfxinit_txtmode b/resources/coreboot/t400_4mb/config/txtmode similarity index 100% rename from resources/coreboot/t400_4mb/config/libgfxinit_txtmode rename to resources/coreboot/t400_4mb/config/txtmode diff --git a/resources/coreboot/t400_8mb/config/libgfxinit_corebootfb b/resources/coreboot/t400_8mb/config/corebootfb similarity index 100% rename from resources/coreboot/t400_8mb/config/libgfxinit_corebootfb rename to resources/coreboot/t400_8mb/config/corebootfb diff --git a/resources/coreboot/t400_8mb/config/libgfxinit_txtmode b/resources/coreboot/t400_8mb/config/txtmode similarity index 100% rename from resources/coreboot/t400_8mb/config/libgfxinit_txtmode rename to resources/coreboot/t400_8mb/config/txtmode diff --git a/resources/coreboot/t500_16mb/config/libgfxinit_corebootfb b/resources/coreboot/t500_16mb/config/corebootfb similarity index 100% rename from resources/coreboot/t500_16mb/config/libgfxinit_corebootfb rename to resources/coreboot/t500_16mb/config/corebootfb diff --git a/resources/coreboot/t500_16mb/config/libgfxinit_txtmode b/resources/coreboot/t500_16mb/config/txtmode similarity index 100% rename from resources/coreboot/t500_16mb/config/libgfxinit_txtmode rename to resources/coreboot/t500_16mb/config/txtmode diff --git a/resources/coreboot/t500_4mb/config/libgfxinit_corebootfb b/resources/coreboot/t500_4mb/config/corebootfb similarity index 100% rename from resources/coreboot/t500_4mb/config/libgfxinit_corebootfb rename to resources/coreboot/t500_4mb/config/corebootfb diff --git a/resources/coreboot/t500_4mb/config/libgfxinit_txtmode b/resources/coreboot/t500_4mb/config/txtmode similarity index 100% rename from resources/coreboot/t500_4mb/config/libgfxinit_txtmode rename to resources/coreboot/t500_4mb/config/txtmode diff --git a/resources/coreboot/t500_8mb/config/libgfxinit_corebootfb b/resources/coreboot/t500_8mb/config/corebootfb similarity index 100% rename from resources/coreboot/t500_8mb/config/libgfxinit_corebootfb rename to resources/coreboot/t500_8mb/config/corebootfb diff --git a/resources/coreboot/t500_8mb/config/libgfxinit_txtmode b/resources/coreboot/t500_8mb/config/txtmode similarity index 100% rename from resources/coreboot/t500_8mb/config/libgfxinit_txtmode rename to resources/coreboot/t500_8mb/config/txtmode diff --git a/resources/coreboot/t60_16mb_intelgpu/config/libgfxinit_corebootfb b/resources/coreboot/t60_16mb_intelgpu/config/corebootfb similarity index 100% rename from resources/coreboot/t60_16mb_intelgpu/config/libgfxinit_corebootfb rename to resources/coreboot/t60_16mb_intelgpu/config/corebootfb diff --git a/resources/coreboot/t60_16mb_intelgpu/config/libgfxinit_txtmode b/resources/coreboot/t60_16mb_intelgpu/config/txtmode similarity index 100% rename from resources/coreboot/t60_16mb_intelgpu/config/libgfxinit_txtmode rename to resources/coreboot/t60_16mb_intelgpu/config/txtmode diff --git a/resources/coreboot/t60_intelgpu/config/libgfxinit_corebootfb b/resources/coreboot/t60_intelgpu/config/corebootfb similarity index 100% rename from resources/coreboot/t60_intelgpu/config/libgfxinit_corebootfb rename to resources/coreboot/t60_intelgpu/config/corebootfb diff --git a/resources/coreboot/t60_intelgpu/config/libgfxinit_txtmode b/resources/coreboot/t60_intelgpu/config/txtmode similarity index 100% rename from resources/coreboot/t60_intelgpu/config/libgfxinit_txtmode rename to resources/coreboot/t60_intelgpu/config/txtmode diff --git a/resources/coreboot/w500_16mb/config/libgfxinit_corebootfb b/resources/coreboot/w500_16mb/config/corebootfb similarity index 100% rename from resources/coreboot/w500_16mb/config/libgfxinit_corebootfb rename to resources/coreboot/w500_16mb/config/corebootfb diff --git a/resources/coreboot/w500_16mb/config/libgfxinit_txtmode b/resources/coreboot/w500_16mb/config/txtmode similarity index 100% rename from resources/coreboot/w500_16mb/config/libgfxinit_txtmode rename to resources/coreboot/w500_16mb/config/txtmode diff --git a/resources/coreboot/w500_4mb/config/libgfxinit_corebootfb b/resources/coreboot/w500_4mb/config/corebootfb similarity index 100% rename from resources/coreboot/w500_4mb/config/libgfxinit_corebootfb rename to resources/coreboot/w500_4mb/config/corebootfb diff --git a/resources/coreboot/w500_4mb/config/libgfxinit_txtmode b/resources/coreboot/w500_4mb/config/txtmode similarity index 100% rename from resources/coreboot/w500_4mb/config/libgfxinit_txtmode rename to resources/coreboot/w500_4mb/config/txtmode diff --git a/resources/coreboot/w500_8mb/config/libgfxinit_corebootfb b/resources/coreboot/w500_8mb/config/corebootfb similarity index 100% rename from resources/coreboot/w500_8mb/config/libgfxinit_corebootfb rename to resources/coreboot/w500_8mb/config/corebootfb diff --git a/resources/coreboot/w500_8mb/config/libgfxinit_txtmode b/resources/coreboot/w500_8mb/config/txtmode similarity index 100% rename from resources/coreboot/w500_8mb/config/libgfxinit_txtmode rename to resources/coreboot/w500_8mb/config/txtmode diff --git a/resources/coreboot/x200_16mb/config/libgfxinit_corebootfb b/resources/coreboot/x200_16mb/config/corebootfb similarity index 100% rename from resources/coreboot/x200_16mb/config/libgfxinit_corebootfb rename to resources/coreboot/x200_16mb/config/corebootfb diff --git a/resources/coreboot/x200_16mb/config/libgfxinit_txtmode b/resources/coreboot/x200_16mb/config/txtmode similarity index 100% rename from resources/coreboot/x200_16mb/config/libgfxinit_txtmode rename to resources/coreboot/x200_16mb/config/txtmode diff --git a/resources/coreboot/x200_4mb/config/libgfxinit_corebootfb b/resources/coreboot/x200_4mb/config/corebootfb similarity index 100% rename from resources/coreboot/x200_4mb/config/libgfxinit_corebootfb rename to resources/coreboot/x200_4mb/config/corebootfb diff --git a/resources/coreboot/x200_4mb/config/libgfxinit_txtmode b/resources/coreboot/x200_4mb/config/txtmode similarity index 100% rename from resources/coreboot/x200_4mb/config/libgfxinit_txtmode rename to resources/coreboot/x200_4mb/config/txtmode diff --git a/resources/coreboot/x200_8mb/config/libgfxinit_corebootfb b/resources/coreboot/x200_8mb/config/corebootfb similarity index 100% rename from resources/coreboot/x200_8mb/config/libgfxinit_corebootfb rename to resources/coreboot/x200_8mb/config/corebootfb diff --git a/resources/coreboot/x200_8mb/config/libgfxinit_txtmode b/resources/coreboot/x200_8mb/config/txtmode similarity index 100% rename from resources/coreboot/x200_8mb/config/libgfxinit_txtmode rename to resources/coreboot/x200_8mb/config/txtmode diff --git a/resources/coreboot/x301_16mb/config/libgfxinit_corebootfb b/resources/coreboot/x301_16mb/config/corebootfb similarity index 100% rename from resources/coreboot/x301_16mb/config/libgfxinit_corebootfb rename to resources/coreboot/x301_16mb/config/corebootfb diff --git a/resources/coreboot/x301_16mb/config/libgfxinit_txtmode b/resources/coreboot/x301_16mb/config/txtmode similarity index 100% rename from resources/coreboot/x301_16mb/config/libgfxinit_txtmode rename to resources/coreboot/x301_16mb/config/txtmode diff --git a/resources/coreboot/x301_4mb/config/libgfxinit_corebootfb b/resources/coreboot/x301_4mb/config/corebootfb similarity index 100% rename from resources/coreboot/x301_4mb/config/libgfxinit_corebootfb rename to resources/coreboot/x301_4mb/config/corebootfb diff --git a/resources/coreboot/x301_4mb/config/libgfxinit_txtmode b/resources/coreboot/x301_4mb/config/txtmode similarity index 100% rename from resources/coreboot/x301_4mb/config/libgfxinit_txtmode rename to resources/coreboot/x301_4mb/config/txtmode diff --git a/resources/coreboot/x301_8mb/config/libgfxinit_corebootfb b/resources/coreboot/x301_8mb/config/corebootfb similarity index 100% rename from resources/coreboot/x301_8mb/config/libgfxinit_corebootfb rename to resources/coreboot/x301_8mb/config/corebootfb diff --git a/resources/coreboot/x301_8mb/config/libgfxinit_txtmode b/resources/coreboot/x301_8mb/config/txtmode similarity index 100% rename from resources/coreboot/x301_8mb/config/libgfxinit_txtmode rename to resources/coreboot/x301_8mb/config/txtmode diff --git a/resources/coreboot/x60/config/libgfxinit_corebootfb b/resources/coreboot/x60/config/corebootfb similarity index 100% rename from resources/coreboot/x60/config/libgfxinit_corebootfb rename to resources/coreboot/x60/config/corebootfb diff --git a/resources/coreboot/x60/config/libgfxinit_txtmode b/resources/coreboot/x60/config/txtmode similarity index 100% rename from resources/coreboot/x60/config/libgfxinit_txtmode rename to resources/coreboot/x60/config/txtmode diff --git a/resources/coreboot/x60_16mb/config/libgfxinit_corebootfb b/resources/coreboot/x60_16mb/config/corebootfb similarity index 100% rename from resources/coreboot/x60_16mb/config/libgfxinit_corebootfb rename to resources/coreboot/x60_16mb/config/corebootfb diff --git a/resources/coreboot/x60_16mb/config/libgfxinit_txtmode b/resources/coreboot/x60_16mb/config/txtmode similarity index 100% rename from resources/coreboot/x60_16mb/config/libgfxinit_txtmode rename to resources/coreboot/x60_16mb/config/txtmode diff --git a/resources/packages/release/test b/resources/packages/release/test index f3b7faa..f9cd6d9 100755 --- a/resources/packages/release/test +++ b/resources/packages/release/test @@ -67,8 +67,8 @@ test_qemu_rom_archive() archive_files="" for kb in ${keyboard_layouts} ; do - cbfb="libgfxinit_corebootfb" - txtmode="libgfxinit_txtmode" + cbfb="corebootfb" + txtmode="txtmode" archive_files="${archive_files} \ ${target}/grub_${target}_${cbfb}_${kb}.rom \ diff --git a/resources/packages/roms/test b/resources/packages/roms/test index 4701780..01665fa 100755 --- a/resources/packages/roms/test +++ b/resources/packages/roms/test @@ -82,7 +82,7 @@ test_grub_cfg_with_lvm() fi run_qemu_x86_64 \ - bin/qemu-pc_2mb/grub_qemu-pc_2mb_libgfxinit_corebootfb_usqwerty.rom \ + bin/qemu-pc_2mb/grub_qemu-pc_2mb_corebootfb_usqwerty.rom \ "${rootfs_path}" \ "x86_64-linux" ; ret=$? diff --git a/resources/packages/roms_helper/boot b/resources/packages/roms_helper/boot index b95f390..07121d8 100755 --- a/resources/packages/roms_helper/boot +++ b/resources/packages/roms_helper/boot @@ -257,7 +257,7 @@ moverom() { # expected: configs must not specify a payload mkCoreboot() { cbdir="${1}" # e.g. coreboot/default - cbcfgpath="${2}" # e.g. resources/coreboot/x200_8mb/config/libgfxinit_txtmode + cbcfgpath="${2}" # e.g. resources/coreboot/x200_8mb/config/txtmode if [ ! -f "${cbcfgpath}" ]; then printf "\nmkCoreboot: Coreboot config '%s' does not exist. Skipping build.\n" \ "${cbcfgpath}" @@ -281,17 +281,11 @@ make_seabios_rom() { # a tmpfile will be made instead target_seabios_cbfs_path="${2}" # e.g. fallback/payload target_opromloadonly="${3}" # 0 or 1. if 1, only load but don't execute oproms - target_initmode="${4}" # e.g. libgfxinit - cbfstool_path="${5}" + cbfstool_path="${4}" - if [ "${target_initmode}" = "normal" ]; then - target_seabioself="payload/seabios/seabios_vgarom.elf" - # if normal, etc/pci-optionrom-exec will be set to 2 - else - target_seabioself="payload/seabios/seabios_${target_initmode}.elf" - # if libgfxinit, etc/pci-optionrom-exec will be set to 2 - # if vgarom, etc/pci-optionrom-exec will be set to 0 - fi + # etc/pci-optionrom-exec will be set to 2 + # etc/pci-optionrom-exec will be set to 0 + target_seabioself="payload/seabios/seabios.elf" target_seavgabios_rom="payload/seabios/seavgabios.bin" tmprom=$(mktemp -t coreboot_rom.XXXXXXXXXX) @@ -299,17 +293,13 @@ make_seabios_rom() { cp "${target_cbrom}" "${tmprom}" "${cbfstool}" "${tmprom}" add-payload -f "${target_seabioself}" -n ${target_seabios_cbfs_path} -c lzma "${cbfstool}" "${tmprom}" add-int -i 3000 -n etc/ps2-keyboard-spinup - if [ "${target_initmode}" = "normal" ] || [ "${target_initmode}" = "libgfxinit" ]; then - "${cbfstool}" "${tmprom}" add-int -i 2 -n etc/pci-optionrom-exec - elif [ "${target_initmode}" = "vgarom" ]; then - "${cbfstool}" "${tmprom}" add-int -i 0 -n etc/pci-optionrom-exec - fi # for undefined modes, don't add this integer. rely on SeaBIOS defaults + + "${cbfstool}" "${tmprom}" add-int -i 2 -n etc/pci-optionrom-exec + "${cbfstool}" "${tmprom}" add-int -i 0 -n etc/optionroms-checksum "${cbfstool}" "${tmprom}" add-int -i ${target_opromloadonly} -n etc/only-load-option-roms - if [ "${target_initmode}" = "libgfxinit" ]; then - "${cbfstool_path}" "${tmprom}" add -f "${target_seavgabios_rom}" -n vgaroms/seavgabios.bin -t raw - fi + "${cbfstool_path}" "${tmprom}" add -f "${target_seavgabios_rom}" -n vgaroms/seavgabios.bin -t raw printf "%s\n" "${tmprom}" } @@ -360,14 +350,13 @@ make_grubrom_from_keymap() { # Make separate ROM images with GRUB payload, for each supported keymap mkRomsWithGrub() { tmprompath="${1}" - initmode="${2}" - displaymode="${3}" - firstpayloadname="${4}" # allow values: grub, seabios, seabios_withgrub + displaymode="${2}" + firstpayloadname="${3}" # allow values: grub, seabios, seabios_withgrub if [ "${payload_grub_withseabios}" = "y" ] && [ "${firstpayloadname}" = "grub" ]; then - mv "$(make_seabios_rom "${tmprompath}" "seabios.elf" "${seabios_opromloadonly}" "${initmode}" "${cbfstool}")" "${tmprompath}" + mv "$(make_seabios_rom "${tmprompath}" "seabios.elf" "${seabios_opromloadonly}" "${cbfstool}")" "${tmprompath}" elif [ "${payload_seabios_withgrub}" ] && [ "${firstpayloadname}" != "grub" ]; then - mv "$(make_seabios_rom "${tmprompath}" "fallback/payload" "${seabios_opromloadonly}" "${initmode}" "${cbfstool}")" "${tmprompath}" + mv "$(make_seabios_rom "${tmprompath}" "fallback/payload" "${seabios_opromloadonly}" "${cbfstool}")" "${tmprompath}" fi for keymapfile in resources/grub/keymap/*; do @@ -397,11 +386,7 @@ mkRomsWithGrub() { firstpayloadname="seabios" fi - if [ "${initmode}" = "normal" ] ; then - newrompath="${romdir}/${firstpayloadname}_${board}_${initmode}_${keymap}.rom" - else - newrompath="${romdir}/${firstpayloadname}_${board}_${initmode}_${displaymode}_${keymap}.rom" - fi + newrompath="${romdir}/${firstpayloadname}_${board}_${displaymode}_${keymap}.rom" moverom "${tmpgrubrom}" "${newrompath}" "${romtype}" rm -f "${tmpgrubrom}" done @@ -411,11 +396,10 @@ mkRomsWithGrub() { mkRoms() { cbcfgpath="${1}" displaymode="${2}" - initmode="${3}" if [ ! -f "${cbcfgpath}" ]; then printf "'%s' does not exist. Skipping build for %s %s %s\n" \ - "${cbcfgpath}" "${board}" "${displaymode}" "${initmode}" + "${cbcfgpath}" "${board}" "${displaymode}" return 0 fi @@ -427,45 +411,29 @@ mkRoms() { if [ "${payload_seabios}" = "y" ]; then if [ "${payload_seabios_withgrub}" = "n" ]; then - tmpseabiosrom="$(make_seabios_rom "${corebootrom}" "fallback/payload" "${seabios_opromloadonly}" "${initmode}" "${cbfstool}")" - if [ "${initmode}" = "normal" ]; then - newrompath="${romdir}/seabios_${board}_${initmode}.rom" - else - newrompath="${romdir}/seabios_${board}_${initmode}_${displaymode}.rom" - fi + tmpseabiosrom="$(make_seabios_rom "${corebootrom}" "fallback/payload" "${seabios_opromloadonly}" "${cbfstool}")" + newrompath="${romdir}/seabios_${board}_${displaymode}.rom" moverom "${tmpseabiosrom}" "${newrompath}" "${romtype}" rm -f "${tmpseabiosrom}" else tmprom=$(mktemp -t coreboot_rom.XXXXXXXXXX) cp "${corebootrom}" "${tmprom}" - mkRomsWithGrub "${tmprom}" "${initmode}" "${displaymode}" "seabios_withgrub" + mkRomsWithGrub "${tmprom}" "${displaymode}" "seabios_withgrub" rm -f "${tmprom}" fi fi if [ "${payload_grub}" = "y" ]; then - mkRomsWithGrub "${corebootrom}" "${initmode}" "${displaymode}" "grub" + mkRomsWithGrub "${corebootrom}" "${displaymode}" "grub" fi } -initmode="libgfxinit" for displaymode in corebootfb txtmode; do - cbcfgpath="resources/coreboot/${board}/config/${initmode}_${displaymode}" - mkRoms "${cbcfgpath}" "${displaymode}" "${initmode}" + cbcfgpath="resources/coreboot/${board}/config/${displaymode}" + mkRoms "${cbcfgpath}" "${displaymode}" done -initmode="vgarom" -for displaymode in vesafb txtmode; do - cbcfgpath="resources/coreboot/${board}/config/${initmode}_${displaymode}" - mkRoms "${cbcfgpath}" "${displaymode}" "${initmode}" -done - -initmode="normal" -displaymode="txtmode" -cbcfgpath="resources/coreboot/${board}/config/${initmode}" -mkRoms "${cbcfgpath}" "${displaymode}" "${initmode}" - ( cd "${cbdir}" make distclean diff --git a/website/pages/tasks/index.md b/website/pages/tasks/index.md index 353de10..2031b6f 100644 --- a/website/pages/tasks/index.md +++ b/website/pages/tasks/index.md @@ -248,19 +248,6 @@ using bincfg. Intel provides some limited information about ICH10 descriptors in public datasheets. The rest can be guessed at like it was for ICH9M in libreboot. -Re-do desktop boards --------------------- - -Right now, the configs make no sense. VGA ROM setup (for external GPU) also -runs libgfxinit, and vice versa, on KCMA-D8 / KGPE-D16, and in many -configs, both coreboot and seabios run pci roms. There needs to be consistency -here. - -I think there should be separation: - -* libgfxinit. coreboot doesn't load pci roms. seabios loads them -* vgarom-only setup, where coreboot runs pci roms. seabios doesn't load them - Add the following boards ------------------------