Skip to content

Commit

Permalink
remove RTC time pull from panda (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh authored Jan 25, 2024
1 parent ca2a5f2 commit 5b9511a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 64 deletions.
9 changes: 0 additions & 9 deletions Dockerfile.agnos
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,6 @@ COPY ./userspace/usr/share/fonts/* /usr/share/fonts/
COPY ./userspace/libs/* /usr/lib/aarch64-linux-gnu/
COPY ./userspace/libs32/* /usr/lib/arm-linux-gnueabihf/

# copy of panda python lib
RUN cd /tmp/ && \
git clone https://github.com/commaai/panda.git && \
cd panda && \
git fetch --all && \
git checkout dd78b2bf6c9d63ef59e81d0c400e85c8b477a8be && \
mkdir /usr/comma/panda/ && \
mv __init__.py python/ /usr/comma/panda/

# kernel headers for the AGNOS kernel (built on device)
COPY ./userspace/files/linux-headers-4.9.103+_4.9.103+-1_arm64.deb /tmp/
RUN dpkg -i /tmp/linux-headers-4.9.103+_4.9.103+-1_arm64.deb
Expand Down
8 changes: 0 additions & 8 deletions userspace/files/set_time.service

This file was deleted.

1 change: 0 additions & 1 deletion userspace/services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ systemctl enable ssh-param-watcher.path
systemctl enable ssh-param-watcher.service
systemctl enable home.mount
systemctl enable logrotate-hourly.timer
systemctl enable set_time.service
systemctl enable phantom_touch_logger.service

# Disable some of our services
Expand Down
42 changes: 0 additions & 42 deletions userspace/usr/comma/set_time.py

This file was deleted.

4 changes: 0 additions & 4 deletions userspace/usr/comma/tests/test_agnos.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ def test_color_calibration():
def test_python_shims():
subprocess.check_call("cd /data/openpilot && scons -h", shell=True, stdout=subprocess.DEVNULL)

def test_set_time():
# TODO: ensure time is set from panda RTC
pass

def test_dmesg():
# TODO: ensure no new errors in dmesg. would catch things like the brightness setting bug
pass
Expand Down

0 comments on commit 5b9511a

Please sign in to comment.