Flashing IP Camera with full OpenIPC binary firmware from SD card
This method is useful when your camera already has OpenIPC bootloader installed, and especially when the camera does not have access to internet from bootloader console (e.g. it’s a WiFi-only camera) but you have access to the bootloader console via UART connection.
Go to https://openipc.org/supported-hardware/ and download a monolitic binary file with full version of OpenIPC firmware for your camera.
- Create a sole 64MB partition formatted into FAT32 on the SD card.
- Save the downloaded file onto that partitions.
- Unmount the card and install it into the camera.
- Open the console and run these commands:
For Lite version:
mw.b ${baseaddr} 0xff 0x800000; fatload mmc 0:1 ${baseaddr} openipc-${soc}-lite-8mb.bin
sf probe 0; sf erase 0x0 0x800000; sf write ${baseaddr} 0x0 ${filesize}
For Ultimate version:
mw.b ${baseaddr} 0xff 0x1000000; fatload mmc 0:1 ${baseaddr} openipc-${soc}-ultimate-16mb.bin
sf probe 0; sf erase 0x0 0x1000000; sf write ${baseaddr} 0x0 ${filesize}
Type reset
to restart the camera and start pressing Enter to interrupt normal booting sequence and boot into the newly flashed bootloader.
Now, you need to set up bootloader environment to match your flash memory size.
For 8MB NOR flash:
run setnor8m
For 16MB NOR flash:
run setnor16m