Alper Nebi Yasak alpernebbi

alpernebbi created pull request libreboot/lbmk#141

u-boot: Update to v2023.01

1 year ago

alpernebbi pushed to uboot-v2023.01 at alpernebbi/lbmk

  • 7932d5fa95 u-boot: Disable environment storage U-Boot can be configured via environment variables which can be saved to various storage devices. This usually defaults to MMC or SPI depending on where it boots from, but assumes the device's layout is controlled by U-Boot. We should store the environment in SPI flash, but we also need to configure coreboot FMAPs to reserve the area U-Boot would use as its environment storage. For now, disable environment storage by setting ENV_IS_NOWHERE=y to avoid overwriting random regions of SPI or MMC if someone tries to save the variables. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • 8d57468ee5 u-boot: Update to v2023.01 Set default U-Boot revision to v2023.01 and rebase patches on top of that. Upstream kconfig status is a bit unstable, so updating configs with `make oldconfig` would miss important upstream changes. For each board, run `make savedefconfig` and `diffconfig -m` at the old version to get a diff from upstream defconfigs. Fix those affected by upstream changes, like SYS_TEXT_BASE being renamed to TEXT_BASE. Then append those to the new version's defconfigs and run `make olddefconfig` to get updated configs. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • 6b4a14ce4a util/nvmutil: tidy up variable declarations
  • 031a0b553b util/nvmutil: setWord(): declare variables first
  • 257eedca0c util/nvmutil: reset errno if any write attempted the way nvmutil is designed, setWord() is only ever called under non-error conditions. however, if one part is valid but the other one isn't, and a command is run that touches both parts, errno is non-zero write writeGbeFile is called in situations where one part is valid, but the other isn't, AND the writes to gbe (in memory) results in a non-change, writeGbeFile is not called; in this situation, errno is not being reset, despite non-error condition this patch fixed the bug, resulting in zero status upon exit under such conditions

1 year ago

alpernebbi created new branch uboot-v2023.01 at alpernebbi/lbmk

1 year ago

alpernebbi created pull request libreboot/lbwww#38

hardware: Fix link to U-Boot documentation

1 year ago

alpernebbi pushed to refs/sent/fix-hardware-uboot-link/v1 at alpernebbi/lbwww

  • fce9ac1860 hardware: Fix link to U-Boot documentation The U-Boot documentation is in the "uboot" directory, but the hardware index page links to a nonexistent "u-boot". Fix the typo. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • dec4b59f6e Merge branch 'cleanmain' of randomomumu/lbwww into master
  • f2d2fcf1e7 contrib: who: Add Alper to contributors, developers Add myself, my contributions, and what I'll try to do in Libreboot to the contributors and developer pages. I might not always have enough time to work on things, though. Let's see how it goes. It feels weird to place my section next to Leah and Caleb, mostly due to not matching the bullet point format and contribution volume. It also feels weird placing it to the top of the alphabetical-order contributors list without mentioning the order, so do that as a title. Add a title for projects as well. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • 76ccea8aa9 contrib: Add section for U-Boot The payloads Libreboot uses are listed in contrib. Add a section for U-Boot as well, now used by supported Chromebooks. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • f9aae8628e news/libreboot20221214: Update for Chromebooks docs Update the Chromebook codenames in the 20221214 release news page, and remove part of the note about missing documentation added in previous commits. Remove note about me doing "extensive changes to U-Boot" regarding it being a coreboot payload, that's not exactly true. The patches in lbmk are optional, quality of life stuff, and mostly other people's. Upstream basically happens to work fine this way but integration could be much much better (which I will try to work on in the future). Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>

1 year ago

alpernebbi pushed to refs/sent/chromebooks-docs/v2 at alpernebbi/lbwww

  • 1c37db18e8 contrib: who: Add Alper to contributors, developers Add myself, my contributions, and what I'll try to do in Libreboot to the contributors and developer pages. I might not always have enough time to work on things, though. Let's see how it goes. It feels weird to place my section next to Leah and Caleb, mostly due to not matching the bullet point format and contribution volume. It also feels weird placing it to the top of the alphabetical-order contributors list without mentioning the order, so do that as a title. Add a title for projects as well. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • 1d60127b6e contrib: Add section for U-Boot The payloads Libreboot uses are listed in contrib. Add a section for U-Boot as well, now used by supported Chromebooks. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • a0018c65d4 news/libreboot20221214: Update for Chromebooks docs Update the Chromebook codenames in the 20221214 release news page, and remove part of the note about missing documentation added in previous commits. Remove note about me doing "extensive changes to U-Boot" regarding it being a coreboot payload, that's not exactly true. The patches in lbmk are optional, quality of life stuff, and mostly other people's. Upstream basically happens to work fine this way but integration could be much much better (which I will try to work on in the future). Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • 97d6a30337 uboot: Add docs for U-Boot payload Replace the placeholder "U-Boot instructions" page with initial documentation about the U-Boot payload. Move the warnings in the hardware index to this document, but keep a small warning with a link. This is light on installation instructions compared to what's there on GRUB, since U-Boot's UEFI support means generic installer images should work and at that point I think it becomes distro developers' job. But the added links should be enough as a good start otherwise. Also add a section for known issues that people might want to know. Not sure about opening lbmk issues for those, because they're mostly long-standing upstream things and I'm not really as invested in the issue tracker. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • e5805573d9 install: Add flashing guide for Chromebooks Add initial documentation about flashing Libreboot on supported ChromeOS devices. Link the Chromebooks in the hardware index to it. I only have tried firmware work on gru-kevin, so there is an implicit focus on that, but most others should be similar. The one exception is gru-bob, as it is new enough to support Closed Case Debugging which can be used to disable write-protect and flash the firmware externally. Provide links to the ChromiumOS docs for that. Although not supported on Libreboot, x86 Chromebooks still carry the curse that is unreadable non-redistributable Intel ME firmware, so provide a warning against flashing x86 images without it just in case. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>

1 year ago

alpernebbi created new branch refs/sent/chromebooks-docs/v2 at alpernebbi/lbwww

1 year ago

alpernebbi pushed to refs/sent/chromebooks-docs/v1 at alpernebbi/lbwww

  • ecfc132df4 site: GFDL compliance for chromebook-docs pull request The MODIFICATIONS section in the GFDL text has some unexpected requirements that I'm required to fulfill to distribute a modified version of the lbwww repository. Most salient are: - 4.A: A different title on the Title Page - 4.B: Adding authors to the Title Page - 4.C: Add a publisher to the Title Page - 4.E: Adding my copyright notice - 4.I: Adding a "History" section with history of my modifications For 4.A, 4.B, 4.C, what appears to match "Title Page" best is index.md, so I've modified that. Changed the title to the commit hash before this. Added an Authors section to that including author/publisher info. For 4.E, add copyright notice to license.md because 4.F says that the license notice should be after the license notice. Add Leah's and a generic Libreboot contributors copyright notice because having just mine is a bit overreaching. For 4.I, include two sections for the original and modified versions with the titles from index.md. 4.I says to add "new authors", and I've chosen to interpret that as "authors who have changed the document in the new version". I don't think these compliance changes are content-wise appropriate to pull into the main lbwww repo. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • 1c37db18e8 contrib: who: Add Alper to contributors, developers Add myself, my contributions, and what I'll try to do in Libreboot to the contributors and developer pages. I might not always have enough time to work on things, though. Let's see how it goes. It feels weird to place my section next to Leah and Caleb, mostly due to not matching the bullet point format and contribution volume. It also feels weird placing it to the top of the alphabetical-order contributors list without mentioning the order, so do that as a title. Add a title for projects as well. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • 1d60127b6e contrib: Add section for U-Boot The payloads Libreboot uses are listed in contrib. Add a section for U-Boot as well, now used by supported Chromebooks. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • a0018c65d4 news/libreboot20221214: Update for Chromebooks docs Update the Chromebook codenames in the 20221214 release news page, and remove part of the note about missing documentation added in previous commits. Remove note about me doing "extensive changes to U-Boot" regarding it being a coreboot payload, that's not exactly true. The patches in lbmk are optional, quality of life stuff, and mostly other people's. Upstream basically happens to work fine this way but integration could be much much better (which I will try to work on in the future). Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • 97d6a30337 uboot: Add docs for U-Boot payload Replace the placeholder "U-Boot instructions" page with initial documentation about the U-Boot payload. Move the warnings in the hardware index to this document, but keep a small warning with a link. This is light on installation instructions compared to what's there on GRUB, since U-Boot's UEFI support means generic installer images should work and at that point I think it becomes distro developers' job. But the added links should be enough as a good start otherwise. Also add a section for known issues that people might want to know. Not sure about opening lbmk issues for those, because they're mostly long-standing upstream things and I'm not really as invested in the issue tracker. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>

1 year ago

alpernebbi created new branch refs/sent/chromebooks-docs/v1 at alpernebbi/lbwww

1 year ago

alpernebbi pushed to master at alpernebbi/lbwww

  • dec4b59f6e Merge branch 'cleanmain' of randomomumu/lbwww into master
  • f2d2fcf1e7 contrib: who: Add Alper to contributors, developers Add myself, my contributions, and what I'll try to do in Libreboot to the contributors and developer pages. I might not always have enough time to work on things, though. Let's see how it goes. It feels weird to place my section next to Leah and Caleb, mostly due to not matching the bullet point format and contribution volume. It also feels weird placing it to the top of the alphabetical-order contributors list without mentioning the order, so do that as a title. Add a title for projects as well. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • 76ccea8aa9 contrib: Add section for U-Boot The payloads Libreboot uses are listed in contrib. Add a section for U-Boot as well, now used by supported Chromebooks. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • f9aae8628e news/libreboot20221214: Update for Chromebooks docs Update the Chromebook codenames in the 20221214 release news page, and remove part of the note about missing documentation added in previous commits. Remove note about me doing "extensive changes to U-Boot" regarding it being a coreboot payload, that's not exactly true. The patches in lbmk are optional, quality of life stuff, and mostly other people's. Upstream basically happens to work fine this way but integration could be much much better (which I will try to work on in the future). Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • 626d287ad0 uboot: Add docs for U-Boot payload Replace the placeholder "U-Boot instructions" page with initial documentation about the U-Boot payload. Move the warnings in the hardware index to this document, but keep a small warning with a link. This is light on installation instructions compared to what's there on GRUB, since U-Boot's UEFI support means generic installer images should work and at that point I think it becomes distro developers' job. But the added links should be enough as a good start otherwise. Also add a section for known issues that people might want to know. Not sure about opening lbmk issues for those, because they're mostly long-standing upstream things and I'm not really as invested in the issue tracker. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • View comparison for these 12 commits »

1 year ago

alpernebbi pushed to fix-hardware-uboot-link at alpernebbi/lbwww

  • fce9ac1860 hardware: Fix link to U-Boot documentation The U-Boot documentation is in the "uboot" directory, but the hardware index page links to a nonexistent "u-boot". Fix the typo. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • dec4b59f6e Merge branch 'cleanmain' of randomomumu/lbwww into master
  • f2d2fcf1e7 contrib: who: Add Alper to contributors, developers Add myself, my contributions, and what I'll try to do in Libreboot to the contributors and developer pages. I might not always have enough time to work on things, though. Let's see how it goes. It feels weird to place my section next to Leah and Caleb, mostly due to not matching the bullet point format and contribution volume. It also feels weird placing it to the top of the alphabetical-order contributors list without mentioning the order, so do that as a title. Add a title for projects as well. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • 76ccea8aa9 contrib: Add section for U-Boot The payloads Libreboot uses are listed in contrib. Add a section for U-Boot as well, now used by supported Chromebooks. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • f9aae8628e news/libreboot20221214: Update for Chromebooks docs Update the Chromebook codenames in the 20221214 release news page, and remove part of the note about missing documentation added in previous commits. Remove note about me doing "extensive changes to U-Boot" regarding it being a coreboot payload, that's not exactly true. The patches in lbmk are optional, quality of life stuff, and mostly other people's. Upstream basically happens to work fine this way but integration could be much much better (which I will try to work on in the future). Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>

1 year ago

alpernebbi created new branch fix-hardware-uboot-link at alpernebbi/lbwww

1 year ago

alpernebbi pushed to chromebooks-docs at alpernebbi/lbwww

  • ecfc132df4 site: GFDL compliance for chromebook-docs pull request The MODIFICATIONS section in the GFDL text has some unexpected requirements that I'm required to fulfill to distribute a modified version of the lbwww repository. Most salient are: - 4.A: A different title on the Title Page - 4.B: Adding authors to the Title Page - 4.C: Add a publisher to the Title Page - 4.E: Adding my copyright notice - 4.I: Adding a "History" section with history of my modifications For 4.A, 4.B, 4.C, what appears to match "Title Page" best is index.md, so I've modified that. Changed the title to the commit hash before this. Added an Authors section to that including author/publisher info. For 4.E, add copyright notice to license.md because 4.F says that the license notice should be after the license notice. Add Leah's and a generic Libreboot contributors copyright notice because having just mine is a bit overreaching. For 4.I, include two sections for the original and modified versions with the titles from index.md. 4.I says to add "new authors", and I've chosen to interpret that as "authors who have changed the document in the new version". I don't think these compliance changes are content-wise appropriate to pull into the main lbwww repo. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>

1 year ago

alpernebbi created pull request libreboot/lbmk#138

u-boot: Enable USB_EHCI_EXYNOS on peach boards

1 year ago

alpernebbi deleted branch refs/sent/peach-uboot-usb/v1 at alpernebbi/lbmk

1 year ago

alpernebbi pushed to peach-uboot-usbehci at alpernebbi/lbmk

  • 80bf54b2a7 u-boot: Enable USB_EHCI_EXYNOS on peach boards The USB 2.0 ports on Exynos boards need the relevant driver enabled by USB_EHCI_EXYNOS. This is enabled by default depending on USB_EHCI_HCD. It's already enabled on snow and spring, but apparently not on peach boards, as discovered from other people's attempts to enable it [1][2]. Enable it also on the peach_pi and peach_pit. [1] https://gitlab.com/exynos5-mainline/u-boot/-/commit/8f12e43dbfdebbd29f49c2cb8bf6e9b6ea7e70c9 [2] https://gitlab.com/exynos5-mainline/u-boot/-/commit/11cacf55ad720dfca8799561a38b1da4732a3018 Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • 7f5dfebf7d Do not rely on bashisms and behaviour undefined by the POSIX specification. Part 2 Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
  • f787044642 Do not rely on bashisms and behaviour undefined by the POSIX specification. By making lbmk fully POSIX-compliant, it will be easier to port lbmk to other systems implementing POSIX such as Alpine Linux and FreeBSD. Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
  • d45b2e70dc util/nvmutil: use err() more consistently
  • d726b16f5f util/nvmutil: more robust pointer handling i didn't like the previous commits, they felt really hacky running malloc and then changing the pointer directly just rubs me the wrong way fix that

1 year ago

alpernebbi created new branch peach-uboot-usbehci at alpernebbi/lbmk

1 year ago

alpernebbi pushed to refs/sent/peach-uboot-usb/v1 at alpernebbi/lbmk

  • 80bf54b2a7 u-boot: Enable USB_EHCI_EXYNOS on peach boards The USB 2.0 ports on Exynos boards need the relevant driver enabled by USB_EHCI_EXYNOS. This is enabled by default depending on USB_EHCI_HCD. It's already enabled on snow and spring, but apparently not on peach boards, as discovered from other people's attempts to enable it [1][2]. Enable it also on the peach_pi and peach_pit. [1] https://gitlab.com/exynos5-mainline/u-boot/-/commit/8f12e43dbfdebbd29f49c2cb8bf6e9b6ea7e70c9 [2] https://gitlab.com/exynos5-mainline/u-boot/-/commit/11cacf55ad720dfca8799561a38b1da4732a3018 Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
  • 7f5dfebf7d Do not rely on bashisms and behaviour undefined by the POSIX specification. Part 2 Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
  • f787044642 Do not rely on bashisms and behaviour undefined by the POSIX specification. By making lbmk fully POSIX-compliant, it will be easier to port lbmk to other systems implementing POSIX such as Alpine Linux and FreeBSD. Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
  • d45b2e70dc util/nvmutil: use err() more consistently
  • d726b16f5f util/nvmutil: more robust pointer handling i didn't like the previous commits, they felt really hacky running malloc and then changing the pointer directly just rubs me the wrong way fix that

1 year ago

alpernebbi created new branch refs/sent/peach-uboot-usb/v1 at alpernebbi/lbmk

1 year ago