-
Notifications
You must be signed in to change notification settings - Fork 6
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
Can you make short instruction how to get correct adress #2
Comments
Hi there, I'm trying to repair bricked Xiaomi Mi Box 3 MDZ-16-AB (based on S905X-H SoC) Then i found Frédéric Basse article about hacking amlogic bootrom AFAIK the only major difference (for amlogic-usbdl) between S905X and S905D3 is a SoC memory map Payloads may need extra addresses, for example dump_bootrom_uart.S (which i'm willing to make working first) needs: Inside of that u-boot repo i found some info
In header secure_apb.h what looks like address of WATCHDOG_RESET register
So, for S905X (probably):
P.S. - Bricked MDZ-16-AB boot log, maybe it can help somehow?:
|
Hello. |
Thanks a lot for your reply! AFAIK my board is password protected |
If board is usb password protected and you have usb password amlogic-usbdl not work. |
I tried running amlogic-usbdl tool from frederic's repo
The tool ran successfully, but the magic did not happen due to incorrect addresses (TARGET_RA_PTR particularly) But as i can tell amlogic-usbdl include password protection check Does this mean my board doesn't have password protection or is it some kind of bug in amlogic-usbdl? |
GUYS!! I was tinkering around with update tool from khadas utils repo This tool is something like of Linux analog of Windows Amlogic UBT
I've tried to use
BUT!
Somehow it WORKED and printed BOOTROM dump right into my terminal After converting this text dump to binary form i run some commands and got what looks like what Frédéric got
|
I uploaded my BootROM dump there |
I found a website that provides password.bin and it seems to work on all Xiaomi Amlogic chip devices, I tested that it works on MDZ-19-AA |
Can you make short instruction how to get correct adress for s905x ?
#define P_WATCHDOG_RESET (volatile unsigned int )0xFFD0F0DC
#define _clear_icache() ((void ()(void))0xffff051c)()
#define _dwc_pcd_irq() ((void ()(void))0xffff6c94)()
#define _start_bulk_transfer(pcd) ((void ()(volatile pcd_struct_t *))0xffff5604)(pcd)
#define BOOTROM_ADDR 0xFFFE0000
volatile pcd_struct_t *pcd = (pcd_struct_t *)0xfffe3918;
The text was updated successfully, but these errors were encountered: