Releases: hyphop/miZy
MX3 H3
NanoPi NEO Air-LTS
test NanoPi NEO Air-LTS
send result
board_name
dmesg
plz update this wiki https://github.com/hyphop/miZy/wiki/friendly-arm
orangepi-zero - SPI flash 8M + spi display + 3xUART + audio + mic + wifi AP + eth
// config
orangepi-zero - SPI flash 8M + spi display + 3xUART + audio + mic + wifi AP + eth
// usb
usb otg IP: 172.22.1.1
// ethernet
eth mode : dhcp client
// wifi
wifi mode: AP
wifi IP: 172.23.0.1
wifi ESSID: miZy
wifi password: 12345678
// ssh
port: 22
user: root
// audio
onboard audio lineout + mic
audio test mic monitor - audio.listenmic
// web
http://wifi.mizy/ or http://172.23.0.1/ - via wifi
http://172.22.1.1 - via USB
// serial UART 0
root without password
python + wifi ap + wan dhcp eth + openvpn client + iptables + mobile
http://hyphop.github.io/mizy
_ ____
_ _ (_)_ / __
/ ' '| |/ /\/ /
|_|_|_|_/ /\ /
/___/_/
tiny fast embedded linux
BASE: OpenWrt
DESIGNATED DRIVER (Bleeding Edge, 50015)
MOD: base / PY ## hyphop ##
wifi (AP mode) +
ssid: mizy
password: 12345678
ip: 10.20.30.1
eth WAN(dhcp)
openvpn cli + python 2.7.14 + uarts
root@miZy:~# loadtime
BOOT_INFO: bootfrom=sd loadfrom=MMC0 loadseq=>MMC0
LOAD_TIME: uboot 1.411 + system 4.24 ( kernel 1.56 )
KERNEL: Linux miZy 3.4.113+ #36 SMP PREEMPT Tue Jul 3 12:51:55 MSK 2018 armv7l GNU/Linux
WIFI AP
ssid: mizy
password: 12345678
ip: 10.20.30.1
ifconfig | egrep "Link|addr"
eth0 Link encap:Ethernet HWaddr 1E:3D:65:A6:A7:6A
inet addr:10.11.0.1 Bcast:10.11.0.255 Mask:255.255.255.0
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
usb0 Link encap:Ethernet HWaddr 62:EF:11:22:11:11
inet addr:10.1.1.1 Bcast:10.1.1.255 Mask:255.255.255.0
wlan0 Link encap:Ethernet HWaddr DC:D7:DD:F2:A1:C9
inet addr:10.20.30.1 Bcast:10.20.30.255 Mask:255.255.255.0
root@miZy:~# python -V
Python 2.7.14
root@miZy:~# python-test1
hello world!
root@miZy:~# python-test-serial
/dev/ttyS1
OK!
root@miZy:~# /tmp/openvpn_example.vpn
OpenVPN 2.3.10 arm-openwrt-linux-gnu [SSL (PolarSSL)] [LZO] [EPOLL] [MH] [IPv6]
library versions: PolarSSL 1.3.16, LZO 2.09
root@miZy:~# dmesg | grep uart
[ 0.343736] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.
[ 0.343768] sw_uart_get_devinfo()1503 - uart1 has no uart_regulator.
[ 0.343798] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator.
[ 0.343827] sw_uart_get_devinfo()1503 - uart3 has no uart_regulator.
[ 0.344936] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[ 0.344963] sw_uart_pm()890 - uart0 clk is already enable
[ 0.346043] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI
[ 0.346594] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI
[ 0.347140] uart3: ttyS3 at MMIO 0x1c28c00 (irq = 35) is a SUNXI
root@miZy:~# ls -1 /dev/ttyS?
/dev/ttyS0
/dev/ttyS1
/dev/ttyS2
/dev/ttyS3
orange-pi R1
orange pi R1 http://www.orangepi.org/OrangePiR1/
orange_pi_h2_h3_miZy-music-box-mpd-net-SPI-pre
updated: Tue Feb 20 11:19:38 ICT 2018
DEVICES: orange pi zero - h2
DEVICES: orange pi R1 - r1
MOD: miZy musicbox
alsa + ffmpeg + mpd + mpc + wifi + net + ir
*.MMC.hybrid.bin - sd/mmc write only
*.8M.bin - spi image
*.16M.bin - spi image
Image size
use *8M only for 8M spi usage
prefer *16M !!!
download image example
cd /tmp
wget https://github.com/hyphop/miZy/releases/download/mpd/orange-pi-h2-miZy-musicbox-mpd.MMC.hybrid.8M.8192.bin.gz
gzip -d *.8192.bin.gz
# or
curl -k -L https://github.com/hyphop/miZy/releases/download/mpd/orange-pi-h2-miZy-musicbox-mpd.MMC.hybrid.8M.8192.bin.gz | gzip -dc > https://github.com/hyphop/miZy/releases/download/mpd/orange-pi-h2-miZy-musicbox-mpd.MMC.hybrid.8M.8192.bin
write image
MMC hybrid image sd/mmc write
dd of=/dev/mmcblk0 < *.MMC.hybrid.bin
# reboot or boot from device
boot from MMC hybrid image and copy system to SPI
image_copy_sd_spi yes
# remove sd card
# reboot from spi now
direct write to spi on device (update or upgrade miZy system)
dd bs=65536 of=/dev/mtdblock6 < *M.bin
or
mtd write *M.bin full
write image to SPI via sunxi-tooll FEL mode from host to device
start device in FEL mode and write image to SPI
sunxi-fel -p spiflash-write 0 *M.bin
configure device via usb otg
check host connection ifconfig usb0
login to device ssh [email protected] -p 22
make some customization
nano /etc/rc.local
# add some line like
# mount -o ro /dev/mmcblk0p1 /tmp/mounts/mmcblk0p1
#
wifi.config MIWIFINAME PASSWORD
wifi.reconfig
get_ca # update ssl ca certs
get_ca_le # update ssl ca certs
save changes
overlay save -f
same as save_changes
web interface + console + help
SECURE NOTE !!!
system is open and "not have passwords" , u must care by himself about system security!!!
LINKS
orange_pi_zero_miZy-mini-turbo
DEVICE: orange pi zero
BASE: miZy
MOD: mini turbo
NOTE: minimal base + fastest system start
HOW TO: https://github.com/hyphop/miZy/wiki/write-miZy-image