Commit Graph
22 Commits
Author SHA1 Message Date
tmakin 03a97d2bc1 ack again
Change-Id: If55f4617e18459f7ee03418dd8ddba0dcd032462
2026-09-19 16:59:17 -05:00
tmakin 5594c8ed4f [DNM] ACK stuff
Change-Id: I72adcaa0b01ccbf224a9b3e34d5143c24c9d4621
2026-07-27 23:53:48 -05:00
azkali 54ae156e4b uscript: improve ddr200 detection and enabling
Change-Id: Id7560735b1140fe3d6e99cfff352d62f04481b7e
2025-04-14 00:33:12 +00:00
tmakin 43d30991c7 nx: allow bootloader-passed oc
- Update uscript to check oc, max cpu and gpu freqs
- Update init to poke node to allow max scaling

Perf mode on perfmgr already allows full kernel scaling, so this
will just allow that to rise to max.

A better impl later may involve editing the json to have higher
game profiles etc, but for now this is more than fine.

Change-Id: I669fa523944dc0a99c2c9d6a6360593ee0a4bd8c
2025-04-01 20:52:22 +00:00
Aaron KlingandNolen Johnson 6e973e6835 vendor: Use copy-files for firmware targets and bootfiles
* Don't even copy bootfiles, just stuff them in RADIO for
  infra to grab.
* Kill top level Android.mk while we're here.

Co-Authored-By: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: I7ebe10120133df83d95f6b182f89ea3149bf60c8
2025-01-10 15:20:22 -05:00
Aaron KlingandNolen Johnson b42da2fd3f Move bootloader build rules to build tasks
Co-Authored-By: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: Iaa2d4cbfcb094b962a1af4528ade6e8e201fb49b
2025-01-10 15:20:22 -05:00
CTCaer 618307b822 uscript: match L4T in function and style
Enhancements:
- Allow invalid panel
- Add popular clone panels
- Add check for L4T-Loader version
- Add sanity check for super partition
- Add ddr200_mode option
- Apply USB3 recovery WAR unconditionally
- Misc. logic fixes
- Add comments

Co-authored-by: Thomas Makin <halorocker89@gmail.com>

Change-Id: I7bd9d7204d172bb13dedda160e8385a6411b2206
(cherry picked from commit f1705ff1520b1376677e32943150ce9060e7d271)
2024-12-26 17:57:24 +00:00
Nolen Johnson 461cc984f3 nx: Stop telling the user if USB3 is enabled
* We enable it by default per wiki, so don't
  confuse the user with something that could
  be taken as an error.

Change-Id: Ibbfe236481a057729f6f65cfb563a7ea73a611ff
2024-11-11 21:38:26 +00:00
Nolen Johnson 910d42854d nx: Correct if logic in uscript
Change-Id: I27d76534d7fe0a4502156993d246334c3d910699
2024-11-11 21:13:52 +00:00
Nolen Johnson 941897b035 nx: Fix joycon_ini parsing error
* Check isn't needed really, doesn't return 0.

Change-Id: I4947cb98e100d73a1fa8ffed570efb1b82c71db3
2024-11-11 19:23:13 +00: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
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
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 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 5720f8a02f nx: releasetools: improve bootloader flash
Change-Id: Id5f6fb2ba1daa3b5724dddf2074197983f8b404c
2024-01-25 15:54:02 -05:00
tmakin 8bb5bf7347 nx: build bootstack for l4t-loader
We are migrating from coreboot to an ATF loader
built into hekate-ipl. This will load sc7 bins etc. along
with ATF (bl31) and U-Boot (bl33), which will chainload
kernel (as is currently the case). This also migrates to new
R2P method/driver as the new loader/ATF will stash a
copy of the bootloader in RAM so we do not have to
load a hekate payload.

Change-Id: I11e4a1810829ab3ac4c8830fd03afd6054e40bad
2024-01-25 15:54:02 -05:00
tmakin 1f7ae2abc5 nx: bootfiles: Compile uscript inline
Change-Id: Ib2cdfa323d35c0e33a190b7b6b8bf720ba29806b
2024-01-25 15:54:02 -05:00
tmakin c985f15d27 nx: Import and build boot-files
* 00-android - Used to configure the hekate boot menu.
* *.bmp - Displayed by hekate in the boot menu.

Change-Id: I01016e166c5dfc4b5f50a4d1a81b8f5f3b47a8ae
2024-01-25 15:54:02 -05:00