diff --git a/scripts/internet.sh b/scripts/internet.sh deleted file mode 100755 index c89dff6047..0000000000 --- a/scripts/internet.sh +++ /dev/null @@ -1 +0,0 @@ -route add default gw 192.168.5.1 && ndc network create 100 && ndc network interface add 100 eth0 && ndc resolver setnetdns 100 localdomain 8.8.8.8 8.8.4.4 && ndc network default set 100 diff --git a/scripts/panda_gcc/.gitignore b/scripts/panda_gcc/.gitignore deleted file mode 100644 index d1fca437f0..0000000000 --- a/scripts/panda_gcc/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -build -out -src diff --git a/scripts/panda_gcc/build_gcc.sh b/scripts/panda_gcc/build_gcc.sh deleted file mode 100755 index f03f451ab1..0000000000 --- a/scripts/panda_gcc/build_gcc.sh +++ /dev/null @@ -1,66 +0,0 @@ -#!/usr/bin/env bash -# https://blog.tan-ce.com/gcc-bare-metal/ -# https://imvoid.wordpress.com/2013/05/01/building-the-gnu-arm-toolchain-for-bare-metal/ -set -e - -BINUTILS=binutils-2.32 -GCC=gcc-4.7.1 - -mkdir -p src -pushd src -if [ ! -d $BINUTILS ]; then - wget ftp://ftp.gnu.org/gnu/binutils/$BINUTILS.tar.bz2 - tar -xf $BINUTILS.tar.bz2 -fi -popd - -# TODO: replace with /usr -mkdir -p out -PREFIX=$PWD/out - -mkdir -p build/$BINUTILS -pushd build/$BINUTILS -../../src/$BINUTILS/configure --target=arm-none-eabi \ - --build=aarch64-unknown-linux-gnu \ - --prefix=$PREFIX --with-cpu=cortex-m4 \ - --with-mode=thumb \ - --disable-nls \ - --disable-werror -make -j4 all -make install -popd - -mkdir -p src -pushd src -if [ ! -d $GCC ]; then - wget ftp://ftp.gnu.org/gnu/gcc/$GCC/$GCC.tar.bz2 - tar -xf $GCC.tar.bz2 - - cd $GCC - contrib/download_prerequisites -fi - -popd - -export PATH="$PREFIX/bin:$PATH" - -mkdir -p build/$GCC -pushd build/$GCC -../../src/$GCC/configure --target=arm-none-eabi \ - --build=aarch64-unknown-linux-gnu \ - --disable-libssp --disable-gomp --disable-libstcxx-pch --enable-threads \ - --disable-shared --disable-libmudflap \ - --prefix=$PREFIX --with-cpu=cortex-m4 \ - --with-mode=thumb --disable-multilib \ - --enable-interwork \ - --enable-languages="c" \ - --disable-nls \ - --disable-libgcc -make -j4 all-gcc -make install-gcc -popd - -# replace stdint.h with stdint-gcc.h for Android compatibility -mv $PREFIX/lib/gcc/arm-none-eabi/4.7.1/include/stdint-gcc.h $PREFIX/lib/gcc/arm-none-eabi/4.7.1/include/stdint.h - - diff --git a/scripts/phone_nat.sh b/scripts/phone_nat.sh deleted file mode 100755 index 2a6e432c9b..0000000000 --- a/scripts/phone_nat.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -echo 1 > /proc/sys/net/ipv4/ip_forward -#iptables -t nat --delete-chain -iptables --flush -iptables -t nat --flush - -# could be either one -iptables -t nat -A POSTROUTING -o v4-rmnet_data0 -j MASQUERADE -iptables -t nat -A POSTROUTING -o rmnet_data0 -j MASQUERADE - -#iptables --delete-chain -#iptables -A INPUT -i eth0 -j ACCEPT -#iptables -A INPUT -i v4-rmnet_data0 -m state --state RELATED,ESTABLISHED -j ACCEPT -#iptables -A OUTPUT -j ACCEPT -#iptables -A FORWARD -i rmnet_data0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT -#iptables -A FORWARD -i eth0 -o v4-rmnet_data0 -j ACCEPT - diff --git a/scripts/push_pr.sh b/scripts/push_pr.sh deleted file mode 100755 index 9b10748cb6..0000000000 --- a/scripts/push_pr.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -e - -# workaround for a git lfs bug when pushing -# to PR branches that don't have lfs enabled - -git lfs uninstall -git push -git lfs install