mirror of https://github.com/OpenIPC/composer.git
Basic init and add two projects
parent
95a27dd24e
commit
0e1a91f416
|
@ -0,0 +1,7 @@
|
|||
# These are some examples of commonly ignored file patterns.
|
||||
# You should customize this list as applicable to your project.
|
||||
# Learn more about .gitignore:
|
||||
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
|
||||
|
||||
# Assembly folder
|
||||
Firmware/
|
15
README.md
15
README.md
|
@ -1,2 +1,13 @@
|
|||
# composer
|
||||
Creating OpenIPC firmware with custom settings
|
||||
## COMPOSER
|
||||
|
||||
** Creating OpenIPC firmware with custom settings**
|
||||
|
||||
-----
|
||||
|
||||
### Quick Start - run one command for happiness ;)
|
||||
|
||||
```
|
||||
https://github.com/ZigFisher/composer.git && cd composer && ./stapler.sh t31_vixand
|
||||
```
|
||||
|
||||
-----
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
../../general/package/ax-agent
|
|
@ -0,0 +1,7 @@
|
|||
config BR2_PACKAGE_AX_AGENT
|
||||
bool "ax-agent"
|
||||
default n
|
||||
help
|
||||
Simple daemon
|
||||
|
||||
https://openipc.org
|
|
@ -0,0 +1,22 @@
|
|||
################################################################################
|
||||
#
|
||||
# ax-agent | updated 2022.08.10
|
||||
#
|
||||
################################################################################
|
||||
|
||||
AX_AGENT_LICENSE = MIT
|
||||
AX_AGENT_LICENSE_FILES = LICENSE
|
||||
|
||||
define AX_AGENT_EXTRACT_CMDS
|
||||
cp ../general/package/ax-agent/src/ax-agent.c $(@D)/
|
||||
endef
|
||||
|
||||
define AX_AGENT_BUILD_CMDS
|
||||
(cd $(@D); $(TARGET_CC) -s ax-agent.c -o ax-agent)
|
||||
endef
|
||||
|
||||
define AX_AGENT_INSTALL_TARGET_CMDS
|
||||
install -m 0755 -D $(@D)/ax-agent $(TARGET_DIR)/usr/sbin/ax-agent
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
|
@ -0,0 +1,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main (void)
|
||||
{
|
||||
puts ("Hello, World!");
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
bsd_comp
|
||||
ch341
|
||||
option
|
||||
ppp_async
|
||||
ppp_deflate
|
||||
ppp_generic
|
||||
ppp_mppe
|
||||
slhc
|
||||
usb_wwan
|
||||
usbserial
|
||||
vfat
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
# Interfaces
|
||||
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
auto eth0
|
||||
iface eth0 inet static
|
||||
address $(fw_printenv -n ipaddr || echo 192.168.1.10)
|
||||
netmask 255.255.255.0
|
||||
|
||||
auto ppp0
|
||||
iface ppp0 inet manual
|
||||
pre-up echo 61 > /sys/class/gpio/export
|
||||
pre-up echo out > /sys/class/gpio/gpio61/direction
|
||||
pre-up echo 0 > /sys/class/gpio/gpio61/value
|
||||
pre-up (sleep 7; pon)
|
||||
post-down poff
|
||||
post-down echo 1 > /sys/class/gpio/gpio61/value
|
||||
post-down echo 61 > /sys/class/gpio/unexport
|
|
@ -0,0 +1,24 @@
|
|||
ABORT 'BUSY'
|
||||
ABORT 'NO ANSWER'
|
||||
ABORT 'NO CARRIER'
|
||||
ABORT 'NO DIALTONE'
|
||||
ABORT 'NO DIAL TONE'
|
||||
ABORT '\nRING\r\n\r\nRING\r'
|
||||
ABORT '\nRINGING\r\n\r\nRINGING\r'
|
||||
ABORT 'VOICE'
|
||||
ABORT 'DELAYED'
|
||||
#REPORT 'CONNECT'
|
||||
TIMEOUT '6'
|
||||
'' 'AT'
|
||||
'' 'AT'
|
||||
#OK 'AT&FZ'
|
||||
#'OK' 'ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0'
|
||||
OK 'AT'
|
||||
ABORT 'ERROR'
|
||||
OK 'AT+CGDCONT=1,"IP","internet"'
|
||||
OK 'AT+CGATT=1'
|
||||
OK 'ATI'
|
||||
OK 'AT+CSQ'
|
||||
OK 'ATD*99***1#'
|
||||
TIMEOUT '30'
|
||||
CONNECT ''
|
|
@ -0,0 +1,16 @@
|
|||
ttyUSB0
|
||||
921600
|
||||
lock
|
||||
crtscts
|
||||
modem
|
||||
passive
|
||||
novj
|
||||
defaultroute
|
||||
noipdefault
|
||||
usepeerdns
|
||||
noauth
|
||||
hide-password
|
||||
persist
|
||||
holdoff 10
|
||||
maxfail 0
|
||||
debug
|
|
@ -0,0 +1,2 @@
|
|||
file /etc/ppp/options
|
||||
connect "/usr/sbin/chat -v -t15 -f /etc/ppp/chatscripts/modem.chat"
|
Loading…
Reference in New Issue