hyphop / mizy Goto Github PK
View Code? Open in Web Editor NEWmiZy - tiny fast embedded linux
Home Page: https://hyphop.github.io/mizy/
miZy - tiny fast embedded linux
Home Page: https://hyphop.github.io/mizy/
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.
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
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?
Hi, is there any way I can add bluetooth to an image?
is it possible to add rndis support, for 4G dongles
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! ๐
Hi,
any plan to support the Orange Pi zero Plus?
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?
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.
Hello!
Can you help me to run OpenWRT on Pi Zero from SPI?
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:
orange-pi-h2-miZy-musicbox-mpd.MMC.hybrid.8M.8192.bin
to SD cardsudo 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.
As title, Orange Pi Zero Plus2 h3 has a built-in wifi module, is it possible to enable it ?
@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
hello
do you have plans to make device packages for openwrt ?
where can i find your boot scripts and other boot files ?
thanks
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?
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:
orange-pi-h2-miZy-musicbox-mpd.MMC.hybrid.8M.8192.bin
to SD cardsudo 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.
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?
How could I use WIFI on Orange Pi R1?
Managed to load latest build.
Internet interface is not working.
I installed the lastest on MMC of my Orange Pi Zero, it works fantasy fast but the wifi seems not working. I connected to the wifi with my phone but just it can't connect to the Internet. By the way, how do I change some settings on miZy? I modify the "network" file on /etc/config/, but it can't be saved after a reboot command.
installed orange_pi_zero_miZy-python.MMC.hybrid.16M.8192
root@opi0:# /etc/init.d/firewall enable# /etc/init.d/firewall start
root@opi0:
/etc/rc.common: line 1: fw3: not found
any advice how to fix this ?
regards
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.