Skip to content
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

Jetpack 4.5 #31

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open
Changes from 3 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
23e6e78
Add host-side script to make expandable image
tokk-nv Jul 19, 2019
337524d
Update nvresizefs.sh to the latest to support r32.2
tokk-nv Jul 29, 2019
cbd6ff2
Remove hotfixes needed for JetPack 4.2 image
tokk-nv Jul 29, 2019
ba29243
Remove Jupyter statusbar installation line
tokk-nv Jul 29, 2019
a7bb16c
Change the .local/share/jupyter dir owner to user
tokk-nv Jul 29, 2019
c7ed4a8
Explicitly install setuptools
tokk-nv Jul 29, 2019
0df3b9d
Stop disabling syslog
tokk-nv Jul 29, 2019
56bf8ef
Fix setting dir owner for .local/share/jupyter
tokk-nv Aug 2, 2019
144e76b
Fix the model check logic
tokk-nv Aug 9, 2019
f376064
Merge pull request #8 from NVIDIA-AI-IOT/dev-host-jetson
jaybdub Aug 16, 2019
650c066
Merge branch 'v0.1.0' into jetpack_4.2.1
jaybdub Aug 16, 2019
64b57df
Create ads1115
waveshare Aug 28, 2019
dc4d859
Update display_server.py
waveshare Aug 28, 2019
59a4859
Update stats.py
waveshare Aug 28, 2019
74a013b
Rename ads1115 to ads1115.py
waveshare Aug 28, 2019
077e3d2
Update stats.py
waveshare Aug 28, 2019
1f08f86
Update stats.py
waveshare Aug 28, 2019
f89d8d2
Upgrade to PyTorch 1.2 and Torchvision v0.4.0
tokk-nv Oct 25, 2019
3b89a07
Fix missing space
tokk-nv Oct 25, 2019
1387d6d
Fix type (installl --> install)
tokk-nv Oct 29, 2019
325f683
Update display_server.py
waveshare Dec 7, 2019
aafa9ec
Update stats.py
waveshare Dec 7, 2019
e49fc13
update
waveshare Dec 7, 2019
439054f
Update ads1115.py
waveshare Dec 8, 2019
553b750
Re-format and update install.sh
tokk-nv Jan 18, 2020
1a3cdb2
Add save log script
tokk-nv Jan 18, 2020
ca89783
Make the script executable
tokk-nv Jan 18, 2020
32fd8cd
Fix the install script for jupyter_clickable_image_widget
tokk-nv Jan 19, 2020
84658ac
Fix install.sh
tokk-nv Jan 19, 2020
0b57039
Add jtop installation
tokk-nv Jan 20, 2020
691a7cd
Fix to cd back to the dir for installing jetcard
tokk-nv Jan 20, 2020
57f1ead
Record the time of start and end of the script execution
tokk-nv Jan 20, 2020
64a52e2
Update display_server.py
waveshare Feb 17, 2020
6dc9249
Changes suggested by FaBo (https://faboplatform.github.io/JetracerDoc…
tokk-nv Apr 23, 2020
4278b77
Fix permission error
tokk-nv Apr 25, 2020
beb7df2
Modify for JetPack 4.4DP
tokk-nv May 12, 2020
782c51f
Un-comment the lines previously commented out
tokk-nv May 13, 2020
93027e8
Remove npm
tokk-nv May 13, 2020
4730758
Update display_server.py
waveshare May 30, 2020
93917ee
Skip the Jetson product check for nvresizefs
tokk-nv Aug 7, 2020
eb0e40d
Install PyTorch v1.6 and torchvision v0.7.0
tokk-nv Aug 12, 2020
8868293
Install libffi-dev for Jupyter and change traitlet install method
tokk-nv Aug 12, 2020
a2be628
Install traitlets to make dlink work
tokk-nv Aug 18, 2020
8f793f4
Fix a line for traitlets install
tokk-nv Aug 20, 2020
bad567b
Merge https://github.com/waveshare/jetcard into jetpack_4.5
Feb 20, 2021
ce31eb7
Updated installation script for jetpack 4.5
Feb 20, 2021
d64138b
Added call to restart jupyter server which solves invalid credentials.
Feb 20, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions scripts/archive/nvresizefs.sh
Original file line number Diff line number Diff line change
@@ -39,8 +39,11 @@ function cleanup()
rm "/etc/systemd/system/multi-user.target.wants/nvresizefs.service"
}

if [ -e "/proc/device-tree/model" ]; then
model="$(tr -d '\0' < /proc/device-tree/model)"
if [ -e "/proc/device-tree/compatible" ]; then
model="$(tr -d '\0' < /proc/device-tree/compatible)"
if [[ "${model}" =~ "jetson-nano" ]]; then
model="jetson-nano"
fi
fi

if [ "${model}" != "jetson-nano" ]; then
34 changes: 34 additions & 0 deletions scripts/host_make_expandable_image.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/bin/bash

[ $# -eq 0 ] && { echo "Usage: $0 <device_name> <size> <image_name>"; exit 1; }

sudo -v

echo "### sudo dd if=$1 of=$3.img bs=512 count=$2 status=progress"
sudo dd if=$1 of=$3.img bs=512 count=$2 status=progress

echo "### sudo dd if=/dev/zero of=$3.img bs=512 count=34 oflag=append conv=notrunc"
sudo dd if=/dev/zero of=$3.img bs=512 count=34 oflag=append conv=notrunc

echo "### sudo dd if=$3.img of=$3_last34_init.bin skip=$2 count=34"
sudo dd if=$3.img of=$3_last34_init.bin skip=$2 count=34

echo "### sudo sgdisk --move-second-header $3.img"
sudo sgdisk --move-second-header $3.img

echo "### sudo partprobe $3.img"
sudo partprobe $3.img

echo "### sudo dd if=$3.img of=$3_last34_mod.bin skip=$2 count=34"
sudo dd if=$3.img of=$3_last34_mod.bin skip=$2 count=34

echo "### hexdump -C $3_last34_init.bin"
hexdump -C $3_last34_init.bin

echo "### hexdump -C $3_last34_mod.bin"
hexdump -C $3_last34_mod.bin

rm $3_last34_*.bin

echo "zip $3.zip $3.img"
zip $3.zip $3.img