├── projects ├── t31_lite_convoy │ └── general │ │ └── overlay │ │ ├── etc │ │ ├── TZ │ │ ├── timezone │ │ ├── sensor │ │ │ └── imx335-t31.bin │ │ ├── init.d │ │ │ └── S94dn-monitor │ │ └── composer.ini │ │ └── lib │ │ └── modules │ │ └── 3.10.14__isvp_swan_1.0__ │ │ └── ingenic │ │ ├── sensor_imx335_t31.ko │ │ └── sensor_imx335_t31_v2.ko ├── t31_lite_faceter │ └── general │ │ └── overlay │ │ └── etc │ │ ├── TZ │ │ ├── timezone │ │ ├── sensor │ │ └── gc4023.yaml │ │ ├── composer.ini │ │ └── init.d │ │ └── S94dn-monitor ├── t31_lite_zftlab │ ├── general │ │ └── overlay │ │ │ └── etc │ │ │ ├── TZ │ │ │ ├── timezone │ │ │ ├── ppp │ │ │ ├── peers │ │ │ │ └── provider │ │ │ ├── options │ │ │ └── chatscripts │ │ │ │ └── modem.chat │ │ │ ├── composer.ini │ │ │ ├── sysctl.conf │ │ │ ├── modules │ │ │ ├── init.d │ │ │ └── S94dn-monitor │ │ │ ├── network │ │ │ └── interfaces.d │ │ │ │ └── ppp0 │ │ │ ├── majestic.yaml.hi3516ev200_huishi │ │ │ └── majestic.yaml.hi3516ev200_xiongmai │ └── br-ext-chip-ingenic │ │ └── board │ │ └── t31 │ │ └── kernel │ │ └── Readme.md ├── gk7205v200_lite_huahui │ └── general │ │ └── overlay │ │ ├── etc │ │ ├── TZ │ │ ├── timezone │ │ ├── init.d │ │ │ └── S96btinit │ │ ├── composer.ini │ │ └── majestic.yaml │ │ └── usr │ │ └── sbin │ │ └── ipctool2 ├── gk7205v300_ultimate_kinnode │ └── general │ │ └── overlay │ │ └── etc │ │ ├── TZ │ │ ├── timezone │ │ ├── modules │ │ └── composer.ini ├── gk7205v300_ultimate_oko │ ├── general │ │ └── overlay │ │ │ ├── etc │ │ │ ├── TZ │ │ │ ├── modules │ │ │ ├── composer.ini │ │ │ ├── chat │ │ │ ├── wg1.conf │ │ │ ├── wpa_supplicant.conf │ │ │ └── init.d │ │ │ │ ├── S09pwr │ │ │ │ └── S97hands │ │ │ ├── usr │ │ │ └── bin │ │ │ │ ├── gmf │ │ │ │ ├── getenv │ │ │ │ ├── c_z_up │ │ │ │ ├── curz │ │ │ │ ├── gf │ │ │ │ ├── c_fs_in │ │ │ │ ├── c_fs_out │ │ │ │ ├── c_z_down │ │ │ │ ├── c_zf_down │ │ │ │ ├── c_zf_up │ │ │ │ ├── reboot_all │ │ │ │ ├── rcfg │ │ │ │ ├── uqmi │ │ │ │ ├── xm-uart │ │ │ │ ├── camhi-motor │ │ │ │ ├── sample_af │ │ │ │ ├── xm-kmotor │ │ │ │ ├── xm-light-fan │ │ │ │ ├── f_up │ │ │ │ ├── xm-uart-motors │ │ │ │ ├── f_down │ │ │ │ ├── at │ │ │ │ ├── pren │ │ │ │ ├── fs_in │ │ │ │ ├── fs_out │ │ │ │ ├── pwr │ │ │ │ ├── z_up │ │ │ │ ├── qw │ │ │ │ ├── ltf │ │ │ │ ├── lto │ │ │ │ ├── crAp │ │ │ │ ├── gexp │ │ │ │ ├── z_down │ │ │ │ ├── crCli │ │ │ │ ├── s_z_up │ │ │ │ ├── s_fs_in │ │ │ │ ├── s_z_down │ │ │ │ ├── s_fs_out │ │ │ │ ├── reconn_qmi │ │ │ │ ├── bafi │ │ │ │ ├── af │ │ │ │ ├── zx │ │ │ │ ├── morg │ │ │ │ ├── getmnum │ │ │ │ ├── gmnum │ │ │ │ ├── c_af │ │ │ │ ├── s_baf │ │ │ │ ├── bafl │ │ │ │ ├── baf_1 │ │ │ │ ├── bafd │ │ │ │ ├── bafn │ │ │ │ ├── bafr │ │ │ │ ├── auto_f │ │ │ │ └── saf │ │ │ ├── var │ │ │ └── www │ │ │ │ └── cgi-bin │ │ │ │ ├── af.cgi │ │ │ │ ├── z_in.cgi │ │ │ │ ├── z_out.cgi │ │ │ │ ├── f_minus.cgi │ │ │ │ ├── f_plus.cgi │ │ │ │ ├── gn.cgi │ │ │ │ ├── light.cgi │ │ │ │ ├── flajax.cgi │ │ │ │ └── format.cgi │ │ │ └── lib │ │ │ ├── libisp.so │ │ │ ├── libmpi.so │ │ │ ├── lib_hidrc.so │ │ │ ├── libdnvqe.so │ │ │ ├── libupvqe.so │ │ │ ├── lib_hidehaze.so │ │ │ ├── lib_hildci.so │ │ │ ├── libsecurec.so │ │ │ └── libVoiceEngine.so │ └── br-ext-chip-goke │ │ └── configs │ │ └── gk7205v300_ultimate_oko_defconfig ├── gk7205v300_ultimate_oko2 │ ├── general │ │ └── overlay │ │ │ ├── etc │ │ │ ├── TZ │ │ │ ├── hostname │ │ │ ├── modules │ │ │ ├── composer.ini │ │ │ ├── wireguard.conf │ │ │ ├── chat │ │ │ ├── wg1.conf │ │ │ ├── init.d │ │ │ │ ├── S98focus │ │ │ │ └── S09pwr │ │ │ ├── httpd.conf │ │ │ ├── wpa_supplicant.conf │ │ │ ├── test.sh │ │ │ └── mdev.conf │ │ │ ├── var │ │ │ └── www │ │ │ │ ├── favicon.ico │ │ │ │ ├── .version │ │ │ │ ├── css │ │ │ │ ├── debug.css │ │ │ │ └── image.jpg │ │ │ │ ├── cgi-bin │ │ │ │ ├── af.cgi │ │ │ │ ├── z_in.cgi │ │ │ │ ├── z_out.cgi │ │ │ │ ├── c_stop.cgi │ │ │ │ ├── f_minus.cgi │ │ │ │ ├── f_plus.cgi │ │ │ │ ├── sz_in.cgi │ │ │ │ ├── sf_minus.cgi │ │ │ │ ├── sf_plus.cgi │ │ │ │ ├── sz_out.cgi │ │ │ │ ├── gn.cgi │ │ │ │ ├── guptm.cgi │ │ │ │ ├── gbtv.cgi │ │ │ │ ├── gupt.cgi │ │ │ │ ├── telegram-bot-send.cgi │ │ │ │ ├── sw_settings.cgi │ │ │ │ ├── light.cgi │ │ │ │ ├── majestic-config-aspatch.cgi │ │ │ │ ├── majestic-settings-services.cgi │ │ │ │ ├── info-httpd.cgi │ │ │ │ ├── info-cron.cgi │ │ │ │ ├── info-httpd-config.cgi │ │ │ │ ├── majestic-settings-general.cgi │ │ │ │ ├── flajax.cgi │ │ │ │ ├── info-dmesg.cgi │ │ │ │ ├── majestic-config-backup.cgi │ │ │ │ ├── info-log.cgi │ │ │ │ ├── ntp-update.cgi │ │ │ │ ├── reboot.cgi │ │ │ │ ├── network-ntp-reset.cgi │ │ │ │ ├── network-ntp-update.cgi │ │ │ │ ├── format.cgi │ │ │ │ ├── ajaxcmd.cgi │ │ │ │ ├── majestic-config-reset.cgi │ │ │ │ ├── _debug.cgi │ │ │ │ ├── firmware-reset.cgi │ │ │ │ ├── arrec.cgi │ │ │ │ ├── _footer.cgi │ │ │ │ ├── night.cgi │ │ │ │ ├── network-tz-update.cgi │ │ │ │ ├── progress.cgi │ │ │ │ ├── preview-video.cgi │ │ │ │ ├── firmware-update.cgi │ │ │ │ ├── preview.cgi │ │ │ │ ├── majestic-config-compare.cgi │ │ │ │ └── majestic-config-restore.cgi │ │ │ │ ├── favicon.png │ │ │ │ ├── img │ │ │ │ ├── favicon.png │ │ │ │ ├── mycam.jpg │ │ │ │ ├── logo-ipeye.png │ │ │ │ ├── speed-slow.svg │ │ │ │ ├── bootstrap │ │ │ │ │ ├── chevron-right.svg │ │ │ │ │ ├── arrow-clockwise.svg │ │ │ │ │ ├── arrow-counterclockwise.svg │ │ │ │ │ ├── save.svg │ │ │ │ │ ├── arrow-up-square.svg │ │ │ │ │ ├── arrow-down-square.svg │ │ │ │ │ ├── arrow-left-square.svg │ │ │ │ │ ├── arrow-right-square.svg │ │ │ │ │ ├── arrow-left-right.svg │ │ │ │ │ ├── arrow-up-left-square.svg │ │ │ │ │ ├── arrow-down-left-square.svg │ │ │ │ │ ├── arrow-down-up.svg │ │ │ │ │ ├── arrow-up-right-square.svg │ │ │ │ │ ├── chevron-double-right.svg │ │ │ │ │ ├── arrow-down-right-square.svg │ │ │ │ │ ├── house.svg │ │ │ │ │ ├── lightbulb.svg │ │ │ │ │ ├── trash.svg │ │ │ │ │ ├── lightbulb-off.svg │ │ │ │ │ └── telegram.svg │ │ │ │ ├── image-rotate-cw.svg │ │ │ │ ├── image-rotate-ccw.svg │ │ │ │ ├── preset-7.svg │ │ │ │ ├── bootstrap-extra │ │ │ │ │ ├── 7-square.svg │ │ │ │ │ ├── 1-square.svg │ │ │ │ │ ├── 4-square.svg │ │ │ │ │ ├── zoom-far.svg │ │ │ │ │ ├── 5-square.svg │ │ │ │ │ └── 2-square.svg │ │ │ │ ├── arrow-cl.svg │ │ │ │ ├── arrow-cr.svg │ │ │ │ ├── arrow-dc.svg │ │ │ │ ├── arrow-uc.svg │ │ │ │ ├── arrow-ul.svg │ │ │ │ ├── preset-save.svg │ │ │ │ ├── arrow-dl.svg │ │ │ │ ├── arrow-ur.svg │ │ │ │ ├── arrow-dr.svg │ │ │ │ ├── speed-fast.svg │ │ │ │ ├── image-flip.svg │ │ │ │ ├── image-mirror.svg │ │ │ │ ├── preset-1.svg │ │ │ │ ├── preset-home.svg │ │ │ │ ├── preset-4.svg │ │ │ │ ├── light-on.svg │ │ │ │ ├── trash.svg │ │ │ │ ├── camera.svg │ │ │ │ ├── light-off.svg │ │ │ │ ├── telegram.svg │ │ │ │ ├── zoom-far.svg │ │ │ │ ├── preset-5.svg │ │ │ │ └── preset-2.svg │ │ │ │ └── index.html │ │ │ ├── usr │ │ │ └── bin │ │ │ │ ├── gmf │ │ │ │ ├── getenv │ │ │ │ ├── c_z_up │ │ │ │ ├── curz │ │ │ │ ├── c_fs_in │ │ │ │ ├── c_z_down │ │ │ │ ├── c_zf_down │ │ │ │ ├── c_zf_up │ │ │ │ ├── c_fs_out │ │ │ │ ├── i_z_up │ │ │ │ ├── i_fs_in │ │ │ │ ├── i_fs_out │ │ │ │ ├── i_z_down │ │ │ │ ├── reboot_all │ │ │ │ ├── rcfg │ │ │ │ ├── uqmi │ │ │ │ ├── xm-uart │ │ │ │ ├── gf │ │ │ │ ├── sample_af │ │ │ │ ├── xm-kmotor │ │ │ │ ├── camhi-motor │ │ │ │ ├── xm-light-fan │ │ │ │ ├── xm-uart-motors │ │ │ │ ├── f_down │ │ │ │ ├── f_up │ │ │ │ ├── at │ │ │ │ ├── i2c-init │ │ │ │ ├── fs_in │ │ │ │ ├── fs_out │ │ │ │ ├── pren │ │ │ │ ├── pwr │ │ │ │ ├── z_up │ │ │ │ ├── ggf │ │ │ │ ├── qw │ │ │ │ ├── ltf │ │ │ │ ├── lto │ │ │ │ ├── crAp │ │ │ │ ├── gexp │ │ │ │ ├── zx │ │ │ │ ├── z_down │ │ │ │ ├── crCl │ │ │ │ ├── crCli │ │ │ │ ├── reconn_qmi │ │ │ │ ├── bafi │ │ │ │ ├── af │ │ │ │ ├── pwa │ │ │ │ ├── morg │ │ │ │ ├── s_z_up │ │ │ │ ├── pw │ │ │ │ ├── s_fs_in │ │ │ │ ├── s_fs_out │ │ │ │ ├── s_z_down │ │ │ │ ├── getmnum │ │ │ │ ├── gmnum │ │ │ │ ├── c_af │ │ │ │ ├── bafl │ │ │ │ ├── baf_1 │ │ │ │ ├── bafd │ │ │ │ ├── bafn │ │ │ │ ├── bafr │ │ │ │ ├── i_baf │ │ │ │ ├── s_baf │ │ │ │ ├── auto_f │ │ │ │ └── saf │ │ │ └── lib │ │ │ ├── libisp.so │ │ │ ├── libmpi.so │ │ │ ├── libdnvqe.so │ │ │ ├── libupvqe.so │ │ │ ├── lib_hidrc.so │ │ │ ├── lib_hildci.so │ │ │ ├── libsecurec.so │ │ │ ├── lib_hidehaze.so │ │ │ ├── libVoiceEngine.so │ │ │ └── modules │ │ │ └── 4.9.37 │ │ │ └── kernel │ │ │ └── drivers │ │ │ └── net │ │ │ └── wireless │ │ │ └── realtek │ │ │ └── rtl8821cu │ │ │ └── rtl8821cu.ko │ └── br-ext-chip-goke │ │ ├── configs │ │ └── gk7205v300_ultimate_oko2_defconfig │ │ ├── package │ │ └── goke-osdrv-gk7205v200 │ │ ├── external.desc │ │ ├── external.mk │ │ └── linux │ │ ├── Config.ext.in │ │ └── linux-ext-goke_patcher.mk ├── ssc335de_ultimate_baresip │ └── general │ │ └── overlay │ │ └── etc │ │ ├── TZ │ │ ├── timezone │ │ ├── baresip │ │ ├── current_contact │ │ ├── contacts │ │ └── accounts │ │ └── composer.ini ├── gk7205v200_lite_meldana │ ├── general │ │ ├── overlay │ │ │ ├── etc │ │ │ │ ├── hostname │ │ │ │ └── composer.ini │ │ │ └── var │ │ │ │ └── www │ │ │ │ ├── favicon.ico │ │ │ │ ├── a │ │ │ │ ├── favicon.png │ │ │ │ └── logo.svg.gz │ │ │ │ ├── cgi-bin │ │ │ │ ├── info-top.cgi │ │ │ │ ├── p │ │ │ │ │ └── reset-firmware.cgi │ │ │ │ ├── info-majestic.cgi │ │ │ │ ├── night.cgi │ │ │ │ ├── reboot.cgi │ │ │ │ ├── firmware-reset.cgi │ │ │ │ ├── j │ │ │ │ │ ├── sync-time.cgi │ │ │ │ │ └── reset-ntp.cgi │ │ │ │ ├── image.cgi │ │ │ │ ├── restore.cgi │ │ │ │ ├── dl.cgi │ │ │ │ ├── dl2.cgi │ │ │ │ ├── majestic-config-compare.cgi │ │ │ │ ├── send.cgi │ │ │ │ ├── firmware-update.cgi │ │ │ │ ├── config.cgi │ │ │ │ ├── webui-update.cgi │ │ │ │ └── info-ipctool.cgi │ │ │ │ ├── index.html │ │ │ │ └── majestic │ │ │ │ └── index.html │ │ └── package │ │ │ └── webui │ │ │ ├── files │ │ │ └── httpd.conf │ │ │ ├── Config.in │ │ │ └── webui.mk │ └── br-ext-chip-goke │ │ └── configs │ │ └── gk7205v200_lite_meldana_defconfig ├── gk7205v300_ultimate_surveyorlabs │ └── general │ │ └── overlay │ │ └── etc │ │ ├── TZ │ │ ├── timezone │ │ ├── modules │ │ └── composer.ini ├── ssc337de_ultimate_broadband │ └── general │ │ └── overlay │ │ └── etc │ │ ├── TZ │ │ ├── timezone │ │ └── composer.ini ├── hi3516ev300_lite_meldana │ ├── general │ │ ├── overlay │ │ │ ├── etc │ │ │ │ ├── hostname │ │ │ │ └── composer.ini │ │ │ └── var │ │ │ │ └── www │ │ │ │ ├── favicon.ico │ │ │ │ ├── a │ │ │ │ ├── favicon.png │ │ │ │ └── logo.svg.gz │ │ │ │ ├── cgi-bin │ │ │ │ ├── info-top.cgi │ │ │ │ ├── p │ │ │ │ │ └── reset-firmware.cgi │ │ │ │ ├── info-majestic.cgi │ │ │ │ ├── night.cgi │ │ │ │ ├── reboot.cgi │ │ │ │ ├── firmware-reset.cgi │ │ │ │ ├── j │ │ │ │ │ ├── sync-time.cgi │ │ │ │ │ └── reset-ntp.cgi │ │ │ │ ├── image.cgi │ │ │ │ ├── restore.cgi │ │ │ │ ├── dl.cgi │ │ │ │ ├── dl2.cgi │ │ │ │ ├── majestic-config-compare.cgi │ │ │ │ ├── send.cgi │ │ │ │ ├── firmware-update.cgi │ │ │ │ ├── config.cgi │ │ │ │ ├── webui-update.cgi │ │ │ │ └── info-ipctool.cgi │ │ │ │ ├── index.html │ │ │ │ └── majestic │ │ │ │ └── index.html │ │ └── package │ │ │ └── microbe-web │ │ │ ├── files │ │ │ └── httpd.conf │ │ │ ├── Config.in │ │ │ └── microbe-web.mk │ └── br-ext-chip-hisilicon │ │ └── configs │ │ └── hi3516ev300_lite_meldana_defconfig ├── hi3516cv500_ultimate_caminos │ └── general │ │ ├── overlay │ │ └── etc │ │ │ ├── timezone │ │ │ ├── TZ │ │ │ └── composer.ini │ │ └── package │ │ └── all-patches │ │ └── linux │ │ └── 0017-hi3516cv500-caminos-ether-phy.patch ├── gk7205v200_ultimate_baresip │ └── general │ │ └── overlay │ │ ├── etc │ │ ├── baresip │ │ │ ├── current_contact │ │ │ ├── contacts │ │ │ └── accounts │ │ ├── network │ │ │ └── interfaces.d │ │ │ │ ├── usb0 │ │ │ │ └── wlan0 │ │ └── init.d │ │ │ └── S35io │ │ └── usr │ │ └── lib │ │ └── sensors │ │ └── libsns_sp2308.so ├── gk7205v200_lite_pusk │ └── br-ext-chip-goke │ │ └── configs │ │ └── gk7205v200_lite_pusk_defconfig ├── ak3918ev200_vulture │ ├── br-ext-chip-anyka │ │ ├── package │ │ │ └── anyka-osdrv-ak3918ev200 │ │ ├── board │ │ │ └── ak3918ev200 │ │ │ │ └── kernel │ │ │ │ ├── patches │ │ │ │ ├── 20_fix_gcc8.patch │ │ │ │ └── 001-ak3918-kernel-3.4.35.patch │ │ │ │ └── overlay │ │ │ │ └── lib │ │ │ │ ├── libfha.a │ │ │ │ ├── libakaec.a │ │ │ │ └── libakaec2.a │ │ └── external.mk │ └── general │ │ └── package │ │ └── anyka-osdrv-ak3918ev200 │ │ ├── files │ │ ├── kmod │ │ │ ├── akcamera.ko │ │ │ ├── sensor_h42.ko │ │ │ ├── sensor_h61.ko │ │ │ ├── sensor_h62.ko │ │ │ ├── sensor_ar0130.ko │ │ │ ├── sensor_gc1024.ko │ │ │ ├── sensor_gc1034.ko │ │ │ ├── sensor_ov9712.ko │ │ │ ├── sensor_sc1035.ko │ │ │ ├── sensor_sc1045.ko │ │ │ ├── sensor_sc1135.ko │ │ │ ├── sensor_sc1145.ko │ │ │ ├── sensor_sc1235.ko │ │ │ └── sensor_sc1245.ko │ │ └── sensor │ │ │ └── config │ │ │ ├── isp_9712.conf │ │ │ ├── isp_h42.conf │ │ │ ├── isp_ar0130.conf │ │ │ ├── isp_gc1024.conf │ │ │ ├── isp_h42_krt.conf │ │ │ ├── isp_sc1035.conf │ │ │ ├── isp_sc1045.conf │ │ │ ├── isp_sc1135.conf │ │ │ ├── isp_sc1145.conf │ │ │ ├── isp_sc1235.conf │ │ │ ├── isp_sc1245.conf │ │ │ ├── isp_sc1035_ja.conf │ │ │ ├── isp_sc1035_yws.conf │ │ │ ├── isp_sc1045_ja.conf │ │ │ ├── isp_sc1045_yws.conf │ │ │ ├── isp_sc1135_yws.conf │ │ │ ├── isp_sc1145_yws.conf │ │ │ ├── isp_sc1235_1.conf │ │ │ └── isp_sc1235_2.conf │ │ └── Config.in ├── ssc338q_lite_ask │ └── general │ │ └── overlay │ │ └── etc │ │ └── composer.ini ├── hi3518ev200_smarthome │ └── general │ │ └── overlay │ │ └── etc │ │ └── composer.ini ├── hi3536dv100_backupper │ └── general │ │ └── overlay │ │ └── etc │ │ └── composer.ini ├── msc313e_lite_baresip │ └── general │ │ └── overlay │ │ └── etc │ │ └── composer.ini ├── t31_ultimate_adiance │ └── general │ │ └── overlay │ │ └── etc │ │ ├── composer.ini │ │ └── init.d │ │ └── S94dn-monitor └── v3s_lichee │ └── br-ext-chip-allwinner │ └── Readme.md ├── packages ├── i2c-gpio-custom │ ├── src │ │ └── Kbuild │ ├── Config.in │ └── i2c-gpio-custom.mk ├── demo-openipc │ ├── src │ │ └── demo-openipc.c │ ├── Config.in │ └── demo-openipc.mk ├── faceter-camera │ └── Config.in ├── dbell-ina219 │ ├── Config.in │ └── dbell-ina219.mk └── gps-openipc │ ├── Config.in │ └── gps-openipc.mk ├── .gitignore └── flasher.sh /projects/t31_lite_convoy/general/overlay/etc/TZ: -------------------------------------------------------------------------------- 1 | GMT0 -------------------------------------------------------------------------------- /projects/t31_lite_faceter/general/overlay/etc/TZ: -------------------------------------------------------------------------------- 1 | MSK-3 -------------------------------------------------------------------------------- /projects/t31_lite_zftlab/general/overlay/etc/TZ: -------------------------------------------------------------------------------- 1 | MSK-3 -------------------------------------------------------------------------------- /projects/gk7205v200_lite_huahui/general/overlay/etc/TZ: -------------------------------------------------------------------------------- 1 | MSK-3 -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_kinnode/general/overlay/etc/TZ: -------------------------------------------------------------------------------- 1 | GMT0 -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/etc/TZ: -------------------------------------------------------------------------------- 1 | <+03>-3 -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/etc/TZ: -------------------------------------------------------------------------------- 1 | <+03>-3 -------------------------------------------------------------------------------- /projects/ssc335de_ultimate_baresip/general/overlay/etc/TZ: -------------------------------------------------------------------------------- 1 | GMT0 -------------------------------------------------------------------------------- /projects/t31_lite_convoy/general/overlay/etc/timezone: -------------------------------------------------------------------------------- 1 | Etc/GMT -------------------------------------------------------------------------------- /packages/i2c-gpio-custom/src/Kbuild: -------------------------------------------------------------------------------- 1 | obj-m := i2c-gpio-custom.o 2 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/etc/hostname: -------------------------------------------------------------------------------- 1 | meldana -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_surveyorlabs/general/overlay/etc/TZ: -------------------------------------------------------------------------------- 1 | GMT0 -------------------------------------------------------------------------------- /projects/ssc337de_ultimate_broadband/general/overlay/etc/TZ: -------------------------------------------------------------------------------- 1 | MSK-3 -------------------------------------------------------------------------------- /projects/t31_lite_faceter/general/overlay/etc/timezone: -------------------------------------------------------------------------------- 1 | Europe/Moscow -------------------------------------------------------------------------------- /projects/t31_lite_zftlab/general/overlay/etc/timezone: -------------------------------------------------------------------------------- 1 | Europe/Moscow -------------------------------------------------------------------------------- /projects/gk7205v200_lite_huahui/general/overlay/etc/timezone: -------------------------------------------------------------------------------- 1 | Europe/Moscow -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_kinnode/general/overlay/etc/timezone: -------------------------------------------------------------------------------- 1 | Etc/GMT -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/etc/hostname: -------------------------------------------------------------------------------- 1 | meldana -------------------------------------------------------------------------------- /projects/ssc335de_ultimate_baresip/general/overlay/etc/timezone: -------------------------------------------------------------------------------- 1 | Etc/GMT -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_surveyorlabs/general/overlay/etc/timezone: -------------------------------------------------------------------------------- 1 | Etc/GMT -------------------------------------------------------------------------------- /projects/ssc337de_ultimate_broadband/general/overlay/etc/timezone: -------------------------------------------------------------------------------- 1 | Europe/Moscow -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/etc/hostname: -------------------------------------------------------------------------------- 1 | gk300-0002-02 2 | -------------------------------------------------------------------------------- /projects/hi3516cv500_ultimate_caminos/general/overlay/etc/timezone: -------------------------------------------------------------------------------- 1 | Europe/Brussels -------------------------------------------------------------------------------- /projects/hi3516cv500_ultimate_caminos/general/overlay/etc/TZ: -------------------------------------------------------------------------------- 1 | CET-1CEST,M3.5.0,M10.5.0/3 -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/gmf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cat /tmp/maxf 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/gmf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cat /tmp/maxf 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/.version: -------------------------------------------------------------------------------- 1 | dev+f9f06b6, 2022-02-23 2 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/getenv: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | fw_printenv $1 -n 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/getenv: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | fw_printenv $1 -n 3 | -------------------------------------------------------------------------------- /projects/ssc335de_ultimate_baresip/general/overlay/etc/baresip/current_contact: -------------------------------------------------------------------------------- 1 | sip:good@friend.com 2 | -------------------------------------------------------------------------------- /projects/gk7205v200_ultimate_baresip/general/overlay/etc/baresip/current_contact: -------------------------------------------------------------------------------- 1 | sip:good@friend.com 2 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_pusk/br-ext-chip-goke/configs/gk7205v200_lite_pusk_defconfig: -------------------------------------------------------------------------------- 1 | gk7205v200_lite_defconfig -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/br-ext-chip-goke/configs/gk7205v200_lite_meldana_defconfig: -------------------------------------------------------------------------------- 1 | gk7205v200_lite_defconfig -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/css/debug.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --bs-blue: #990000; 3 | } 4 | -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/br-ext-chip-anyka/package/anyka-osdrv-ak3918ev200: -------------------------------------------------------------------------------- 1 | ../../general/package/anyka-osdrv-ak3918ev200 -------------------------------------------------------------------------------- /projects/gk7205v200_ultimate_baresip/general/overlay/etc/network/interfaces.d/usb0: -------------------------------------------------------------------------------- 1 | auto usb0 2 | iface usb0 inet dhcp 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/br-ext-chip-goke/configs/gk7205v300_ultimate_oko_defconfig: -------------------------------------------------------------------------------- 1 | gk7205v300_ultimate_defconfig -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/c_z_up: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | camhi-motor -d u -s 25 3 | #baf 4 | #saf 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/curz: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | z_up 3 | sleep 0.05; 4 | z_down 5 | 6 | 7 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/gf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sleep 0.2 && echo $(cat /tmp/zx); 4 | 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/br-ext-chip-goke/configs/gk7205v300_ultimate_oko2_defconfig: -------------------------------------------------------------------------------- 1 | gk7205v300_ultimate_defconfig -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/br-ext-chip-goke/package/goke-osdrv-gk7205v200: -------------------------------------------------------------------------------- 1 | ../../general/package/goke-osdrv-gk7205v200 -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/c_z_up: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | camhi-motor -d u -s 25 3 | #baf 4 | #saf 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/curz: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | z_up 3 | sleep 0.05; 4 | z_down 5 | 6 | 7 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/c_fs_in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | camhi-motor -d l -s $1 3 | #c_baf 4 | #c_saf 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/c_fs_out: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | camhi-motor -d r -s $1 3 | #c_baf 4 | #c_saf 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/c_z_down: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | camhi-motor -d d -s 25 3 | #baf 4 | #saf 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/c_zf_down: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | camhi-motor -d d -s 25 3 | c_baf 4 | c_saf 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/c_zf_up: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | camhi-motor -d u -s 25 3 | c_baf 4 | c_saf 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/c_fs_in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | camhi-motor -d l -s $1 3 | #c_baf 4 | #c_saf 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/c_z_down: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | camhi-motor -d d -s 25 3 | #baf 4 | #saf 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/c_zf_down: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | camhi-motor -d d -s 25 3 | c_baf 4 | c_saf 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/c_zf_up: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | camhi-motor -d u -s 25 3 | c_baf 4 | c_saf 5 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/br-ext-chip-hisilicon/configs/hi3516ev300_lite_meldana_defconfig: -------------------------------------------------------------------------------- 1 | hi3516ev300_lite_defconfig -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/etc/modules: -------------------------------------------------------------------------------- 1 | f2fs 2 | vfat 3 | usb-storage 4 | sd_mod 5 | camhi-motor.ko 6 | 7 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/etc/modules: -------------------------------------------------------------------------------- 1 | f2fs 2 | vfat 3 | usb-storage 4 | sd_mod 5 | camhi-motor.ko 6 | 7 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/c_fs_out: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | camhi-motor -d r -s $1 3 | #c_baf 4 | #c_saf 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/var/www/cgi-bin/af.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | s_baf 5 | %> -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/i_z_up: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | i2c-motor -d u -s 5 && sleep 0.3 && i2c-motor -d s 3 | 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/af.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | s_baf 5 | %> -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/var/www/cgi-bin/z_in.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | s_z_up 5 | %> -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/var/www/cgi-bin/z_out.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | s_z_down 5 | %> -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/br-ext-chip-goke/external.desc: -------------------------------------------------------------------------------- 1 | name: GOKE 2 | desc: Buildroot external tree for Goke based IP cameras 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/i_fs_in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | i2c-motor -d l -s $1 && sleep 0.3 && i2c-motor -d s 3 | 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/i_fs_out: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | i2c-motor -d r -s $1 && sleep 0.3 && i2c-motor -d s 3 | 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/i_z_down: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | i2c-motor -d d -s 5 && sleep 0.3 && i2c-motor -d s 3 | 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/z_in.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | s_z_up 5 | %> -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/z_out.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | s_z_down 5 | %> -------------------------------------------------------------------------------- /packages/demo-openipc/src/demo-openipc.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main (void) 4 | { 5 | puts ("Welcome to OpenIPC !"); 6 | return 0; 7 | } -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/reboot_all: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | qw 0 AT+MDM+off 3 | sleep 1; 4 | qw 0 AT+MDM+on 5 | reboot; 6 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/var/www/cgi-bin/f_minus.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | s_fs_out 1 5 | %> -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/var/www/cgi-bin/f_plus.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | s_fs_in 1 5 | %> -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/reboot_all: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | qw 0 AT+MDM+off 3 | sleep 1; 4 | qw 0 AT+MDM+on 5 | reboot; 6 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/c_stop.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | sc_stop 5 | %> 6 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/f_minus.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | s_fs_out 1 5 | %> -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/f_plus.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | s_fs_in 1 5 | %> -------------------------------------------------------------------------------- /projects/ssc338q_lite_ask/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_kinnode/general/overlay/etc/modules: -------------------------------------------------------------------------------- 1 | usb-storage 2 | f2fs 3 | vfat 4 | exfat 5 | 6 | # For XM530 SD cards 7 | # sdio0_sd 8 | -------------------------------------------------------------------------------- /projects/hi3518ev200_smarthome/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | -------------------------------------------------------------------------------- /projects/hi3536dv100_backupper/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | -------------------------------------------------------------------------------- /projects/msc313e_lite_baresip/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | -------------------------------------------------------------------------------- /packages/faceter-camera/Config.in: -------------------------------------------------------------------------------- 1 | config BR2_PACKAGE_FACETER_CAMERA 2 | bool "faceter-camera" 3 | default n 4 | help 5 | Faceter camera application 6 | -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/br-ext-chip-anyka/board/ak3918ev200/kernel/patches/20_fix_gcc8.patch: -------------------------------------------------------------------------------- 1 | ../../../../../patches/linux/3.4.x/gcc8_err_encountered.patch -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/sz_in.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | s_z_up 3 5 | header_ok 6 | %> -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_surveyorlabs/general/overlay/etc/modules: -------------------------------------------------------------------------------- 1 | usb-storage 2 | f2fs 3 | vfat 4 | exfat 5 | 6 | # For XM530 SD cards 7 | # sdio0_sd 8 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | -------------------------------------------------------------------------------- /projects/t31_ultimate_adiance/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | # 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/sf_minus.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | s_fs_out 1 5 | header_ok 6 | %> -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/sf_plus.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | s_fs_in 1 5 | header_ok 6 | %> -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/sz_out.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | s_z_down 3 5 | header_ok 6 | %> -------------------------------------------------------------------------------- /projects/t31_lite_zftlab/general/overlay/etc/ppp/peers/provider: -------------------------------------------------------------------------------- 1 | file /etc/ppp/options 2 | connect "/usr/sbin/chat -v -t15 -f /etc/ppp/chatscripts/modem.chat" 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/var/www/cgi-bin/gn.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | content-type: text/plain 3 | 4 | <% 5 | 6 | hostname 7 | 8 | %> 9 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/gn.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | content-type: text/plain 3 | 4 | <% 5 | 6 | hostname 7 | 8 | %> 9 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/guptm.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | content-type: text/plain 3 | 4 | <% 5 | 6 | uptime 7 | 8 | %> 9 | -------------------------------------------------------------------------------- /projects/t31_lite_faceter/general/overlay/etc/sensor/gc4023.yaml: -------------------------------------------------------------------------------- 1 | sensor: 2 | name: gc4023 3 | address: 0x29 4 | width: 2560 5 | height: 1440 6 | bus: i2c 7 | -------------------------------------------------------------------------------- /packages/demo-openipc/Config.in: -------------------------------------------------------------------------------- 1 | config BR2_PACKAGE_DEMO_OPENIPC 2 | bool "demo-openipc" 3 | default n 4 | help 5 | Demo package 6 | 7 | https://openipc.org 8 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/package/webui/files/httpd.conf: -------------------------------------------------------------------------------- 1 | # 2 | H:/var/www 3 | A:127.0.0.1 4 | A:* 5 | D:8.8.8.8/32 6 | E401:401.html 7 | /cgi-bin:root:* 8 | # 9 | -------------------------------------------------------------------------------- /projects/gk7205v200_ultimate_baresip/general/overlay/etc/baresip/contacts: -------------------------------------------------------------------------------- 1 | # 2 | #"Catch All" ;access=block 3 | "Good Friend" ;access=allow 4 | # 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/lib/libisp.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/lib/libisp.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/lib/libmpi.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/lib/libmpi.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/rcfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/rcfg -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/uqmi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/uqmi -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/lib/libisp.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/lib/libisp.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/lib/libmpi.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/lib/libmpi.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/rcfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/rcfg -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/uqmi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/uqmi -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/gbtv.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | content-type: text/plain 3 | 4 | <% 5 | echo "$(pw) $(pwa)"; 6 | %> 7 | 8 | -------------------------------------------------------------------------------- /projects/ssc335de_ultimate_baresip/general/overlay/etc/baresip/contacts: -------------------------------------------------------------------------------- 1 | # 2 | #"Catch All" ;access=block 3 | "Good Friend" ;access=allow 4 | # 5 | -------------------------------------------------------------------------------- /packages/dbell-ina219/Config.in: -------------------------------------------------------------------------------- 1 | config BR2_PACKAGE_DBELL_INA219 2 | bool "dbell-ina219" 3 | default n 4 | help 5 | Simple I2C telemetry system 6 | 7 | https://dbell.ca 8 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_huahui/general/overlay/usr/sbin/ipctool2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v200_lite_huahui/general/overlay/usr/sbin/ipctool2 -------------------------------------------------------------------------------- /projects/gk7205v200_ultimate_baresip/general/overlay/etc/baresip/accounts: -------------------------------------------------------------------------------- 1 | # 2 | ;auth_pass=abcdef;answermode=auto # Novofon 3 | # 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/lib/lib_hidrc.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/lib/lib_hidrc.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/lib/libdnvqe.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/lib/libdnvqe.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/lib/libupvqe.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/lib/libupvqe.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/xm-uart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/xm-uart -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/lib/libdnvqe.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/lib/libdnvqe.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/lib/libupvqe.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/lib/libupvqe.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/xm-uart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/xm-uart -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/gupt.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | content-type: text/plain 3 | 4 | <% 5 | 6 | uptime 7 | 8 | %> 9 | 10 | -------------------------------------------------------------------------------- /projects/ssc335de_ultimate_baresip/general/overlay/etc/baresip/accounts: -------------------------------------------------------------------------------- 1 | # 2 | ;auth_pass=abcdef;answermode=auto # Zadarma 3 | # 4 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v200_lite_meldana/general/overlay/var/www/favicon.ico -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/lib/lib_hidehaze.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/lib/lib_hidehaze.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/lib/lib_hildci.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/lib/lib_hildci.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/lib/libsecurec.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/lib/libsecurec.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/camhi-motor: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/camhi-motor -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/sample_af: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/sample_af -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/xm-kmotor: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/xm-kmotor -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/lib/lib_hidrc.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/lib/lib_hidrc.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/lib/lib_hildci.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/lib/lib_hildci.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/lib/libsecurec.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/lib/libsecurec.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/gf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | while [[ -z $r ]] 4 | do 5 | r=$(cat /tmp/zx); 6 | done 7 | echo $r 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/sample_af: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/sample_af -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/xm-kmotor: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/xm-kmotor -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/package/microbe-web/files/httpd.conf: -------------------------------------------------------------------------------- 1 | # 2 | H:/var/www 3 | A:127.0.0.1 4 | A:* 5 | D:8.8.8.8/32 6 | E401:401.html 7 | /cgi-bin:root:* 8 | # 9 | -------------------------------------------------------------------------------- /projects/t31_lite_convoy/general/overlay/etc/sensor/imx335-t31.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/t31_lite_convoy/general/overlay/etc/sensor/imx335-t31.bin -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/a/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v200_lite_meldana/general/overlay/var/www/a/favicon.png -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/a/logo.svg.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v200_lite_meldana/general/overlay/var/www/a/logo.svg.gz -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/lib/libVoiceEngine.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/lib/libVoiceEngine.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/xm-light-fan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/xm-light-fan -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/lib/lib_hidehaze.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/lib/lib_hidehaze.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/camhi-motor: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/camhi-motor -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/xm-light-fan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/xm-light-fan -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/telegram-bot-send.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | /usr/sbin/send2telegram.sh 5 | header_ok 6 | %> 7 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/var/www/favicon.png -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/hi3516ev300_lite_meldana/general/overlay/var/www/favicon.ico -------------------------------------------------------------------------------- /projects/gk7205v200_lite_huahui/general/overlay/etc/init.d/S96btinit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | sleep 3 4 | $(yaml-cli -i /etc/majestic.yaml -g .isp.sensorConfig | tr '/.' ' ' | awk '{print $3}').sh 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/f_up: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | xm-uart-motors 0 z && sleep 0.1 && xm-uart-motors 0 s && xm-uart-motors 0 s 3 | echo "$(date) : f_up" >> /tmp/l_focus 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/xm-uart-motors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/xm-uart-motors -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/lib/libVoiceEngine.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/lib/libVoiceEngine.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/xm-uart-motors: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/xm-uart-motors -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/css/image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/var/www/css/image.jpg -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/favicon.png -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/mycam.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/mycam.jpg -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/a/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/hi3516ev300_lite_meldana/general/overlay/var/www/a/favicon.png -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/a/logo.svg.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/hi3516ev300_lite_meldana/general/overlay/var/www/a/logo.svg.gz -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/f_down: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | xm-uart-motors 0 x && sleep 0.2 && xm-uart-motors 0 s && xm-uart-motors 0 s 3 | echo "$(date) : f_down" >> /tmp/l_focus 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/etc/wireguard.conf: -------------------------------------------------------------------------------- 1 | [Interface] 2 | PrivateKey = * 3 | [Peer] 4 | PublicKey = * 5 | AllowedIPs = * 6 | Endpoint = *:* 7 | PersistentKeepalive = 5 8 | 9 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/f_down: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | xm-uart-motors 0 x && sleep 0.2 && xm-uart-motors 0 s && xm-uart-motors 0 s 3 | echo "$(date) : f_down" >> /tmp/l_focus 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/f_up: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | xm-uart-motors 0 z && sleep 0.1 && xm-uart-motors 0 s && xm-uart-motors 0 s 3 | echo "$(date) : f_up" >> /tmp/l_focus 4 | -------------------------------------------------------------------------------- /projects/t31_lite_zftlab/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | # 4 | default_timezone="MSK-3 | Europe/Moscow" 5 | # 6 | -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/br-ext-chip-anyka/external.mk: -------------------------------------------------------------------------------- 1 | include $(BR2_EXTERNAL_ANYKA_PATH)/linux/linux-ext-anyka_patcher.mk 2 | include $(sort $(wildcard $(BR2_EXTERNAL_ANYKA_PATH)/package/*/*.mk)) 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_kinnode/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | # 4 | default_timezone="GMT0 | Etc/GMT" 5 | # 6 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/br-ext-chip-goke/external.mk: -------------------------------------------------------------------------------- 1 | include $(BR2_EXTERNAL_GOKE_PATH)/linux/linux-ext-goke_patcher.mk 2 | include $(sort $(wildcard $(BR2_EXTERNAL_GOKE_PATH)/package/*/*.mk)) 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/logo-ipeye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/logo-ipeye.png -------------------------------------------------------------------------------- /projects/ssc335de_ultimate_baresip/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | # 4 | default_timezone="GMT0 | Etc/GMT" 5 | # 6 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_huahui/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | # 4 | default_timezone="MSK-3 | Europe/Moscow" 5 | 6 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/etc/chat: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | at AT+CGDCONT=1,"IP","Internet" 4 | at AT+CGACT=1,1 5 | at AT+CGPADDR=1 6 | at AT+QCFG="usbnet",1 7 | at at+qnetdevctl=1,1,1 8 | 9 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/etc/chat: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | at AT+CGDCONT=1,"IP","Internet" 4 | at AT+CGACT=1,1 5 | at AT+CGPADDR=1 6 | at AT+QCFG="usbnet",1 7 | at at+qnetdevctl=1,1,1 8 | 9 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_surveyorlabs/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | # 4 | default_timezone="GMT0 | Etc/GMT" 5 | # 6 | -------------------------------------------------------------------------------- /projects/gk7205v200_ultimate_baresip/general/overlay/usr/lib/sensors/libsns_sp2308.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v200_ultimate_baresip/general/overlay/usr/lib/sensors/libsns_sp2308.so -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/at: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | AT="$1" 4 | SLEEP=0.2 5 | TTY=/dev/ttyUSB3 6 | RESULT=$(cat $TTY & echo -ne "$AT\n" > $TTY; sleep $SLEEP; killall cat) 7 | echo $RESULT 8 | 9 | -------------------------------------------------------------------------------- /packages/gps-openipc/Config.in: -------------------------------------------------------------------------------- 1 | config BR2_PACKAGE_GPS_OPENIPC 2 | bool "gps-openipc" 3 | default n 4 | help 5 | Minimalistic package for getting coordinates and time from GPS receiver. 6 | 7 | https://openipc.org 8 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/etc/wg1.conf: -------------------------------------------------------------------------------- 1 | # 2 | [interface] 3 | PrivateKey = * 4 | # 5 | [Peer] 6 | PublicKey = * 7 | AllowedIPs = * 8 | Endpoint = * 9 | PersistentKeepalive = 5 10 | # 11 | 12 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/pren: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | f="{$1}" 3 | maj=`ps aux | grep $f | grep -v grep` 4 | if [[ ! -z "$maj" ]] 5 | then 6 | echo "1"; 7 | else 8 | echo "0" 9 | fi 10 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/etc/wg1.conf: -------------------------------------------------------------------------------- 1 | # 2 | [interface] 3 | PrivateKey = * 4 | # 5 | [Peer] 6 | PublicKey = * 7 | AllowedIPs = * 8 | Endpoint = * 9 | PersistentKeepalive = 5 10 | # 11 | 12 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/at: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | AT="$1" 4 | SLEEP=0.2 5 | TTY=/dev/ttyUSB3 6 | RESULT=$(cat $TTY & echo -ne "$AT\n" > $TTY; sleep $SLEEP; killall cat) 7 | echo $RESULT 8 | 9 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/i2c-init: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | devmem 0x112C0058 32 0x1032 4 | devmem 0x112C005C 32 0x1032 5 | devmem 0x100C000C 32 0x1 6 | devmem 0x120101BC 32 0x801282 7 | i2c-motor -d i -------------------------------------------------------------------------------- /projects/ssc337de_ultimate_broadband/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project." 3 | # 4 | default_timezone="MSK-3 | Europe/Moscow" 5 | # 6 | 7 | 8 | -------------------------------------------------------------------------------- /projects/v3s_lichee/br-ext-chip-allwinner/Readme.md: -------------------------------------------------------------------------------- 1 | 2 | ### Allwinner 3 | 4 | We are launching a new direction to support devices based on Allwinner processors 5 | 6 | * https://linux-sunxi.org/Allwinner_SoC_Family 7 | 8 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/package/webui/Config.in: -------------------------------------------------------------------------------- 1 | config BR2_PACKAGE_WEBUI 2 | bool "webui" 3 | help 4 | The simplest web interface constructor based on 5 | httpd and haserl. 6 | 7 | https://openipc.org 8 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/fs_in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | it=$1 4 | i=0 5 | while [ $i -lt $it ] 6 | do 7 | f_down; 8 | i=`expr $i + 1`; 9 | done 10 | echo "$(date) : fs_in $it" >> /tmp/l_focus 11 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/fs_out: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | it=$1 4 | i=0 5 | while [ $i -lt $it ] 6 | do 7 | f_up; 8 | i=`expr $i + 1`; 9 | done 10 | echo "$(date) : fs_out $it" >> /tmp/l_focus 11 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/fs_in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | it=$1 4 | i=0 5 | while [ $i -lt $it ] 6 | do 7 | f_down; 8 | i=`expr $i + 1`; 9 | done 10 | echo "$(date) : fs_in $it" >> /tmp/l_focus 11 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/fs_out: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | it=$1 4 | i=0 5 | while [ $i -lt $it ] 6 | do 7 | f_up; 8 | i=`expr $i + 1`; 9 | done 10 | echo "$(date) : fs_out $it" >> /tmp/l_focus 11 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/pren: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | f="{$1}" 3 | maj=`ps aux | grep $f | grep -v grep` 4 | if [[ ! -z "$maj" ]] 5 | then 6 | echo "1"; 7 | else 8 | echo "0" 9 | fi 10 | -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/br-ext-chip-anyka/board/ak3918ev200/kernel/overlay/lib/libfha.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/br-ext-chip-anyka/board/ak3918ev200/kernel/overlay/lib/libfha.a -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/akcamera.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/akcamera.ko -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_h42.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_h42.ko -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_h61.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_h61.ko -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_h62.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_h62.ko -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/info-top.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="Топ процессов" %> 4 | <%in p/header.cgi %> 5 | <% ex "top -n 1 -b" %> 6 | <%in p/footer.cgi %> 7 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/pwr: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | devmem 0x100C0080 32 0x530 3 | echo $1 > /sys/class/gpio/export 4 | echo out > /sys/class/gpio/gpio$1/direction 5 | echo $2 > /sys/class/gpio/gpio$1/value 6 | 7 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/etc/init.d/S98focus: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | case "$1" in 4 | start) 5 | sleep 120 && s_baf 6 | ;; 7 | stop) 8 | echo "By" 9 | ;; 10 | esac 11 | 12 | -------------------------------------------------------------------------------- /projects/t31_lite_zftlab/general/overlay/etc/sysctl.conf: -------------------------------------------------------------------------------- 1 | # 2 | # Level of messages on console 3 | kernel.printk = 3 3 1 3 4 | # 5 | net.core.bpf_jit_enable=1 6 | # 7 | # Enable forwarding 8 | net.ipv4.ip_forward = 1 9 | # 10 | -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/br-ext-chip-anyka/board/ak3918ev200/kernel/overlay/lib/libakaec.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/br-ext-chip-anyka/board/ak3918ev200/kernel/overlay/lib/libakaec.a -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/br-ext-chip-anyka/board/ak3918ev200/kernel/overlay/lib/libakaec2.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/br-ext-chip-anyka/board/ak3918ev200/kernel/overlay/lib/libakaec2.a -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/z_up: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | xm-uart-motors 0 + 3 | sleep 0.20; 4 | xm-uart-motors 0 s 5 | xm-uart-motors 0 s 6 | sleep 0.05; 7 | xm-uart-motors 0 s 8 | echo "$(date) : z_up" >> /tmp/l_focus 9 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/pwr: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | devmem 0x100C0080 32 0x530 3 | echo $1 > /sys/class/gpio/export 4 | echo out > /sys/class/gpio/gpio$1/direction 5 | echo $2 > /sys/class/gpio/gpio$1/value 6 | 7 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/z_up: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | xm-uart-motors 0 + 3 | sleep 0.20; 4 | xm-uart-motors 0 s 5 | xm-uart-motors 0 s 6 | sleep 0.05; 7 | xm-uart-motors 0 s 8 | echo "$(date) : z_up" >> /tmp/l_focus 9 | -------------------------------------------------------------------------------- /projects/hi3516cv500_ultimate_caminos/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | # 4 | default_timezone="CET-1CEST,M3.5.0,M10.5.0/3 | Europe/Brussels" 5 | # 6 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/info-top.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="Топ процессов" %> 4 | <%in p/header.cgi %> 5 | <% ex "top -n 1 -b" %> 6 | <%in p/footer.cgi %> 7 | -------------------------------------------------------------------------------- /projects/t31_lite_zftlab/general/overlay/etc/modules: -------------------------------------------------------------------------------- 1 | bsd_comp 2 | ch341 3 | option 4 | ppp_async 5 | ppp_deflate 6 | ppp_generic 7 | ppp_mppe 8 | slhc 9 | usb_wwan 10 | usbserial 11 | vfat 12 | # i2c-gpio-custom.ko bus0=0,11,50 13 | -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_ar0130.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_ar0130.ko -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_gc1024.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_gc1024.ko -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_gc1034.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_gc1034.ko -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_ov9712.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_ov9712.ko -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_sc1035.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_sc1035.ko -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_sc1045.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_sc1045.ko -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_sc1135.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_sc1135.ko -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_sc1145.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_sc1145.ko -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_sc1235.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_sc1235.ko -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_sc1245.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/kmod/sensor_sc1245.ko -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/qw: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | AT="$2" 4 | TTY=/dev/ttyUSB$1 5 | echo -ne "$AT\n" > $TTY; 6 | echo -ne "$AT\n" > $TTY; 7 | echo -ne "$AT\n" > $TTY; 8 | echo -ne "$AT\n" > $TTY; 9 | 10 | 11 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/ggf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | while [[ -z "$rr" ]] 4 | do 5 | rr=$(echo $(sample_af 0 c & sleep 0.18 && killall sample_af) | awk '{print $2}'); 6 | done 7 | echo $rr; 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/qw: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | AT="$2" 4 | TTY=/dev/ttyUSB$1 5 | echo -ne "$AT\n" > $TTY; 6 | echo -ne "$AT\n" > $TTY; 7 | echo -ne "$AT\n" > $TTY; 8 | echo -ne "$AT\n" > $TTY; 9 | 10 | 11 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/package/microbe-web/Config.in: -------------------------------------------------------------------------------- 1 | config BR2_PACKAGE_MICROBE_WEB 2 | bool "microbe-web" 3 | help 4 | The simplest web interface constructor based on 5 | httpd and haserl. 6 | 7 | https://openipc.org 8 | -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_9712.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_9712.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_h42.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_h42.conf -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/ltf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | devmem 0x100C0080 32 0x530 3 | echo 0 > /tmp/lt 4 | echo 4 > /sys/class/gpio/export 5 | echo out > /sys/class/gpio/gpio4/direction 6 | echo 0 > /sys/class/gpio/gpio4/value 7 | 8 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/lto: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | devmem 0x100C0080 32 0x530 3 | echo 1 > /tmp/lt 4 | echo 4 > /sys/class/gpio/export 5 | echo out > /sys/class/gpio/gpio4/direction 6 | echo 1 > /sys/class/gpio/gpio4/value 7 | 8 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/ltf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | devmem 0x100C0080 32 0x530 3 | echo 0 > /tmp/lt 4 | echo 4 > /sys/class/gpio/export 5 | echo out > /sys/class/gpio/gpio4/direction 6 | echo 0 > /sys/class/gpio/gpio4/value 7 | 8 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/lto: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | devmem 0x100C0080 32 0x530 3 | echo 1 > /tmp/lt 4 | echo 4 > /sys/class/gpio/export 5 | echo out > /sys/class/gpio/gpio4/direction 6 | echo 1 > /sys/class/gpio/gpio4/value 7 | 8 | -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_ar0130.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_ar0130.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_gc1024.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_gc1024.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_h42_krt.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_h42_krt.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1035.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1035.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1045.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1045.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1135.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1135.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1145.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1145.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1235.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1235.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1245.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1245.conf -------------------------------------------------------------------------------- /projects/t31_lite_faceter/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | # 4 | default_timezone="MSK-3 | Europe/Moscow" 5 | # 6 | support_sensors="gc2053,gc4653,jxq03p,sc2335,sc5235,others" -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/Config.in: -------------------------------------------------------------------------------- 1 | config BR2_PACKAGE_ANYKA_OSDRV_AK3918EV200 2 | bool "anyka-osdrv-ak3918ev200" 3 | help 4 | anyka-osdrv-ak3918ev200 - Anyka kernel modules and libs 5 | 6 | https://openipc.org 7 | -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1035_ja.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1035_ja.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1035_yws.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1035_yws.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1045_ja.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1045_ja.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1045_yws.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1045_yws.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1135_yws.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1135_yws.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1145_yws.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1145_yws.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1235_1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1235_1.conf -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1235_2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/general/package/anyka-osdrv-ak3918ev200/files/sensor/config/isp_sc1235_2.conf -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/etc/httpd.conf: -------------------------------------------------------------------------------- 1 | # 2 | H:/var/www 3 | A:127.0.0.1 4 | A:* 5 | D:8.8.8.8/32 6 | E401:401.html 7 | /cgi-bin:admin:123456 8 | /cgi-bin:oper:88888888 9 | # 10 | P:/image.jpg:http://127.0.0.1:80/image.jpg 11 | # 12 | -------------------------------------------------------------------------------- /projects/t31_lite_convoy/general/overlay/etc/init.d/S94dn-monitor: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | 4 | if [ /usr/bin/dn-monitor.sh ]; then 5 | /usr/bin/dn-monitor.sh > /dev/null 2>&1 & 6 | else 7 | echo "The day/night monitor DISABLED" 8 | fi 9 | 10 | exit 0 11 | -------------------------------------------------------------------------------- /projects/t31_lite_convoy/general/overlay/lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_imx335_t31.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/t31_lite_convoy/general/overlay/lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_imx335_t31.ko -------------------------------------------------------------------------------- /projects/t31_lite_zftlab/general/overlay/etc/init.d/S94dn-monitor: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | 4 | if [ /usr/bin/dn-monitor.sh ]; then 5 | /usr/bin/dn-monitor.sh > /dev/null 2>&1 & 6 | else 7 | echo "The day/night monitor DISABLED" 8 | fi 9 | 10 | exit 0 11 | -------------------------------------------------------------------------------- /projects/ak3918ev200_vulture/br-ext-chip-anyka/board/ak3918ev200/kernel/patches/001-ak3918-kernel-3.4.35.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/ak3918ev200_vulture/br-ext-chip-anyka/board/ak3918ev200/kernel/patches/001-ak3918-kernel-3.4.35.patch -------------------------------------------------------------------------------- /projects/t31_lite_convoy/general/overlay/lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_imx335_t31_v2.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/t31_lite_convoy/general/overlay/lib/modules/3.10.14__isvp_swan_1.0__/ingenic/sensor_imx335_t31_v2.ko -------------------------------------------------------------------------------- /projects/t31_lite_faceter/general/overlay/etc/init.d/S94dn-monitor: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | 4 | if [ /usr/bin/dn-monitor.sh ]; then 5 | /usr/bin/dn-monitor.sh > /dev/null 2>&1 & 6 | else 7 | echo "The day/night monitor DISABLED" 8 | fi 9 | 10 | exit 0 11 | -------------------------------------------------------------------------------- /projects/t31_ultimate_adiance/general/overlay/etc/init.d/S94dn-monitor: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | 4 | if [ /usr/bin/dn-monitor.sh ]; then 5 | /usr/bin/dn-monitor.sh > /dev/null 2>&1 & 6 | else 7 | echo "The day/night monitor DISABLED" 8 | fi 9 | 10 | exit 0 11 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/crAp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | sleep 7; 3 | wpa_supplicant -B -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf 4 | touch /tmp/udhcpd.leases; 5 | sleep 6; 6 | ip addr add 192.168.2.1/24 dev wlan0 7 | udhcpd -f "/etc/udhcpd.conf" & 8 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/crAp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | sleep 7; 3 | wpa_supplicant -B -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf 4 | touch /tmp/udhcpd.leases; 5 | sleep 6; 6 | ip addr add 192.168.2.1/24 dev wlan0 7 | udhcpd -f "/etc/udhcpd.conf" & 8 | -------------------------------------------------------------------------------- /projects/t31_lite_zftlab/general/overlay/etc/ppp/options: -------------------------------------------------------------------------------- 1 | ttyUSB0 2 | 921600 3 | lock 4 | crtscts 5 | modem 6 | passive 7 | novj 8 | defaultroute 9 | noipdefault 10 | usepeerdns 11 | noauth 12 | hide-password 13 | persist 14 | holdoff 10 15 | maxfail 0 16 | debug 17 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/gexp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | get_exp() { 4 | exp=1 5 | exp=$(curl -s http://localhost/metrics | grep ^isp_exptime | cut -d' ' -f2) 6 | bri=`expr $exp / 1000` 7 | echo $bri 8 | }; 9 | 10 | BRI=$(get_exp); 11 | echo "$BRI"; 12 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/gexp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | get_exp() { 4 | exp=1 5 | exp=$(curl -s http://localhost/metrics | grep ^isp_exptime | cut -d' ' -f2) 6 | bri=`expr $exp / 1000` 7 | echo $bri 8 | }; 9 | 10 | BRI=$(get_exp); 11 | echo "$BRI"; 12 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/sw_settings.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | only='(cloud|hls|ipeye|netip|onvif|records|rtsp|youtube)' 5 | page_title="$tPageTitleMajesticSettingsServices" 6 | %> 7 | <%in majestic-settings-common.cgi %> 8 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/etc/wpa_supplicant.conf: -------------------------------------------------------------------------------- 1 | ctrl_interface=/var/run/wpa_supplicant 2 | 3 | # -- SoftAP mode with encryption/password protected example: 4 | network={ 5 | ssid="gk300-0003-03" 6 | mode=2 7 | key_mgmt=WPA-PSK 8 | psk="10923874" 9 | } 10 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/etc/wpa_supplicant.conf: -------------------------------------------------------------------------------- 1 | ctrl_interface=/var/run/wpa_supplicant 2 | 3 | # -- SoftAP mode with encryption/password protected example: 4 | network={ 5 | ssid="gk300-0003-03" 6 | mode=2 7 | key_mgmt=WPA-PSK 8 | psk="10923874" 9 | } 10 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/lib/modules/4.9.37/kernel/drivers/net/wireless/realtek/rtl8821cu/rtl8821cu.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenIPC/composer/main/projects/gk7205v300_ultimate_oko2/general/overlay/lib/modules/4.9.37/kernel/drivers/net/wireless/realtek/rtl8821cu/rtl8821cu.ko -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/var/www/cgi-bin/light.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | ll=""; 5 | while [[ -z "$ll" ]] 6 | do 7 | ll="$(cat /tmp/lt)" 8 | done 9 | 10 | if [[ "$ll" == "1" ]] 11 | then 12 | light 0 13 | else 14 | light 1 15 | fi 16 | %> -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/light.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | ll=""; 5 | while [[ -z "$ll" ]] 6 | do 7 | ll="$(cat /tmp/lt)" 8 | done 9 | 10 | if [[ "$ll" == "1" ]] 11 | then 12 | light 0 13 | else 14 | light 1 15 | fi 16 | %> -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/majestic-config-aspatch.cgi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | time=$(date +"%s") 3 | echo "Content-Type: text/plain" 4 | echo "Content-Disposition: attachment; filename=\"majestic.${time}.patch\"" 5 | echo "" 6 | diff /rom/etc/majestic.yaml /etc/majestic.yaml 7 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/majestic-settings-services.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | only='(cloud|hls|ipeye|netip|onvif|records|rtsp|youtube)' 5 | page_title="$tPageTitleMajesticSettingsServices" 6 | %> 7 | <%in majestic-settings-common.cgi %> 8 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/var/www/cgi-bin/flajax.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | content-type: text/plain 3 | 4 | <% 5 | 6 | cf=$(gf); 7 | 8 | echo "{ \"gf\": $(gf), \"ld\": $(cat < /tmp/lt), \"lexp\": $(gexp), \"stf\": $(cat < /tmp/st), \"lst\": $(cat < /tmp/lst) }"; 9 | 10 | %> 11 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/zx: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | while [[ -z $cur_fs ]] 4 | do 5 | RST=`echo $(sample_af 0 c & sleep 0.18 && killall sample_af) | awk '{print $2}'` 6 | if [[ ! -z "$RST" ]] 7 | then 8 | echo $RST > /tmp/zx 9 | sleep 0.1; 10 | fi 11 | done 12 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/info-httpd.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <% page_title="printenv" %> 3 | <%in _common.cgi %> 4 | <%in _header.cgi %> 5 | # printenv 6 |
 7 | <% printenv | sort %>
 8 | 
9 | <%in _footer.cgi %> 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # These are some examples of commonly ignored file patterns. 2 | # You should customize this list as applicable to your project. 3 | # Learn more about .gitignore: 4 | # https://www.atlassian.com/git/tutorials/saving-changes/gitignore 5 | 6 | # Assembly folders 7 | /archive/ 8 | /cache/ 9 | /openipc/ 10 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/info-cron.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <% page_title="cron" %> 3 | <%in _common.cgi %> 4 | <%in _header.cgi %> 5 | # cat /etc/crontabs/root 6 |
 7 | <% cat /etc/crontabs/root %>
 8 | 
9 | <%in _footer.cgi %> 10 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/z_down: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | xm-uart-motors 0 - 3 | sleep 0.50; 4 | xm-uart-motors 0 s 5 | sleep 0.05; 6 | #/sdcard/xm-uart-motors 0 + 7 | #sleep 0.03; 8 | #/sdcard/xm-uart-motors 0 s 9 | xm-uart-motors 0 s 10 | xm-uart-motors 0 s 11 | echo "$(date) : z_down" >> /tmp/l_focus 12 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/z_down: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | xm-uart-motors 0 - 3 | sleep 0.50; 4 | xm-uart-motors 0 s 5 | sleep 0.05; 6 | #/sdcard/xm-uart-motors 0 + 7 | #sleep 0.03; 8 | #/sdcard/xm-uart-motors 0 s 9 | xm-uart-motors 0 s 10 | xm-uart-motors 0 s 11 | echo "$(date) : z_down" >> /tmp/l_focus 12 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/info-httpd-config.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <% page_title="httpd.conf" %> 3 | <%in _common.cgi %> 4 | <%in _header.cgi %> 5 | # cat /etc/httpd.conf 6 |
 7 | <% cat /etc/httpd.conf %>
 8 | 
9 | <%in _footer.cgi %> 10 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/majestic-settings-general.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | only='(audio|image|isp|jpeg|mjpeg|motionDetect|nightMode|osd|raw|system|video0|video1|watchdog)' 5 | page_title="$tPageTitleMajesticSettings" 6 | %> 7 | <%in majestic-settings-common.cgi %> 8 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/crCli: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | sleep 3 3 | wpa_passphrase $(getenv cmid) $(getenv cmkey) >/tmp/wpa_supplicant.conf 4 | sed -i '2i \\tscan_ssid=1' /tmp/wpa_supplicant.conf 5 | sleep 3 6 | wpa_supplicant -B -Dnl80211 -iwlan0 -c/tmp/wpa_supplicant.conf 7 | sleep 6 8 | udhcpc -i wlan0 & 9 | 10 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/s_z_up: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cc=$(getenv focus-control); 4 | if [[ "$cc" == "1" ]] 5 | then 6 | if [[ "$(pren z_up)" == "0" ]] 7 | then 8 | z_up 9 | fi 10 | else 11 | if [[ "$(pren c_z_up)" == "0" ]] 12 | then 13 | c_z_up 14 | fi 15 | fi 16 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/crCl: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | sleep 3 3 | wpa_passphrase $(getenv cmidf) $(getenv cmkeyf) >/tmp/wpa_supplican.conf 4 | sed -i '2i \\tscan_ssid=1' /tmp/wpa_supplican.conf 5 | sleep 3 6 | wpa_supplicant -B -Dnl80211 -iwlan1 -c/tmp/wpa_supplican.conf 7 | sleep 6 8 | udhcpc -i wlan1 & 9 | 10 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/flajax.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | content-type: text/plain 3 | 4 | <% 5 | 6 | cf=$(gf); 7 | 8 | echo "{ \"gf\": $(gf), \"ld\": $(cat < /tmp/lt), \"lexp\": $(gexp), \"stf\": $(cat < /tmp/st), \"lst\": $(cat < /tmp/lst), \"ff\": $(cat < /tmp/ff) }"; 9 | 10 | %> 11 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Мелдана 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/crCli: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | sleep 3 3 | wpa_passphrase $(getenv cmid) $(getenv cmkey) >/tmp/wpa_supplicant.conf 4 | sed -i '2i \\tscan_ssid=1' /tmp/wpa_supplicant.conf 5 | sleep 3 6 | wpa_supplicant -B -Dnl80211 -iwlan0 -c/tmp/wpa_supplicant.conf 7 | sleep 6 8 | udhcpc -i wlan0 & 9 | 10 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Мелдана 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/s_fs_in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cc=$(getenv focus-control); 4 | if [[ "$cc" == "1" ]] 5 | then 6 | if [[ "$(pren fs_in)" == "0" ]] 7 | then 8 | fs_in $1 9 | fi 10 | else 11 | if [[ "$(pren c_fs_in)" == "0" ]] 12 | then 13 | c_fs_in $1 14 | fi 15 | fi 16 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/p/reset-firmware.cgi: -------------------------------------------------------------------------------- 1 |
2 |

Сброс прошивки

3 |

Верните прошивку в исходное состояние, удалив раздел оверлея. Все пользовательские настройки и все файлы, хранящиеся в оверлейном разделе, будут потеряны.!

4 | <% button_reset_firmware %> 5 |
6 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/s_z_down: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cc=$(getenv focus-control); 4 | if [[ "$cc" == "1" ]] 5 | then 6 | if [[ "$(pren z_down)" == "0" ]] 7 | then 8 | z_down 9 | fi 10 | else 11 | if [[ "$(pren c_z_down)" == "0" ]] 12 | then 13 | c_z_down 14 | fi 15 | fi 16 | 17 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/p/reset-firmware.cgi: -------------------------------------------------------------------------------- 1 |
2 |

Сброс прошивки

3 |

Верните прошивку в исходное состояние, удалив раздел оверлея. Все пользовательские настройки и все файлы, хранящиеся в оверлейном разделе, будут потеряны.!

4 | <% button_reset_firmware %> 5 |
6 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/s_fs_out: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cc=$(getenv focus-control); 4 | if [[ "$cc" == "1" ]] 5 | then 6 | if [[ "$(pren fs_out)" == "0" ]] 7 | then 8 | fs_out $1 9 | fi 10 | else 11 | if [[ "$(pren c_fs_out)" == "0" ]] 12 | then 13 | c_fs_out $1 14 | fi 15 | fi 16 | 17 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/info-dmesg.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <% page_title="dmesg" %> 3 | <%in _common.cgi %> 4 | <%in _header.cgi %> 5 | # dmesg 6 |
 7 | <%= "$(dmesg)" %>
 8 | 
9 | <%= $tButtonRefresh %> 10 | <%in _footer.cgi %> 11 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/speed-slow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/majestic/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | Пожалуйста, откройте веб-интерфейс на порту 85. 12 | 13 | 14 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/reconn_qmi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | ip link set wwan0 down 3 | uqmi -s -d /dev/cdc-wdm0 --stop-network --autoconnect 4 | sleep 1; 5 | uqmi -s -d /dev/cdc-wdm0 --start-network internet --autoconnect & 6 | echo 'Y' | tee /sys/class/net/wwan0/qmi/raw_ip 7 | ip link set wwan0 up 8 | echo "get ip" 9 | udhcpc -i wwan0 10 | 11 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/reconn_qmi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | ip link set wwan0 down 3 | uqmi -s -d /dev/cdc-wdm0 --stop-network --autoconnect 4 | sleep 1; 5 | uqmi -s -d /dev/cdc-wdm0 --start-network internet --autoconnect & 6 | echo 'Y' | tee /sys/class/net/wwan0/qmi/raw_ip 7 | ip link set wwan0 up 8 | echo "get ip" 9 | udhcpc -i wwan0 10 | 11 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/majestic/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | Пожалуйста, откройте веб-интерфейс на порту 85. 12 | 13 | 14 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/majestic-config-backup.cgi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | file=/etc/majestic.yaml 3 | echo "Content-Type: application/x-yaml" 4 | echo "Content-Length: $(ls -l $file | xargs | cut -d " " -f 5)" 5 | echo "Content-Encoding: gzip" 6 | echo "Content-Disposition: attachment; filename=\"$(basename $file)\"" 7 | echo "" 8 | gzip -c $file 9 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/chevron-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/info-log.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <% page_title="logread" %> 3 | <%in _common.cgi %> 4 | <%in _header.cgi %> 5 | # logread 6 |
 7 | <%= "$(logread | tail -100)" %>
 8 | 
9 | <%= $tButtonRefresh %> 10 | <%in _footer.cgi %> 11 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/etc/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "start connect"; 4 | sleep 5s; 5 | uqmi -s -d /dev/cdc-wdm0 --start-network internet --autoconnect & 6 | echo "connect"; 7 | echo "set wwan" 8 | ip link set wwan0 down 9 | echo 'Y' | tee /sys/class/net/wwan0/qmi/raw_ip 10 | ip link set wwan0 up 11 | echo "get ip" 12 | udhcpc -i wwan0 13 | 14 | 15 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | OpenICP 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /projects/t31_lite_zftlab/general/overlay/etc/network/interfaces.d/ppp0: -------------------------------------------------------------------------------- 1 | auto ppp0 2 | iface ppp0 inet ppp 3 | pre-up echo 61 > /sys/class/gpio/export 4 | pre-up echo out > /sys/class/gpio/gpio61/direction 5 | pre-up echo 0 > /sys/class/gpio/gpio61/value 6 | pre-up sleep 7 7 | post-down echo 1 > /sys/class/gpio/gpio61/value 8 | post-down echo 61 > /sys/class/gpio/unexport 9 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/info-majestic.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="Majestic config" %> 4 | <%in p/header.cgi %> 5 | <% ex "cat /etc/majestic.yaml" %> 6 |

Edit file

7 | <% button_restore_from_rom "/etc/majestic.yaml" %> 8 | <%in p/footer.cgi %> 9 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/bafi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | killall sample_af 4 | rm -f /tmp/saf_f 5 | echo "0" > /tmp/maxf 6 | sample_af 0 c >> /tmp/saf_f & 7 | DD=100; 8 | #///////////////////////////////////////////////////////////////////////////////////////////////////////////// 9 | fs_in 140; 10 | fs_out 140; 11 | it=`cat /tmp/iter` 12 | fs_in $it; 13 | 14 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/bafi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | killall sample_af 4 | rm -f /tmp/saf_f 5 | echo "0" > /tmp/maxf 6 | sample_af 0 c >> /tmp/saf_f & 7 | DD=100; 8 | #///////////////////////////////////////////////////////////////////////////////////////////////////////////// 9 | fs_in 140; 10 | fs_out 140; 11 | it=`cat /tmp/iter` 12 | fs_in $it; 13 | 14 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/info-majestic.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="Majestic config" %> 4 | <%in p/header.cgi %> 5 | <% ex "cat /etc/majestic.yaml" %> 6 |

Edit file

7 | <% button_restore_from_rom "/etc/majestic.yaml" %> 8 | <%in p/footer.cgi %> 9 | -------------------------------------------------------------------------------- /packages/i2c-gpio-custom/Config.in: -------------------------------------------------------------------------------- 1 | config BR2_PACKAGE_I2C_GPIO_CUSTOM 2 | bool "i2c-gpio-custom" 3 | depends on BR2_LINUX_KERNEL 4 | default n 5 | help 6 | Custom GPIO-based I2C driver 7 | 8 | https://raw.githubusercontent.com/digitalloggers/i2c-gpio-custom/master/i2c-gpio-custom.c 9 | 10 | comment "i2c-gpio-custom needs a Linux kernel to be built" 11 | depends on !BR2_LINUX_KERNEL 12 | -------------------------------------------------------------------------------- /projects/t31_lite_zftlab/br-ext-chip-ingenic/board/t31/kernel/Readme.md: -------------------------------------------------------------------------------- 1 | 2 | Changes 3 | # 4 | Add NAT in to kernel 5 | # 6 | Remove WiFi support 7 | Remove F2FS support 8 | 9 | 10 | External docs 11 | # 12 | https://tewarid.github.io/2014/09/03/linux-nat-routing-on-raspberry-pi-with-buildroot.html 13 | https://linuxconfig.org/how-to-turn-on-off-ip-forwarding-in-linux -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/night.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% 4 | case "$POST_mode" in 5 | on) 6 | curl -s http://127.0.0.1/night/on 7 | ;; 8 | off) 9 | curl -s http://127.0.0.1/night/off 10 | ;; 11 | toggle) 12 | curl -s http://127.0.0.1/night/toggle 13 | ;; 14 | *) 15 | ;; 16 | esac 17 | header_ok 18 | %> 19 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/ntp-update.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | command="/usr/sbin/ntpd -q -d -n" 5 | output=$(/usr/sbin/ntpd -q -d -n 2>&1) 6 | if [ $? -ne 0 ]; then %> 7 | <%in _header.cgi %> 8 | <% report_command_error "$command" "$output" %> 9 | <%in _footer.cgi %> 10 | <% else 11 | redirect_to "/cgi-bin/status.cgi" 12 | fi 13 | %> 14 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/night.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% 4 | case "$POST_mode" in 5 | on) 6 | curl -s http://127.0.0.1/night/on 7 | ;; 8 | off) 9 | curl -s http://127.0.0.1/night/off 10 | ;; 11 | toggle) 12 | curl -s http://127.0.0.1/night/toggle 13 | ;; 14 | *) 15 | ;; 16 | esac 17 | header_ok 18 | %> 19 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/reboot.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | page_title="$tPageTitleReboot" 5 | command="reboot -d 3" 6 | output=$(reboot -d 3) 7 | if [ $? -ne 0 ]; then %> 8 | <%in _header.cgi %> 9 | <% report_command_error "$command" "output" %> 10 | <%in _footer.cgi %> 11 | <% else 12 | redirect_to "/cgi-bin/progress.cgi" 13 | fi 14 | %> 15 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/reboot.cgi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "HTTP/1.1 302 Moved Temporarily 3 | Date: $(TZ=GMT0 date +'%a, %d %b %Y %T %Z') 4 | Server: $SERVER_SOFTWARE 5 | Content-type: text/html; charset=UTF-8 6 | Cache-Control: no-store 7 | Pragma: no-cache 8 | Location: /wait.html 9 | Status: 302 Moved Temporarily 10 | " 11 | 12 | sleep 5 13 | umount -a -t nfs -l 14 | reboot -f 15 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/reboot.cgi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "HTTP/1.1 302 Moved Temporarily 3 | Date: $(TZ=GMT0 date +'%a, %d %b %Y %T %Z') 4 | Server: $SERVER_SOFTWARE 5 | Content-type: text/html; charset=UTF-8 6 | Cache-Control: no-store 7 | Pragma: no-cache 8 | Location: /wait.html 9 | Status: 302 Moved Temporarily 10 | " 11 | 12 | sleep 5 13 | umount -a -t nfs -l 14 | reboot -f 15 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/firmware-reset.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="Удаление оверлея" %> 4 | <%in p/header.cgi %> 5 |
 6 | <% sysupgrade -n %>
 7 | 
8 | Вернуться на главную 9 | Перезагрузить камеру 10 | <%in p/footer.cgi %> 11 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/image-rotate-cw.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/firmware-reset.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="Удаление оверлея" %> 4 | <%in p/header.cgi %> 5 |
 6 | <% sysupgrade -n %>
 7 | 
8 | Вернуться на главную 9 | Перезагрузить камеру 10 | <%in p/footer.cgi %> 11 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/af: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | SLEEP=0.150 4 | 5 | get_focus() { 6 | RES=$(sample_af 0 c & sleep $SLEEP; killall sample_af) 7 | RST=`echo ${RES} | awk '{print $1}'` 8 | echo $RST 9 | } 10 | 11 | CR_L=$(get_focus) 12 | if [[ $CR_L -lt 300 ]] 13 | then 14 | curz 15 | fi 16 | baf 17 | 18 | CR_L=$(get_focus) 19 | 20 | if [[ $CR_L -lt 300 ]] 21 | then 22 | baf 23 | fi 24 | 25 | 26 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/af: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | SLEEP=0.150 4 | 5 | get_focus() { 6 | RES=$(sample_af 0 c & sleep $SLEEP; killall sample_af) 7 | RST=`echo ${RES} | awk '{print $1}'` 8 | echo $RST 9 | } 10 | 11 | CR_L=$(get_focus) 12 | if [[ $CR_L -lt 300 ]] 13 | then 14 | curz 15 | fi 16 | baf 17 | 18 | CR_L=$(get_focus) 19 | 20 | if [[ $CR_L -lt 300 ]] 21 | then 22 | baf 23 | fi 24 | 25 | 26 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/image-rotate-ccw.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/network-ntp-reset.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | command="cp /rom/etc/ntp.conf /etc/ntp.conf" 5 | output=$(cp /rom/etc/ntp.conf /etc/ntp.conf 2>&1) 6 | if [ $? -ne 0 ]; then %> 7 | <%in _header.cgi %> 8 | <% report_command_error "$command" "$output" %> 9 | <%in _footer.cgi %> 10 | <% else 11 | redirect_to "/cgi-bin/network-ntp.cgi" 12 | fi 13 | %> 14 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/arrow-clockwise.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/zx: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | while [[ -z $cur_fs ]] 4 | do 5 | RST=`echo $(sample_af 0 c & sleep 0.07 && killall sample_af) | awk '{print $2}'` 6 | if [[ ! -z "$RST" ]] 7 | then 8 | # echo "----------==============*************============---------------" 9 | # CCTF="$RST" 10 | echo $RST > /tmp/zx 11 | # export CCTF 12 | # export CCTF=$(echo $RST); 13 | fi 14 | done 15 | 16 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/arrow-counterclockwise.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /projects/gk7205v200_ultimate_baresip/general/overlay/etc/network/interfaces.d/wlan0: -------------------------------------------------------------------------------- 1 | auto wlan0 2 | iface wlan0 inet dhcp 3 | post-up wpa_passphrase "$(fw_printenv -n wlanssid || echo OpenIPC)" "$(fw_printenv -n wlanpass || echo OpenIPC12345)" > /tmp/wpa_supplicant.conf 4 | post-up sed -i '2i \\tscan_ssid=1' /tmp/wpa_supplicant.conf 5 | post-up wpa_supplicant -B -i wlan0 -D nl80211,wext -c /tmp/wpa_supplicant.conf 6 | post-down killall -q wpa_supplicant 7 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/pwa: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | AT="AT+BTR>0x0A" 4 | SLEEP=0; 5 | TTY=/dev/ttyUSB0 6 | RESULT=""; 7 | while [[ -z "$RESULT" ]] 8 | do 9 | RESULT=$(cat $TTY & echo -ne "$AT\n" > $TTY; sleep $SLEEP; killall cat) 10 | if [[ "$RESULT" == *"ommand"* ]]; then 11 | RESULT=""; 12 | sleep 1; 13 | fi 14 | if [[ -z "$RESULT" ]]; then 15 | sleep 0.1; 16 | fi 17 | done 18 | r=${RESULT:4} 19 | r=${r::-2} 20 | echo $r; 21 | 22 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/morg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | while (true) 3 | do 4 | 5 | sleep 1.7 && qw 0 "AT+ALL>1" && sleep 0.1 && qw 0 "AT+ALL>0" 6 | sleep 1.7 && qw 0 "AT+ALL>2" && sleep 0.1 && qw 0 "AT+ALL>0" 7 | sleep 1.7 && qw 0 "AT+ALL>3" && sleep 0.1 && qw 0 "AT+ALL>0" 8 | sleep 1.7 && qw 0 "AT+ALL>4" && sleep 0.1 && qw 0 "AT+ALL>0" 9 | sleep 1.7 && qw 0 "AT+ALL>0" && sleep 0.1 && qw 0 "AT+ALL>0" && qw 0 "AT+ALL>0"; 10 | done 11 | 12 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/var/www/cgi-bin/format.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | mkfs.vfat -n WTF /dev/mmcblk0p1 5 | page_title="Rebooting..." 6 | command="reboot -d 3" 7 | output=$(reboot -d 3) 8 | result=$? 9 | if [ "0" -ne "$result" ]; then %> 10 | <%in _header.cgi %> 11 | <% report_command_error "$command" "output" %> 12 | <%in _footer.cgi %> 13 | <% else 14 | redirect_to "/cgi-bin/progress.cgi" 15 | fi 16 | %> 17 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/morg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | while (true) 3 | do 4 | 5 | sleep 1.7 && qw 0 "AT+ALL>1" && sleep 0.1 && qw 0 "AT+ALL>0" 6 | sleep 1.7 && qw 0 "AT+ALL>2" && sleep 0.1 && qw 0 "AT+ALL>0" 7 | sleep 1.7 && qw 0 "AT+ALL>3" && sleep 0.1 && qw 0 "AT+ALL>0" 8 | sleep 1.7 && qw 0 "AT+ALL>4" && sleep 0.1 && qw 0 "AT+ALL>0" 9 | sleep 1.7 && qw 0 "AT+ALL>0" && sleep 0.1 && qw 0 "AT+ALL>0" && qw 0 "AT+ALL>0"; 10 | done 11 | 12 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/s_z_up: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cc=$(getenv focus-control); 4 | case "$cc" in 5 | 0) 6 | if [[ "$(pren c_z_up)" == "0" ]] 7 | then 8 | c_z_up $1 9 | fi 10 | ;; 11 | 1) 12 | if [[ "$(pren z_up)" == "0" ]] 13 | then 14 | z_up $1 15 | fi 16 | ;; 17 | 2) 18 | if [[ "$(pren i_z_up)" == "0" ]] 19 | then 20 | i_z_up $1 21 | fi 22 | ;; 23 | esac 24 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/network-ntp-update.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | truncate -s 0 /tmp/ntp.conf 5 | for i in $(printenv | grep POST_ | sort 2>&1); do 6 | s=$(echo $i | cut -d= -f2); 7 | [ ! -z "$s" ] && echo "server $s iburst" >> /tmp/ntp.conf 8 | done 9 | mv /tmp/ntp.conf /etc/ntp.conf 10 | flash_save "success" "NTP servers updated." 11 | redirect_to "/cgi-bin/network-ntp.cgi" 12 | %> 13 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/pw: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | AT="AT+BTV" 4 | SLEEP=0; 5 | TTY=/dev/ttyUSB0 6 | RESULT=""; 7 | while [[ -z "$RESULT" ]] 8 | do 9 | RESULT=$(cat $TTY & echo -ne "$AT\n" > $TTY; sleep $SLEEP; killall cat) 10 | if [[ "$RESULT" == *"ommand"* ]]; then 11 | RESULT=""; 12 | sleep 1; 13 | fi 14 | if [[ -z "$RESULT" ]]; then 15 | sleep 0.1; 16 | fi 17 | done 18 | r=${RESULT:4} 19 | #echo $r; 20 | r=${r::-2} 21 | echo $r; 22 | 23 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/format.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | mkfs.vfat -n WTF /dev/mmcblk0p1 5 | page_title="Rebooting..." 6 | command="reboot -d 3" 7 | output=$(reboot -d 3) 8 | result=$? 9 | if [ "0" -ne "$result" ]; then %> 10 | <%in _header.cgi %> 11 | <% report_command_error "$command" "output" %> 12 | <%in _footer.cgi %> 13 | <% else 14 | redirect_to "/cgi-bin/progress.cgi" 15 | fi 16 | %> 17 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/br-ext-chip-goke/linux/Config.ext.in: -------------------------------------------------------------------------------- 1 | 2 | config BR2_LINUX_KERNEL_EXT_GOKE_PATCHER 3 | bool "Goke kernel patches" 4 | select BR2_PACKAGE_GOKE_PATCHER 5 | help 6 | Patch Kernel for Goke boards 7 | 8 | if BR2_LINUX_KERNEL_EXT_GOKE_PATCHER 9 | 10 | config BR2_LINUX_KERNEL_EXT_GOKE_PATCHER_LIST 11 | string "Patch list" 12 | help 13 | Space-separated list of patches to be applied 14 | 15 | endif # BR2_LINUX_KERNEL_EXT_GOKE_PATCHER 16 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/br-ext-chip-goke/linux/linux-ext-goke_patcher.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # 3 | # linux_kernel_ext_goke_patcher 4 | # 5 | ################################################################################ 6 | 7 | LINUX_EXTENSIONS += goke_patcher 8 | 9 | define GOKE_PATCHER_PREPARE_KERNEL 10 | $(GOKE_PATCHER_PKGDIR)/apply.sh $(@D) $(BR2_LINUX_KERNEL_EXT_GOKE_PATCHER_LIST) 11 | endef 12 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/s_fs_in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cc=$(getenv focus-control); 3 | 4 | case "$cc" in 5 | 0) 6 | if [[ "$(pren c_fs_in)" == "0" ]] 7 | then 8 | c_fs_in $1 9 | fi 10 | ;; 11 | 1) 12 | if [[ "$(pren fs_in)" == "0" ]] 13 | then 14 | fs_in $1 15 | fi 16 | ;; 17 | 2) 18 | if [[ "$(pren i_fs_in)" == "0" ]] 19 | then 20 | i_fs_in $1 21 | fi 22 | ;; 23 | esac 24 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/s_fs_out: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cc=$(getenv focus-control); 4 | case "$cc" in 5 | 0) 6 | if [[ "$(pren c_fs_out)" == "0" ]] 7 | then 8 | c_fs_out $1 9 | fi 10 | ;; 11 | 1) 12 | if [[ "$(pren fs_out)" == "0" ]] 13 | then 14 | fs_out $1 15 | fi 16 | ;; 17 | 2) 18 | if [[ "$(pren i_fs_out)" == "0" ]] 19 | then 20 | i_fs_out $1 21 | fi 22 | ;; 23 | esac 24 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/s_z_down: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cc=$(getenv focus-control); 4 | case "$cc" in 5 | 0) 6 | if [[ "$(pren c_z_down)" == "0" ]] 7 | then 8 | c_z_down $1 9 | fi 10 | ;; 11 | 1) 12 | if [[ "$(pren z_down)" == "0" ]] 13 | then 14 | z_down $1 15 | fi 16 | ;; 17 | 2) 18 | if [[ "$(pren i_z_down)" == "0" ]] 19 | then 20 | i_z_down $1 21 | fi 22 | ;; 23 | esac 24 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/ajaxcmd.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | content-type: text/plain 3 | 4 | <% 5 | cd /tmp 6 | cmd="$FORM_cmd" 7 | export PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin 8 | 9 | echo "[$(whoami)@$(hostname) $PWD]# $cmd" 10 | echo "" 11 | 12 | if [ -n "$cmd" -a "$cmd" != "undefined" ]; then 13 | result=$(eval $cmd 2>&1) 14 | fi 15 | 16 | [ -z "$result" ] && echo "- empty -" || echo "$result" 17 | %> 18 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/majestic-config-reset.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | command="cp -f /rom/etc/majestic.yaml /etc/majestic.yaml" 5 | output=$(cp -f /rom/etc/majestic.yaml /etc/majestic.yaml 2>&1) 6 | if [ $? -ne 0 ]; then %> 7 | <%in _header.cgi %> 8 | <% report_command_error "$command" "$output" %> 9 | <%in _footer.cgi %> 10 | <% else 11 | redirect_to "/cgi-bin/majestic-config-compare.cgi" 12 | fi 13 | %> 14 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/getmnum: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | tt="$(fw_printenv ethaddr -n | cut -c12- | tr -d :)"; 3 | cssid=`cat /etc/wpa_supplicant.conf | grep ssid | sed '/^#/d' | sed 's/ \{1,\}/ /g' | cut -d " " -f 2` 4 | nssid="ssid=\"ev300-$tt\""; 5 | echo "$cssid"; 6 | echo "$nssid"; 7 | #if [[ "$cssid" != "$nssid" ]] 8 | # then 9 | # echo "new_ssid" 10 | # sed -i '5d' /etc/wpa_supplicant.conf 11 | # sed -i "5i \\$nssid" /etc/wpa_supplicant.conf 12 | #fi 13 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/getmnum: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | tt="$(fw_printenv ethaddr -n | cut -c12- | tr -d :)"; 3 | cssid=`cat /etc/wpa_supplicant.conf | grep ssid | sed '/^#/d' | sed 's/ \{1,\}/ /g' | cut -d " " -f 2` 4 | nssid="ssid=\"ev300-$tt\""; 5 | echo "$cssid"; 6 | echo "$nssid"; 7 | #if [[ "$cssid" != "$nssid" ]] 8 | # then 9 | # echo "new_ssid" 10 | # sed -i '5d' /etc/wpa_supplicant.conf 11 | # sed -i "5i \\$nssid" /etc/wpa_supplicant.conf 12 | #fi 13 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/preset-7.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/etc/init.d/S09pwr: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | case "$1" in 4 | start) 5 | hwclock -s 6 | pwr 7 0 7 | sleep 3 && 8 | modprobe mt7601u 9 | modprobe usbserial vendor=0x28e9 product=0x018a; 10 | sleep 3 && 11 | qw 0 AT+LDB+on 12 | qw 0 AT+MDM+on 13 | qw 0 AT+AP5+on 14 | morg & 15 | ;; 16 | stop) 17 | pwr 7 1 18 | qw 0 AT+MDM+off 19 | ;; 20 | esac 21 | 22 | -------------------------------------------------------------------------------- /projects/hi3516cv500_ultimate_caminos/general/package/all-patches/linux/0017-hi3516cv500-caminos-ether-phy.patch: -------------------------------------------------------------------------------- 1 | --- a/arch/arm/boot/dts/hi3516cv500-demb.dts 2023-06-02 13:57:21.000000000 +0300 2 | +++ b/arch/arm/boot/dts/hi3516cv500-demb.dts 2023-10-30 22:41:51.579713883 +0300 3 | @@ -116,8 +116,8 @@ 4 | 5 | &mdio0 { 6 | hisilicon,phy-reset-delays-us = <10000 20000 150000>; 7 | - phy0: ethernet-phy@1 { 8 | - reg = <1>; 9 | + phy0: ethernet-phy@0 { 10 | + reg = <0>; 11 | }; 12 | }; 13 | 14 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/gmnum: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | tt="$(fw_printenv ethaddr -n | cut -c12- | tr -d :)"; 3 | cssid=`cat /etc/wpa_supplicant.conf | grep ssid | sed '/^#/d' | sed 's/ \{1,\}/ /g' | cut -d " " -f 2` 4 | nssid="ssid=\"ev300-$tt\""; 5 | #echo "$cssid"; 6 | #echo "$nssid"; 7 | echo $tt; 8 | #if [[ "$cssid" != "$nssid" ]] 9 | # then 10 | # echo "new_ssid" 11 | # sed -i '5d' /etc/wpa_supplicant.conf 12 | # sed -i "5i \\$nssid" /etc/wpa_supplicant.conf 13 | #fi 14 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/gmnum: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | tt="$(fw_printenv ethaddr -n | cut -c12- | tr -d :)"; 3 | cssid=`cat /etc/wpa_supplicant.conf | grep ssid | sed '/^#/d' | sed 's/ \{1,\}/ /g' | cut -d " " -f 2` 4 | nssid="ssid=\"ev300-$tt\""; 5 | #echo "$cssid"; 6 | #echo "$nssid"; 7 | echo $tt; 8 | #if [[ "$cssid" != "$nssid" ]] 9 | # then 10 | # echo "new_ssid" 11 | # sed -i '5d' /etc/wpa_supplicant.conf 12 | # sed -i "5i \\$nssid" /etc/wpa_supplicant.conf 13 | #fi 14 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap-extra/7-square.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/arrow-cl.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/arrow-cr.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/arrow-dc.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/arrow-uc.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/arrow-ul.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/save.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/preset-save.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/arrow-dl.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/arrow-ur.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/_debug.cgi: -------------------------------------------------------------------------------- 1 | Content-Type: text/plain; charset=UTF-8 2 | Pragma: no-cache 3 | Connection: close 4 | 5 | ------- REQUEST_* : 6 | <% echo "$(printenv|grep REQUEST_|sort 2>&1)" %> 7 | ------- FORM_* : 8 | <% echo "$(printenv|grep FORM_|sort 2>&1)" %> 9 | ------- GET_* : 10 | <% echo "$(printenv|grep GET_|sort 2>&1)" %> 11 | ------- POST_* : 12 | <% echo "$(printenv|grep POST_|sort 2>&1)" %> 13 | 14 | --------------------------------------------- 15 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/arrow-dr.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/speed-fast.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/c_af: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | SLEEP=0.150 4 | 5 | get_focus() { 6 | RES=$(sample_af 0 c & sleep $SLEEP; killall sample_af) 7 | RST=`echo ${RES} | awk '{print $1}'` 8 | echo $RST 9 | } 10 | 11 | 12 | CR_L=$(get_focus) 13 | if [[ $CR_L -lt 300 ]] 14 | then 15 | c_bbaf 16 | fi 17 | c_baf 18 | c_saf 19 | 20 | 21 | CR_L=$(get_focus) 22 | 23 | 24 | 25 | if [[ $CR_L -lt 300 ]] 26 | then 27 | # echo "Zhopa" 28 | c_bbaf 29 | c_baf 30 | c_saf 31 | fi 32 | 33 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/c_af: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | SLEEP=0.150 4 | 5 | get_focus() { 6 | RES=$(sample_af 0 c & sleep $SLEEP; killall sample_af) 7 | RST=`echo ${RES} | awk '{print $1}'` 8 | echo $RST 9 | } 10 | 11 | 12 | CR_L=$(get_focus) 13 | if [[ $CR_L -lt 300 ]] 14 | then 15 | c_bbaf 16 | fi 17 | c_baf 18 | c_saf 19 | 20 | 21 | CR_L=$(get_focus) 22 | 23 | 24 | 25 | if [[ $CR_L -lt 300 ]] 26 | then 27 | # echo "Zhopa" 28 | c_bbaf 29 | c_baf 30 | c_saf 31 | fi 32 | 33 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/arrow-up-square.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/image-flip.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/image-mirror.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v200_ultimate_baresip/general/overlay/etc/init.d/S35io: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | 4 | # Initializing the second UART as /tty/AMA1 5 | # 6 | devmem 0x112c0070 32 0x2 7 | devmem 0x112c0074 32 0x2 8 | 9 | 10 | # GPIO initialization and voltage supply to the LFD - gpio12 11 | # 12 | devmem 0x120c0010 32 2 13 | gpio set 12 14 | 15 | 16 | # GPIO initialization - gpio40 17 | # 18 | devmem 0x112c0040 32 0x0 19 | gpio clear 40 20 | 21 | 22 | # GPIO initialization - gpio41 23 | # 24 | devmem 0x112c0044 32 0x0 25 | gpio clear 41 -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/arrow-down-square.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/arrow-left-square.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/arrow-right-square.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/arrow-left-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/arrow-up-left-square.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/preset-1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/j/sync-time.cgi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | /usr/sbin/ntpd -n -q -N 3 | if [ $? -eq 0 ]; then 4 | payload='{"result":"success","message":"Время камеры синхронизировано с сервером NTP."}' 5 | else 6 | payload='{"result":"danger","message":"Синхронизация не удалась!"}' 7 | fi 8 | echo "HTTP/1.1 200 OK 9 | Content-type: application/json 10 | Pragma: no-cache 11 | Expires: $(TZ=GMT0 date +'%a, %d %b %Y %T %Z') 12 | Etag: \"$(cat /proc/sys/kernel/random/uuid)\" 13 | 14 | ${payload} 15 | " 16 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/firmware-reset.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | page_title="$tPageTitleFirmwareReset" 5 | %> 6 | <%in _header.cgi %> 7 | <% 8 | command="/usr/sbin/firstboot -s" 9 | output=$(/usr/sbin/firstboot -s 2>&1) 10 | if [ $? -ne 0 ]; then 11 | report_command_error "$command" "$output" 12 | else 13 | report_command_info "$command" "$output" 14 | %> 15 | <%= $tButtonGoHome %> 16 | <% fi %> 17 | <%in _footer.cgi %> 18 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/arrow-down-left-square.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/arrow-down-up.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/arrow-up-right-square.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/chevron-double-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/j/sync-time.cgi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | /usr/sbin/ntpd -n -q -N 3 | if [ $? -eq 0 ]; then 4 | payload='{"result":"success","message":"Время камеры синхронизировано с сервером NTP."}' 5 | else 6 | payload='{"result":"danger","message":"Синхронизация не удалась!"}' 7 | fi 8 | echo "HTTP/1.1 200 OK 9 | Content-type: application/json 10 | Pragma: no-cache 11 | Expires: $(TZ=GMT0 date +'%a, %d %b %Y %T %Z') 12 | Etag: \"$(cat /proc/sys/kernel/random/uuid)\" 13 | 14 | ${payload} 15 | " 16 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/arrow-down-right-square.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/house.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/preset-home.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap-extra/1-square.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/s_baf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cc=$(getenv focus-control); 3 | if [[ "$cc" == 1 ]] 4 | then 5 | if [[ "$(getenv focus-in)" == "1" ]] 6 | then 7 | if [[ "$(pren baf)" == "0" ]] 8 | then 9 | baf 10 | fi 11 | else 12 | if [[ "$(pren bafl)" == "0" ]] 13 | then 14 | bafl 15 | fi 16 | fi 17 | else 18 | if [[ "$(pren c_baf)" == "0" ]] 19 | then 20 | c_baf; 21 | c_saf; 22 | fi 23 | fi 24 | 25 | 26 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/arrec.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% page_title="Camera Preview" 4 | ipaddr=$(printenv | grep HTTP_HOST | cut -d= -f2 | cut -d: -f1) 5 | %> 6 | <%in _header.cgi %> 7 |
8 | 11 |
12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/_footer.cgi: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 |
6 |

<%= $(uname -a) %>

7 |

<%= $tPageGeneratedOn %> <%= $(date) %> (<% beats %>)

8 |
9 |

<%= $tPoweredBy %> Microbe Web UI, 10 | <%= $tPartOf %> OpenIPC project.

11 |
12 |
13 | 14 | 15 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/image.cgi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | preview=/tmp/preview.jpg 3 | wget -q -O $preview http://127.0.0.1/image.jpg 4 | if [ ! -f "$preview" ]; then 5 | echo "HTTP/1.0 404" 6 | else 7 | echo "HTTP/1.1 200 OK 8 | Content-type: image/jpeg 9 | Content-Length: $(stat -c%s $preview) 10 | Pragma: no-cache 11 | Date: $(TZ=GMT0 date +'%a, %d %b %Y %T %Z') 12 | Expires: $(TZ=GMT0 date +'%a, %d %b %Y %T %Z') 13 | Etag: \"$(cat /proc/sys/kernel/random/uuid)\" 14 | Connecton: close 15 | " 16 | cat $preview 17 | rm $preview 18 | fi 19 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/night.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <% 3 | case "$POST_mode" in 4 | on) 5 | curl http://admin:@127.0.0.1/night/on 6 | ;; 7 | off) 8 | curl http://admin:@127.0.0.1/night/off 9 | ;; 10 | toggle) 11 | curl http://admin:@127.0.0.1/night/toggle 12 | ;; 13 | *) 14 | ;; 15 | esac 16 | echo "HTTP/1.1 200 OK" 17 | echo "Date: $(TZ=GMT date +"%a, %d %b %Y %T %Z")" 18 | echo "Content-Type: text/plain; charset=utf-8" 19 | echo "Server: httpd" 20 | echo "" 21 | echo "200 OK" 22 | %> 23 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/image.cgi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | preview=/tmp/preview.jpg 3 | wget -q -O $preview http://127.0.0.1/image.jpg 4 | if [ ! -f "$preview" ]; then 5 | echo "HTTP/1.0 404" 6 | else 7 | echo "HTTP/1.1 200 OK 8 | Content-type: image/jpeg 9 | Content-Length: $(stat -c%s $preview) 10 | Pragma: no-cache 11 | Date: $(TZ=GMT0 date +'%a, %d %b %Y %T %Z') 12 | Expires: $(TZ=GMT0 date +'%a, %d %b %Y %T %Z') 13 | Etag: \"$(cat /proc/sys/kernel/random/uuid)\" 14 | Connecton: close 15 | " 16 | cat $preview 17 | rm $preview 18 | fi 19 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/preset-4.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/j/reset-ntp.cgi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cp /rom/etc/ntp.conf /etc/ntp.conf 3 | if [ $? -eq 0 ]; then 4 | payload='{"result":"success","message":"Конфигурация сброшена на настройки прошивки по умолчанию."}' 5 | else 6 | payload='{"result":"danger","message":"Сброс настроек прошивки по умолчанию не удался!"}' 7 | fi 8 | echo "HTTP/1.1 200 OK 9 | Content-type: application/json 10 | Pragma: no-cache 11 | Expires: $(TZ=GMT0 date +'%a, %d %b %Y %T %Z') 12 | Etag: \"$(cat /proc/sys/kernel/random/uuid)\" 13 | 14 | ${payload} 15 | " 16 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/etc/init.d/S09pwr: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | case "$1" in 4 | start) 5 | hwclock -s 6 | pwr 7 0 7 | sleep 3 && 8 | modprobe mt7601u 9 | modprobe usbserial vendor=0x28e9 product=0x018a; 10 | #rmmod usbserial && 11 | ##modprobe usbserial vendor=0x28e9 product=0x018a && 12 | sleep 3 && 13 | qw 0 AT+LDB+on 14 | qw 0 AT+MDM+on 15 | qw 0 AT+AP5+on 16 | # morg & 17 | ;; 18 | stop) 19 | pwr 7 1 20 | qw 0 AT+MDM+off 21 | ;; 22 | esac 23 | 24 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/j/reset-ntp.cgi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cp /rom/etc/ntp.conf /etc/ntp.conf 3 | if [ $? -eq 0 ]; then 4 | payload='{"result":"success","message":"Конфигурация сброшена на настройки прошивки по умолчанию."}' 5 | else 6 | payload='{"result":"danger","message":"Сброс настроек прошивки по умолчанию не удался!"}' 7 | fi 8 | echo "HTTP/1.1 200 OK 9 | Content-type: application/json 10 | Pragma: no-cache 11 | Expires: $(TZ=GMT0 date +'%a, %d %b %Y %T %Z') 12 | Etag: \"$(cat /proc/sys/kernel/random/uuid)\" 13 | 14 | ${payload} 15 | " 16 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap-extra/4-square.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/restore.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% 4 | [ -z "$GET_f" ] && append_flash "danger" "Нечего восстанавливать." && error=1 5 | 6 | file=$GET_f 7 | [ ! -f "/rom/${file}" ] && append_flash "danger" "Файл /rom/${file} не найден!" && error=1 8 | 9 | [ -n "$error" ] && redirect_back 10 | 11 | cp "/rom/${file}" "${file}" 12 | if [ $? -eq 0 ]; then 13 | redirect_back "success" "Файл ${file} восстановлен до настроек по умолчанию." 14 | else 15 | redirect_back "danger" "Невозможно восстановить ${file}!" 16 | fi 17 | %> 18 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/restore.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% 4 | [ -z "$GET_f" ] && append_flash "danger" "Нечего восстанавливать." && error=1 5 | 6 | file=$GET_f 7 | [ ! -f "/rom/${file}" ] && append_flash "danger" "Файл /rom/${file} не найден!" && error=1 8 | 9 | [ -n "$error" ] && redirect_back 10 | 11 | cp "/rom/${file}" "${file}" 12 | if [ $? -eq 0 ]; then 13 | redirect_back "success" "Файл ${file} восстановлен до настроек по умолчанию." 14 | else 15 | redirect_back "danger" "Невозможно восстановить ${file}!" 16 | fi 17 | %> 18 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/network-tz-update.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | if [ -z "$POST_tz_name" ]; then 5 | flash_save "warning" "$tMsgEmptyTimezoneName" 6 | elif [ -z "$POST_tz_data" ]; then 7 | flash_save "warning" "$tMsgEmptyTimezoneValue" 8 | elif [ "$(cat /etc/TZ)" = "$POST_tz_data" ]; then 9 | flash_save "warning" "$tMsgSameTimezone" 10 | else 11 | echo "${POST_tz_data}" > /etc/TZ 12 | echo "${POST_tz_name}" > /etc/tzname 13 | flash_save "success" "$tMsgTimezoneUpdated" 14 | fi 15 | redirect_to "/cgi-bin/network-ntp.cgi" 16 | %> 17 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/light-on.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/lightbulb.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/dl.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% 4 | file=$GET_file 5 | if [ "/tmp/webui.log" = "$file" ]; then 6 | fname="webui-$(date +%s).log" 7 | mime="text/plain" 8 | else 9 | fname=$(basename $file) 10 | mime="application/octet-stream" 11 | fi 12 | check_file_exist $file 13 | echo "HTTP/1.0 200 OK 14 | Date: $(time_http) 15 | Server: $SERVER_SOFTWARE 16 | Content-type: ${mime} 17 | Content-Disposition: attachment; filename=${fname} 18 | Content-Length: $(stat -c%s $file) 19 | Cache-Control: no-store 20 | Pragma: no-cache 21 | " 22 | cat $file 23 | %> 24 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/trash.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/dl.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% 4 | file=$GET_file 5 | if [ "/tmp/webui.log" = "$file" ]; then 6 | fname="webui-$(date +%s).log" 7 | mime="text/plain" 8 | else 9 | fname=$(basename $file) 10 | mime="application/octet-stream" 11 | fi 12 | check_file_exist $file 13 | echo "HTTP/1.0 200 OK 14 | Date: $(time_http) 15 | Server: $SERVER_SOFTWARE 16 | Content-type: ${mime} 17 | Content-Disposition: attachment; filename=${fname} 18 | Content-Length: $(stat -c%s $file) 19 | Cache-Control: no-store 20 | Pragma: no-cache 21 | " 22 | cat $file 23 | %> 24 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/trash.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /packages/i2c-gpio-custom/i2c-gpio-custom.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # 3 | # i2c-gpio-custom | updated 2022.11.14 4 | # 5 | ################################################################################ 6 | 7 | I2C_GPIO_CUSTOM_LICENSE = GPL-2.0 8 | I2C_GPIO_CUSTOM_LICENSE_FILES = COPYING 9 | 10 | define I2C_GPIO_CUSTOM_EXTRACT_CMDS 11 | cp ../general/package/i2c-gpio-custom/src/* $(@D)/ 12 | endef 13 | 14 | I2C_GPIO_CUSTOM_MODULE_MAKE_OPTS = CONFIG_I2C_GPIO_CUSTOM=m \ 15 | KVER=$(LINUX_VERSION_PROBED) \ 16 | KSRC=$(LINUX_DIR) 17 | 18 | $(eval $(kernel-module)) 19 | $(eval $(generic-package)) 20 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/dl2.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% 4 | file=$(mktemp) 5 | log="$GET_log" 6 | case "$log" in 7 | dmesg) dmesg >$file ;; 8 | logread) logread >$file ;; 9 | netstat) netstat -a >$file ;; 10 | *) echo "Unknown file." && exit 1 ;; 11 | esac 12 | check_file_exist $file 13 | echo "HTTP/1.0 200 OK 14 | Date: $(time_http) 15 | Server: $SERVER_SOFTWARE 16 | Content-type: text/plain 17 | Content-Disposition: attachment; filename=${log}-$(date +%s).txt 18 | Content-Length: $(stat -c%s $file) 19 | Cache-Control: no-store 20 | Pragma: no-cache 21 | " 22 | cat $file 23 | rm $file 24 | %> 25 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/dl2.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% 4 | file=$(mktemp) 5 | log="$GET_log" 6 | case "$log" in 7 | dmesg) dmesg >$file ;; 8 | logread) logread >$file ;; 9 | netstat) netstat -a >$file ;; 10 | *) echo "Unknown file." && exit 1 ;; 11 | esac 12 | check_file_exist $file 13 | echo "HTTP/1.0 200 OK 14 | Date: $(time_http) 15 | Server: $SERVER_SOFTWARE 16 | Content-type: text/plain 17 | Content-Disposition: attachment; filename=${log}-$(date +%s).txt 18 | Content-Length: $(stat -c%s $file) 19 | Cache-Control: no-store 20 | Pragma: no-cache 21 | " 22 | cat $file 23 | rm $file 24 | %> 25 | -------------------------------------------------------------------------------- /projects/t31_lite_zftlab/general/overlay/etc/ppp/chatscripts/modem.chat: -------------------------------------------------------------------------------- 1 | ABORT 'BUSY' 2 | ABORT 'NO ANSWER' 3 | ABORT 'NO CARRIER' 4 | ABORT 'NO DIALTONE' 5 | ABORT 'NO DIAL TONE' 6 | ABORT '\nRING\r\n\r\nRING\r' 7 | ABORT '\nRINGING\r\n\r\nRINGING\r' 8 | ABORT 'VOICE' 9 | ABORT 'DELAYED' 10 | #REPORT 'CONNECT' 11 | TIMEOUT '6' 12 | '' 'AT' 13 | '' 'AT' 14 | #OK 'AT&FZ' 15 | #'OK' 'ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0' 16 | OK 'AT' 17 | ABORT 'ERROR' 18 | OK 'AT+CGDCONT=1,"IP","internet"' 19 | OK 'AT+CGATT=1' 20 | OK 'ATI' 21 | OK 'AT+CSQ' 22 | OK 'ATD*99***1#' 23 | TIMEOUT '30' 24 | CONNECT '' 25 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/camera.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /packages/dbell-ina219/dbell-ina219.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # 3 | # dbell-ina219 | updated 2022.08.26 4 | # 5 | ################################################################################ 6 | 7 | DBELL_INA219_LICENSE = MIT 8 | DBELL_INA219_LICENSE_FILES = LICENSE 9 | 10 | define DBELL_INA219_EXTRACT_CMDS 11 | cp -av ../general/package/dbell-ina219/src/* $(@D)/ 12 | endef 13 | 14 | define DBELL_INA219_BUILD_CMDS 15 | (cd $(@D); $(TARGET_CC) -s ina219.c -o ina219) 16 | endef 17 | 18 | define DBELL_INA219_INSTALL_TARGET_CMDS 19 | install -m 0755 -D $(@D)/ina219 $(TARGET_DIR)/usr/sbin/ina219 20 | endef 21 | 22 | $(eval $(generic-package)) 23 | -------------------------------------------------------------------------------- /packages/gps-openipc/gps-openipc.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # 3 | # gps-openipc | updated 2023.09.25 4 | # 5 | ################################################################################ 6 | 7 | GPS_OPENIPC_LICENSE = MIT 8 | GPS_OPENIPC_LICENSE_FILES = LICENSE 9 | 10 | define GPS_OPENIPC_EXTRACT_CMDS 11 | cp -avr $(GPS_OPENIPC_PKGDIR)/src/* $(@D)/ 12 | endef 13 | 14 | define GPS_OPENIPC_BUILD_CMDS 15 | (cd $(@D); $(TARGET_CC) -s gps-openipc.c -o gps-openipc) 16 | endef 17 | 18 | define GPS_OPENIPC_INSTALL_TARGET_CMDS 19 | install -m 0755 -D $(@D)/gps-openipc $(TARGET_DIR)/usr/sbin/gps-openipc 20 | endef 21 | 22 | $(eval $(generic-package)) 23 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/progress.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | if [ -f /tmp/webjob.lock ]; then 5 | page_title="$tPageTitleProgress" 6 | %> 7 | <%in _header.cgi %> 8 | 9 | 21 | <%in _footer.cgi %> 22 | <% else 23 | redirect_to "/cgi-bin/firmware.cgi" 24 | fi %> 25 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/light-off.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/lightbulb-off.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/majestic-config-compare.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="Изменения конфигурации Majestic" %> 4 | <%in p/header.cgi %> 5 | 6 |
7 |
8 | <% 9 | config_file=/etc/majestic.yaml 10 | diff /rom$config_file $config_file >/tmp/majestic.patch 11 | ex "cat /tmp/majestic.patch" 12 | %> 13 |
14 | 19 |
20 | 21 | <%in p/footer.cgi %> 22 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/majestic-config-compare.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% page_title="Изменения конфигурации Majestic" %> 4 | <%in p/header.cgi %> 5 | 6 |
7 |
8 | <% 9 | config_file=/etc/majestic.yaml 10 | diff /rom$config_file $config_file >/tmp/majestic.patch 11 | ex "cat /tmp/majestic.patch" 12 | %> 13 |
14 | 19 |
20 | 21 | <%in p/footer.cgi %> 22 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/send.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% 4 | target="$GET_to" 5 | if [ -n "$(echo "telegram yadisk" | sed -n "/\b${target}\b/p")" ]; then 6 | /usr/sbin/snapshot4cron.sh -f >/dev/null 7 | [ "openwall" = "$target" ] && opts="-f" 8 | /usr/sbin/send2${target}.sh ${opts} >/dev/null 9 | redirect_back "success" "Отправить в ${target}." 10 | elif [ "pastebin" = "$target" ]; then 11 | if [ "mjlog" = "$GET_file" ]; then 12 | _t=$(mktemp) 13 | logread | grep 'user.info majestic' >$_t 14 | _url=$(/usr/sbin/send2${target}.sh $_t) 15 | rm $_t 16 | unset _t 17 | redirect_to $_url 18 | fi 19 | else 20 | redirect_back "danger" "Неизвестная цель ${target}!" 21 | fi 22 | %> 23 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/bafl: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #i killall sample_af 4 | # rm -f /tmp/saf_f 5 | # sample_af 0 c >> /tmp/saf_f & 6 | DD=120; 7 | #///////////////////////////////////////////////////////////////////////////////////////////////////////////// 8 | 9 | CC_F=$(gf) 10 | #if [[ $CC_F -lt $DD ]] 11 | #then 12 | fs_out 120; 13 | #echo $CC_F 14 | st=$(gf) 15 | kf=$DD 16 | ct=`expr $st + 1` 17 | echo "ct: $ct st: $st kf:$kf"; 18 | while [[ "$st" -le "$ct" ]]; do 19 | st=$(gf) 20 | zz=$(echo "scale=4; $st/1000" | bc); 21 | sleep $zz; 22 | s_fs_in 1; 23 | ct=$(gf) 24 | if [[ "$ct" -lt $DD ]] 25 | then 26 | ct=`expr $ct + 230` 27 | fi 28 | echo "ct: $ct st: $st kf:$kf zz:$zz"; 29 | done 30 | s_fs_out 4; 31 | #fi 32 | 33 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/bafl: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #i killall sample_af 4 | # rm -f /tmp/saf_f 5 | # sample_af 0 c >> /tmp/saf_f & 6 | DD=120; 7 | #///////////////////////////////////////////////////////////////////////////////////////////////////////////// 8 | 9 | CC_F=$(gf) 10 | #if [[ $CC_F -lt $DD ]] 11 | #then 12 | fs_out 120; 13 | #echo $CC_F 14 | st=$(gf) 15 | kf=$DD 16 | ct=`expr $st + 1` 17 | echo "ct: $ct st: $st kf:$kf"; 18 | while [[ "$st" -le "$ct" ]]; do 19 | st=$(gf) 20 | zz=$(echo "scale=4; $st/1000" | bc); 21 | sleep $zz; 22 | s_fs_in 1; 23 | ct=$(gf) 24 | if [[ "$ct" -lt $DD ]] 25 | then 26 | ct=`expr $ct + 230` 27 | fi 28 | echo "ct: $ct st: $st kf:$kf zz:$zz"; 29 | done 30 | s_fs_out 4; 31 | #fi 32 | 33 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/send.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% 4 | target="$GET_to" 5 | if [ -n "$(echo "telegram yadisk" | sed -n "/\b${target}\b/p")" ]; then 6 | /usr/sbin/snapshot4cron.sh -f >/dev/null 7 | [ "openwall" = "$target" ] && opts="-f" 8 | /usr/sbin/send2${target}.sh ${opts} >/dev/null 9 | redirect_back "success" "Отправить в ${target}." 10 | elif [ "pastebin" = "$target" ]; then 11 | if [ "mjlog" = "$GET_file" ]; then 12 | _t=$(mktemp) 13 | logread | grep 'user.info majestic' >$_t 14 | _url=$(/usr/sbin/send2${target}.sh $_t) 15 | rm $_t 16 | unset _t 17 | redirect_to $_url 18 | fi 19 | else 20 | redirect_back "danger" "Неизвестная цель ${target}!" 21 | fi 22 | %> 23 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/firmware-update.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% 4 | page_title="Обновление прошивки" 5 | c="/usr/sbin/sysupgrade" 6 | reboot="true" 7 | [ "true" = "$POST_fw_kernel" ] && c="${c} -k" 8 | [ "true" = "$POST_fw_rootfs" ] && c="${c} -r" 9 | [ "true" = "$POST_fw_reset" ] && c="${c} -n" 10 | [ "true" = "$POST_fw_noreboot" ] && c="${c} -x" && reboot="false" 11 | [ "true" = "$POST_fw_enforce" ] && c="${c} --force_ver" 12 | %> 13 | <%in p/header.cgi %> 14 |

НЕ ЗАКРЫВАЙТЕ, НЕ ОБНОВЛЯЙТЕ ИЛИ НЕ УХОДИТЕ С ЭТОЙ СТРАНИЦЫ, ПОКА ПРОЦЕСС НЕ ЗАВЕРШЕН!

15 |
# <%= $c %>
16 |

17 | <%in p/footer.cgi %>
18 | 


--------------------------------------------------------------------------------
/projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/firmware-update.cgi:
--------------------------------------------------------------------------------
 1 | #!/usr/bin/haserl
 2 | <%in p/common.cgi %>
 3 | <%
 4 | page_title="Обновление прошивки"
 5 | c="/usr/sbin/sysupgrade"
 6 | reboot="true"
 7 | [ "true" = "$POST_fw_kernel" ] && c="${c} -k"
 8 | [ "true" = "$POST_fw_rootfs" ] && c="${c} -r"
 9 | [ "true" = "$POST_fw_reset" ] && c="${c} -n"
10 | [ "true" = "$POST_fw_noreboot" ] && c="${c} -x" && reboot="false"
11 | [ "true" = "$POST_fw_enforce" ] && c="${c} --force_ver"
12 | %>
13 | <%in p/header.cgi %>
14 | 

НЕ ЗАКРЫВАЙТЕ, НЕ ОБНОВЛЯЙТЕ ИЛИ НЕ УХОДИТЕ С ЭТОЙ СТРАНИЦЫ, ПОКА ПРОЦЕСС НЕ ЗАВЕРШЕН!

15 |
# <%= $c %>
16 |

17 | <%in p/footer.cgi %>
18 | 


--------------------------------------------------------------------------------
/projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/config.cgi:
--------------------------------------------------------------------------------
 1 | #!/usr/bin/haserl
 2 | Date: <%= $(TZ=GMT0 date +"%a, %d %b %Y %T %Z" --date @$(( $(TZ=GMT0 date +%s) + 1000 ))) %>
 3 | Server: <%= $SERVER_SOFTWARE %>
 4 | Content-type: application/javascript; charset=UTF-8
 5 | Access-Control-Allow-Origin: *
 6 | Cache-Control: no-cache
 7 | Connection: close
 8 | 
 9 | <%
10 | o=""
11 | echo -n "readConfigYaml({"
12 | for l in $(sed -n "/^\../p" p/mj.cgi|cut -d\| -f1); do
13 |   d=${l%.*}; d=${d/./}; name=${l##*.}
14 |   value=$(yaml-cli -g "$l")
15 |   if [ "$o" != "$d" ]; then
16 |     [ -n "$o" ] && echo -n "},"
17 |     o="$d"
18 |     echo -n "\"${d}\":{"
19 |   else
20 |     echo -n ","
21 |   fi
22 |   echo -n "\"${name}\":\"${value}\""
23 | done
24 | echo -n "}});"
25 | %>
26 | 


--------------------------------------------------------------------------------
/projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/config.cgi:
--------------------------------------------------------------------------------
 1 | #!/usr/bin/haserl
 2 | Date: <%= $(TZ=GMT0 date +"%a, %d %b %Y %T %Z" --date @$(( $(TZ=GMT0 date +%s) + 1000 ))) %>
 3 | Server: <%= $SERVER_SOFTWARE %>
 4 | Content-type: application/javascript; charset=UTF-8
 5 | Access-Control-Allow-Origin: *
 6 | Cache-Control: no-cache
 7 | Connection: close
 8 | 
 9 | <%
10 | o=""
11 | echo -n "readConfigYaml({"
12 | for l in $(sed -n "/^\../p" p/mj.cgi|cut -d\| -f1); do
13 |   d=${l%.*}; d=${d/./}; name=${l##*.}
14 |   value=$(yaml-cli -g "$l")
15 |   if [ "$o" != "$d" ]; then
16 |     [ -n "$o" ] && echo -n "},"
17 |     o="$d"
18 |     echo -n "\"${d}\":{"
19 |   else
20 |     echo -n ","
21 |   fi
22 |   echo -n "\"${name}\":\"${value}\""
23 | done
24 | echo -n "}});"
25 | %>
26 | 


--------------------------------------------------------------------------------
/projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/preview-video.cgi:
--------------------------------------------------------------------------------
 1 | #!/usr/bin/haserl
 2 | <%in _common.cgi %>
 3 | <%
 4 | get_system_info
 5 | page_title="$tPageTitlePreviewVideo"
 6 | %>
 7 | <%in _header.cgi %>
 8 | 
9 |
10 |
11 | 16 |
17 |
18 |
19 | <%in _joystick.cgi %> 20 | <%in _footer.cgi %> 21 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/webui-update.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% 4 | page_title="Обновление веб-интерфейса" 5 | c="/usr/sbin/updatewebui.sh" 6 | reboot="true" 7 | [ "true" = "$POST_web_enforce" ] && c="${c} -f" 8 | [ "true" = "$POST_web_verbose" ] && c="${c} -v" 9 | [ "true" = "$POST_web_noreboot" ] && reboot="false" 10 | if [ -n "$POST_web_branch" ]; then 11 | c="${c} -b $POST_web_branch" 12 | elif [ -n "$POST_web_commit" ]; then 13 | c="${c} -c $POST_web_commit" 14 | fi 15 | %> 16 | <%in p/header.cgi %> 17 |

НЕ ЗАКРЫВАЙТЕ, НЕ ОБНОВЛЯЙТЕ И НЕ УХОДИТЕ С ЭТОЙ СТРАНИЦЫ, ПОКА ПРОЦЕСС НЕ ЗАВЕРШЕН!

18 |
# <%= $c %>
19 |

20 | <%in p/footer.cgi %>
21 | 


--------------------------------------------------------------------------------
/flasher.sh:
--------------------------------------------------------------------------------
 1 | #!/bin/bash
 2 | #
 3 | # Example for download U-Boot: https://github.com/OpenIPC/firmware/releases/download/latest/u-boot-gk7205v200-universal.bin
 4 | 
 5 | 
 6 | if [ -n "$1" ]; then
 7 |     PROJECT=$1
 8 | else
 9 |     echo -e "\n\nPlease select you project in command line:\n"
10 |     ls archive | tr ' ' '\n'
11 |     exit 0
12 | fi
13 | 
14 | 
15 | UBOOT=$(find ~/composer/archive/${PROJECT} -name "u-boot-*.bin")
16 | KERNEL=$(find ~/composer/archive/${PROJECT} -name "uImage.*" | sort | tail -n 1)
17 | ROOTFS=$(find ~/composer/archive/${PROJECT} -name "rootfs.squashfs.*" | sort | tail -n 1)
18 | 
19 | 
20 | echo -e "\n\nCreate full flash dump for ${PROJECT} project\n\nUsed components:\n"
21 | echo -e "${UBOOT}\n${KERNEL}\n${ROOTFS}\n"
22 | 
23 | openipc/general/scripts/compile4programmer.sh ${UBOOT} ${KERNEL} ${ROOTFS} 16
24 | 


--------------------------------------------------------------------------------
/projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/telegram.svg:
--------------------------------------------------------------------------------
1 | 
2 |   
3 | 


--------------------------------------------------------------------------------
/projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/webui-update.cgi:
--------------------------------------------------------------------------------
 1 | #!/usr/bin/haserl
 2 | <%in p/common.cgi %>
 3 | <%
 4 | page_title="Обновление веб-интерфейса"
 5 | c="/usr/sbin/updatewebui.sh"
 6 | reboot="true"
 7 | [ "true" = "$POST_web_enforce" ] && c="${c} -f"
 8 | [ "true" = "$POST_web_verbose" ] && c="${c} -v"
 9 | [ "true" = "$POST_web_noreboot" ] && reboot="false"
10 | if [ -n "$POST_web_branch" ]; then
11 |   c="${c} -b $POST_web_branch"
12 | elif [ -n "$POST_web_commit" ]; then
13 |   c="${c} -c $POST_web_commit"
14 | fi
15 | %>
16 | <%in p/header.cgi %>
17 | 

НЕ ЗАКРЫВАЙТЕ, НЕ ОБНОВЛЯЙТЕ И НЕ УХОДИТЕ С ЭТОЙ СТРАНИЦЫ, ПОКА ПРОЦЕСС НЕ ЗАВЕРШЕН!

18 |
# <%= $c %>
19 |

20 | <%in p/footer.cgi %>
21 | 


--------------------------------------------------------------------------------
/projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/baf_1:
--------------------------------------------------------------------------------
 1 | #!/bin/sh
 2 | 
 3 |   killall sample_af
 4 |   rm -f /tmp/saf_f
 5 |   echo "0" > /tmp/maxf
 6 |   sample_af 0 c >> /tmp/saf_f &
 7 | DD=100;
 8 | #/////////////////////////////////////////////////////////////////////////////////////////////////////////////
 9 | 
10 | CC_F=$(gf)
11 | #if [[ $CC_F -lt $DD ]]
12 | #then
13 | #fs_out 180;
14 | fs_in 140;
15 | st=$(gf);
16 | mx=`cat /tmp/maxf`;
17 | kf=$DD
18 | ct=`expr $st + 1`
19 | echo "ct: $ct st: $st kf:$kf";
20 | while [[ "$st" -lt "$ct" ]]; do
21 |  st=$(gf)
22 |  s_fs_out 1;
23 |  zz=$(echo "scale=4; $st/2000" | bc);
24 |  sleep $zz;
25 |  ct=`expr $(gf) + 1`;
26 |  if [[ "$ct" -lt $DD ]] 
27 |    then
28 |      ct=`expr $ct + 230`
29 |  fi 
30 | echo "ct: $ct st: $st kf:$kf zz:$zz";
31 | done
32 | s_fs_in 13;
33 | #fi
34 | 
35 | 


--------------------------------------------------------------------------------
/projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/bafd:
--------------------------------------------------------------------------------
 1 | #!/bin/sh
 2 | 
 3 |   killall sample_af
 4 |   rm -f /tmp/saf_f
 5 |   echo "0" > /tmp/maxf
 6 |   sample_af 0 c >> /tmp/saf_f &
 7 | DD=100;
 8 | #/////////////////////////////////////////////////////////////////////////////////////////////////////////////
 9 | 
10 | CC_F=$(gf)
11 | #if [[ $CC_F -lt $DD ]]
12 | #then
13 | #fs_out 180;
14 | fs_out 140;
15 | st=$(gf);
16 | mx=`cat /tmp/maxf`;
17 | kf=$DD
18 | ct=`expr $st + 1`
19 | echo "ct: $ct st: $st kf:$kf";
20 | while [[ "$st" -lt "$ct" ]]; do
21 |  st=$(gf)
22 |  s_fs_in 1;
23 |  zz=$(echo "scale=4; $st/2000" | bc);
24 |  sleep $zz;
25 |  ct=`expr $(gf) + 1`;
26 |  if [[ "$ct" -lt $DD ]] 
27 |    then
28 |      ct=`expr $ct + 230`
29 |  fi 
30 | echo "ct: $ct st: $st kf:$kf zz:$zz";
31 | done
32 | s_fs_out 21;
33 | #fi
34 | 
35 | 


--------------------------------------------------------------------------------
/projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/baf_1:
--------------------------------------------------------------------------------
 1 | #!/bin/sh
 2 | 
 3 |   killall sample_af
 4 |   rm -f /tmp/saf_f
 5 |   echo "0" > /tmp/maxf
 6 |   sample_af 0 c >> /tmp/saf_f &
 7 | DD=100;
 8 | #/////////////////////////////////////////////////////////////////////////////////////////////////////////////
 9 | 
10 | CC_F=$(gf)
11 | #if [[ $CC_F -lt $DD ]]
12 | #then
13 | #fs_out 180;
14 | fs_in 140;
15 | st=$(gf);
16 | mx=`cat /tmp/maxf`;
17 | kf=$DD
18 | ct=`expr $st + 1`
19 | echo "ct: $ct st: $st kf:$kf";
20 | while [[ "$st" -lt "$ct" ]]; do
21 |  st=$(gf)
22 |  s_fs_out 1;
23 |  zz=$(echo "scale=4; $st/2000" | bc);
24 |  sleep $zz;
25 |  ct=`expr $(gf) + 1`;
26 |  if [[ "$ct" -lt $DD ]] 
27 |    then
28 |      ct=`expr $ct + 230`
29 |  fi 
30 | echo "ct: $ct st: $st kf:$kf zz:$zz";
31 | done
32 | s_fs_in 13;
33 | #fi
34 | 
35 | 


--------------------------------------------------------------------------------
/projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/bafd:
--------------------------------------------------------------------------------
 1 | #!/bin/sh
 2 | 
 3 |   killall sample_af
 4 |   rm -f /tmp/saf_f
 5 |   echo "0" > /tmp/maxf
 6 |   sample_af 0 c >> /tmp/saf_f &
 7 | DD=100;
 8 | #/////////////////////////////////////////////////////////////////////////////////////////////////////////////
 9 | 
10 | CC_F=$(gf)
11 | #if [[ $CC_F -lt $DD ]]
12 | #then
13 | #fs_out 180;
14 | fs_out 140;
15 | st=$(gf);
16 | mx=`cat /tmp/maxf`;
17 | kf=$DD
18 | ct=`expr $st + 1`
19 | echo "ct: $ct st: $st kf:$kf";
20 | while [[ "$st" -lt "$ct" ]]; do
21 |  st=$(gf)
22 |  s_fs_in 1;
23 |  zz=$(echo "scale=4; $st/2000" | bc);
24 |  sleep $zz;
25 |  ct=`expr $(gf) + 1`;
26 |  if [[ "$ct" -lt $DD ]] 
27 |    then
28 |      ct=`expr $ct + 230`
29 |  fi 
30 | echo "ct: $ct st: $st kf:$kf zz:$zz";
31 | done
32 | s_fs_out 21;
33 | #fi
34 | 
35 | 


--------------------------------------------------------------------------------
/projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap/telegram.svg:
--------------------------------------------------------------------------------
1 | 
2 |   
3 | 


--------------------------------------------------------------------------------
/projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/zoom-far.svg:
--------------------------------------------------------------------------------
1 | 
2 | 
3 | 
4 | 


--------------------------------------------------------------------------------
/packages/demo-openipc/demo-openipc.mk:
--------------------------------------------------------------------------------
 1 | ################################################################################
 2 | #
 3 | # demo-openipc | updated 2022.09.13
 4 | #
 5 | ################################################################################
 6 | 
 7 | DEMO_OPENIPC_LICENSE = MIT
 8 | DEMO_OPENIPC_LICENSE_FILES = LICENSE
 9 | 
10 | define DEMO_OPENIPC_EXTRACT_CMDS
11 | 	cp -avr $(DEMO_OPENIPC_PKGDIR)/src/* $(@D)/
12 | endef
13 | 
14 | define DEMO_OPENIPC_BUILD_CMDS
15 | 	(cd $(@D); $(TARGET_CC) -s demo-openipc.c -o demo-openipc)
16 | endef
17 | 
18 | define DEMO_OPENIPC_INSTALL_TARGET_CMDS
19 | 	$(INSTALL) -m 755 -d $(TARGET_DIR)/etc/init.d
20 | 	cp $(DEMO_OPENIPC_PKGDIR)/files/S97demo $(TARGET_DIR)/etc/init.d
21 | 
22 | 	install -m 0755 -D $(@D)/demo-openipc $(TARGET_DIR)/usr/sbin/demo-openipc
23 | endef
24 | 
25 | $(eval $(generic-package))
26 | 


--------------------------------------------------------------------------------
/projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/bafn:
--------------------------------------------------------------------------------
 1 | #!/bin/sh
 2 | 
 3 |   killall sample_af
 4 |   rm -f /tmp/saf_f
 5 |   echo "0" > /tmp/maxf
 6 |   sample_af 0 c >> /tmp/saf_f &
 7 | DD=120;
 8 | #/////////////////////////////////////////////////////////////////////////////////////////////////////////////
 9 | 
10 | CC_F=$(gf)
11 | #if [[ $CC_F -lt $DD ]]
12 | #then
13 | #fs_out 180;
14 | fs_out 140;
15 | #echo $CC_F
16 | st=$(gf);
17 | mx=`cat /tmp/maxf`;
18 | kf=$DD
19 | ct=`expr $st + 1`
20 | echo "ct: $ct st: $st kf:$kf";
21 | while [[ "$st" -lt "$ct" ]]; do
22 |  st=$(gf)
23 |  s_fs_in 1;
24 |  zz=$(echo "scale=4; $st/2000" | bc);
25 |  sleep $zz;
26 |  ct=`expr $(gf) + 8`;
27 |  if [[ "$ct" -lt $DD ]] 
28 |    then
29 |      ct=`expr $ct + 230`
30 |  fi 
31 | echo "ct: $ct st: $st kf:$kf zz:$zz";
32 | done
33 | s_fs_out 21;
34 | #fi
35 | 
36 | 


--------------------------------------------------------------------------------
/projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/bafn:
--------------------------------------------------------------------------------
 1 | #!/bin/sh
 2 | 
 3 |   killall sample_af
 4 |   rm -f /tmp/saf_f
 5 |   echo "0" > /tmp/maxf
 6 |   sample_af 0 c >> /tmp/saf_f &
 7 | DD=120;
 8 | #/////////////////////////////////////////////////////////////////////////////////////////////////////////////
 9 | 
10 | CC_F=$(gf)
11 | #if [[ $CC_F -lt $DD ]]
12 | #then
13 | #fs_out 180;
14 | fs_out 140;
15 | #echo $CC_F
16 | st=$(gf);
17 | mx=`cat /tmp/maxf`;
18 | kf=$DD
19 | ct=`expr $st + 1`
20 | echo "ct: $ct st: $st kf:$kf";
21 | while [[ "$st" -lt "$ct" ]]; do
22 |  st=$(gf)
23 |  s_fs_in 1;
24 |  zz=$(echo "scale=4; $st/2000" | bc);
25 |  sleep $zz;
26 |  ct=`expr $(gf) + 8`;
27 |  if [[ "$ct" -lt $DD ]] 
28 |    then
29 |      ct=`expr $ct + 230`
30 |  fi 
31 | echo "ct: $ct st: $st kf:$kf zz:$zz";
32 | done
33 | s_fs_out 21;
34 | #fi
35 | 
36 | 


--------------------------------------------------------------------------------
/projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/firmware-update.cgi:
--------------------------------------------------------------------------------
 1 | #!/usr/bin/haserl
 2 | <%in _common.cgi %>
 3 | <%
 4 | page_title="$tPageTitleFirmwareUpdate"
 5 | %>
 6 | <%in _header.cgi %>
 7 | <%
 8 | if [ -f /tmp/webjob.lock ]; then
 9 |   report_error "danger" "$tMsgAnotherProcessRunning"
10 | else
11 | %>
12 | 
13 | <%
14 |   opts=""
15 |   [ ! -z "$POST_kernel"   ] && opts="${opts} -k"
16 |   [ ! -z "$POST_rootfs"   ] && opts="${opts} -r"
17 |   [ ! -z "$POST_reset"    ] && opts="${opts} -n"
18 |   [ ! -z "$POST_noreboot" ] && opts="${opts} -x"
19 |   [ ! -z $(sysupgrade | grep force) ] && opts="${opts} --force"
20 |   echo "sysupgrade ${opts}"
21 |   sysupgrade ${opts} 2>&1
22 | %>
23 | 
24 | <%= $tButtonGoHome %> 25 | <% fi %> 26 | <%in _footer.cgi %> 27 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap-extra/zoom-far.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/bafr: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #i killall sample_af 4 | # rm -f /tmp/saf_f 5 | # echo "0" > /tmp/maxf 6 | # sample_af 0 c >> /tmp/saf_f & 7 | DD=120; 8 | #///////////////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | CC_F=$(gf) 11 | #if [[ $CC_F -lt $DD ]] 12 | #then 13 | fs_in 180; 14 | fs_out 320; 15 | #echo $CC_F 16 | st=$(gf); 17 | mx=`cat /tmp/maxf`; 18 | kf=$DD 19 | ct=`expr $st + 1` 20 | echo "ct: $ct st: $st kf:$kf"; 21 | 22 | while [[ "$st" -lt "$mx" ]]; do 23 | s_fs_in 1; 24 | st=$(gf) 25 | zz=$(echo "scale=4; $st/2000" | bc); 26 | sleep $zz; 27 | st=$(gf) 28 | ct=$(gf) 29 | # if [[ "$ct" -lt $DD ]] 30 | # then 31 | # ct=`expr $ct + 230` 32 | # fi 33 | echo "ct: $mx st: $st kf:$kf zz:$zz"; 34 | done 35 | s_fs_out 4; 36 | #fi 37 | 38 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/bafr: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #i killall sample_af 4 | # rm -f /tmp/saf_f 5 | # echo "0" > /tmp/maxf 6 | # sample_af 0 c >> /tmp/saf_f & 7 | DD=120; 8 | #///////////////////////////////////////////////////////////////////////////////////////////////////////////// 9 | 10 | CC_F=$(gf) 11 | #if [[ $CC_F -lt $DD ]] 12 | #then 13 | fs_in 180; 14 | fs_out 320; 15 | #echo $CC_F 16 | st=$(gf); 17 | mx=`cat /tmp/maxf`; 18 | kf=$DD 19 | ct=`expr $st + 1` 20 | echo "ct: $ct st: $st kf:$kf"; 21 | 22 | while [[ "$st" -lt "$mx" ]]; do 23 | s_fs_in 1; 24 | st=$(gf) 25 | zz=$(echo "scale=4; $st/2000" | bc); 26 | sleep $zz; 27 | st=$(gf) 28 | ct=$(gf) 29 | # if [[ "$ct" -lt $DD ]] 30 | # then 31 | # ct=`expr $ct + 230` 32 | # fi 33 | echo "ct: $mx st: $st kf:$kf zz:$zz"; 34 | done 35 | s_fs_out 4; 36 | #fi 37 | 38 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/preview.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | page_title="$tPageTitlePreview" 5 | %> 6 | <%in _header.cgi %> 7 |
8 |
9 | 10 |
11 |
12 | <%in _joystick.cgi %> 13 | 30 | <%in _footer.cgi %> 31 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/i_baf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | i2c-motor -d r -s 99 && sleep 0.4 && i2c-motor -d s && sleep 0.1 && 4 | 5 | i2c-motor -d l -s 2 && sleep 0.17 && i2c-motor -d s && sleep 0.17 && cur_fs=`expr $(gf)` 6 | i2c-motor -d l -s 1 && sleep 0.17 && i2c-motor -d s && sleep 0.17 && cur_fs=`expr $(gf)` 7 | i2c-motor -d l -s 4 && sleep 0.17 && i2c-motor -d s && sleep 0.17 && st=`expr $(gf) + 5` 8 | while [[ $st -gt $cur_fs ]]; do 9 | sleep 0.17 && cur_fs=$(gf) 10 | i2c-motor -d l -s 2 && sleep 0.17 && i2c-motor -d s && sleep 0.17 && st=`expr $(gf) + 5` 11 | echo "r $st" 12 | done 13 | i2c-motor -d r -s 2 && sleep 0.17 && i2c-motor -d s && sleep 0.17 && st=`expr $(gf) + 2` 14 | i2c-motor -d r -s 1 && sleep 0.17 && i2c-motor -d s && sleep 0.17 && st=`expr $(gf) + 2` 15 | i2c-motor -d r -s 1 && sleep 0.17 && i2c-motor -d s && sleep 0.17 && st=`expr $(gf) + 2` 16 | echo "r $st" 17 | 18 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/etc/init.d/S97hands: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | hands() { 4 | echo "0" > /tmp/maxf 5 | echo "0" > /tmp/lst 6 | echo "0" > /tmp/st 7 | echo "0" > /tmp/zx 8 | sleep 3; 9 | if [[ "$(getenv apmode)" == "1" ]] 10 | then 11 | crAp 12 | else 13 | crCli 14 | fi 15 | light 1 16 | sleep 0.5 17 | light 0 18 | #eaddrcam=`sed -n '56p' /etc/network/interfaces | sed 's/^ *//'` 19 | #rcaddr="address xxx.xxx.xxx.xxx" 20 | } 21 | 22 | case "$1" in 23 | start) 24 | echo "hands WG" 25 | hands 26 | auto_f & 27 | zx & 28 | warmlight & 29 | qw 0 AT+CU2+40 30 | prconn & 31 | ;; 32 | stop) 33 | killall auto_f 34 | killall zx 35 | killall warmlight 36 | killall morg 37 | light 0 38 | qw 0 AT+ALL>0 39 | killall uqmi 40 | qw 0 AT+CU2+0 41 | killall prconn 42 | ;; 43 | esac 44 | 45 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/s_baf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cc=$(getenv focus-control); 3 | 4 | case "$cc" in 5 | 0) 6 | if [[ "$(pren c_baf)" == "0" ]] 7 | then 8 | echo "1" > /tmp/ff 9 | c_baf && 10 | c_saf && 11 | echo "0" > /tmp/ff 12 | fi 13 | ;; 14 | 1) 15 | if [[ "$(getenv focus-in)" == "1" ]] 16 | then 17 | if [[ "$(pren baf)" == "0" ]] 18 | then 19 | echo "1" > /tmp/ff 20 | baf && 21 | echo "0" > /tmp/ff 22 | fi 23 | else 24 | if [[ "$(pren bafn)" == "0" ]] 25 | then 26 | echo "1" > /tmp/ff 27 | bafn && 28 | echo "0" > /tmp/ff 29 | fi 30 | fi 31 | ;; 32 | 2) 33 | if [[ "$(pren i_baf)" == "0" ]] 34 | then 35 | echo "1" > /tmp/ff 36 | i_baf && 37 | echo "0" > /tmp/ff 38 | fi 39 | ;; 40 | esac 41 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/auto_f: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | fa=$(getenv auto-focus); 4 | 5 | if [[ "$fa" == "1" ]] 6 | then 7 | if [[ "$(getenv focus-control)" == "1" ]] 8 | then 9 | sleep 35; 10 | s_z_up && 11 | s_z_down 12 | fi 13 | fi 14 | 15 | while true; do 16 | ft=$(getenv focus-threshold); 17 | fa=$(getenv auto-focus); 18 | FF=$(gf); 19 | st=$(getenv delay-tr); 20 | #echo $FF; 21 | if [[ "$fa" == "1" ]] 22 | then 23 | if [[ "$FF" -lt "$ft" ]] 24 | then 25 | cst=$(cat /tmp/st) 26 | if [[ "$cst" == "$st" ]] 27 | then 28 | s_baf 29 | sleep 3 30 | fp=$(gf) 31 | if [[ "$fp" -lt "$(expr $ft / 2)" ]] 32 | then 33 | curz 34 | # s_baf; 35 | fi 36 | echo "0" > /tmp/st 37 | else 38 | echo "$(expr $cst + 1)" > /tmp/st 39 | fi 40 | else 41 | echo "0" > /tmp/st 42 | fi 43 | fi 44 | done 45 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/etc/mdev.conf: -------------------------------------------------------------------------------- 1 | # Provide user, group, and mode information for devices. If a regex matches 2 | # the device name provided by sysfs, use the appropriate user:group and mode 3 | # instead of the default 0:0 660. 4 | # 5 | # Syntax: 6 | # [-]devicename_regex user:group mode [=path]|[>path]|[!] [@|$|*cmd args...] 7 | # [-]$ENVVAR=regex user:group mode [=path]|[>path]|[!] [@|$|*cmd args...] 8 | # [-]@maj,min[-min2] user:group mode [=path]|[>path]|[!] [@|$|*cmd args...] 9 | # 10 | # [-]: do not stop on this match, continue reading mdev.conf 11 | # =: move, >: move and create a symlink 12 | # !: do not create device node 13 | # @|$|*: run@cmd if $ACTION=add, $cmd if $ACTION=remove, *cmd in all cases 14 | # 15 | # 16 | # 17 | mmcblk[0-9] root:disk 660 18 | mmcblk[0-9]p[0-9] root:disk 660 *(/lib/mdev/automount.sh) 19 | # 20 | sd[a-z] root:disk 660 21 | sd[a-z][0-9] root:disk 660 *(/lib/mdev/automount.sh) 22 | # 23 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/auto_f: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | fa=$(getenv auto-focus); 4 | 5 | if [[ "$fa" == "1" ]] 6 | then 7 | if [[ "$(getenv focus-control)" == "1" ]] 8 | then 9 | sleep 35; 10 | s_z_up && 11 | s_z_down 12 | fi 13 | fi 14 | 15 | while true; do 16 | ft=$(getenv focus-threshold); 17 | fa=$(getenv auto-focus); 18 | FF=$(gf); 19 | st=$(getenv delay-tr); 20 | #echo $FF; 21 | if [[ "$fa" == "1" ]] 22 | then 23 | if [[ "$FF" -lt "$ft" ]] 24 | then 25 | cst=$(cat /tmp/st) 26 | if [[ "$cst" == "$st" ]] 27 | then 28 | s_baf 29 | sleep 3 30 | fp=$(gf) 31 | if [[ "$fp" -lt "$(expr $ft / 2)" ]] 32 | then 33 | curz 34 | # s_baf; 35 | fi 36 | echo "0" > /tmp/st 37 | else 38 | echo "$(expr $cst + 1)" > /tmp/st 39 | fi 40 | else 41 | echo "0" > /tmp/st 42 | fi 43 | fi 44 | done 45 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/overlay/var/www/cgi-bin/info-ipctool.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% 4 | actions="info i2cdetect reginfo" 5 | action=$GET_action 6 | if [ -z "$action" ]; then 7 | action=$(echo $actions | awk '{print $1}') 8 | redirect_to "${SCRIPT_NAME}?action=${action}" 9 | fi 10 | command="ipctool" 11 | page_title="IPC Tool" 12 | if [ "$action" = "info" ]; then 13 | command="${command}" 14 | page_title="${page_title}: Camera Information" 15 | else 16 | command="${command} ${action}" 17 | page_title="${page_title}: ${action}" 18 | fi 19 | # ipctool i2cdump 0x78 0x0 0x3ff 20 | %> 21 | <%in p/header.cgi %> 22 |

<% 23 | for c in $actions; do 24 | css="btn btn-sm btn-primary" 25 | [ "$c" = "$action" ] && css="${css} active" 26 | echo "${c}" 27 | done 28 | %> 29 |

30 | <% ex "${command}" %> 31 | <% button_refresh %> 32 | <%in p/footer.cgi %> 33 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/overlay/var/www/cgi-bin/info-ipctool.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in p/common.cgi %> 3 | <% 4 | actions="info i2cdetect reginfo" 5 | action=$GET_action 6 | if [ -z "$action" ]; then 7 | action=$(echo $actions | awk '{print $1}') 8 | redirect_to "${SCRIPT_NAME}?action=${action}" 9 | fi 10 | command="ipctool" 11 | page_title="IPC Tool" 12 | if [ "$action" = "info" ]; then 13 | command="${command}" 14 | page_title="${page_title}: Camera Information" 15 | else 16 | command="${command} ${action}" 17 | page_title="${page_title}: ${action}" 18 | fi 19 | # ipctool i2cdump 0x78 0x0 0x3ff 20 | %> 21 | <%in p/header.cgi %> 22 |

<% 23 | for c in $actions; do 24 | css="btn btn-sm btn-primary" 25 | [ "$c" = "$action" ] && css="${css} active" 26 | echo "${c}" 27 | done 28 | %> 29 |

30 | <% ex "${command}" %> 31 | <% button_refresh %> 32 | <%in p/footer.cgi %> 33 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/majestic-config-compare.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl 2 | <%in _common.cgi %> 3 | <% 4 | page_title="$tPageTitleMajesticConfigCompare" 5 | command="diff /rom/etc/majestic.yaml /etc/majestic.yaml" 6 | output=$($command 2>&1) 7 | %> 8 | <%in _header.cgi %> 9 | <% 10 | # diff returns 0 on no difference, 1 on difference, 2+ on errors 11 | # checking exit status won't work here 12 | # checking for any output instead 13 | if [ -z "$output" ]; then %> 14 | <% report_info "$tMsgNoChangesFound" %> 15 | <% else %> 16 | <% report_command_info "$command" "$output" %> 17 | <% fi %> 18 |

19 | <%= $tButtonDownloadConfig %> 20 | <%= $tButtonDownloadAsPatch %> 21 | <%= $tButtonRestoreConfig %> 22 |

23 | <%in _footer.cgi %> 24 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_meldana/general/package/webui/webui.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # 3 | # webui 4 | # 5 | ################################################################################ 6 | 7 | WEBUI_SITE_METHOD = git 8 | WEBUI_SITE = https://github.com/openipc/webui 9 | WEBUI_VERSION = bbb49c57695c116a17219d0898dc11cc696261df 10 | 11 | WEBUI_LICENSE = MIT 12 | WEBUI_LICENSE_FILES = LICENSE 13 | 14 | define WEBUI_INSTALL_TARGET_CMDS 15 | $(INSTALL) -m 755 -d $(TARGET_DIR)/etc 16 | cp $(WEBUI_PKGDIR)/files/httpd.conf $(TARGET_DIR)/etc 17 | 18 | $(INSTALL) -m 755 -d $(TARGET_DIR)/etc/init.d 19 | cp $(WEBUI_PKGDIR)/files/S50httpd $(TARGET_DIR)/etc/init.d 20 | cp -rv $(@D)/files/etc/init.d/* $(TARGET_DIR)/etc/init.d 21 | 22 | $(INSTALL) -m 755 -d $(TARGET_DIR)/usr 23 | cp -rv $(@D)/files/usr/sbin $(TARGET_DIR)/usr 24 | 25 | $(INSTALL) -m 755 -d $(TARGET_DIR)/var 26 | cp -rv $(@D)/files/var/www $(TARGET_DIR)/var 27 | endef 28 | 29 | $(eval $(generic-package)) 30 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/preset-5.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap-extra/5-square.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/preset-2.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/cgi-bin/majestic-config-restore.cgi: -------------------------------------------------------------------------------- 1 | #!/usr/bin/haserl --upload-limit=1024 --upload-dir=/tmp 2 | <%in _common.cgi %> 3 | <% 4 | config_file=/etc/majestic.yaml 5 | magicnum="23206d616a6573746963" 6 | error="" 7 | if [ -z "$POST_upfile_name" ]; then 8 | error="$tMsgNoUploadedFileFound" 9 | elif [ ! -r "$POST_upfile" ]; then 10 | error="$tMsgCannotReadUploadedFile" 11 | elif [ "$(wc -c "$POST_upfile" | awk '{print $1}')" -gt "$maxsize" ]; then 12 | error="$tMsgUploadedFileIsTooLarge $(wc -c "$POST_upfile" | awk '{print $1}') > ${maxsize}." 13 | #elif [ "$magicnum" -ne "$(xxd -p -l 10 "$POST_upfile")" ]; then 14 | # error="$tMsgUploadedFileHasWrongMagic $(xxd -p -l 10 "$POST_upfile") != $magicnum" 15 | fi 16 | if [ ! -z "$error" ]; then %> 17 | <%in _header.cgi %> 18 | <% report_error "$error" %> 19 | <%in _footer.cgi %> 20 | <% else 21 | # yaml-cli -i ${POST_upfile} -o /tmp/majestic.yaml # FIXME: sanitize 22 | mv /tmp/majestic.yaml /etc/majestic.yaml 23 | redirect_to "/cgi-bin/majestic-config-compare.cgi" 24 | fi 25 | %> 26 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/var/www/img/bootstrap-extra/2-square.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /projects/t31_lite_zftlab/general/overlay/etc/majestic.yaml.hi3516ev200_huishi: -------------------------------------------------------------------------------- 1 | system: 2 | webAdmin: enabled 3 | buffer: 1024 4 | staticDir: /var/www/majestic 5 | image: 6 | mirror: false 7 | flip: false 8 | rotate: none 9 | contrast: 50 10 | hue: 50 11 | saturation: 50 12 | luminance: 50 13 | osd: 14 | enabled: false 15 | template: "%a %e %B %Y %H:%M:%S %Z" 16 | nightMode: 17 | enabled: true 18 | irCutPin1: 12 19 | irCutPin2: 14 20 | records: 21 | enabled: false 22 | path: /mnt/mmc/%Y/%m/%d/%H.mp4 23 | maxUsage: 95 24 | video0: 25 | enabled: true 26 | codec: h264 27 | video1: 28 | enabled: false 29 | jpeg: 30 | enabled: true 31 | mjpeg: 32 | size: 640x360 33 | fps: 5 34 | bitrate: 1024 35 | audio: 36 | enabled: false 37 | volume: auto 38 | srate: 8000 39 | rtsp: 40 | enabled: true 41 | port: 554 42 | hls: 43 | enabled: false 44 | youtube: 45 | enabled: false 46 | motionDetect: 47 | enabled: false 48 | visualize: true 49 | debug: true 50 | ipeye: 51 | enabled: false 52 | watchdog: 53 | enabled: true 54 | timeout: 10 55 | -------------------------------------------------------------------------------- /projects/t31_lite_zftlab/general/overlay/etc/majestic.yaml.hi3516ev200_xiongmai: -------------------------------------------------------------------------------- 1 | system: 2 | webAdmin: enabled 3 | buffer: 1024 4 | staticDir: /var/www/majestic 5 | image: 6 | mirror: false 7 | flip: false 8 | rotate: none 9 | contrast: 50 10 | hue: 50 11 | saturation: 50 12 | luminance: 50 13 | osd: 14 | enabled: false 15 | template: "%a %e %B %Y %H:%M:%S %Z" 16 | nightMode: 17 | enabled: true 18 | irCutPin1: 9 19 | irCutPin2: 8 20 | records: 21 | enabled: false 22 | path: /mnt/mmc/%Y/%m/%d/%H.mp4 23 | maxUsage: 95 24 | video0: 25 | enabled: true 26 | codec: h264 27 | video1: 28 | enabled: false 29 | jpeg: 30 | enabled: true 31 | mjpeg: 32 | size: 640x360 33 | fps: 5 34 | bitrate: 1024 35 | audio: 36 | enabled: false 37 | volume: auto 38 | srate: 8000 39 | rtsp: 40 | enabled: true 41 | port: 554 42 | hls: 43 | enabled: false 44 | youtube: 45 | enabled: false 46 | motionDetect: 47 | enabled: false 48 | visualize: true 49 | debug: true 50 | ipeye: 51 | enabled: false 52 | watchdog: 53 | enabled: true 54 | timeout: 10 55 | -------------------------------------------------------------------------------- /projects/t31_lite_convoy/general/overlay/etc/composer.ini: -------------------------------------------------------------------------------- 1 | # 2 | composer_message="This firmware was created with the OpenIPC Composer project" 3 | # 4 | default_timezone="GMT0 | Etc/GMT" 5 | # 6 | sensors="gc2053,imx307,imx335" 7 | # 8 | # 9 | Added settings in the file /usr/bin/load_ingenic and added a binary sensor configuration file /etc/sensor/imx335-t31.bin because we do not have sources for this sensor and it is not included in the original repository 10 | # 11 | # 12 | --- load_ingenic.orig 2023-11-20 12:35:33.000000000 +0300 13 | +++ load_ingenic 2023-11-20 17:43:22.118015604 +0300 14 | @@ -105,6 +105,11 @@ 15 | ISP_PARAM="isp_clk=125000000" 16 | SENSOR_PARAM="" 17 | ;; 18 | +"imx335") 19 | + AVPU_PARAM="clk_name=vpll avpu_clk=400000000" 20 | + ISP_PARAM="isp_clk=300000000" 21 | + SENSOR_PARAM="" 22 | + ;; 23 | "jxf37") 24 | AVPU_PARAM="clk_name=vpll avpu_clk=400000000" 25 | ISP_PARAM="isp_clk=200000000 isp_memopt=1 isp_day_night_switch_drop_frame_num=1 isp_ch0_pre_dequeue_time=12 isp_ch0_pre_dequeue_interrupt_process=0 isp_ch0_pre_dequeue_valid_lines=540" 26 | 27 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko/general/overlay/usr/bin/saf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | SLEEP=0.150 4 | 5 | get_focus() { 6 | RES=$(sample_af 0 c & sleep $SLEEP && killall sample_af) 7 | RST=`echo ${RES} | awk '{print $1}'` 8 | echo $RST 9 | } 10 | 11 | step_r() { 12 | cur_fs=$(gf) 13 | camhi-motor -d r -s 2 14 | st=`expr $cur_fs + 1` 15 | while [[ $st -gt $cur_fs ]]; do 16 | cur_fs=$(gf) 17 | camhi-motor -d r -s 2 18 | # sleep $SLEEP; 19 | st=$(gf) 20 | done 21 | camhi-motor -d l -s 2 22 | } 23 | 24 | step_l() { 25 | cur_fs=$(gf) 26 | camhi-motor -d l -s 2 27 | st=`expr $cur_fs + 1` 28 | while [[ $st -gt $cur_fs ]]; do 29 | cur_fs=$(gf) 30 | camhi-motor -d l -s 2 31 | # sleep $SLEEP; 32 | st=$(gf) 33 | done 34 | camhi-motor -d r -s 2 35 | } 36 | 37 | CUR_F=$(gf) 38 | 39 | camhi-motor -d l -s 10 40 | STP_R=$(gf) 41 | 42 | camhi-motor -d r -s 10 43 | sleep $SLEEP 44 | camhi-motor -d r -s 10 45 | 46 | STP_L=$(gf) 47 | camhi-motor -d l -s 10 48 | 49 | if [[ $STP_R -gt $CUR_F ]] 50 | then 51 | step_l 52 | else 53 | if [[ $STP_L -gt $CUR_F ]] 54 | then 55 | step_r 56 | fi 57 | fi 58 | 59 | -------------------------------------------------------------------------------- /projects/gk7205v300_ultimate_oko2/general/overlay/usr/bin/saf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | SLEEP=0.150 4 | 5 | get_focus() { 6 | RES=$(sample_af 0 c & sleep $SLEEP && killall sample_af) 7 | RST=`echo ${RES} | awk '{print $1}'` 8 | echo $RST 9 | } 10 | 11 | step_r() { 12 | cur_fs=$(gf) 13 | camhi-motor -d r -s 2 14 | st=`expr $cur_fs + 1` 15 | while [[ $st -gt $cur_fs ]]; do 16 | cur_fs=$(gf) 17 | camhi-motor -d r -s 2 18 | # sleep $SLEEP; 19 | st=$(gf) 20 | done 21 | camhi-motor -d l -s 2 22 | } 23 | 24 | step_l() { 25 | cur_fs=$(gf) 26 | camhi-motor -d l -s 2 27 | st=`expr $cur_fs + 1` 28 | while [[ $st -gt $cur_fs ]]; do 29 | cur_fs=$(gf) 30 | camhi-motor -d l -s 2 31 | # sleep $SLEEP; 32 | st=$(gf) 33 | done 34 | camhi-motor -d r -s 2 35 | } 36 | 37 | CUR_F=$(gf) 38 | 39 | camhi-motor -d l -s 10 40 | STP_R=$(gf) 41 | 42 | camhi-motor -d r -s 10 43 | sleep $SLEEP 44 | camhi-motor -d r -s 10 45 | 46 | STP_L=$(gf) 47 | camhi-motor -d l -s 10 48 | 49 | if [[ $STP_R -gt $CUR_F ]] 50 | then 51 | step_l 52 | else 53 | if [[ $STP_L -gt $CUR_F ]] 54 | then 55 | step_r 56 | fi 57 | fi 58 | 59 | -------------------------------------------------------------------------------- /projects/hi3516ev300_lite_meldana/general/package/microbe-web/microbe-web.mk: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # 3 | # microbe-web 4 | # 5 | ################################################################################ 6 | 7 | MICROBE_WEB_SITE_METHOD = git 8 | MICROBE_WEB_SITE = https://github.com/openipc/microbe-web 9 | MICROBE_WEB_VERSION = bbb49c57695c116a17219d0898dc11cc696261df 10 | 11 | MICROBE_WEB_LICENSE = MIT 12 | MICROBE_WEB_LICENSE_FILES = LICENSE 13 | 14 | define MICROBE_WEB_INSTALL_TARGET_CMDS 15 | $(INSTALL) -m 755 -d $(TARGET_DIR)/etc 16 | cp $(MICROBE_WEB_PKGDIR)/files/httpd.conf $(TARGET_DIR)/etc 17 | 18 | $(INSTALL) -m 755 -d $(TARGET_DIR)/etc/init.d 19 | cp $(MICROBE_WEB_PKGDIR)/files/S50httpd $(TARGET_DIR)/etc/init.d 20 | cp -rv $(@D)/files/etc/init.d/* $(TARGET_DIR)/etc/init.d 21 | 22 | $(INSTALL) -m 755 -d $(TARGET_DIR)/usr 23 | cp -rv $(@D)/files/usr/sbin $(TARGET_DIR)/usr 24 | 25 | $(INSTALL) -m 755 -d $(TARGET_DIR)/var 26 | cp -rv $(@D)/files/var/www $(TARGET_DIR)/var 27 | endef 28 | 29 | $(eval $(generic-package)) 30 | -------------------------------------------------------------------------------- /projects/gk7205v200_lite_huahui/general/overlay/etc/majestic.yaml: -------------------------------------------------------------------------------- 1 | system: 2 | webAdmin: enabled 3 | buffer: 1024 4 | staticDir: /var/www/majestic 5 | image: 6 | mirror: false 7 | flip: false 8 | rotate: none 9 | contrast: 50 10 | hue: 50 11 | saturation: 50 12 | luminance: 50 13 | osd: 14 | enabled: false 15 | template: "%a %e %B %Y %H:%M:%S %Z" 16 | nightMode: 17 | enabled: false 18 | records: 19 | enabled: false 20 | path: /mnt/mmcblk0p1/%F/%H.mp4 21 | maxUsage: 95 22 | video0: 23 | enabled: true 24 | codec: h264 25 | video1: 26 | enabled: false 27 | jpeg: 28 | enabled: true 29 | mjpeg: 30 | size: 640x360 31 | fps: 5 32 | bitrate: 1024 33 | audio: 34 | enabled: false 35 | volume: auto 36 | srate: 8000 37 | rtsp: 38 | enabled: true 39 | port: 554 40 | hls: 41 | enabled: false 42 | youtube: 43 | enabled: false 44 | motionDetect: 45 | enabled: false 46 | visualize: true 47 | debug: true 48 | ipeye: 49 | enabled: false 50 | watchdog: 51 | enabled: true 52 | timeout: 10 53 | isp: 54 | lowDelay: false 55 | sensorConfig: /etc/sensors/bt656_ahd_pal_1080p.ini 56 | --------------------------------------------------------------------------------