diff options
Diffstat (limited to 'static/blog/media')
25 files changed, 502 insertions, 0 deletions
diff --git a/static/blog/media/gigabyte-ga-g41m-es2l/01-prerequisites.jpg b/static/blog/media/gigabyte-ga-g41m-es2l/01-prerequisites.jpg Binary files differnew file mode 100644 index 0000000..ccd0d1a --- /dev/null +++ b/static/blog/media/gigabyte-ga-g41m-es2l/01-prerequisites.jpg diff --git a/static/blog/media/gigabyte-ga-g41m-es2l/02-gigabyte-ga-g41m-es2l-internals.jpg b/static/blog/media/gigabyte-ga-g41m-es2l/02-gigabyte-ga-g41m-es2l-internals.jpg Binary files differnew file mode 100644 index 0000000..127823b --- /dev/null +++ b/static/blog/media/gigabyte-ga-g41m-es2l/02-gigabyte-ga-g41m-es2l-internals.jpg diff --git a/static/blog/media/gigabyte-ga-g41m-es2l/03-ch341a-programmer-connected.jpg b/static/blog/media/gigabyte-ga-g41m-es2l/03-ch341a-programmer-connected.jpg Binary files differnew file mode 100644 index 0000000..fbbb9bd --- /dev/null +++ b/static/blog/media/gigabyte-ga-g41m-es2l/03-ch341a-programmer-connected.jpg diff --git a/static/blog/media/gigabyte-ga-g41m-es2l/dejavusansmono.pf2 b/static/blog/media/gigabyte-ga-g41m-es2l/dejavusansmono.pf2 Binary files differnew file mode 100644 index 0000000..9ba557e --- /dev/null +++ b/static/blog/media/gigabyte-ga-g41m-es2l/dejavusansmono.pf2 diff --git a/static/blog/media/gigabyte-ga-g41m-es2l/grub.cfg b/static/blog/media/gigabyte-ga-g41m-es2l/grub.cfg new file mode 100755 index 0000000..bce6b74 --- /dev/null +++ b/static/blog/media/gigabyte-ga-g41m-es2l/grub.cfg @@ -0,0 +1,115 @@ +# Harmonic Flow's GRUB Configuration + +# Prefix --- The location of the "/boot/grub" directory as an absolute file name. +set prefix=(memdisk)/boot/grub + +# Load Modules --- Load selected modules which are not loaded due +# to dependencies and which have probably not been pre-loaded. +insmod nativedisk +insmod luks +insmod lvm +insmod ahci +insmod ohci +insmod uhci +insmod ehci +insmod part_msdos +insmod part_gpt +insmod fat +insmod ext2 +insmod usbms +insmod usb_keyboard +insmod usbserial_usbdebug +insmod syslinuxcfg +insmod cryptodisk + +# Desktop Boards --- Let's load additional modules: +insmod at_keyboard +insmod pata + +# Set Environment +set gfxpayload=keep +set pager=1 +set default=0 +set timeout_style="menu" +set timeout=5 + +# Terminal Settings +terminal_input --append at_keyboard +terminal_output --append cbmemc +terminal_output --append gfxterm + +# GRUB Functions and Menu Options --- borrowed from the Libreboot Project +function try_user_config { + set root="${1}" + for dir in boot grub grub2 boot/grub boot/grub2; do + for name in '' autoboot_ libreboot_ coreboot_; do + if [ -f /"${dir}"/"${name}"grub.cfg ]; then + unset superusers + configfile /"${dir}"/"${name}"grub.cfg + fi + done + done +} +function search_grub { + for i in 0 1; do + # raw devices + try_user_config "(${1}${i})" + for part in 1 2 3 4 5; do + # MBR/GPT partitions + try_user_config "(${1}${i},${part})" + done + done +} +function try_isolinux_config { + set root="${1}" + for dir in '' /boot; do + if [ -f "${dir}"/isolinux/isolinux.cfg ]; then + syslinux_configfile -i "${dir}"/isolinux/isolinux.cfg + elif [ -f "${dir}"/syslinux/syslinux.cfg ]; then + syslinux_configfile -s "${dir}"/syslinux/syslinux.cfg + fi + done +} +function search_isolinux { + for i in 0 1; do + # raw devices + try_isolinux_config "(${1}${i})" + for part in 1 2 3 4 5; do + # MBR/GPT partitions + try_isolinux_config "(${1}${i},${part})" + done + done +} +menuentry '[g] Search GRUB2 Configuration (AHCI)' --hotkey='g' { + search_grub ahci +} +menuentry '[o] Load OS Encrypted /boot.. (default settings)' --hotkey='o' { + cryptomount -a + set root='lvm/matrix-rootvol' + linux /vmlinuz root=/dev/mapper/matrix-rootvol cryptdevice=/dev/mapper/matrix-rootvol:root + initrd /initrd.img +} +menuentry '[i] Load OS Encrypted /boot.. (with iomem=relaxed) ' --hotkey='i' { + cryptomount -a + set root='lvm/matrix-rootvol' + linux /vmlinuz root=/dev/mapper/matrix-rootvol cryptdevice=/dev/mapper/matrix-rootvol:root iomem=relaxed + initrd /initrd.img +} +menuentry '[s] Search GRUB2 Configuration (USB)' --hotkey='s' { + search_grub usb +} +menuentry '[u] Search ISOLINUX Menu (USB)' --hotkey='u' { + search_isolinux usb +} +menuentry '[a] Search ISOLINUX Menu (AHCI)' --hotkey='a' { + search_isolinux ahci +} +menuentry '[d] Search ISOLINUX Menu (CD/DVD)' --hotkey='d' { + try_isolinux_config ahci1 +} +menuentry '[p] Poweroff' --hotkey='p' { + halt --no-apm +} +menuentry '[r] Reboot' --hotkey='r' { + reboot +} diff --git a/static/blog/media/raspberry-pi/01-prerequisites.jpg b/static/blog/media/raspberry-pi/01-prerequisites.jpg Binary files differnew file mode 100644 index 0000000..77d0244 --- /dev/null +++ b/static/blog/media/raspberry-pi/01-prerequisites.jpg diff --git a/static/blog/media/raspberry-pi/raspberry-pi-3-model-b-gpio-pinout.jpg b/static/blog/media/raspberry-pi/raspberry-pi-3-model-b-gpio-pinout.jpg Binary files differnew file mode 100644 index 0000000..1ec4203 --- /dev/null +++ b/static/blog/media/raspberry-pi/raspberry-pi-3-model-b-gpio-pinout.jpg diff --git a/static/blog/media/x200/01-prerequisites.jpg b/static/blog/media/x200/01-prerequisites.jpg Binary files differnew file mode 100644 index 0000000..722cdb3 --- /dev/null +++ b/static/blog/media/x200/01-prerequisites.jpg diff --git a/static/blog/media/x200/02-lenovo-thinkpad-x200-internals.jpg b/static/blog/media/x200/02-lenovo-thinkpad-x200-internals.jpg Binary files differnew file mode 100644 index 0000000..02ff743 --- /dev/null +++ b/static/blog/media/x200/02-lenovo-thinkpad-x200-internals.jpg diff --git a/static/blog/media/x200/03-raspberry-pi-connected.jpg b/static/blog/media/x200/03-raspberry-pi-connected.jpg Binary files differnew file mode 100644 index 0000000..122c8a4 --- /dev/null +++ b/static/blog/media/x200/03-raspberry-pi-connected.jpg diff --git a/static/blog/media/x200/background.jpg b/static/blog/media/x200/background.jpg Binary files differnew file mode 100644 index 0000000..1efe8d2 --- /dev/null +++ b/static/blog/media/x200/background.jpg diff --git a/static/blog/media/x200/dejavusansmono.pf2 b/static/blog/media/x200/dejavusansmono.pf2 Binary files differnew file mode 100644 index 0000000..9ba557e --- /dev/null +++ b/static/blog/media/x200/dejavusansmono.pf2 diff --git a/static/blog/media/x200/grub.cfg b/static/blog/media/x200/grub.cfg new file mode 100644 index 0000000..99369fa --- /dev/null +++ b/static/blog/media/x200/grub.cfg @@ -0,0 +1,129 @@ +# Harmonic Flow's GRUB Configuration --- Use ThinkPads with Coreboot Firmware. +# Modules 'cbfs' and 'normal' are supposed to be already loaded, +# as well as its dependencies: terminal crypto extcmd boot gettext + +# Prefix --- The location of the "/boot/grub" directory as an absolute file name. +set prefix=(memdisk)/boot/grub + +# Load Modules --- Load selected modules which are not loaded due +# to dependencies and which have probably not been pre-loaded. +insmod nativedisk +insmod luks +insmod lvm +insmod ahci +insmod ohci +insmod uhci +insmod ehci +insmod part_msdos +insmod part_gpt +insmod fat +insmod ext2 +insmod usbms +insmod usb_keyboard +insmod usbserial_usbdebug +insmod syslinuxcfg +insmod cryptodisk +insmod jpeg + +# Desktop Boards --- Let's load additional modules: +insmod at_keyboard +insmod pata + +# Set Environment +set gfxpayload=keep +set pager=1 +set default=0 +set timeout_style="menu" +set timeout=5 +set color_highlight=white/green +set color_normal=light-gray/black + +# Terminal Settings +terminal_input --append at_keyboard +terminal_output --append cbmemc +terminal_output --append gfxterm + +# VESA Framebuffer Settings +background_image (cbfsdisk)/background.jpg +loadfont dejavusansmono + +# Keymap --- several options available, adapt to your needs: +# us gb de be nl it es pt fr tr ro bg pl cz hu se dk fi +# us_intl us_dvorak ca_fr tr_f ch_de ch_fr sk_qwerty fr_latin9 de_nodeadkeys +keymap se + +# GRUB Functions and Menu Options --- borrowed from the Libreboot Project +function try_user_config { + set root="${1}" + for dir in boot grub grub2 boot/grub boot/grub2; do + for name in '' autoboot_ libreboot_ coreboot_; do + if [ -f /"${dir}"/"${name}"grub.cfg ]; then + unset superusers + configfile /"${dir}"/"${name}"grub.cfg + fi + done + done +} +function search_grub { + for i in 0 1; do + # raw devices + try_user_config "(${1}${i})" + for part in 1 2 3 4 5; do + # MBR/GPT partitions + try_user_config "(${1}${i},${part})" + done + done +} +function try_isolinux_config { + set root="${1}" + for dir in '' /boot; do + if [ -f "${dir}"/isolinux/isolinux.cfg ]; then + syslinux_configfile -i "${dir}"/isolinux/isolinux.cfg + elif [ -f "${dir}"/syslinux/syslinux.cfg ]; then + syslinux_configfile -s "${dir}"/syslinux/syslinux.cfg + fi + done +} +function search_isolinux { + for i in 0 1; do + # raw devices + try_isolinux_config "(${1}${i})" + for part in 1 2 3 4 5; do + # MBR/GPT partitions + try_isolinux_config "(${1}${i},${part})" + done + done +} +menuentry '[g] Search GRUB2 Configuration (AHCI)' --hotkey='g' { + search_grub ahci +} +menuentry '[o] Load OS Encrypted /boot.. (default settings)' --hotkey='o' { + cryptomount -a + set root='crypto0' + linux /vmlinuz root=/dev/mapper/soul--vg-root ro quiet + initrd /initrd.img +} +menuentry '[i] Load OS Encrypted /boot.. (with iomem=relaxed) ' --hotkey='i' { + cryptomount -a + set root='crypto0' + linux /vmlinuz root=/dev/mapper/soul--vg-root ro quiet iomem=relaxed + initrd /initrd.img +} +menuentry '[s] Search GRUB2 Configuration (USB)' --hotkey='s' { + search_grub usb +} +menuentry '[u] Search ISOLINUX Menu (USB)' --hotkey='u' { + search_isolinux usb +} +menuentry '[a] Search ISOLINUX Menu (AHCI)' --hotkey='a' { + search_isolinux ahci +} +menuentry '[d] Search ISOLINUX Menu (CD/DVD)' --hotkey='d' { + try_isolinux_config ahci1 +} +menuentry '[p] Poweroff' --hotkey='p' { + halt --no-apm +} +menuentry '[r] Reboot' --hotkey='r' { + reboot +} diff --git a/static/blog/media/x220/01-prerequisites.jpg b/static/blog/media/x220/01-prerequisites.jpg Binary files differnew file mode 100644 index 0000000..6c7b440 --- /dev/null +++ b/static/blog/media/x220/01-prerequisites.jpg diff --git a/static/blog/media/x220/02-lenovo-thinkpad-x220-internals.jpg b/static/blog/media/x220/02-lenovo-thinkpad-x220-internals.jpg Binary files differnew file mode 100644 index 0000000..b6f0597 --- /dev/null +++ b/static/blog/media/x220/02-lenovo-thinkpad-x220-internals.jpg diff --git a/static/blog/media/x220/03-ch341a-programmer-connected.jpg b/static/blog/media/x220/03-ch341a-programmer-connected.jpg Binary files differnew file mode 100644 index 0000000..490c18b --- /dev/null +++ b/static/blog/media/x220/03-ch341a-programmer-connected.jpg diff --git a/static/blog/media/x220/background.jpg b/static/blog/media/x220/background.jpg Binary files differnew file mode 100644 index 0000000..1efe8d2 --- /dev/null +++ b/static/blog/media/x220/background.jpg diff --git a/static/blog/media/x220/dejavusansmono.pf2 b/static/blog/media/x220/dejavusansmono.pf2 Binary files differnew file mode 100644 index 0000000..9ba557e --- /dev/null +++ b/static/blog/media/x220/dejavusansmono.pf2 diff --git a/static/blog/media/x220/grub.cfg b/static/blog/media/x220/grub.cfg new file mode 100644 index 0000000..94f75f2 --- /dev/null +++ b/static/blog/media/x220/grub.cfg @@ -0,0 +1,129 @@ +# Harmonic Flow's GRUB Configuration --- Use ThinkPads with Coreboot Firmware. +# Modules 'cbfs' and 'normal' are supposed to be already loaded, +# as well as its dependencies: terminal crypto extcmd boot gettext + +# Prefix --- The location of the "/boot/grub" directory as an absolute file name. +set prefix=(memdisk)/boot/grub + +# Load Modules --- Load selected modules which are not loaded due +# to dependencies and which have probably not been pre-loaded. +insmod nativedisk +insmod luks +insmod lvm +insmod ahci +insmod ohci +insmod uhci +insmod ehci +insmod part_msdos +insmod part_gpt +insmod fat +insmod ext2 +insmod usbms +insmod usb_keyboard +insmod usbserial_usbdebug +insmod syslinuxcfg +insmod cryptodisk +insmod jpeg + +# Desktop Boards --- Let's load additional modules: +insmod at_keyboard +insmod pata + +# Set Environment +set gfxpayload=keep +set pager=1 +set default=0 +set timeout_style="menu" +set timeout=5 +set color_highlight=white/green +set color_normal=light-gray/black + +# Terminal Settings +terminal_input --append at_keyboard +terminal_output --append cbmemc +terminal_output --append gfxterm + +# VESA Framebuffer Settings +background_image (cbfsdisk)/background.jpg +loadfont dejavusansmono + +# Keymap --- several options available, adapt to your needs: +# us gb de be nl it es pt fr tr ro bg pl cz hu se dk fi +# us_intl us_dvorak ca_fr tr_f ch_de ch_fr sk_qwerty fr_latin9 de_nodeadkeys +keymap se + +# GRUB Functions and Menu Options --- borrowed from the Libreboot Project +function try_user_config { + set root="${1}" + for dir in boot grub grub2 boot/grub boot/grub2; do + for name in '' autoboot_ libreboot_ coreboot_; do + if [ -f /"${dir}"/"${name}"grub.cfg ]; then + unset superusers + configfile /"${dir}"/"${name}"grub.cfg + fi + done + done +} +function search_grub { + for i in 0 1; do + # raw devices + try_user_config "(${1}${i})" + for part in 1 2 3 4 5; do + # MBR/GPT partitions + try_user_config "(${1}${i},${part})" + done + done +} +function try_isolinux_config { + set root="${1}" + for dir in '' /boot; do + if [ -f "${dir}"/isolinux/isolinux.cfg ]; then + syslinux_configfile -i "${dir}"/isolinux/isolinux.cfg + elif [ -f "${dir}"/syslinux/syslinux.cfg ]; then + syslinux_configfile -s "${dir}"/syslinux/syslinux.cfg + fi + done +} +function search_isolinux { + for i in 0 1; do + # raw devices + try_isolinux_config "(${1}${i})" + for part in 1 2 3 4 5; do + # MBR/GPT partitions + try_isolinux_config "(${1}${i},${part})" + done + done +} +menuentry '[g] Search GRUB2 Configuration (AHCI)' --hotkey='g' { + search_grub ahci +} +menuentry '[o] Load OS Encrypted /boot.. (default settings)' --hotkey='o' { + cryptomount -a + set root='lvm/matrix-rootvol' + linux /vmlinuz root=/dev/mapper/matrix-rootvol cryptdevice=/dev/mapper/matrix-rootvol:root + initrd /initrd.img +} +menuentry '[i] Load OS Encrypted /boot.. (with iomem=relaxed) ' --hotkey='i' { + cryptomount -a + set root='lvm/matrix-rootvol' + linux /vmlinuz root=/dev/mapper/matrix-rootvol cryptdevice=/dev/mapper/matrix-rootvol:root iomem=relaxed + initrd /initrd.img +} +menuentry '[s] Search GRUB2 Configuration (USB)' --hotkey='s' { + search_grub usb +} +menuentry '[u] Search ISOLINUX Menu (USB)' --hotkey='u' { + search_isolinux usb +} +menuentry '[a] Search ISOLINUX Menu (AHCI)' --hotkey='a' { + search_isolinux ahci +} +menuentry '[d] Search ISOLINUX Menu (CD/DVD)' --hotkey='d' { + try_isolinux_config ahci1 +} +menuentry '[p] Poweroff' --hotkey='p' { + halt --no-apm +} +menuentry '[r] Reboot' --hotkey='r' { + reboot +} diff --git a/static/blog/media/x230/01-prerequisites.jpg b/static/blog/media/x230/01-prerequisites.jpg Binary files differnew file mode 100644 index 0000000..697d817 --- /dev/null +++ b/static/blog/media/x230/01-prerequisites.jpg diff --git a/static/blog/media/x230/02-lenovo-thinkpad-x230-internals.jpg b/static/blog/media/x230/02-lenovo-thinkpad-x230-internals.jpg Binary files differnew file mode 100644 index 0000000..0c5191d --- /dev/null +++ b/static/blog/media/x230/02-lenovo-thinkpad-x230-internals.jpg diff --git a/static/blog/media/x230/03-raspberry-pi-connected.jpg b/static/blog/media/x230/03-raspberry-pi-connected.jpg Binary files differnew file mode 100644 index 0000000..32295f8 --- /dev/null +++ b/static/blog/media/x230/03-raspberry-pi-connected.jpg diff --git a/static/blog/media/x230/background.jpg b/static/blog/media/x230/background.jpg Binary files differnew file mode 100644 index 0000000..1efe8d2 --- /dev/null +++ b/static/blog/media/x230/background.jpg diff --git a/static/blog/media/x230/dejavusansmono.pf2 b/static/blog/media/x230/dejavusansmono.pf2 Binary files differnew file mode 100644 index 0000000..9ba557e --- /dev/null +++ b/static/blog/media/x230/dejavusansmono.pf2 diff --git a/static/blog/media/x230/grub.cfg b/static/blog/media/x230/grub.cfg new file mode 100644 index 0000000..99369fa --- /dev/null +++ b/static/blog/media/x230/grub.cfg @@ -0,0 +1,129 @@ +# Harmonic Flow's GRUB Configuration --- Use ThinkPads with Coreboot Firmware. +# Modules 'cbfs' and 'normal' are supposed to be already loaded, +# as well as its dependencies: terminal crypto extcmd boot gettext + +# Prefix --- The location of the "/boot/grub" directory as an absolute file name. +set prefix=(memdisk)/boot/grub + +# Load Modules --- Load selected modules which are not loaded due +# to dependencies and which have probably not been pre-loaded. +insmod nativedisk +insmod luks +insmod lvm +insmod ahci +insmod ohci +insmod uhci +insmod ehci +insmod part_msdos +insmod part_gpt +insmod fat +insmod ext2 +insmod usbms +insmod usb_keyboard +insmod usbserial_usbdebug +insmod syslinuxcfg +insmod cryptodisk +insmod jpeg + +# Desktop Boards --- Let's load additional modules: +insmod at_keyboard +insmod pata + +# Set Environment +set gfxpayload=keep +set pager=1 +set default=0 +set timeout_style="menu" +set timeout=5 +set color_highlight=white/green +set color_normal=light-gray/black + +# Terminal Settings +terminal_input --append at_keyboard +terminal_output --append cbmemc +terminal_output --append gfxterm + +# VESA Framebuffer Settings +background_image (cbfsdisk)/background.jpg +loadfont dejavusansmono + +# Keymap --- several options available, adapt to your needs: +# us gb de be nl it es pt fr tr ro bg pl cz hu se dk fi +# us_intl us_dvorak ca_fr tr_f ch_de ch_fr sk_qwerty fr_latin9 de_nodeadkeys +keymap se + +# GRUB Functions and Menu Options --- borrowed from the Libreboot Project +function try_user_config { + set root="${1}" + for dir in boot grub grub2 boot/grub boot/grub2; do + for name in '' autoboot_ libreboot_ coreboot_; do + if [ -f /"${dir}"/"${name}"grub.cfg ]; then + unset superusers + configfile /"${dir}"/"${name}"grub.cfg + fi + done + done +} +function search_grub { + for i in 0 1; do + # raw devices + try_user_config "(${1}${i})" + for part in 1 2 3 4 5; do + # MBR/GPT partitions + try_user_config "(${1}${i},${part})" + done + done +} +function try_isolinux_config { + set root="${1}" + for dir in '' /boot; do + if [ -f "${dir}"/isolinux/isolinux.cfg ]; then + syslinux_configfile -i "${dir}"/isolinux/isolinux.cfg + elif [ -f "${dir}"/syslinux/syslinux.cfg ]; then + syslinux_configfile -s "${dir}"/syslinux/syslinux.cfg + fi + done +} +function search_isolinux { + for i in 0 1; do + # raw devices + try_isolinux_config "(${1}${i})" + for part in 1 2 3 4 5; do + # MBR/GPT partitions + try_isolinux_config "(${1}${i},${part})" + done + done +} +menuentry '[g] Search GRUB2 Configuration (AHCI)' --hotkey='g' { + search_grub ahci +} +menuentry '[o] Load OS Encrypted /boot.. (default settings)' --hotkey='o' { + cryptomount -a + set root='crypto0' + linux /vmlinuz root=/dev/mapper/soul--vg-root ro quiet + initrd /initrd.img +} +menuentry '[i] Load OS Encrypted /boot.. (with iomem=relaxed) ' --hotkey='i' { + cryptomount -a + set root='crypto0' + linux /vmlinuz root=/dev/mapper/soul--vg-root ro quiet iomem=relaxed + initrd /initrd.img +} +menuentry '[s] Search GRUB2 Configuration (USB)' --hotkey='s' { + search_grub usb +} +menuentry '[u] Search ISOLINUX Menu (USB)' --hotkey='u' { + search_isolinux usb +} +menuentry '[a] Search ISOLINUX Menu (AHCI)' --hotkey='a' { + search_isolinux ahci +} +menuentry '[d] Search ISOLINUX Menu (CD/DVD)' --hotkey='d' { + try_isolinux_config ahci1 +} +menuentry '[p] Poweroff' --hotkey='p' { + halt --no-apm +} +menuentry '[r] Reboot' --hotkey='r' { + reboot +} |