Add nextthing boards

add chip, chippro and pocketchip
This commit is contained in:
Guilhem Baccialone 2024-10-15 23:00:08 +02:00 committed by GitHub
parent 1372ebb073
commit e5f3a21383
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 12876 additions and 0 deletions

View file

@ -0,0 +1,2 @@
[General]
NetworkInterfaceBlacklist=usb0

View file

@ -0,0 +1,7 @@
interface=usb0
except-interface=lo
bind-interfaces
dhcp-range=usb0,192.168.81.100,192.168.81.199,4h
dhcp-host=00:de:af:c0:de:01,192.168.81.2,4h
dhcp-option=3
dhcp-option=6

View file

@ -0,0 +1,21 @@
#!/bin/sh
MODPROBE=/sbin/modprobe
echo -n "Probing modules: "
if [ ! -x "${MODPROBE}" -o ! -f "/etc/modules" ]; then
echo "missing"
exit 1
else
echo
fi
grep '^[^#]' "/etc/modules" | \
while read module args; do
[ "$module" ] || continue
if ${MODPROBE} $module $args; then
echo " $module loaded"
else
echo " $module failed"
fi
done

View file

@ -0,0 +1,3 @@
#!/bin/sh
alsactl restore

View file

@ -0,0 +1,37 @@
# /etc/inittab
#
# Copyright (C) 2001 Erik Andersen <andersen@codepoet.org>
#
# Note: BusyBox init doesn't support runlevels. The runlevels field is
# completely ignored by BusyBox init. If you want runlevels, use
# sysvinit.
#
# Format for each entry: <id>:<runlevels>:<action>:<process>
#
# id == tty to run on, or empty for /dev/console
# runlevels == ignored
# action == one of sysinit, respawn, askfirst, wait, and once
# process == program to run
# Startup the system
null::sysinit:/bin/mount -t proc proc /proc
null::sysinit:/bin/mount -o remount,rw /
null::sysinit:/bin/mkdir -p /dev/pts
null::sysinit:/bin/mkdir -p /dev/shm
null::sysinit:/bin/mount -a
null::sysinit:/bin/hostname -F /etc/hostname
# now run any rc scripts
::sysinit:/etc/init.d/rcS
# Put a getty on the serial port
ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
ttyGS0::respawn:/sbin/getty -L ttyGS0 115200 vt100 # gadget serial
tty0::respawn:/sbin/getty -L tty0 115200 vt100 # framebuffer console
# Stuff to do for the 3-finger salute
::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
::shutdown:/etc/init.d/rcK
::shutdown:/sbin/swapoff -a
::shutdown:/bin/umount -a -r

View file

@ -0,0 +1,3 @@
#g_serial
g_cdc dev_addr=00:ca:fe:ba:be:01 host_addr=00:de:af:c0:de:01
sun4i_codec

View file

@ -0,0 +1,7 @@
auto lo
iface lo inet loopback
auto usb0
iface usb0 inet static
address 192.168.81.1
netmask 255.255.255.0

View file

@ -0,0 +1,58 @@
tty0
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
ttyS0
ttyS1
ttyS2
ttyS3
ttyAMA0
ttyAMA1
ttyAMA2
ttyAMA3
ttySAC0
ttySAC1
ttySAC2
ttySAC3
ttyUL0
ttyUL1
ttyUL2
ttyUL3
ttyPS0
ttyPS1
ttyPSC0
ttyPSC1
ttyPSC2
ttyPSC3
ttyCPM0
ttyCPM1
ttyCPM2
ttyCPM3
ttymxc0
ttymxc1
ttymxc2
ttyO0
ttyO1
ttyO2
ttyO3
ttyAM0
ttyAM1
ttyAM2
ttySC0
ttySC1
ttySC2
ttySC3
ttySC4
ttySC5
ttySC6
ttySC7
ttyGS0
hvc0
hvc1
hvc2
hvc3

View file

@ -0,0 +1 @@
%sudo ALL=(ALL) ALL