Commit Graph
150 Commits
Author SHA1 Message Date
tmakin 299a61f1de [hack] build in tinyalsa for triage 2026-10-13 17:15:08 -05:00
tmakin 91d1e94240 [wip] nx: use mainline audio hal 2026-10-13 17:12:40 -05:00
tmakin 03a97d2bc1 ack again
Change-Id: If55f4617e18459f7ee03418dd8ddba0dcd032462
2026-09-19 16:59:17 -05:00
tmakin be7c7b18f3 more baylibre
Change-Id: Ib780ad0d65dda0010fdf2483fb7085bbe4695f82
2026-07-28 09:46:30 -05:00
tmakin 5594c8ed4f [DNM] ACK stuff
Change-Id: I72adcaa0b01ccbf224a9b3e34d5143c24c9d4621
2026-07-27 23:53:48 -05:00
Aaron Kling 3eee2f1dac Support android common kernel
The lowest supported version is 6.12.

Change-Id: I4dbb7434853330abdfe8ebc21b52e5d67737ffca
2026-07-27 23:51:13 -05:00
tmakin 3697d9abe6 nx: support mainline nodes for thermal
Change-Id: I631f23d4f478dab4d9740fc824ed12628d29fe10
2026-07-27 23:51:13 -05:00
Aaron Kling 0ed4070c53 Move tv input build rules to tegra-common
Change-Id: Ibc08f66d3dcbe5db5ccb8ac8e37a7341a16a8e45
2025-10-22 14:21:01 -04:00
Nolen Johnson 240bb5860e nx: Include nvcamera
Change-Id: Iabe2e61aba03f267ad207ab6f4d3325086329796
2025-09-20 22:31:00 -04:00
Nolen Johnson 9339bc54f2 nx: Use TARGET_TEGRA_SENSORS
* iio is now supported in tegra-common.

Change-Id: Ib3fa9d7e01fd0fc5816c97289a4977b42bfb4008
2025-09-20 22:15:47 -04:00
Aaron Kling 0d479c9eba Revert "nx: Include intel sensors-iio namespace"
This reverts commit 43b4abc90c.

Reason for revert: Moving to tegra-common

Change-Id: I3f388f1b9547a2693cf47d19cf67e1f05e970e68
2025-09-20 00:22:38 +00:00
Nolen Johnson e626f797ea nx: Adapt to libbt migration to blueprint
Change-Id: I1acc5a1ed5eb18608980c02af719fcc08d0cfeeb
2025-09-17 06:21:59 +00:00
Aaron Kling b92e042d1b Convert TARGET_TEGRA_KERNEL to TARGET_KERNEL_VERSION
There was no common kernel version flag when this was first added, now
there is. So change all references to use the common name.

Change-Id: I661d558df18e7055b2f83424c8987dfa8a83bb19
2025-08-26 00:06:00 -04:00
Nolen Johnson c23c4e2f4d nx: Fix default fingerprint setting
Change-Id: I26d1b373ca3c352554b9aa3623486a92abd30375
2025-07-28 20:43:36 -04:00
Nolen Johnson 357517637f fixup! Partially revert "nx: Update fingerprint to 9.2.0"
Change-Id: I4bfc2d886882bcee70a7a0629f69bc81b46a9dea
2025-06-23 03:40:58 +00:00
tmakin a131ab0feb Partially revert "nx: Update fingerprint to 9.2.0"
Reason for revert: Breaks GFN to set to foster_e.

Change-Id: Ie457f80c10bc52dd6fb4ced38bf133cc308a3fcb
2025-06-22 23:33:56 -04:00
Nolen Johnson 847415a15b nx: Update fingerprint from 9.2.1
Change-Id: I0130fe6d470d4516f30c36a53cf59cc9b5764018
2025-05-07 20:51:41 -04:00
Nolen Johnson 43b4abc90c nx: Include intel sensors-iio namespace
Change-Id: Icd5edb80afb7eea1b4d246aba1fc399f03e561f3
2025-03-31 14:03:22 -04:00
tmakin dfd251ad63 nx: only build nx power rc if cpl enabled
Change-Id: Ia484dba2638c06aac8c1bdb18d261b2e99a80c28
2025-03-12 15:50:21 +00:00
tmakin 6fe016e60e nx: migrate to perfmgr OSS power HAL
- Exercise greater control over hinting, power profiles, specific
  behavior, etc.
- Better support in the future vs maintaining phs
- Totally nuke nvcpl to remove variables in display handling and
  power profiles

Change-Id: If9076248fcacfdc8165bd814ad78786134997b97
2025-02-14 12:52:37 -05:00
Nolen Johnson 0d678776fe nx: Update fingerprint to 9.2.0
* Also stop overriding foster FP with a weird hybrid, it
  breaks things that require GMS certified FP on ATV, and
  we have a standing exception for AML devkits (not shipped
  with Android officially) to use "latest platform reference
  device FP", so doing that using foster_e.

Change-Id: I3a5ab78a91f48b4fddced5395d7f7316e615cc63
2025-02-09 16:39:50 +00:00
Nolen Johnson 94baa3e14c nx: Move init.lkm.rc to copy-files
Change-Id: I742fce5a9a50de9dd5c35ecfac7404eec45f0733
2025-01-10 15:20:22 -05:00
tmakin b18d1a7b5d Reapply "nx: Upgrade to new AIDL joycond"
This reverts commit 3c04625a26.

Change-Id: If64bc65eccbffee94e1b648f40fb7e4186e8adde
2025-01-01 17:44:44 +00:00
tmakin 67911b6d99 nx: powerhal: remove useless xml
Change-Id: Ie1450957bf1ddda688561648dbee6498a33c36fd
2025-01-01 17:44:44 +00:00
tmakin a73113a66f nx: Opt-out of forced 1080p scaling
* This has not been mandated by Google since S and since they fixed
  density scaling, UI looks better with properly scaling interface.

Change-Id: Id1eb10b3f0c2b03ac6401bdfb00ba68036de91ef
2024-11-17 20:53:11 +00:00
tmakin 43ac071958 nx: migrate most prebuilts to blueprint
Change-Id: Iaa62c84a09613f986e48b51a748f4b498ab905c8
2024-10-31 15:34:54 -04:00
tmakin f70094e0ce nx: rename frig to fric
`fric` is the actual NVIDIA board name. Use for semantics and compat with L4T.

Change-Id: I1995f24e7a289e3a39ecd3385d1f5546df781b6a
2024-10-31 15:34:42 -04:00
LuK1337 dead61609f nx: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2024-10-24 18:49:34 +00:00
tmakin 3c04625a26 Revert "nx: Upgrade to new AIDL joycond"
This reverts commit c0c182b0df.

Change-Id: I654b447e093337319d3d241c9bbdd79b4ef62533
2024-10-03 23:57:13 +00:00
tmakin c0c182b0df nx: Upgrade to new AIDL joycond
Change-Id: I91941db20e0589365d9e4e25bf064ec7d23f6306
2024-10-03 22:32:46 +00:00
tmakin 410b6a82d7 nx: Use prebuilt U-Boot for now
* CTC's 2018 u-boot is more feature-complete for nx for now.

* We may revisit this later.

* This remediates issues with RAM carveout, clocks
  (on erista models), mod chip issues (on mariko models),
  and brings us almost in-line with L4t releases for nx.

Change-Id: I622cc67acb543b6ac54c8ee7a585d88e8066606c
2024-10-03 22:32:46 +00:00
tmakin 699006121d nx: Adjust density and aapt configs
* Reduce crashing and other issues resulting from density
  disagreements. Also, AAPT should not be set as per cuttlefish
  and newer Pixel devices.

Change-Id: Ibca27b4a77c84f2e57a534da10c278c7d0f0cf91
2024-09-30 18:51:52 +00:00
tmakin 1fa3d07c50 nx: input: Redo exclusion handling
* We will use existing disable infra instead of idc disable. In the
  future we will do this based on vid/pid, but AOSP ignored the
  change and no one cares enough to port it.

Change-Id: Ic09688a180502274aa5c56065b8e943227753cc3
2024-09-30 18:50:24 +00:00
Nolen Johnson bac88dd586 nx: Nuke wifi_reset from orbit
* New cypress-fmac works with sleep!

Change-Id: I62655f9b4f6ac2b1f5240f28305eb0578f934bfd
2024-07-12 16:10:32 +00:00
Aaron Kling f86793bea9 Remove software omx codec references
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.

Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
2024-06-30 15:44:44 +00:00
Tim Zimmermann e56514179a nx: Set manifest target-level to 5
Change-Id: Ic72d17ebdb388dee9e63e27a36190c93c095fb0c
2024-06-20 01:08:20 -04:00
Nolen Johnson fabb8b50b7 nx: Update recovery by default
* This is a strange case, it never shipped Android to begin with,
  so we need a tighter control over the ecosystem here to make
  things seamless.
* Candidly, we're either going to set this up here or from Hekate,
  and this is far cleaner.

Change-Id: Ic60d3a78a74655f51b5acc84e6166a018733fece
2024-06-14 10:40:33 -04:00
Nolen Johnson 134edf0e8d nx: Build DocumentsUI
* Normally, this would normally be a platform decision, to build,
  or not to build an non-controller navigable app on ATV builds.

* But we are the weird-ass edge case (as always), in that we are
  an ATV device with touch-input, meaning this application will work
  on this device.

Change-Id: I2f32ba14d522f0dc81db13ef76e8f52a0b151770
2024-06-03 00:44:24 +00:00
Nolen Johnson 363a56fd99 nx: Hardcode FCM level to 4
* We have our own device-specific HAL (sensor),
  so we can't use the common one.

Change-Id: I0a6fcba7f99256d592ebaef2a3f162f9e316a489
2024-06-02 18:30:27 +00:00
Nolen Johnson b06291c0f0 nx: Use rel-shield-r memtrack
* Due to some race condition, nvmap header isn't avaible
  sometimes, use this until it's fixed.

Change-Id: I0dff36059aecb3575307373f20d51531ccf0ae1e
2024-06-02 18:30:27 +00:00
Michael Bestas cdde544ea1 nx: Enforce vintf kernel requirements
The build system enables this for shipping API level >=29
but we also want it to pass the vintf runtime checks.

Change-Id: Ie2147893a1551b736880913334a3c134a17ca91c
2024-06-02 18:30:27 +00:00
Aaron Kling 53f089a206 Switch to light module
Currently results in no change to the target image, but this allows
updates to the target in one place instead of each device tree.

Change-Id: I13d095307ed1dcb2375ae7193b9abc3be30b3bdf
2024-06-02 18:30:27 +00:00
Aaron Kling 2c5e112178 Switch to thermal module
Currently results in no change to the target image, but this allows
updates to the target in one place instead of each device tree.

Change-Id: I9dbc06b6a64604c46851f3c4aef3f189c83f042d
2024-06-02 18:30:27 +00:00
Nolen Johnson 8a7e83f617 nx: Drop legacy trust HAL
* Dead, will need to move to newer USB HAL at some
  point if we decide to.

Change-Id: Ic356186642f3a7fc777e2ddc956dbb49842ef451
2024-03-21 17:18:56 -04:00
Nolen Johnson 056f28d82a Revert "nx: Use minimal GMS if building with it"
This reverts commit 525c9b6d18.

Reason: We now have enough space for full GMS with dynamic partitions.
Change-Id: I7c3ab4c187b7284f5d03471531cd57238e6fd953
(cherry picked from commit 0bf0c81a31bf64c11b58be5b27ed3a57add2c9d6)
2024-02-06 07:45:28 +00:00
tmakin 14af49d754 nx: Pretend to be launched to dynamic partitions
* We are aren't launched with Android at all to, but
  our partitions were origianlly set up to match
  foster, as it is our closest hardware counterpart.

* Those partition sizes are now to small to fit
  almost any form of GMS.

* The fact that users have to exploit their console,
  run a custom first stage bootloader (Hekate), and
  applications bootloader (u-boot) that we control
  means that instead of retrofitting dynamic partitions
  we can just _launch with them_ (as we have yet to ship
  this device).

* Treat this device as if it has always had dynamic
  partitions and let Hekate set us up to reflect that.

* Do away with SAR in the process, as Hekate can turn
  that off.

* Nuke MDA, we don't support hardware backed encryption
  anyway, so it doesn't make any sense to house.

Reference: https://github.com/CTCaer/hekate/pull/922
Change-Id: I1e5d8c309d08559873ea3c93ac5b4b6e197b528e
2024-02-05 00:57:38 +00:00
Tim Zimmermann be5097fe23 nx: Inherit non_ab_device.mk
* This is required to build applypatch for updating recovery

Change-Id: I38053691f7724b5d6c30159c410d5d04ac136180
2024-01-29 13:43:29 -05:00
Nolen Johnson d452398bb4 nx: Account for vendor restructure
Change-Id: I880c51ec4bb435f086c36639bd4a036fd243ce1f
2024-01-29 13:43:29 -05:00
Aaron Kling f73490fc10 Convert vendor makefile inherits to includes
Some variables that need checked in the vendor makefiles are being
purged by the inherit macro.

Change-Id: I3942e953ff0fb3adfaabc7189a92bff92818de0d
2024-01-29 11:58:41 -05:00
Aaron Kling ba8c478824 Switch to modules.load for lkm
Change-Id: I1a44f93747c37db7faea2a54cce90bfdbdb7ae1c
2024-01-29 11:58:41 -05:00