-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add support for CTI Photon Xavier NX #76
Conversation
Can one of the admins verify this patch? |
thanks for the PR @pgils! yes, overriding the generic nx should be fine and dropping _xavier-nx from KERNEL_DEVICETREE to only override the dtb makes the recipe cleaner |
great! can i add the KERNEL_DEVICETREE change here or would you prefer a separate PR @acostach ? |
@pgils let's wait for my PR to be merged first as we are currently running tests on the new meta-balena before updating it in the PR. afterwards rebasing this PR on top of master and adding the change should be perfect |
9fa0b3c
to
c21eec8
Compare
@acostach I rebased this onto master and had to make one small edit in the boot blob generation in the last commit. Is this good to go? |
@pgils I'm afraid it's probably not going to work, it didn't work for me but you can give it a test if you wish. Reason is the boot blob is very tricky with regards to signatures, that's why we need to use some patching to have it resemble the one created during flashing by tegra host tools, which bundles the dtb for cboot to use. See: balena-jetson/layers/meta-balena-jetson/recipes-bsp/tegra-binaries/tegra194-nxde-flash-dry_32.4.2.bb Line 336 in 35ec3d2
It's good if you can confirm on your side, you can try to write the bundle you get generated in your custom build like here: Line 71 in 35ec3d2
and also try with the one that's generated without the last commit. Would be great to know how it works on your side. Regarding the configs enabled, some are already enabled by meta-balena: https://github.com/balena-os/meta-balena/blob/master/meta-balena-common/classes/kernel-resin.bbclass#L377 |
@resin-jenkins test this please |
@acostach OK i can confirm it does not work.
Writing this to Writing one generated with
Works fine. What still confuses me is that the checksum for the partition seems random after each initial flashing (of the full balena image):
Yet this boots and reboots fine.
I removed the duplicates and separated them as well! |
Add machine file for CTI Photon NX carrier board for Jetson Xavier NX Changelog-entry: Add support for CTI photon NX Signed-off-by: Pelle van Gils <[email protected]>
Signed-off-by: Pelle van Gils <[email protected]>
Add a patch for the changes made to the cdc_mbim driver in CTI bsp Xavier-NX-32.4.2 V001 Signed-off-by: Pelle van Gils <[email protected]>
Signed-off-by: Pelle van Gils <[email protected]>
Signed-off-by: Pelle van Gils <[email protected]>
Signed-off-by: Pelle van Gils <[email protected]>
Signed-off-by: Pelle van Gils <[email protected]>
Signed-off-by: Pelle van Gils <[email protected]>
Signed-off-by: Pelle van Gils <[email protected]>
Signed-off-by: Pelle van Gils <[email protected]>
Signed-off-by: Pelle van Gils <[email protected]>
Signed-off-by: Pelle van Gils <[email protected]>
enable cdc-wdm, sierra-net, cdc-ncm, and mii. Signed-off-by: Pelle van Gils <[email protected]>
Signed-off-by: Pelle van Gils <[email protected]>
@resin-jenkins test this please |
Support for Jetson Xavier NX module (P3668-0000) in a CTI Photon carrier board.
Based on #74 with patches from CTI bsp xavier-nx-32.4.2 v001
The machine conf overrides
jetson-xavier-nx-devkit-emmc.conf
. Is this okay or do we need a standalone config first like with the jetson-nano?Also I was not sure about the order for these variables. Does that look alright?
This seems to work fine as well:
Would that work as a simpler solution or is there a reason not to set
KERNEL_DEVICETREE
like this?This builds and runs fine. We have not been able to test the WWAN interface which should now be enabled as we do not have a module for it yet, but we will soon. I expect these driver changes to be released for photon-nano as well, we will update it when the 32.4.2 BSP it released by CTI.