Home > other >  Unable to enter fastboot mode
Unable to enter fastboot mode

Time:10-01

Hi,
I am a novice development version, is currently studying 820 board, should be similar to 410 in fastboot!
Problems at present is that when I want to enter fastboot mode in the course of progress in the fastboot_init this step, and not to enter udc_start (), my PC can't also find fastboot devices, completely don't know why, the machine can normal operation, is cannot enter fastboot,
Development version is new, I haven't done any changes, we have encountered a similar situation? The following is the result of the output of the UART and lsusb
For help!

CodePudding user response:

Really envy you that even good ADB, my card in the driver couldn't here next, wait and see what will happen next

CodePudding user response:

Attach fastboot_init () code, we can see that this is not successful, no failure, but is stuck in the middle of a step, the possible reason is what?
Int fastboot_init (void * base, unsigned size)
{
THR thread_t *;
Dprintf (INFO, "fastboot_init () \ n");
Download_base=base;
Download_max=size;
Event_init (& amp; Usb_online, 0, EVENT_FLAG_AUTOUNSIGNAL);
Event_init (& amp; Txn_done, 0, EVENT_FLAG_AUTOUNSIGNAL);
In=udc_endpoint_alloc (UDC_TYPE_BULK_IN, 512);
if (! In)
Goto fail_alloc_in;
Out=udc_endpoint_alloc (UDC_TYPE_BULK_OUT, 512);
if (! Out)
Goto fail_alloc_out;
Fastboot_endpoints [0]=in;
Fastboot_endpoints [1]=out;
The req=udc_request_alloc ();
if (! The req)
Goto fail_alloc_req;
If (udc_register_gadget (& amp; Fastboot_gadget))
Goto fail_udc_register;
Fastboot_register (" getvar: "cmd_getvar);
Fastboot_register (" download, "cmd_download);
Fastboot_publish (" version ", "0.5");
THR=thread_create (" fastboot, "fastboot_handler, 0, DEFAULT_PRIORITY, 4096);
Thread_resume (THR);
return 0;
Fail_udc_register:
Udc_request_free (the req);
Fail_alloc_req:
Udc_endpoint_free (out);
Fail_alloc_out:
Udc_endpoint_free (in);
Fail_alloc_in:
return -1;
}

CodePudding user response:

For Q820 development board, you refresh the Bootloader? I also in the study of the board,

CodePudding user response:

After the 820 board of success into fastboot mode I print log information as follows, you can consult:
[150] pm8x41_get_is_cold_boot: cold boot
[160] fastboot_init ()
[160] QMP phy initialization failed, fallback to HighSpeed only mode
[2580] fastboot: processing commands

You can add some inside the fastboot_init tracking information, and see where the problem, after modified bootloader compilation command:
Make aboot - j4
And then to repackage flash,

CodePudding user response:

Whether bootloader burn out, you put the memory to burn write down,
  • Related