-
Notifications
You must be signed in to change notification settings - Fork 12
Art Nikpal edited this page May 1, 2019
·
7 revisions
necessary 16MB SPI flash size (or 8MB for some images), W25q128 is good choise for miZy https://www.aliexpress.com/af/W25q128.html?SearchText=W25q128
NOTE: default Orange Pi Zero onboard 2MB SPI to small, it necessary replace to another NOTE: default Orange Pi R1 16MB SPI is OK
write any image to sd card , and boot mizy from sd card
login to device and run this commands in shell
-
image_copy_sd_spi yes
- copy from sd to spi -
reboot
- remove sd card before reboot
anothe way to write SPI flash is FEL mode direct by usb cable via sunxi-fel tools
check spi flash size
./tools/fel_spi_info
Manufacturer: Winbond (EFh), model: 40h, size: 16777216 bytes.
ok! write image - u can write any image size <= flash size
examples
sunxi-fel -p spiflash-write 0 firmwares/mizy_spi_flash_demo-8M.bin
./tools/fel_spi_write firmwares/orange_pi_zero_hyphop_mizy_spi_flash_demo-8M.bin