Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All: Updates #57

Merged
merged 14 commits into from
Dec 18, 2023
Merged

All: Updates #57

merged 14 commits into from
Dec 18, 2023

Conversation

ts-kris
Copy link
Contributor

@ts-kris ts-kris commented Nov 15, 2023

A number of changes across all of Buildroot-ts.git, updates, bugfixes, tweaks, unification of options, etc.

@ts-kris
Copy link
Contributor Author

ts-kris commented Nov 17, 2023

Tested good (correct kernel, able to load modules, basic interface and command checks):

  • TS-4100
  • TS-4900, TS-7990, TS-7970
  • TS-7100 (include LVGL demo and startup)
  • TS-7250-V3 (Provisionally. Cannot test IR at this time, booted only from SD. Still needs cleanup work as mentioned in notes below)
  • TS-7553-V2
  • TS-7670
  • TS-7800-V2
  • TS-7840
  • extra_packages (tested via tsimx6_defconfig combo)

Notes:

  • TS-7400-V2 support in 5.10 is blocked on ARM: dts: ts7400v2: Remove mmc aliases linux-lts#58
  • KMOD and KMOD_TOOLS needed for compressed module support
  • TS-7100 tshwctl not showing models correctly (boot script issue at the moment)
  • TS-7250-V3 needs reva dtb built/installed
  • TS-7100 and TS-7250-V3 need to have their boot scripts cleaned up. Currently both have pre-compiled scripts installed
  • Current build path does not include boot.source, I think this is okay, but need to make sure it makes sense with everyone.
  • tsimx6_usbprod failing to build w/ kernel error (this is 4.9)
  • tsimx6_graphical failing to build, missing xcb and xcb-cursor for xwayland tests, adding BR2_PACKAGE_XCB_UTIL_CURSOR doesn't seem to fix it. Bug upstream, no dependency on xcb-util-cursor set up correctly. Will create bug for this.

@ts-kris ts-kris force-pushed the buildroot-update branch 4 times, most recently from 3a5bdda to 57bdcf2 Compare December 14, 2023 23:39
Resolves #38

Signed-off-by: Kris Bahnsen <[email protected]>
This reverts commit 9159832.

The patch was merged in upstream and is no longer needed here as
its own temporary package.

Signed-off-by: Kris Bahnsen <[email protected]>
- Bumps applicable kernels to 5.10.202.1-ts
- Adds compressed kernel modules to support the above kernel bump
- Normalizes output files to rootfs.tar.xz format
- Updates output names listed in README
- Adds a handful of HOST config options to make it easier to run
    these configs without additional host setup/changes.
- Add TS-7250-V2 Rev A dts to output
- Add WDT and set timeout on all defconfigs

Fixes #47
Fixes #50
Fixes #53

Signed-off-by: Kris Bahnsen <[email protected]>
Fixes #44

Signed-off-by: Kris Bahnsen <[email protected]>
Previously, this script would rely on each config setting its
own BR2_JLEVEL option to set the number of CPUs a build would
consume. This defaults to 0 which means nprocs+1. Instead, do
some math to get the number of total procs, split it among the
number of parallel builds to be done, ensure its at least 1 CPU,
and then modify each live .config to use that number.

Signed-off-by: Kris Bahnsen <[email protected]>
Newer toolchain is choking on the older 4.9 kernel extcon drivers.
These are not actually needed, disable them from being enabled at
the Buildroot level.

Signed-off-by: Kris Bahnsen <[email protected]>
This allows using defconfig options to have Buildroot automatically
output a .scr boot script file from an input source. This is only
output to buildroot/output/images. This script simply copies that
to the rootfs /boot/ directory before the final packaging.

Signed-off-by: Kris Bahnsen <[email protected]>
Move to using BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE to
pass the boot.source to be automatically built by U-Boot tools.

Signed-off-by: Kris Bahnsen <[email protected]>
Move to using BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE to
pass the boot.source to be automatically built by U-Boot tools.

This also deviates from using the TS-7250-V3 script verbatim in
order to correctly pass CPU+IO board option information through
the kernel cmdline to current tshwctl tools.

Signed-off-by: Kris Bahnsen <[email protected]>
Buildroot 2023.11 updates Weston which has a dependency on
xcb-util-cursor but that dependency is not actually declared in
the package itself causing build failures. Document build changes
in README and includ xcb-util-cursor in the config.

Signed-off-by: Kris Bahnsen <[email protected]>
A handful of packages did not correctly declare build dependencies
and mostly worked by chance and build ordering. These have been
updated where needed.

Signed-off-by: Kris Bahnsen <[email protected]>
Copy link
Contributor

@markfeathers markfeathers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed, not tested.

@ts-kris ts-kris merged commit c85a00f into main Dec 18, 2023
@ts-kris ts-kris deleted the buildroot-update branch December 18, 2023 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants