GNUtoo

GNUtoo commented on issue libreboot/lbmk#82

investigate old John Lane GRUB patches (for LUKS) in libreboot 20160907. if logic not in GRUB upstream, rebase changes and re-merge

Some of them were upstreamed. We can now use a key file for instance.

1 year ago

GNUtoo commented on issue libreboot/lbmk#21

Some (probably librebootable) boards to add

For the computer using an AMD CPU, there is the issue of the graphic card.

1 year ago

GNUtoo created pull request libreboot/lbmk#121

u-boot-libre: remove nonfree firmware in drivers/dma/MCD_tasks.c and add support for u-boot 2022.07

1 year ago

GNUtoo pushed to u-boot-libre/master at GNUtoo/lbmk

  • bbfe28bebf u-boot-libre: Add support for releasing deblobbed u-boot 2021.07 source tarballs Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • f34e59cdcb u-boot-libre: remove nonfree firmware in drivers/dma/MCD_tasks.c This firmware lack corresponding source code. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • 48dfc4477a u-boot-libre: remove nonfree firmware in drivers/dma/MCD_tasks.c This firmware lack corresponding source code. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • View comparison for these 3 commits »

1 year ago

GNUtoo pushed to u-boot-libre/master at GNUtoo/lbmk

  • 48dfc4477a u-boot-libre: remove nonfree firmware in drivers/dma/MCD_tasks.c This firmware lack corresponding source code. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • fbbb5bc616 Libreboot 20220710
  • f8183e187b say the name libreboot, in grub menus
  • 0b3b7f93b7 added workaround for git credentials this is cherry-picked from osbmk. the cherry-pick was performed by i, leah rowe. this is adapted from shmalebx's patch there, in osboot specifically, these patches from osbmk are being imported: 327a39ef058d5385bf8c1a1b09bac8db6a51b016 5139ad4be4df1835ce154f39161eef4f7c31ee1a
  • 8ca0761fb0 specifically call python3, in scripts with this change, it's unlikely we'll hit errors again. previously, some projects used were calling "python" which in context was python3, but on some setups, the user only has python2 and python3 but no symlink for "python" (which if exists, we assumed linked to python3) now it's unambiguous. docs/build/ can probably be updated now, as a result of this change, to remove the advice about that

1 year ago

GNUtoo created new branch u-boot-libre/master at GNUtoo/lbmk

1 year ago

GNUtoo created pull request osboot/osbmk#158

[RFC] Reuse lbmk in osbmk

1 year ago

GNUtoo pushed to master at GNUtoo/osbmk

  • 2d34981c10 download: Use lbmk new --include-extra-dir The download flashrom, grub, memtest86plus and seabios scripts are almost identical between osbmk and lbmk, the only difference being the addition of a help argument in the later: $ diff -u resources/scripts/download/flashrom external/lbmk/resources/scripts/download/flashrom --- resources/scripts/download/flashrom 2022-07-22 15:48:12.832106826 +0200 +++ external/lbmk/resources/scripts/download/flashrom 2022-07-21 16:06:36.368802928 +0200 @@ -21,6 +21,23 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +usage() +{ + progname="./download flashrom" + printf "Usage:\n" + printf "\t%s # %s\n" \ + "${progname}" \ + "Download flashrom" + printf "\t%s --help # %s\n" \ + "${progname}" \ + "Prints this help" +} + +if [ $# -ne 0 ] ; then + usage + exit 0 +fi + # Get flashrom at the last previously tested revision # Remove the old version that may still exist: $ diff -u resources/scripts/download/grub external/lbmk/resources/scripts/download/grub --- resources/scripts/download/grub 2022-07-22 15:48:12.832106826 +0200 +++ external/lbmk/resources/scripts/download/grub 2022-07-21 16:06:36.368802928 +0200 @@ -21,6 +21,23 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +usage() +{ + progname="./download grub" + printf "Usage:\n" + printf "\t%s # %s\n" \ + "${progname}" \ + "Download GRUB" + printf "\t%s --help # %s\n" \ + "${progname}" \ + "Prints this help" +} + +if [ $# -ne 0 ] ; then + usage + exit 0 +fi + # Remove the old version that may still exist # ------------------------------------------------------------------------------ [gnutoo@primary_laptop osbmk]$ diff -u resources/scripts/download/memtest86plus external/lbmk/resources/scripts/download/memtest86plus --- resources/scripts/download/memtest86plus 2022-07-22 15:48:12.832106826 +0200 +++ external/lbmk/resources/scripts/download/memtest86plus 2022-07-21 16:06:36.368802928 +0200 @@ -23,6 +23,23 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +usage() +{ + progname="./download memtest86plus" + printf "Usage:\n" + printf "\t%s # %s\n" \ + "${progname}" \ + "Download MemTest86+" + printf "\t%s --help # %s\n" \ + "${progname}" \ + "Prints this help" +} + +if [ $# -ne 0 ] ; then + usage + exit 0 +fi + # Get the last version of MemTest86+ used, apply patches, build it. # Remove the old version that may exist $ diff -u resources/scripts/download/seabios external/lbmk/resources/scripts/download/seabios --- resources/scripts/download/seabios 2022-07-22 15:48:12.832106826 +0200 +++ external/lbmk/resources/scripts/download/seabios 2022-07-21 16:06:36.372802947 +0200 @@ -19,6 +19,23 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +usage() +{ + progname="./download seabios" + printf "Usage:\n" + printf "\t%s # %s\n" \ + "${progname}" \ + "Download SeaBIOS" + printf "\t%s --help # %s\n" \ + "${progname}" \ + "Prints this help" +} + +if [ $# -ne 0 ] ; then + usage + exit 0 +fi + # Get SeaBIOS, revert to commit last used and apply patches. # Remove the old version that may still exist So it would be a good idea to use lbmk's scripts for the ones that are almost identical. To do that we use --include-extra-dir with the osbmk top directory in our download wrapper script. This will make libreboot's download script find osbmk's extra script and also make sure that osbmk's coreboot script is used instead of the lbmk one as this script has some significant differences. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • be68a662d0 download: Use lbmk new --include-extra-dir The download flashrom, grub, memtest86plus and seabios scripts are almost identical between osbmk and lbmk, the only difference being the addition of a help argument in the later: $ diff -u resources/scripts/download/flashrom external/lbmk/resources/scripts/download/flashrom --- resources/scripts/download/flashrom 2022-07-22 15:48:12.832106826 +0200 +++ external/lbmk/resources/scripts/download/flashrom 2022-07-21 16:06:36.368802928 +0200 @@ -21,6 +21,23 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +usage() +{ + progname="./download flashrom" + printf "Usage:\n" + printf "\t%s # %s\n" \ + "${progname}" \ + "Download flashrom" + printf "\t%s --help # %s\n" \ + "${progname}" \ + "Prints this help" +} + +if [ $# -ne 0 ] ; then + usage + exit 0 +fi + # Get flashrom at the last previously tested revision # Remove the old version that may still exist: $ diff -u resources/scripts/download/grub external/lbmk/resources/scripts/download/grub --- resources/scripts/download/grub 2022-07-22 15:48:12.832106826 +0200 +++ external/lbmk/resources/scripts/download/grub 2022-07-21 16:06:36.368802928 +0200 @@ -21,6 +21,23 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +usage() +{ + progname="./download grub" + printf "Usage:\n" + printf "\t%s # %s\n" \ + "${progname}" \ + "Download GRUB" + printf "\t%s --help # %s\n" \ + "${progname}" \ + "Prints this help" +} + +if [ $# -ne 0 ] ; then + usage + exit 0 +fi + # Remove the old version that may still exist # ------------------------------------------------------------------------------ [gnutoo@primary_laptop osbmk]$ diff -u resources/scripts/download/memtest86plus external/lbmk/resources/scripts/download/memtest86plus --- resources/scripts/download/memtest86plus 2022-07-22 15:48:12.832106826 +0200 +++ external/lbmk/resources/scripts/download/memtest86plus 2022-07-21 16:06:36.368802928 +0200 @@ -23,6 +23,23 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +usage() +{ + progname="./download memtest86plus" + printf "Usage:\n" + printf "\t%s # %s\n" \ + "${progname}" \ + "Download MemTest86+" + printf "\t%s --help # %s\n" \ + "${progname}" \ + "Prints this help" +} + +if [ $# -ne 0 ] ; then + usage + exit 0 +fi + # Get the last version of MemTest86+ used, apply patches, build it. # Remove the old version that may exist $ diff -u resources/scripts/download/seabios external/lbmk/resources/scripts/download/seabios --- resources/scripts/download/seabios 2022-07-22 15:48:12.832106826 +0200 +++ external/lbmk/resources/scripts/download/seabios 2022-07-21 16:06:36.372802947 +0200 @@ -19,6 +19,23 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +usage() +{ + progname="./download seabios" + printf "Usage:\n" + printf "\t%s # %s\n" \ + "${progname}" \ + "Download SeaBIOS" + printf "\t%s --help # %s\n" \ + "${progname}" \ + "Prints this help" +} + +if [ $# -ne 0 ] ; then + usage + exit 0 +fi + # Get SeaBIOS, revert to commit last used and apply patches. # Remove the old version that may still exist So it would be a good idea to use lbmk's scripts for the ones that are almost identical. To do that we use --include-extra-dir with the osbmk top directory in our download wrapper script. This will make libreboot's download script find osbmk's extra script and also make sure that osbmk's coreboot script is used instead of the lbmk one as this script has some significant differences. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • View comparison for these 2 commits »

1 year ago

GNUtoo pushed to master at GNUtoo/osbmk

  • be68a662d0 download: Use lbmk new --include-extra-dir The download flashrom, grub, memtest86plus and seabios scripts are almost identical between osbmk and lbmk, the only difference being the addition of a help argument in the later: $ diff -u resources/scripts/download/flashrom external/lbmk/resources/scripts/download/flashrom --- resources/scripts/download/flashrom 2022-07-22 15:48:12.832106826 +0200 +++ external/lbmk/resources/scripts/download/flashrom 2022-07-21 16:06:36.368802928 +0200 @@ -21,6 +21,23 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +usage() +{ + progname="./download flashrom" + printf "Usage:\n" + printf "\t%s # %s\n" \ + "${progname}" \ + "Download flashrom" + printf "\t%s --help # %s\n" \ + "${progname}" \ + "Prints this help" +} + +if [ $# -ne 0 ] ; then + usage + exit 0 +fi + # Get flashrom at the last previously tested revision # Remove the old version that may still exist: $ diff -u resources/scripts/download/grub external/lbmk/resources/scripts/download/grub --- resources/scripts/download/grub 2022-07-22 15:48:12.832106826 +0200 +++ external/lbmk/resources/scripts/download/grub 2022-07-21 16:06:36.368802928 +0200 @@ -21,6 +21,23 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +usage() +{ + progname="./download grub" + printf "Usage:\n" + printf "\t%s # %s\n" \ + "${progname}" \ + "Download GRUB" + printf "\t%s --help # %s\n" \ + "${progname}" \ + "Prints this help" +} + +if [ $# -ne 0 ] ; then + usage + exit 0 +fi + # Remove the old version that may still exist # ------------------------------------------------------------------------------ [gnutoo@primary_laptop osbmk]$ diff -u resources/scripts/download/memtest86plus external/lbmk/resources/scripts/download/memtest86plus --- resources/scripts/download/memtest86plus 2022-07-22 15:48:12.832106826 +0200 +++ external/lbmk/resources/scripts/download/memtest86plus 2022-07-21 16:06:36.368802928 +0200 @@ -23,6 +23,23 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +usage() +{ + progname="./download memtest86plus" + printf "Usage:\n" + printf "\t%s # %s\n" \ + "${progname}" \ + "Download MemTest86+" + printf "\t%s --help # %s\n" \ + "${progname}" \ + "Prints this help" +} + +if [ $# -ne 0 ] ; then + usage + exit 0 +fi + # Get the last version of MemTest86+ used, apply patches, build it. # Remove the old version that may exist $ diff -u resources/scripts/download/seabios external/lbmk/resources/scripts/download/seabios --- resources/scripts/download/seabios 2022-07-22 15:48:12.832106826 +0200 +++ external/lbmk/resources/scripts/download/seabios 2022-07-21 16:06:36.372802947 +0200 @@ -19,6 +19,23 @@ [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e +usage() +{ + progname="./download seabios" + printf "Usage:\n" + printf "\t%s # %s\n" \ + "${progname}" \ + "Download SeaBIOS" + printf "\t%s --help # %s\n" \ + "${progname}" \ + "Prints this help" +} + +if [ $# -ne 0 ] ; then + usage + exit 0 +fi + # Get SeaBIOS, revert to commit last used and apply patches. # Remove the old version that may still exist So it would be a good idea to use lbmk's scripts for the ones that are almost identical. To do that we use --include-extra-dir with the osbmk top directory in our download wrapper script. This will make libreboot's download script find osbmk's extra script and also make sure that osbmk's coreboot script is used instead of the lbmk one as this script has some significant differences. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • e1dbe4a0d5 Use libreboot for top directory scripts We had almost no difference with Libreboot scripts: $ diff -u build external/lbmk/build $ diff -u download external/lbmk/download --- download 2022-07-21 16:09:23.865633499 +0200 +++ external/lbmk/download 2022-07-21 16:06:36.328802729 +0200 @@ -63,6 +63,9 @@ coreboot trees by default, but './download coreboot x60' will only download the coreboot tree required for the target: x60 + Each program download script should also accept the --help paramater to + display the usage of the script. + Refer to the documentation for more information. EOF } $ diff -u modify external/lbmk/modify $ diff -u update external/lbmk/update So we can simply use the Libreboot scripts instead. These scripts currently use paths from where they are launched, so they will continue to use osboot resources files. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • e03c496e62 download: Add --include-extra-dir option This enable users to override the existing scripts and/or to add new scripts. To do that users need to provide the path of a directory that has these scripts in resources/scripts/download/. For instance if users use download like that: ./download --include-extra-dir ./dir download will look for the scripts in ./dir/resources/scripts/download/. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • 3516be3789 download: enable to run it from any directory This makes download find the files it need reguardless of the directory the user is in. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • 87456a2c94 Add Libreboot's build system (lbmk) as external dependency Libreboot's and osboot's build systems are very similar and some of the files are even identical. Adding lbmk as a git submodule will enable to reuse lbmk's source code as-is and reduce the maintenance burden, while still keeping both projects policies and potentially getting contributions from more diverse contributors (as contributors caring about 100% free software would still be interested in contributing to Libreboot). Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • View comparison for these 455 commits »

1 year ago

GNUtoo created pull request libreboot/lbmk#118

[RFC] for enabling users (or other projects) to reuse libreboot and include extra scripts

1 year ago

GNUtoo closed pull request libreboot/lbmk#117

[RFC] for enabling users (or other projects) to reuse libreboot and include extra scripts

1 year ago

GNUtoo pushed to master at GNUtoo/lbmk

  • e751eaefb7 download: Add --include-extra-dir option This enable users to override the existing scripts and/or to add new scripts. To do that users need to provide the path of a directory that has these scripts in resources/scripts/download/. For instance if users use download like that: ./download --include-extra-dir ./dir download will look for the scripts in ./dir/resources/scripts/download/. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • 94c161988f download: Add --include-extra-dir option This enable users to override the existing scripts and/or to add new scripts. To do that users need to provide the path of a directory that has these scripts in resources/scripts/download/. For instance if users use download like that: ./download --include-extra-dir ./dir download will look for the scripts in ./dir/resources/scripts/download/. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • View comparison for these 2 commits »

1 year ago

GNUtoo pushed to master at GNUtoo/lbmk

  • 94c161988f download: Add --include-extra-dir option This enable users to override the existing scripts and/or to add new scripts. To do that users need to provide the path of a directory that has these scripts in resources/scripts/download/. For instance if users use download like that: ./download --include-extra-dir ./dir download will look for the scripts in ./dir/resources/scripts/download/. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • e03c496e62 download: Add --include-extra-dir option This enable users to override the existing scripts and/or to add new scripts. To do that users need to provide the path of a directory that has these scripts in resources/scripts/download/. For instance if users use download like that: ./download --include-extra-dir ./dir download will look for the scripts in ./dir/resources/scripts/download/. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • View comparison for these 2 commits »

1 year ago

GNUtoo created pull request libreboot/lbmk#117

[RFC] for enabling users (or other projects) to reuse libreboot and include extra scripts

1 year ago

GNUtoo pushed to master at GNUtoo/lbmk

  • e03c496e62 download: Add --include-extra-dir option This enable users to override the existing scripts and/or to add new scripts. To do that users need to provide the path of a directory that has these scripts in resources/scripts/download/. For instance if users use download like that: ./download --include-extra-dir ./dir download will look for the scripts in ./dir/resources/scripts/download/. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • 3516be3789 download: enable to run it from any directory This makes download find the files it need reguardless of the directory the user is in. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • fbbb5bc616 Libreboot 20220710
  • f8183e187b say the name libreboot, in grub menus
  • 0b3b7f93b7 added workaround for git credentials this is cherry-picked from osbmk. the cherry-pick was performed by i, leah rowe. this is adapted from shmalebx's patch there, in osboot specifically, these patches from osbmk are being imported: 327a39ef058d5385bf8c1a1b09bac8db6a51b016 5139ad4be4df1835ce154f39161eef4f7c31ee1a
  • View comparison for these 12 commits »

1 year ago

GNUtoo pushed tag 20220710 to GNUtoo/osbmk

1 year ago

GNUtoo pushed tag 20211122 to GNUtoo/osbmk

1 year ago

GNUtoo pushed tag 20210522 to GNUtoo/osbmk

1 year ago

GNUtoo pushed to master at GNUtoo/osbmk

  • e03c496e62 download: Add --include-extra-dir option This enable users to override the existing scripts and/or to add new scripts. To do that users need to provide the path of a directory that has these scripts in resources/scripts/download/. For instance if users use download like that: ./download --include-extra-dir ./dir download will look for the scripts in ./dir/resources/scripts/download/. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • 3516be3789 download: enable to run it from any directory This makes download find the files it need reguardless of the directory the user is in. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
  • fbbb5bc616 Libreboot 20220710
  • 83c230b0c3 add t440p config with 4mb cbfs if you strap hda_sdo, the whole flash is accessible. then just flash spi2 with this rom to get around lenovobios's setting of pr regs. then boot up, and flash normal t440p_12mb
  • 31fbee4540 make only the logo darker, in grub backgrounds this way, the purple shows more easily on screens with less contrast
  • View comparison for these 452 commits »

1 year ago

GNUtoo forked a repository to GNUtoo/osbmk

1 year ago