Commit Graph
446 Commits
Author SHA1 Message Date
tmakin c8516fac3f nx: init: reformat and update for accuracy
Change-Id: I4d1c65d7d30fd879e2be28e6020859985d7f7eee
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 168005f457 bl: update uboot version
Change-Id: I97021af90624074ab83c51301c3e5d703250d612
2024-10-23 15:09:36 +00:00
Nolen Johnson 7c3896c7b6 nx: Drop u-boot form dependencies
* We use prebuilt now.

Change-Id: I3892dc6057918a36ef93b0a53b26be3283d6796a
2024-10-21 23:58:03 -04:00
tmakin b6676ebe6d uscript: don't print cec disable to screen
This is default on Lite--bad UX.

Change-Id: I0b81d626402edaf1996d82d62bb0d482941cbdf9
2024-10-21 23:02:35 +00:00
tmakin a871a44b78 nx: uscript: Correct mac addr behavior
Change-Id: I956bbdccddba20039531e98e07a54a9bd6f56287
2024-10-21 23:02:10 +00:00
tmakin 476d3e87f0 nx: uscript: Fix cec_disable appending
Change-Id: Iaa6b7f840ea2855700ad33de3cd146683285b035
2024-10-11 19:26:50 +00:00
Nolen Johnson 8cef304783 nx: Keep disabling CEC on vali
Change-Id: Ic292b061eebbb6678a00bec5451f2423f32cb9d2
2024-10-04 13:20:58 -04:00
Nolen Johnson f8a53d878e nx: bootfiles: Remove SELinux declaration
* Introduced by prior commits

Change-Id: I59f9168fdc54293935289e51e3da70b3f039daed
2024-10-04 03:31:26 +00:00
Nolen Johnson b27cf0af88 nx: Fetch BL33 from SWR
Change-Id: Ib97f2747252f34c4dd9b18cb8ee3c6cecb2e2b43
2024-10-04 02:57:47 +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 1f20f3af82 uscript: fix bootargs
Change-Id: I77d346bca00c45ca595997e7f1a8fb3a75f28eaf
2024-10-03 23:53:16 +00:00
tmakin 1dd40b8a26 uscript: remove als option
No need to disable. Expected on android.

Change-Id: I6ecf7398171701ffc9dccb6f8a7910f10c541af8
2024-10-03 22:40:11 +00:00
tmakin 79346a0d48 releasetools: comprehensive overhaul
- do not flash logos (users often replace)
- do not suppoort upgrades from older versions (didn't work
  anyway)
- properly set new uboot rev
- use MUCH more readable structure

Change-Id: I18390cb5e7d50419d933baa78363bcec8324cbef
2024-10-03 22:39:52 +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 f8b465af1c nx: Differentiate USB PIDs
Change-Id: Ib63912eac82ad920c7086ac9d9c997e6348183fe
2024-09-30 18:51:52 +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
tmakin f613deb196 nx: Set proper settings for new fmac
* As per cuttlefish etc. and cypress/nxp reference, set overlays for
  MAC randomization support. Also enable
  WIFI_HIDL_FEATURE_DUAL_INTERFACE and
  WIFI_AVOID_IFACE_RESET_MAC_CHANGE as per cypress/nxp reference.

Change-Id: I5ad1539e400d9f79fce641faf284246743b08915
2024-09-30 15:26:36 +00:00
Nolen Johnson 3d46ce73fe nx: extract: Redo
Change-Id: Ib4b4147c5963de625555036c6fd9998279f889bf
2024-08-04 19:25:11 -04:00
Nolen Johnson 334cdb7c30 nx: Utilize proper extract-files path
Change-Id: I6db92f840a98bdf997e1400f41d84f76f8987e13
2024-08-02 18:05:17 -04:00
Nolen Johnson 96a0f2348c nx: thermal: Use SKIN instead of DIODE/BOARD
* Use tskin estimation for skin.

Change-Id: Ic75bd4b3d39bcc20d7550341bf9fccd94ed71c0c
2024-07-15 23:17:19 -04:00
Nolen Johnson 535f79a227 nx: Properly set permissions on OLED backlight
Change-Id: I7819cf88d828bc178999954630a710d3cbe33925
2024-07-13 12:36:26 -04:00
Nolen Johnson d535e8dde5 nx: initfiles: lmk_loader_target: Change cfg module name
* For newer base.

Change-Id: I68c70b5125c54320e3db579c5353f8fd2154f49a
2024-07-12 20:24:55 -04:00
Nolen Johnson cd5ba7073f nx: Migrate to new system_ext property flag
Change-Id: I279164cf75f44fdff93d68094f22ec62f8b35357
2024-07-12 20:20:43 -04:00
Nolen Johnson 08bf61290d nx: Disable screen mirroring dialog
* Our dock is closed-face, so users can't interact with this dialog.

Change-Id: I21567a85c439597a506475a4f884a75e5312356a
2024-07-12 16:32:29 +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
Nolen Johnson 4d434fb8c7 nx: sepolicy: Label correct OLED backlight path
Change-Id: I06cd017a002a16c64ed2b31b457adc53470f022d
2024-07-02 23:38:20 -04:00
Nolen Johnson f3adc1169d Revert "nx: Flash dummy super on clean install"
This reverts commit c5b488c9de.

Change-Id: I8ce38f3546ed094707637d5f4d2f6dfed11d8f7b
2024-07-01 20:42:01 -04: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
Nolen Johnson 59a785ccae nx: sepolicy: Label another possible brightness node for backlight
Change-Id: I532c4efe469327cea5ae178217a97f7bd53b174f
2024-06-28 00:12:44 -04:00
Nolen Johnson 1b3b2ad599 Revert "nx: Disable nvgpu framebuffer compression"
This reverts commit eda8112206.

Reason: In tegra-common now.
Change-Id: I3b66231d18d9c8ecc929a4fb8e4c4b8a9fc91133
2024-06-27 15:29:25 -04:00
Tim Zimmermann e56514179a nx: Set manifest target-level to 5
Change-Id: Ic72d17ebdb388dee9e63e27a36190c93c095fb0c
2024-06-20 01:08:20 -04:00
Michael Bestas a9976d42ae nx: Drop COMMON_LUNCH_CHOICES
As of 14 QPR2 this is broken, let's remove it instead of updating it
every 3 months. breakfast is the way to go.

Change-Id: I097bd54b894d9a49c7ce8b1ab6f343349e268fd8
2024-06-19 16:00:40 -04:00
Nolen Johnson 6763f64dcc nx: Rebuild u-boot on changes
* PHONY targets are not recommended by AOSP. Ensure we rebuild
  on any change to source dir. This will hit all sources as well
  as defconfig and dtb.

Change-Id: Ieddbee7c14a79581efde35a46f0081d7a2ebfe11
2024-06-14 21:19:53 -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 a9e00e0a2b nx: Fix Wi-Fi NVRAM copy rules
Change-Id: I5cff8c18cfd7aa93d54cf5dd7f4b38103b76099b
2024-06-14 01:21:28 -04:00
Nolen Johnson 5e1973c6c9 nx: Add nx-plat.dtimg to RADIO_IMAGES
* For infra.

Change-Id: Idd8297f6ff24cea9ad94b9e1237fdf8234e554e2
2024-06-14 01:15:37 -04:00
Nolen Johnson ef46efd39f nx: sepolicy: vendor: Don't rely on lineage specific macros
Change-Id: Ie67707b3449dd1321ee83088be189b07f5e06a81
2024-06-03 23:07:53 -04:00
Nolen Johnson 8beb726037 nx: sepolicy: vendor: Allow sensors HAL to write to length node
Change-Id: Ia0cfeadc01d5d3ba7d867a166c69ae7514ce0a5c
2024-06-03 23:03:38 -04:00
Nolen Johnson 52733388fa nx: sepolicy: private: Redo wifi_reset policy
* Down to two neverallows.

Change-Id: I9d11d8724c3ff288579442fd91a5243d163c6516
2024-06-03 22:25:15 -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 f26b25bbd6 Revert "nx: initfiles: wifi_reset: Sleep 2s"
This reverts commit 5fc8371426.

Reason for revert: SELinux was the true issue,

Change-Id: I46c46f24d42baefee500df2885b052b95a8cff17
2024-06-02 16:41:01 +00:00