* [PATCH v3 0/4]
@ 2023-01-09 0:38 ` Dmitry Baryshkov
0 siblings, 0 replies; 15+ messages in thread
From: Dmitry Baryshkov @ 2023-01-09 0:38 UTC (permalink / raw)
To: Rob Clark, Sean Paul, Abhinav Kumar
Cc: Stephen Boyd, David Airlie, Daniel Vetter, Bjorn Andersson,
linux-arm-msm, dri-devel, freedreno
This patch concludes the conversion of display/msm schema from txt files
to YAML format.
The per-SoC compat (new addition) is required to ease migrating platform
support between mdp5 and dpu drivers.
Changes since v2:
- Fix MSM8998 compatible list: "qcom,msm8998-dpu", "msm,mdp5" to allow
handling this device by either of the drivers.
Changes since v1:
- Renamed mdp@ to display-controller@ in the example (Krzysztof)
- Extended ports description to mention possible ports (Krzysztof)
- Fixed ports@ regexp to limit to just four ports (Krzysztof)
- Included patches adding per-SoC compat strings to the schema and to
dtsi files.
Dmitry Baryshkov (4):
dt-bindings: display/msm: convert MDP5 schema to YAML format
dt-bindings: display/msm: add SoC-specific compats to qcom,mdp5.yaml
ARM: dts: qcom-msm8974: add SoC specific compat string to mdp5 node
arm64: dts: qcom: add SoC specific compat strings to mdp5 nodes
.../devicetree/bindings/display/msm/mdp5.txt | 132 ---------------
.../bindings/display/msm/qcom,mdp5.yaml | 154 ++++++++++++++++++
arch/arm/boot/dts/qcom-msm8974.dtsi | 2 +-
arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +-
arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +-
arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +-
arch/arm64/boot/dts/qcom/sdm660.dtsi | 2 +
7 files changed, 160 insertions(+), 136 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/display/msm/mdp5.txt
create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml
--
2.39.0
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v3 0/4]
@ 2023-01-09 0:38 ` Dmitry Baryshkov
0 siblings, 0 replies; 15+ messages in thread
From: Dmitry Baryshkov @ 2023-01-09 0:38 UTC (permalink / raw)
To: Rob Clark, Sean Paul, Abhinav Kumar
Cc: freedreno, linux-arm-msm, Bjorn Andersson, dri-devel,
Stephen Boyd
This patch concludes the conversion of display/msm schema from txt files
to YAML format.
The per-SoC compat (new addition) is required to ease migrating platform
support between mdp5 and dpu drivers.
Changes since v2:
- Fix MSM8998 compatible list: "qcom,msm8998-dpu", "msm,mdp5" to allow
handling this device by either of the drivers.
Changes since v1:
- Renamed mdp@ to display-controller@ in the example (Krzysztof)
- Extended ports description to mention possible ports (Krzysztof)
- Fixed ports@ regexp to limit to just four ports (Krzysztof)
- Included patches adding per-SoC compat strings to the schema and to
dtsi files.
Dmitry Baryshkov (4):
dt-bindings: display/msm: convert MDP5 schema to YAML format
dt-bindings: display/msm: add SoC-specific compats to qcom,mdp5.yaml
ARM: dts: qcom-msm8974: add SoC specific compat string to mdp5 node
arm64: dts: qcom: add SoC specific compat strings to mdp5 nodes
.../devicetree/bindings/display/msm/mdp5.txt | 132 ---------------
.../bindings/display/msm/qcom,mdp5.yaml | 154 ++++++++++++++++++
arch/arm/boot/dts/qcom-msm8974.dtsi | 2 +-
arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +-
arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +-
arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +-
arch/arm64/boot/dts/qcom/sdm660.dtsi | 2 +
7 files changed, 160 insertions(+), 136 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/display/msm/mdp5.txt
create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml
--
2.39.0
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v3 0/4]
@ 2024-03-11 21:33 Volodymyr Babchuk
2024-03-19 12:39 ` Caleb Connolly
0 siblings, 1 reply; 15+ messages in thread
From: Volodymyr Babchuk @ 2024-03-11 21:33 UTC (permalink / raw)
To: u-boot@lists.denx.de
Cc: Volodymyr Babchuk, Caleb Connolly, Konrad Dybcio, Lukasz Majewski,
Neil Armstrong, Sean Anderson, Sumit Garg, Tom Rini
Set of pre-req patches for Qualcomm SA8155P-ADP board support.
This path series consist of generic qcom changes that may benefit
different boards. It is the part of the bigger series that adds
SA8155P-ADP support, but I am posting this limited set because there
are other developers who depend on those changes and I am not ready to
post other patches of the bigger series.
Changes in v3:
- Replaced fdt_valid() with fdt_check_header()
- Added "depends POWER_DOMAIN" to Kconfig (see note)
- Use readl_poll_timeout() instead of open coded wait loop
- Print warning if power domain can't be enabled/disabled
Changes in v2:
- New patch in v2
- Reworked qcom_cc_bind() function
- Added timeout to qcom_power_set()
- Minor fixes in register names and formatting
Volodymyr Babchuk (4):
qcom: board: validate fdt before trying to use it
clk: qcom: clear div mask before assigning a new divider
clk: qcom: add support for power domains uclass
pinctrl: qcom: pass pin number to get_function_mux callback
arch/arm/mach-snapdragon/board.c | 5 +-
drivers/clk/qcom/Kconfig | 2 +-
drivers/clk/qcom/clock-qcom.c | 135 ++++++++++++++++++++++---
drivers/clk/qcom/clock-qcom.h | 6 ++
drivers/pinctrl/qcom/pinctrl-apq8016.c | 3 +-
drivers/pinctrl/qcom/pinctrl-apq8096.c | 3 +-
drivers/pinctrl/qcom/pinctrl-ipq4019.c | 3 +-
drivers/pinctrl/qcom/pinctrl-qcom.c | 4 +-
drivers/pinctrl/qcom/pinctrl-qcom.h | 3 +-
drivers/pinctrl/qcom/pinctrl-qcs404.c | 3 +-
drivers/pinctrl/qcom/pinctrl-sdm845.c | 3 +-
11 files changed, 146 insertions(+), 24 deletions(-)
--
2.43.0
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v3 0/4]
2024-03-11 21:33 Volodymyr Babchuk
@ 2024-03-19 12:39 ` Caleb Connolly
0 siblings, 0 replies; 15+ messages in thread
From: Caleb Connolly @ 2024-03-19 12:39 UTC (permalink / raw)
To: u-boot, Volodymyr Babchuk
Cc: Caleb Connolly, Konrad Dybcio, Lukasz Majewski, Neil Armstrong,
Sean Anderson, Sumit Garg, Tom Rini
On Mon, 11 Mar 2024 21:33:44 +0000, Volodymyr Babchuk wrote:
> Set of pre-req patches for Qualcomm SA8155P-ADP board support.
>
> This path series consist of generic qcom changes that may benefit
> different boards. It is the part of the bigger series that adds
> SA8155P-ADP support, but I am posting this limited set because there
> are other developers who depend on those changes and I am not ready to
> post other patches of the bigger series.
>
> [...]
Applied, thanks!
[1/4] qcom: board: validate fdt before trying to use it
commit: a1ecfa2371efc68671c66d3e186743f82926a640
[2/4] clk: qcom: clear div mask before assigning a new divider
commit: 10f402108a9063d5bc4d517e2a1197afcfabc3a4
[3/4] clk: qcom: add support for power domains uclass
commit: 95d76bf4e9a912ee458726a59b1045ecb2eff0cc
[4/4] pinctrl: qcom: pass pin number to get_function_mux callback
commit: 018b8ab702ce38f79e7d276186565478513880a6
Best regards,
--
// Caleb (they/them)
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v3 0/4]
@ 2024-04-18 12:54 Ilias Apalodimas
2024-04-20 7:20 ` Heinrich Schuchardt
0 siblings, 1 reply; 15+ messages in thread
From: Ilias Apalodimas @ 2024-04-18 12:54 UTC (permalink / raw)
To: xypron.glpk, kettenis
Cc: caleb.connolly, sumit.garg, quic_llindhol, ardb, pbrobinson,
pjones, Ilias Apalodimas, Tom Rini, Masahisa Kojima,
AKASHI Takahiro, Raymond Mao, Matthias Schiffer, Simon Glass,
Janne Grunau, Abdellatif El Khlifi, Sughosh Ganu,
Richard Henderson, Sam Edwards, Alper Nebi Yasak, Weizhao Ouyang,
u-boot
Hi!
This is v3 of SetVariable at runtime [0]
Nothing changed drastically from v2.
A few more test cases have been added, comments/suggestions have been
addressed and a bug where deleting a variable by setting 'attributes' to
0 has been fixed.
Changes since v2:
- Add more selftests checking for variable deletion as well as the
VarToFile header format
- Use unaligned sized variables on tests
- Add a new function to get the variable entry length instead of
repurposing efi_var_mem_compare()
- Converted VarToFile to RO
- Added a few comments requested by Heinrich
- Fixed a bug where SetVariable with attributes set to 0 did not delete
the variable but returned EFI_INVALID_PARAMETER instead
- Run FWTS 'uefitests' and attach the log in patch #1
- Added r-b tags from Heinrich
Changes since v1:
- Instead of Creating VarToFile at SetVariable, create it on GetVariable.
This allows us to get rid of the preallocated RT buffer, since the
address is user provided
- convert Set/GetVariableRT -> Set/GetVariable at runtime
- return EFI_INVALID_PARAM is NV is not set at runtime
- Heinrich sent me the efi_var_collect_mem() variant
Changes since the RFC:
- Return EFI_INVALID_PARAM if attributes are not volatile
- Add EFI_WRITE_PROTECTED checks for BS, RT *only* variables
- Add 2 EFI variables and allow userspace to write the file
- Add selftests
I also have a patch enable QueryVariableInfo [1], but I don't want to
introduce new patches now. This also needs a few more testcases of its
own so I'll send it once we finalize this one.
[0] https://lore.kernel.org/u-boot/20240417101928.119115-1-ilias.apalodimas@linaro.org/T/
[1] https://source.denx.de/u-boot/custodians/u-boot-tpm/-/commit/ce35270aaeb93686d7e013f3b028808e8af88cc0
Regards
/Ilias
Ilias Apalodimas (4):
efi_loader: conditionally enable SetvariableRT
efi_loader: Add OS notifications for SetVariable at runtime
efi_loader: add an EFI variable with the file contents
efi_selftest: add tests for setvariableRT
include/efi_loader.h | 4 +
include/efi_variable.h | 16 +-
lib/charset.c | 2 +-
lib/efi_loader/Kconfig | 16 ++
lib/efi_loader/efi_runtime.c | 42 ++++
lib/efi_loader/efi_var_common.c | 6 +-
lib/efi_loader/efi_var_mem.c | 151 ++++++++-----
lib/efi_loader/efi_variable.c | 122 ++++++++--
lib/efi_loader/efi_variable_tee.c | 5 -
.../efi_selftest_variables_runtime.c | 211 +++++++++++++++++-
10 files changed, 495 insertions(+), 80 deletions(-)
--
2.40.1
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v3 0/4]
2024-04-18 12:54 Ilias Apalodimas
@ 2024-04-20 7:20 ` Heinrich Schuchardt
2024-04-20 11:57 ` Ilias Apalodimas
0 siblings, 1 reply; 15+ messages in thread
From: Heinrich Schuchardt @ 2024-04-20 7:20 UTC (permalink / raw)
To: Ilias Apalodimas
Cc: caleb.connolly, sumit.garg, quic_llindhol, ardb, pbrobinson,
pjones, Tom Rini, Masahisa Kojima, Raymond Mao, Matthias Schiffer,
Simon Glass, Janne Grunau, Abdellatif El Khlifi, Sughosh Ganu,
Richard Henderson, Sam Edwards, Alper Nebi Yasak, Weizhao Ouyang,
u-boot, AKASHI Takahiro, kettenis
On 4/18/24 14:54, Ilias Apalodimas wrote:
> Hi!
> This is v3 of SetVariable at runtime [0]
>
> Nothing changed drastically from v2.
> A few more test cases have been added, comments/suggestions have been
> addressed and a bug where deleting a variable by setting 'attributes' to
> 0 has been fixed.
>
> Changes since v2:
> - Add more selftests checking for variable deletion as well as the
> VarToFile header format
> - Use unaligned sized variables on tests
> - Add a new function to get the variable entry length instead of
> repurposing efi_var_mem_compare()
> - Converted VarToFile to RO
> - Added a few comments requested by Heinrich
> - Fixed a bug where SetVariable with attributes set to 0 did not delete
> the variable but returned EFI_INVALID_PARAMETER instead
> - Run FWTS 'uefitests' and attach the log in patch #1
> - Added r-b tags from Heinrich
>
> Changes since v1:
> - Instead of Creating VarToFile at SetVariable, create it on GetVariable.
> This allows us to get rid of the preallocated RT buffer, since the
> address is user provided
> - convert Set/GetVariableRT -> Set/GetVariable at runtime
> - return EFI_INVALID_PARAM is NV is not set at runtime
> - Heinrich sent me the efi_var_collect_mem() variant
>
> Changes since the RFC:
> - Return EFI_INVALID_PARAM if attributes are not volatile
> - Add EFI_WRITE_PROTECTED checks for BS, RT *only* variables
> - Add 2 EFI variables and allow userspace to write the file
> - Add selftests
>
> I also have a patch enable QueryVariableInfo [1], but I don't want to
> introduce new patches now. This also needs a few more testcases of its
> own so I'll send it once we finalize this one.
>
> [0] https://lore.kernel.org/u-boot/20240417101928.119115-1-ilias.apalodimas@linaro.org/T/
> [1] https://source.denx.de/u-boot/custodians/u-boot-tpm/-/commit/ce35270aaeb93686d7e013f3b028808e8af88cc0
>
> Regards
> /Ilias
>
> Ilias Apalodimas (4):
> efi_loader: conditionally enable SetvariableRT
> efi_loader: Add OS notifications for SetVariable at runtime
> efi_loader: add an EFI variable with the file contents
> efi_selftest: add tests for setvariableRT
I am missing a defconfig change which is needed to run the unit test in
Gitlab CI. I would prefer testing this on the sandbox.
Best regards
Heinrich
>
> include/efi_loader.h | 4 +
> include/efi_variable.h | 16 +-
> lib/charset.c | 2 +-
> lib/efi_loader/Kconfig | 16 ++
> lib/efi_loader/efi_runtime.c | 42 ++++
> lib/efi_loader/efi_var_common.c | 6 +-
> lib/efi_loader/efi_var_mem.c | 151 ++++++++-----
> lib/efi_loader/efi_variable.c | 122 ++++++++--
> lib/efi_loader/efi_variable_tee.c | 5 -
> .../efi_selftest_variables_runtime.c | 211 +++++++++++++++++-
> 10 files changed, 495 insertions(+), 80 deletions(-)
>
> --
> 2.40.1
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v3 0/4]
2024-04-20 7:20 ` Heinrich Schuchardt
@ 2024-04-20 11:57 ` Ilias Apalodimas
0 siblings, 0 replies; 15+ messages in thread
From: Ilias Apalodimas @ 2024-04-20 11:57 UTC (permalink / raw)
To: Heinrich Schuchardt
Cc: caleb.connolly, sumit.garg, quic_llindhol, ardb, pbrobinson,
pjones, Tom Rini, Masahisa Kojima, Raymond Mao, Matthias Schiffer,
Simon Glass, Janne Grunau, Abdellatif El Khlifi, Sughosh Ganu,
Richard Henderson, Sam Edwards, Alper Nebi Yasak, Weizhao Ouyang,
u-boot, AKASHI Takahiro, kettenis
On Sat, 20 Apr 2024 at 10:20, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> On 4/18/24 14:54, Ilias Apalodimas wrote:
> > Hi!
> > This is v3 of SetVariable at runtime [0]
> >
> > Nothing changed drastically from v2.
> > A few more test cases have been added, comments/suggestions have been
> > addressed and a bug where deleting a variable by setting 'attributes' to
> > 0 has been fixed.
> >
> > Changes since v2:
> > - Add more selftests checking for variable deletion as well as the
> > VarToFile header format
> > - Use unaligned sized variables on tests
> > - Add a new function to get the variable entry length instead of
> > repurposing efi_var_mem_compare()
> > - Converted VarToFile to RO
> > - Added a few comments requested by Heinrich
> > - Fixed a bug where SetVariable with attributes set to 0 did not delete
> > the variable but returned EFI_INVALID_PARAMETER instead
> > - Run FWTS 'uefitests' and attach the log in patch #1
> > - Added r-b tags from Heinrich
> >
> > Changes since v1:
> > - Instead of Creating VarToFile at SetVariable, create it on GetVariable.
> > This allows us to get rid of the preallocated RT buffer, since the
> > address is user provided
> > - convert Set/GetVariableRT -> Set/GetVariable at runtime
> > - return EFI_INVALID_PARAM is NV is not set at runtime
> > - Heinrich sent me the efi_var_collect_mem() variant
> >
> > Changes since the RFC:
> > - Return EFI_INVALID_PARAM if attributes are not volatile
> > - Add EFI_WRITE_PROTECTED checks for BS, RT *only* variables
> > - Add 2 EFI variables and allow userspace to write the file
> > - Add selftests
> >
> > I also have a patch enable QueryVariableInfo [1], but I don't want to
> > introduce new patches now. This also needs a few more testcases of its
> > own so I'll send it once we finalize this one.
> >
> > [0] https://lore.kernel.org/u-boot/20240417101928.119115-1-ilias.apalodimas@linaro.org/T/
> > [1] https://source.denx.de/u-boot/custodians/u-boot-tpm/-/commit/ce35270aaeb93686d7e013f3b028808e8af88cc0
> >
> > Regards
> > /Ilias
> >
> > Ilias Apalodimas (4):
> > efi_loader: conditionally enable SetvariableRT
> > efi_loader: Add OS notifications for SetVariable at runtime
> > efi_loader: add an EFI variable with the file contents
> > efi_selftest: add tests for setvariableRT
>
> I am missing a defconfig change which is needed to run the unit test in
> Gitlab CI. I would prefer testing this on the sandbox.
>
> Best regards
Ok I'll send a followup since you already sent a PR with these
Thanks!
/Ilias
>
> Heinrich
>
> >
> > include/efi_loader.h | 4 +
> > include/efi_variable.h | 16 +-
> > lib/charset.c | 2 +-
> > lib/efi_loader/Kconfig | 16 ++
> > lib/efi_loader/efi_runtime.c | 42 ++++
> > lib/efi_loader/efi_var_common.c | 6 +-
> > lib/efi_loader/efi_var_mem.c | 151 ++++++++-----
> > lib/efi_loader/efi_variable.c | 122 ++++++++--
> > lib/efi_loader/efi_variable_tee.c | 5 -
> > .../efi_selftest_variables_runtime.c | 211 +++++++++++++++++-
> > 10 files changed, 495 insertions(+), 80 deletions(-)
> >
> > --
> > 2.40.1
> >
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v3 0/4]
@ 2025-11-19 19:49 Glenn Washburn
2025-11-19 19:49 ` [PATCH v3 1/4] bootstrap: Run linguas.sh in bootstrap epilogue Glenn Washburn
` (3 more replies)
0 siblings, 4 replies; 15+ messages in thread
From: Glenn Washburn @ 2025-11-19 19:49 UTC (permalink / raw)
To: grub-devel; +Cc: Daniel Kiper, Mike Gilbert, Glenn Washburn
I've seen several times and believe that quite often people building GRUB
forget to run linguas.sh to download and setup the build for the external
translations. So make setting up LINGUAS happen by default when running
bootstrap. If a user does not want to setup LINGUAS it can be skipped by
running bootstrap with the existing --skip-po argument. In fact, bootstrap
already has functionality that automatically downloads a projects translations,
so switch to using that in patch #2. Also it is needed to run some extra code
because bootstrap will not add GRUB's autogenerated languages. In patch #3
simplify the LINGUAS generation and patch #4 fixes a couple issues in the
INSTALL that is dependent on patch #1.
NOTE: Instead of using the non-POSIX -r option to xargs, use a more POSIX
friendly way of ensuring that basename is not run with no arguments.
v3:
* Fix an issue where basename could be called by xargs with no arguments
v2:
* There wasn't intentionally a v1, but I accidentally created a patch
series, and then I realized that patch #2 depends on patch #1.
Glenn
Glenn Washburn (4):
bootstrap: Run linguas.sh in bootstrap epilogue
bootstrap: Migrate linguas.sh into bootstrap.conf
bootstrap: Condense and simplify LINGUAS generation
INSTALL: Fix a grammatical error
INSTALL | 25 +++++++++++--------------
bootstrap.conf | 21 +++++++++++++++++++--
2 files changed, 30 insertions(+), 16 deletions(-)
Range-diff against v2:
1: 62f0c3965921 = 1: 20d27aed572a bootstrap: Run linguas.sh in bootstrap epilogue
2: 7ffeeb595903 = 2: 6b6fed0beba3 bootstrap: Migrate linguas.sh into bootstrap.conf
3: b9bbe64cd8b8 ! 3: 3678bd68c4b6 bootstrap: Condense and simplify LINGUAS generation
@@ bootstrap.conf: bootstrap_epilogue () {
- ) | sort | uniq | xargs
- ) >po/LINGUAS
+ {
-+ ls po/*.po | xargs -L 100 basename -s .po -a
++ # NOTE: xargs has no POSIX compliant way to avoid running the program
++ # given as an argument when there are no input lines. So ensure that
++ # basename is always run with at least one argument, the empty string,
++ # and ignore the first line of output.
++ ls po/*.po | xargs -L 100 basename -s .po -a "" | tail -n +2
+ for x in $autogenerated; do
+ rm -f "po/$x.po"
+ echo "$x"
4: eb88d70454f4 = 4: c74c01d6fd85 INSTALL: Fix a grammatical error
--
2.34.1
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v3 1/4] bootstrap: Run linguas.sh in bootstrap epilogue
2025-11-19 19:49 [PATCH v3 0/4] Glenn Washburn
@ 2025-11-19 19:49 ` Glenn Washburn
2025-11-19 19:49 ` [PATCH v3 2/4] bootstrap: Migrate linguas.sh into bootstrap.conf Glenn Washburn
` (2 subsequent siblings)
3 siblings, 0 replies; 15+ messages in thread
From: Glenn Washburn @ 2025-11-19 19:49 UTC (permalink / raw)
To: grub-devel; +Cc: Daniel Kiper, Mike Gilbert, Glenn Washburn
Heretofore, linguas.sh had to be run by the user and a common mistake
made when building GRUB was to not run the command. By adding it to
the bootstrap epilogue it will by default get run at the end of the
bootstrap script. The user no longer needs to remember to run it.
If the --skip-po option is passed to bootstrap, do not run linguas.sh.
This allows for bootstrap to be run without updating the translations,
which might be desired in the future if we track po files so that
translations can be used as they were at time of release.
Update INSTALL file to reflect that it is no longer necessary to run
linguas.sh. Also, fix a list numbering error.
Fixes: 9f73ebd49be (* INSTALL: Document linguas.sh.)
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
INSTALL | 17 +++++++----------
bootstrap.conf | 8 +++++++-
2 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/INSTALL b/INSTALL
index 22b68cb6c766..f49bfdd2d0c5 100644
--- a/INSTALL
+++ b/INSTALL
@@ -140,15 +140,12 @@ The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code.
- 2. Skip this and following step if you use release tarball and proceed to
- step 4. If you want translations type `./linguas.sh'.
-
- 3. Type `./bootstrap'.
+ 2. Type `./bootstrap'.
The autogen.sh (called by bootstrap) uses python. By default autodetect
it, but it can be overridden by setting the PYTHON variable.
- 4. Type `./configure' to configure the package for your system.
+ 3. Type `./configure' to configure the package for your system.
If you're using `csh' on an old version of System V, you might
need to type `sh ./configure' instead to prevent `csh' from trying
to execute `configure' itself.
@@ -156,19 +153,19 @@ The simplest way to compile this package is:
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
- 6. Type `make' to compile the package.
+ 4. Type `make' to compile the package.
- 7. Optionally, type `make check' to run any self-tests that come with
+ 5. Optionally, type `make check' to run any self-tests that come with
the package. Note that many of the tests require root privileges in
order to run.
- 8. Type `make install' to install the programs and any data files and
+ 6. Type `make install' to install the programs and any data files and
documentation.
- 9. Type `make html' or `make pdf' to generate the html or pdf
+ 7. Type `make html' or `make pdf' to generate the html or pdf
documentation. Note, these are not built by default.
- 10. You can remove the program binaries and object files from the
+ 8. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
diff --git a/bootstrap.conf b/bootstrap.conf
index 8eff35b45d5d..e894666fd252 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -63,7 +63,7 @@ checkout_only_file=
copy=true
vc_ignore=
-SKIP_PO=t
+SKIP_PO=n
# Build prerequisites
buildreq="\
@@ -108,4 +108,10 @@ bootstrap_post_import_hook () {
bootstrap_epilogue () {
mv INSTALL.grub INSTALL
+
+ # Update translation files and create LINGUAS file used to determine
+ # the set of languages used to translate.
+ if [ "x$SKIP_PO" = "xn" ]; then
+ ./linguas.sh
+ fi
}
--
2.34.1
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v3 2/4] bootstrap: Migrate linguas.sh into bootstrap.conf
2025-11-19 19:49 [PATCH v3 0/4] Glenn Washburn
2025-11-19 19:49 ` [PATCH v3 1/4] bootstrap: Run linguas.sh in bootstrap epilogue Glenn Washburn
@ 2025-11-19 19:49 ` Glenn Washburn
2025-11-19 21:34 ` Daniel Kiper
2025-11-19 19:49 ` [PATCH v3 3/4] bootstrap: Condense and simplify LINGUAS generation Glenn Washburn
2025-11-19 19:49 ` [PATCH v3 4/4] INSTALL: Fix a grammatical error Glenn Washburn
3 siblings, 1 reply; 15+ messages in thread
From: Glenn Washburn @ 2025-11-19 19:49 UTC (permalink / raw)
To: grub-devel; +Cc: Daniel Kiper, Mike Gilbert, Glenn Washburn
Bootstrap has infrustructure for downloading/updating project po files
and generating the LINGUAS file. It uses wget instead of rsync, but
provides the same functionality, namely that only po files that have a
modification date before the corresponding one on the server will get
redownloaded. Bootstrap creates a pristine copy of the po files in
po/.reference, so update .gitignore to ignore that directory.
Bootstrap also creates the po/LINGUAS file, but it does not know to add
in GRUB's autogenerated po files. So move that code from linguas.sh into
the bootstrap epilogue.
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
bootstrap.conf | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/bootstrap.conf b/bootstrap.conf
index e894666fd252..79d4248c84aa 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -63,8 +63,6 @@ checkout_only_file=
copy=true
vc_ignore=
-SKIP_PO=n
-
# Build prerequisites
buildreq="\
autoconf 2.64
@@ -109,9 +107,23 @@ bootstrap_post_import_hook () {
bootstrap_epilogue () {
mv INSTALL.grub INSTALL
- # Update translation files and create LINGUAS file used to determine
- # the set of languages used to translate.
- if [ "x$SKIP_PO" = "xn" ]; then
- ./linguas.sh
+ if [ "x$SKIP_PO" = "x" ]; then
+ # Generate LINGUAS with all supported languages. Bootstrap will
+ # generate a LINGUAS, but it will not contain the autogenerated
+ # languages.
+ autogenerated="en@quot en@hebrew de@hebrew en@cyrillic en@greek en@arabic en@piglatin de_CH"
+
+ for x in $autogenerated; do
+ rm -f "po/$x.po";
+ done
+
+ (
+ (
+ cd po && ls *.po| cut -d. -f1
+ for x in $autogenerated; do
+ echo "$x";
+ done
+ ) | sort | uniq | xargs
+ ) >po/LINGUAS
fi
}
--
2.34.1
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v3 3/4] bootstrap: Condense and simplify LINGUAS generation
2025-11-19 19:49 [PATCH v3 0/4] Glenn Washburn
2025-11-19 19:49 ` [PATCH v3 1/4] bootstrap: Run linguas.sh in bootstrap epilogue Glenn Washburn
2025-11-19 19:49 ` [PATCH v3 2/4] bootstrap: Migrate linguas.sh into bootstrap.conf Glenn Washburn
@ 2025-11-19 19:49 ` Glenn Washburn
2025-11-19 19:49 ` [PATCH v3 4/4] INSTALL: Fix a grammatical error Glenn Washburn
3 siblings, 0 replies; 15+ messages in thread
From: Glenn Washburn @ 2025-11-19 19:49 UTC (permalink / raw)
To: grub-devel; +Cc: Daniel Kiper, Mike Gilbert, Glenn Washburn
Remove unnecessary subshells. Loop over autogenerated po files only once.
Use existing LINGUAS created by bootstrap instead of finding po files
again.
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
bootstrap.conf | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/bootstrap.conf b/bootstrap.conf
index 79d4248c84aa..40e0b0cf47bb 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -113,17 +113,16 @@ bootstrap_epilogue () {
# languages.
autogenerated="en@quot en@hebrew de@hebrew en@cyrillic en@greek en@arabic en@piglatin de_CH"
- for x in $autogenerated; do
- rm -f "po/$x.po";
- done
-
- (
- (
- cd po && ls *.po| cut -d. -f1
- for x in $autogenerated; do
- echo "$x";
- done
- ) | sort | uniq | xargs
- ) >po/LINGUAS
+ {
+ # NOTE: xargs has no POSIX compliant way to avoid running the program
+ # given as an argument when there are no input lines. So ensure that
+ # basename is always run with at least one argument, the empty string,
+ # and ignore the first line of output.
+ ls po/*.po | xargs -L 100 basename -s .po -a "" | tail -n +2
+ for x in $autogenerated; do
+ rm -f "po/$x.po"
+ echo "$x"
+ done
+ } | sort | uniq | xargs >po/LINGUAS
fi
}
--
2.34.1
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH v3 4/4] INSTALL: Fix a grammatical error
2025-11-19 19:49 [PATCH v3 0/4] Glenn Washburn
` (2 preceding siblings ...)
2025-11-19 19:49 ` [PATCH v3 3/4] bootstrap: Condense and simplify LINGUAS generation Glenn Washburn
@ 2025-11-19 19:49 ` Glenn Washburn
3 siblings, 0 replies; 15+ messages in thread
From: Glenn Washburn @ 2025-11-19 19:49 UTC (permalink / raw)
To: grub-devel; +Cc: Daniel Kiper, Mike Gilbert, Glenn Washburn
Also, add more documentation mentioning that the tests require a
"specially crafted environment" to run. Just running as root is not
enough.
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
INSTALL | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/INSTALL b/INSTALL
index f49bfdd2d0c5..8b10e954873f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -142,8 +142,8 @@ The simplest way to compile this package is:
2. Type `./bootstrap'.
- The autogen.sh (called by bootstrap) uses python. By default autodetect
- it, but it can be overridden by setting the PYTHON variable.
+ The autogen.sh (called by bootstrap) uses python. By default it is
+ autodetected, but it can be overridden by setting the PYTHON variable.
3. Type `./configure' to configure the package for your system.
If you're using `csh' on an old version of System V, you might
@@ -156,8 +156,8 @@ The simplest way to compile this package is:
4. Type `make' to compile the package.
5. Optionally, type `make check' to run any self-tests that come with
- the package. Note that many of the tests require root privileges in
- order to run.
+ the package. Note that many of the tests require root privileges and
+ a specially crafted environment in order to run.
6. Type `make install' to install the programs and any data files and
documentation.
--
2.34.1
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH v3 2/4] bootstrap: Migrate linguas.sh into bootstrap.conf
2025-11-19 19:49 ` [PATCH v3 2/4] bootstrap: Migrate linguas.sh into bootstrap.conf Glenn Washburn
@ 2025-11-19 21:34 ` Daniel Kiper
2025-11-20 18:42 ` Glenn Washburn
0 siblings, 1 reply; 15+ messages in thread
From: Daniel Kiper @ 2025-11-19 21:34 UTC (permalink / raw)
To: Glenn Washburn; +Cc: grub-devel, Mike Gilbert
On Wed, Nov 19, 2025 at 01:49:19PM -0600, Glenn Washburn wrote:
> Bootstrap has infrustructure for downloading/updating project po files
> and generating the LINGUAS file. It uses wget instead of rsync, but
Both wget and rsync are missing from INSTALL file. Could you add them there?
If you do that you can add my RB to all patch from this series.
Daniel
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH v3 2/4] bootstrap: Migrate linguas.sh into bootstrap.conf
2025-11-19 21:34 ` Daniel Kiper
@ 2025-11-20 18:42 ` Glenn Washburn
0 siblings, 0 replies; 15+ messages in thread
From: Glenn Washburn @ 2025-11-20 18:42 UTC (permalink / raw)
To: Daniel Kiper; +Cc: grub-devel, Mike Gilbert
On Wed, 19 Nov 2025 22:34:19 +0100
Daniel Kiper <dkiper@net-space.pl> wrote:
> On Wed, Nov 19, 2025 at 01:49:19PM -0600, Glenn Washburn wrote:
> > Bootstrap has infrustructure for downloading/updating project po files
> > and generating the LINGUAS file. It uses wget instead of rsync, but
>
> Both wget and rsync are missing from INSTALL file. Could you add them there?
> If you do that you can add my RB to all patch from this series.
I think I should not add the rsync as a requirement now that the
patches use the bootstrap code for downloading translations. It
appears that the only place where rsync might be used is in
gnulib/build-aux/gnu-web-doc-update, which you might be using to update
the documentation on gnu.org. Currently, I don't think we have a place
to document requirements needed by project maintainers. If we want to
document that it should be in a separate series.
Of course rsync is still used in the, now depreciated, linguas.sh, but
users should not be using that. I left linguas.sh as a fallback in the
unlikely case that there's some edge case where it might be needed. I
would say after the release we should remove that file.
Glenn
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] 15+ messages in thread
* [PATCH v3 0/4]
@ 2026-03-29 18:48 Serban-Pascu Robert
0 siblings, 0 replies; 15+ messages in thread
From: Serban-Pascu Robert @ 2026-03-29 18:48 UTC (permalink / raw)
To: hansg, mchehab
Cc: andy, sakari.ailus, gregkh, daniel.baluta, linux-media,
linux-staging, linux-kernel, Serban-Pascu Robert
This series addresses several minor coding style issues
in system_global.h as requested during review. The previous consolidated
patch has been split into four separate logical changes:
SPDX header style, blank lines removal, block comment reformatting,
and a typo correction.
Serban-Pascu Robert (4):
staging: media: atomisp: fix SPDX license identifier style
staging: media: atomisp: fix typo 'uninterruptible' in comment
staging: media: atomisp: reformat block comments
staging: media: atomisp: remove redundant blank lines
drivers/staging/media/atomisp/pci/system_global.h | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
--
2.43.0
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2026-03-29 18:49 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-19 19:49 [PATCH v3 0/4] Glenn Washburn
2025-11-19 19:49 ` [PATCH v3 1/4] bootstrap: Run linguas.sh in bootstrap epilogue Glenn Washburn
2025-11-19 19:49 ` [PATCH v3 2/4] bootstrap: Migrate linguas.sh into bootstrap.conf Glenn Washburn
2025-11-19 21:34 ` Daniel Kiper
2025-11-20 18:42 ` Glenn Washburn
2025-11-19 19:49 ` [PATCH v3 3/4] bootstrap: Condense and simplify LINGUAS generation Glenn Washburn
2025-11-19 19:49 ` [PATCH v3 4/4] INSTALL: Fix a grammatical error Glenn Washburn
-- strict thread matches above, loose matches on Subject: below --
2026-03-29 18:48 [PATCH v3 0/4] Serban-Pascu Robert
2024-04-18 12:54 Ilias Apalodimas
2024-04-20 7:20 ` Heinrich Schuchardt
2024-04-20 11:57 ` Ilias Apalodimas
2024-03-11 21:33 Volodymyr Babchuk
2024-03-19 12:39 ` Caleb Connolly
2023-01-09 0:38 Dmitry Baryshkov
2023-01-09 0:38 ` Dmitry Baryshkov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.