Skip to content

HowTo - uboot Recovery #25

@Schnup89

Description

@Schnup89

I've just messed up my mtd8 (rootfs) partition by doing silly things :D
Just got through the recovery process and want to share my steps with you:

Grab a TTL UART Converter and connect it like it is stated in the README with GND, TX, RX.
Power up the Camera and type alpha168 if the prompt "Press ESC to abort autoboot in 3 second" is shown.
As the uboot prompt you have do the following stuff:

Check the Partition start, end and size values from the README of the corrupted partition.

Execute
loady
Then upload the file via loady from your serial program (for windows you can use extraputty ->send files)
The mtd will be written to 0x82000000 in RAM
Write down the "filesize"-value.

After that you initialise and erase the partion.
(the first argument is the "start"-value of your partition, the second the "size"-value

sf probe
sf erase 0x4e0000 0xb00000

The last step is to write the file from ram to flash and reboot the camera.
First argument should not be edited (RAM Position), second is the start-value of the partition, third is the "filesize" which we got 2 steps above.
sf write 0x82000000 0x4e0000 0x007e2000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions