You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I managed to make the eMMC recognized in the kernel by adding it to the dts but I'm having issues making it recognize the gpt partitions. It seems like the tegra partitions thing doesn't work at all yet on tegra132, the bootloader does pass the gpt and gpt_sector= but not tegraboot=sdmmc. Worked around that by manually adding tegraboot to the cmdline in boot.img
Hello @MartijnBraam! Nice work on getting TegraPT to work on Nexus 9! I didn't even know that TegraPT is needed for Nexus 9. The code change looks good to me, I can incorporate it into grate-kernel on next update. I suppose you may add tegraboot=sdmmc to the bootargs in the device-tree in order to avoid changing cmdline of the bootimg, couldn't you? The kernel needs to know whether it's okay to check eMMC for the TegraPT and the cmdline parameter is the best option for now. It's a bit unfortunate that Tegra bootloaders are inconsistent, but that's what we have and need to deal with it :)
Activity
digetx commentedon Aug 24, 2020
Hello @MartijnBraam! Nice work on getting TegraPT to work on Nexus 9! I didn't even know that TegraPT is needed for Nexus 9. The code change looks good to me, I can incorporate it into grate-kernel on next update. I suppose you may add
tegraboot=sdmmcto thebootargsin the device-tree in order to avoid changing cmdline of the bootimg, couldn't you? The kernel needs to know whether it's okay to check eMMC for the TegraPT and the cmdline parameter is the best option for now. It's a bit unfortunate that Tegra bootloaders are inconsistent, but that's what we have and need to deal with it :)digetx commentedon Aug 24, 2020
Oh, wait! Seems you haven't got it to work yet. Could you please clarify what do you mean by the
memory address as only value?digetx commentedon Aug 24, 2020
Ah, I see now. Could you please try this change:
MartijnBraam commentedon Aug 24, 2020
Yep that seems to work great, combined the changes in here: MartijnBraam@c87728d
Now I'm out of the initramfs at least :)
This is in my kernel log with the change:
digetx commentedon Aug 25, 2020
Awesome!
Wow, Nexus 9 has 33 partitions? Crazy :)
perf test: Set NULL sentinel in pmu_events table in "Parse and proces…
irq: Request and release resources for chained IRQs
Merge branch 'nfc-s3fwrn5-Few-cleanups'
Merge branch 'hns3-next'
Merge branch 'mlxsw-Expose-transceiver-overheat-counter'
btrfs: do not hold device_list_mutex when closing devices
btrfs: extent-tree: kill the BUG_ON() in insert_inline_extent_backref()
btrfs: ctree: check key order before merging tree blocks
perf parse-event: Fix cpu map refcounting
perf test: Fix msan uninitialized use.
81 remaining items
powerpc/powermac: Add missing lockdep_register_key()
mm: optimize do_wp_page() for exclusive pages in the swapcache
perf tool x86: Fix perf_env memory leak
powerpc: update ppc_save_regs to save current r1 in pt_regs
nvme: check for valid nvme_identify_ns() before using it
smb: client: fix OOB in smbCalcSize()
smb: client: fix OOB in smbCalcSize()
Merge branch 'devlink-introduce-notifications-filtering'
Merge branch 'enhance-bpf-global-subprogs-with-argument-tags'
Merge branch 'bridge-mdb-bulk-delete'
libbpf: Fix NULL pointer dereference in bpf_object__collect_prog_relos
perf stat: Fix aggr mode initialization
perf parse-events: Fix tracepoint name memory leak
nvme: check for valid nvme_identify_ns() before using it
RDMA/irdma: Avoid free the non-cqp_request scratch