Commit a44c8b96 authored by aTc's avatar aTc

add init-hwtest.sh

parent f9a9d600
#!/bin/bash
[ -d /dev ] || mkdir -m 0755 /dev
[ -d /root ] || mkdir -m 0700 /root
[ -d /sys ] || mkdir /sys
[ -d /proc ] || mkdir /proc
[ -d /tmp ] || mkdir /tmp
mkdir -p /var/lock
mount -t sysfs -o nodev,noexec,nosuid sysfs /sys
mount -t proc -o nodev,noexec,nosuid proc /proc
mount -t devtmpfs -o nosuid,mode=0755 udev /dev
mkdir /dev/pts
mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true
mount -t tmpfs -o "noexec,nosuid,size=10%,mode=0755" tmpfs /run
mount -o remount,rw / /
# screen
modprobe omapdss
modprobe omapdrm
modprobe encoder_tpd12s015
modprobe connector_hdmi
modprobe panel_boe_w677l
modprobe pwm_bl
# touchscreen
modprobe tsc2007
# keyboard
modprobe tca8418_keypad
modprobe palmas_pwrbutton
# nubs
modprobe as5013
#usb
modprobe ehci_omap
/usr/share/pyra/bin/pyra_test_inputs
/bin/bash
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment