Git Product home page Git Product logo

mizy's Introduction

miZy - tiny fast embedded linux

Support Us - Donate

miZy - tiny fast embedded linux

supported Boards

miZy special optimized for Allwinner H3 H2+ (SoC features a Quad-Core Cortex-A7 ARM CPU) boards

Frendly Arm boards

Orange Pi boards

  • Orange Pi Zero h2+ - TESTED OK
  • Orange Pi Zero Plus2 h3 - TESTED OK
  • Orange Pi Zero R1 - TESTED OK
  • Orange Pi One - TESTED OK
  • Orange Pi PC - TESTED OK
  • Orange Pi PC+ -
  • Orange Pi Plus2E -
  • Orange Pi Lite -
  • check more there http://www.orangepi.org/

Other boards

  • and many other Allwinner H2+ H3 boards...

Partial ( NAND InProgress ) (04/30/2019)

  • Sunvell H3 2GB RAM + 16GB ROM TV Box
  • Original M95 PRO Android TV Box Allwinner H3
  • Wechip R69 Allwinner H3 TV Box
  • Smart TV Box CX-968/Allwinner H3
  • MXpro Android 7.1 tv box 1g 8g Allwinner H3

make request for test & support other boards by email or via commit

miZy main features

  • best for embedded or IOT usage (hi stable and tolerant for power off/lost and boot in any case again )
  • fast boot just 5-10sec
  • extreme tiny image size 8-16M
  • usable for SPI flash - 8M-16M (any another system not usable for spi flash)
  • loaded from any FEL / SPI / mmc / sd / usb sources / NET / ETH
  • mizy is ALL IN RAM system + zero disk write mode ( write by user requst only ) flash friendly + maximum flash life time
  • diskless mode, ramfs + squashfs + overlay system ready
  • optimized for low power usage 0.1A + low temp+ no need active cooling
  • easy fast firmware image builder + Development kit - make custom firmware just for several minutes
  • mizy suitable for any usage like IOT, audio, music, video, wireless, network, storage, automate system, rescue, sunxi device test
  • high optimized legacy linux kernel + special mizy patches
  • fully sunxi soc hardware support : CPU freq i2s + SPDIF +DAC + ACD / SPI / i2c / HDMI CVBS / IR / USB OTG / SERIAL / MMC / SSD / WIFI + ethernet ...
  • advaced U-boot + special mizy patches ( i2c display splash / full read write SPI flash support, FEL mode, rescue mode.... )
  • compitable with OpenWrt trunk software repository
  • miZy is full open source project ( 1 year more active development )
  • many other features check it https://hyphop.github.io/mizy#news

Plans! What to do next

  • next improve miZy code
  • write good wiki manuals docs and annotation
  • usage examples / more demo firmware
  • prepare and open another miZy parts in public access as opensource
  • make bigger community - ( because now i'm only one + some users testers from hobbyist forums and sites )
  • make quality support
  • and many other

lets Try

some miZy firmware images in free access available for download

Sources

some parts of miZy project already is opened for public usage:

WiKi / Mans / Docs

Helper channel

LINKS

AUTHOR

## hyphop ##

miZy

mizy's People

Contributors

hyphop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mizy's Issues

openwrt

hello
do you have plans to make device packages for openwrt ?
where can i find your boot scripts and other boot files ?
thanks

baresip segfault

Added src telephony http://archive.openwrt.org/snapshots/trunk/sunxi/generic/packages/telephony/ to /etc/opkg/local.conf and ran

root@miZy:/# opkg update
root@miZy:/# opkg install baresip-mod-alsa
Installing baresip-mod-alsa (0.5.6-3) to root...
Downloading http://archive.openwrt.org/snapshots/trunk/sunxi/generic/packages/telephony//baresip-mod-alsa_0.5.6-3_sunxi.ipk.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for baresip-mod-alsa:
 *      kmod-sound-core * 
 * opkg_install_cmd: Cannot install package baresip-mod-alsa.

How can I install it?

Can miZy run python and ssl client entirely from spi flash?

@hyphop For an IoT project, I am looking for a cheap hardware platform with Ethernet (wifi is optional) that can run a python script as a service and an SPI interface for reading sensors.
The python script should be able to read the sensors every second but post the data to an https server only when sensor data was changed. max every 10-20 seconds.
Alternatively, the program could be written in C++.
The system should run as an embedded micro controller running from spi flash without an sd
Can miZy and orange pi zero comply with those specs ?

Do you have other recommendations ?
Thanks in advance

missing fw3 for firewall

installed orange_pi_zero_miZy-python.MMC.hybrid.16M.8192

root@opi0:# /etc/init.d/firewall enable
root@opi0:
# /etc/init.d/firewall start
/etc/rc.common: line 1: fw3: not found

any advice how to fix this ?

regards

not all changes to rc.local are kept

Hi and thanks for this wonderful image!
I got it working and when I edit rc.local e.g. to comment out the launch of mpd and do save_change this is kept after the next reboot. But when I change /opt/eth.disable to /opt/eth.on this change seems to be magically be undone.
I would really like to enable wired Ethernet. Can you help me?

Please document OLED

  • I am trying to use an 128x32 OLED instead of 128x64. What do I need to do?
  • How can I make it display my own boot logo and messages?

How to make AP6212 work

As title, Orange Pi Zero Plus2 h3 has a built-in wifi module, is it possible to enable it ?

Russian in wiki

Hello, I am trying to learn how to use miZy. I notice that some parts of the documentation in the wiki are in Russian while others are in English. Is this intentional? Would you like me to translate it to English?

Can the OpenWrt Image Builder be used?

Can the OpenWrt Image Builder be used for miZy? I am currently making an image using the OpenWrt Image Builder with many additional OpenWrt packages and custom files but would like to switch to miZy. How can I do this?

Open WRT on Orange Pi Zero 3

Am I correct in assuming that this will allow OpenWRT to run on an Orange Pi Zero 3? I haven't seen this board here or on the OpenWRT site but it seems that it should run.

I've been away from development for a very long time and trying to get caught up as quickly as possible. The last time I used Open Wrt was in 2014. lol

I'm trying to see if I can build a router with a remote speedtest built in or just a standalone speedtest device that I can run remotely keep a history for under $20. I just ordered the Pi Zero board that should be here in a week or so.

If I run it as a router, I still need to find a way to put a few additional LAN ports on it so it can be a router/switch. If I can do that, I would need to be able to set it for DHCP, Static IP, PPPoE, and bridge mode depending on the situation. It would also need to be able to remotely manage it.

If that's not something I can sort out, then I would either need to put it inside the network where it gets an IP from the router but then I have to set it in a DMZ or use port forwarding to get to it to trigger a speedtest and get the results...which is why I would rather have it run as a full router. If it works I'll scale it up if needed.

One other thought I had was if I can get two ethernet ports on it, I could run it as a router, but still connect to another router in bridge mode. That way the IPs would still be coming from this unit but then I would likely not be able to see the other router.

Anyways, I'm probably writing far too much. I just see a lot of potential here for something that should be common and simple but isn't without a heavy investment that my company just won't spend.

Missing files

Was trying to run
wget https://github.com/hyphop/miZy/releases/download/v0.1-beta/orange_pi_zero_miZy-music_box-mpd-net-SPI-beta_test.MMC.hybrid.16M.8192.bin.gz

Getting 404

Invalid http://usbhost entries

Is this intentional?

Downloading http://usbhost/sunxi/packages/base/Packages.
wget: can't connect to remote host (10.1.1.2): Host is unreachable
Downloading http://usbhost/sunxi/packages/packages/Packages.
wget: can't connect to remote host (10.1.1.2): Host is unreachable
Downloading http://usbhost/sunxi/packages/mizy/Packages.
wget: can't connect to remote host (10.1.1.2): Host is unreachable
Collected errors:
 * opkg_download: Failed to download http://usbhost/sunxi/packages/base/Packages, wget returned 1.
 * opkg_download: Failed to download http://usbhost/sunxi/packages/packages/Packages, wget returned 1.
 * opkg_download: Failed to download http://usbhost/sunxi/packages/mizy/Packages, wget returned 1.

OrangePi R1 (RTL8189ETV wlan / RTL8152B ethernet)q

For the life of me, I cannot work out how to build an environment where I can compile the drivers for these network devices.

miZy.linux.kernel.default.modules.full.tar.gz appears to contain a 8188eu.ko which I believe might support the 8189, as well as a rtl8150.ko for the rtl8152...

I'm so close to having a vpn appliance based upon your work working! I just need this blasted network connectivity to work! ๐Ÿ˜›

OpenWRT

Hello!

Can you help me to run OpenWRT on Pi Zero from SPI?

[Q] Mainline Linux images

is there any plan to produce images with mainline Linux?
OpenWRT is a bit bigger with my default configuration, compared to a MIPS device.
Linux miZy 3.4.113+ #37 SMP PREEMPT Sat May 25 04:50:53 +07 2019 armv7l GNU/Linux

Does not come up as DHCP client on Ethernet on Orange Pi Zero (H2+)

Currently it seems like one needs a serial adapter to get this to work, because the device does not come up as a DHCP client on Ethernet automatically.

Installed miZy according to https://github.com/hyphop/miZy/wiki/miZy-download-install-overlay-usage:

  • With Etcher, burned orange-pi-h2-miZy-musicbox-mpd.MMC.hybrid.8M.8192.bin to SD card
  • Booted Orange Pi Zero from SD
  • Attached serial adapter as shown here
  • sudo screen /dev/ttyUSB0 115200

Comes up with

root@miZy:/# ifconfig 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:104 errors:0 dropped:0 overruns:0 frame:0
          TX packets:104 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:8128 (7.9 KiB)  TX bytes:8128 (7.9 KiB)

usb0      Link encap:Ethernet  HWaddr 62:EF:11:xx:xx:xx  
          inet addr:10.1.1.1  Bcast:10.1.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr DC:D7:DD:xx:xx:xx  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0:1   Link encap:Ethernet  HWaddr DC:D7:DD:xx:xx:xx  
          inet addr:10.20.20.1  Bcast:10.20.20.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1

root@miZy:/# cat /etc/config/network 

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'
        option dns '8.8.8.8'

config globals 'globals'
        option ula_prefix 'fdae:4841:c683::/48'

config interface 'lan'
        option ifname 'eth0'
        option force_link '1'
        option proto 'dhcp'
        option dns '8.8.8.8'

Would be much better if it would come up as a DHCP client automatically. Then one would not need a serial adapter.

Cannot install to SPI flash on Orange Pi Zero (H2+)

Currently it seems like one needs a serial adapter to get this to work, because the device does not come up as a DHCP client on Ethernet automatically.

Installed miZy according to https://github.com/hyphop/miZy/wiki/miZy-download-install-overlay-usage:

  • With Etcher, burned orange-pi-h2-miZy-musicbox-mpd.MMC.hybrid.8M.8192.bin to SD card
  • Booted Orange Pi Zero from SD
  • Attached serial adapter as shown here
  • sudo screen /dev/ttyUSB0 115200

Trying to copy system to SPI

root@miZy:/# image_copy_sd_spi yes
cat: can't open '/sys/block/mmcblk1/device/type': No such file or directory
[i] sd /dev/mmcblk0 mmc 
[e] not found block dev /dev/mtdblock

Fails, is it missing some mtd devices?

root@miZy:/# ls /dev/mtdblock*
/dev/mtdblock0  /dev/mtdblock1  /dev/mtdblock2

The SPI flash chip is installed on the board from the factory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.