Closed ntadmin closed 7 years ago
Diff:
77a78,80
> // brcm begin
> USE_SENDARP(APPLET(sendarp, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
> // brcm end
400a404
> USE_FLASH_ERASEALL(APPLET(flash_eraseall, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS))
Probably the only issue forthis question is checking that, with the new busybox, the firmware can upgrade itself. If that works, then we can proceed. That's the next check. Set this test up by linking /usr/sbin/flash_eraseall to the new version of busybox.
This is odd. It seems that linking flash_eraseall to busybox2 is stopping firmware upgrade. But is it really that? Needs further probing ...
Both commands, however, seem to work when tested on a small, not apparently used, bit of flash (mtd 8, or /config/xxx)
OK, it boots with the new busybox and all seems fine. Closing this issue, should a specific error be found later create a new issue please.
Sadly, when upgrading from new busybox firmware, it fails. So reopening.
Tried but didn't change things: making flash_eraseall require suid.
Issue identified, see: https://github.com/ntadmin/DGND3700v2/wiki/Tech-info:-flashing-the-firmware.
Solved as per that page, first option.
Path to file:
busybox-1.13/include/applets.h