Skip to content
Art Nikpal edited this page Jul 27, 2017 · 2 revisions

Image size

use *8M only for 8M spi usage prefer *16M !!!

download image example

write image

MMC hybrid image sd/mmc write

dd of=/dev/mmcblk0 < *.MMC.hybrid.bin
#or 
zcat *.MMC.hybrid.bin.gz | dd of=/dev/mmcblk0

# 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/mtdblock5 < *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 root@10.1.1.1 -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 safe -f

web interface + console + help

SECURE NOTE !!!

system is open and "not have passwords" , u must care by himself about system security!!!

LINKS