Update fpv-sigmastar.md (#257)

pull/258/head
viktorxda 2023-11-16 17:21:28 +01:00 committed by GitHub
parent 82e9f9d10b
commit b82e8aab23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 17 deletions

View File

@ -12,36 +12,39 @@ Instructions for installing OpenIPC firmware on SigmaStar devices
### SSC338Q + IMX415 + NAND flash, board from CamHi vendor ### SSC338Q + IMX415 + NAND flash, board from CamHi vendor
#### Quick note on experiments, will be revised and updated #### Quick note on experiments, will be revised and updated
* [The files for this experiment are temporarily available here](https://github.com/OpenIPC/sandbox-fpv/tree/master/sigmastar)
#### Explanations #### Summary
The Sigmastar IPL (pre-bootloader) allows to boot a custom U-Boot from the sdcard. The Sigmastar IPL (pre-bootloader) allows to boot a custom U-Boot from the sdcard.
The provided UBOOT + uImage.ssc338q is a fully working openipc firmware, that you can connect to via SSH / WEB over the ethernet connection. With this temporary OpenIPC firmware you can create a backup of the nand and flash the permanent firmware afterwards.
With this temporary openipc firmware you can create a backup of the internal NAND and flash the permanent openipc firmware to the NAND.
#### Prepare #### Prepare
Here is the sdcard firmware to install openipc to the nand flash. - Connect your sdcard to your computer, create a 1 GB partition and format it as FAT32 / VFAT.
- [Download and unpack ssc338q-initramfs.zip][1]
- Connect your SD card to your computer, create a 1 GB partition on it, format it as FAT32 / VFAT. - Copy all files to the root directory of the sdcard, update your wireless credentials on autoconfig.sh:
- In Linux you just need to use the commands fdisk and mkfs.vfat ```diff
- Mount disk and unpack ssc338q_initramfs.zip and copy both files to the root directory. #!/bin/sh
- The UBOOT and uImage.ssc338q is used for the temporary sdcard system and to gain access to the NAND flash. +WLAN_SSID="Router"
- Reboot the device and let it start from the SD card +WLAN_PASS="12345678"
- $\color{red}{\texttt{Do not stop the bootloader under any circumstances!}}$ ```
- Put the sdcard into the camera module, start it and wait until it connects to your router.
- Use ssh to connect to the camera:
```
ssh root@192.168.1.100
root
12345
```
#### Backup #### Backup
- The /dev/mtd0 uses the complete partition size of the nand flash, so this can also be used for a backup. - /dev/mtd0 uses the complete partition size of the nand flash.
- But this might take some time, the backup to the sdcard is very slow. - This might take some time, the backup to the sdcard is rather slow.
``` ```
nanddump -f /mnt/mmcblk0p1/backup-nand.bin /dev/mtd0 nanddump -f /mnt/mmcblk0p1/backup-nand.bin /dev/mtd0
``` ```
#### Install #### Install
The ssc338q-nand.bin includes the current distributor bootloader and nand ultimate firmware.
``` ```
flash_eraseall /dev/mtd0 flash_eraseall /dev/mtd0
nandwrite /dev/mtd0 /mnt/mmcblk0p1/ssc338q-nand.bin nandwrite /dev/mtd0 /mnt/mmcblk0p1/ssc338q-fpv.bin
``` ```
#### Buying a device (CamHi vendor) #### Buying a device (CamHi vendor)
@ -61,3 +64,5 @@ Information collection continues
### Other notes ### Other notes
For testing please use the [MPV](https://mpv.io/) player, in which the Shift+I key combination can be used to get debugging information. For testing please use the [MPV](https://mpv.io/) player, in which the Shift+I key combination can be used to get debugging information.
[1]: https://github.com/OpenIPC/wiki/files/13379877/ssc338q-initramfs.zip