mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: move userspace firmware files to gv11b
qnx unit test access ucode from /proc/boot/gv11b. QNX Unit test face issues like permission, platform dependency etc when test tries to access ucode from /proc/boot. To fix issue updating qnx firmware unit to read ucode from firmware/gv11b in case of unit test. Patch also updates firmware access path for posix as well. Jira NVGPU-3582 Bug 2693908 Change-Id: I1b28c8475b6bc4fe5ec3d6a525cb3af152feb887 Signed-off-by: Prateek sethi <prsethi@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2306278 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sagar Kamble <skamble@nvidia.com> Reviewed-by: Nicolas Benech <nbenech@nvidia.com> Reviewed-by: Dinesh T <dt@nvidia.com> Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
7a4ecc8966
commit
451797a6d5
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2019, NVIDIA CORPORATION. All Rights Reserved.
|
||||
# Copyright (c) 2019-2020, NVIDIA CORPORATION. All Rights Reserved.
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a
|
||||
# copy of this software and associated documentation files (the "Software"),
|
||||
@@ -103,7 +103,7 @@ fi
|
||||
# Building the necessary directory structure. It may not be present
|
||||
# first time this is run.
|
||||
ssh $target mkdir -p nvgpu_unit/units
|
||||
ssh $target mkdir -p nvgpu_unit/firmware
|
||||
ssh $target mkdir -p nvgpu_unit/firmware/gv11b
|
||||
ssh $target mkdir -p $TOP/kernel
|
||||
if [ $? != 0 ]; then
|
||||
echo
|
||||
@@ -122,7 +122,7 @@ jcp $TOP/kernel/nvgpu/userspace/gcov.sh nvgpu_unit/gcov.sh
|
||||
jcp $TOP/kernel/nvgpu/userspace/testlist.py nvgpu_unit/testlist.py
|
||||
jcp $TOP/kernel/nvgpu/userspace/required_tests.json \
|
||||
nvgpu_unit/required_tests.json
|
||||
jcp $TOP/kernel/nvgpu/userspace/firmware/ nvgpu_unit/firmware/
|
||||
jcp $TOP/kernel/nvgpu/userspace/firmware/ nvgpu_unit/firmware/gv11b/
|
||||
|
||||
find $nvgpu_bins/userspace/units -name "*.so" -not -path "*unit.so" \
|
||||
-not -path "*drv.so" -exec du -b {} \; | sort -n | while read size unit_so ; do
|
||||
|
||||
Reference in New Issue
Block a user