Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flash demo.bin with new bootloader #11

Closed
Dam5 opened this issue Aug 14, 2019 · 2 comments
Closed

Flash demo.bin with new bootloader #11

Dam5 opened this issue Aug 14, 2019 · 2 comments

Comments

@Dam5
Copy link

Dam5 commented Aug 14, 2019

Hello all, great projects.

A couple of weeks ago i bought a Xiaomi Dafang camera, for the sole reason to hack it and tinker with.
Flashed the cfw-1.3.bin (based on 5.5.1.243) + files as soon as I unboxed it.

Mounted a serial header to follow bootprocess.

After some tinkering, flashed the new bootloader 'dafang_128mb_v2.bin'.

All went well, but I have problems with the stability of WiFi, even when in short distance of the AP.
A couple of times a day, randomly, I get ping-responses (from another linux machine) of over 90 seconds.

I was looking for a newer firmware to try, but in one of the project-issues I found a suggestion to downgrade to 5.5.1.177.

So I copied the appropriate demo.bin to the SD-card and booted with SETUP-button pressed.
No update, normal boot followed.
Acccording to the serial log, and comparing this to previous log files, it seems this new bootloader doesn't check for the SETUP-button.
A short glance at the source code confirms this.

Now my question is:

Have I overlooked something, or is this deliberately?
I have read all the markdowns, but I can't remember a reference.

It's no problem to flash demo.bin some other way, but I was just wondering.

Cheers,
Rob

@Dam5
Copy link
Author

Dam5 commented Aug 17, 2019

Solved.

Modified the bootloader, so it included the check for SETUP-key.

Had also to apply hansaya's #9 patch otherwise it wouldn't update to my (16MB) flash.

Rob

@Dam5 Dam5 closed this as completed Aug 17, 2019
@Kaan88
Copy link

Kaan88 commented Sep 24, 2021

And where is this modification?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants