Tutorial:
- Orion-O6 SPI Flash is 1.8v (source) so make sure your CH341A setup includes the 1.8v adapter
- Connect everything (see image below)
- On macos / linux install
flashrom
via brew / apt. You need to run this with sudo - Get
cix_flash_all.bin
for the bios you want to flash. - We need to make this padded for the spi flash rom’s size by executing this command where chip_size is
8388608
(B) and whatever your image_size in (B) is:
dd if=/dev/zero bs=1 count=$((chip_size - image_size)) >> /path/to/cix_flash_all.bin
- Now you can flash it via:
sudo flashrom -p ch341a_spi -w /path/to/cix_flash_all.bin
If you’ve done it successful you should have this output (on macos):
flashrom v1.5.1 on Darwin 24.4.0 (arm64)
flashrom is free software, get the source code at https://flashrom.org
libusb: info [darwin_detach_kernel_driver] no capture entitlements. may not be able to detach the kernel driver for this device
Found Winbond flash chip "W25Q64.W" (8192 kB, SPI) on ch341a_spi.
Reading old flash chip contents... done.
Updating flash chip contents... Erase/write done from 0 to 7fffff
Verifying flash... VERIFIED.
How I connected it: