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

a5ltechn: Rebooting weirdness #5

Open
Dobby233Liu opened this issue Nov 24, 2023 · 2 comments
Open

a5ltechn: Rebooting weirdness #5

Dobby233Liu opened this issue Nov 24, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Dobby233Liu
Copy link
Member

Dobby233Liu commented Nov 24, 2023

  • Attempting to reboot to system in system will actually shut down the device
  • You will not get out of recovery normally after entering it from system
    IDK if this happens on stock OS too
    To get out, perform any kind of flashing action in download mode, then manually reboot
@Dobby233Liu Dobby233Liu added the bug Something isn't working label Nov 24, 2023
@Dobby233Liu Dobby233Liu changed the title a5ltechn: You will not get out of recovery normally after entering it from system a5ltechn: Boot weirdness Nov 24, 2023
@Dobby233Liu Dobby233Liu changed the title a5ltechn: Boot weirdness a5ltechn: Rebooting weirdness Nov 24, 2023
@Dobby233Liu
Copy link
Member Author

Dobby233Liu commented Nov 25, 2023

@Dobby233Liu
Copy link
Member Author

enum sec_restart_reasons : u32 {
    bootloader = 0x77665500,
    recovery = 0x77665502,
    rtc = 0x77665503,
    dmverity_corrupt = 0x77665508,
    dmverity_enforcing = 0x77665509,
    keysclear = 0x7766550a,
    sec_debug_hw_reset = 0x776655ee,
    download = 0x12345671,
    nvbackup = 0x77665511,
    nvrestore = 0x77665512,
    nverase = 0x77665514,
    nvrecovery = 0x77665515,
    clear_reset_flag = 0x12345678,
    peripheral_hw_reset = 0x77665507,
    default = 0x77665501
};
struct sec_param_data {
    u32 debuglevel;
	u32 uartsel;
	u32 rory_control;
	u32 movinand_checksum_done;
	u32 movinand_checksum_pass;
	u32 cp_debuglevel;
//#ifdef CONFIG_GSM_MODEM_SPRD6500
//	unsigned update_cp_bin;
//#endif
//#ifdef CONFIG_SEC_MONITOR_BATTERY_REMOVAL
//	unsigned normal_poweroff;
//#endif
//#ifdef CONFIG_RESTART_REASON_SEC_PARAM
    sec_restart_reasons param_restart_reason;
//#endif
//#ifdef CONFIG_BARCODE_PAINTER
//	char param_barcode_info[1024];
//#endif
};
sec_param_data param @ 0x0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant