Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cengiz-io/3d56552fd3dbe92cc8aa054ee8b7b283 to your computer and use it in GitHub Desktop.
Save cengiz-io/3d56552fd3dbe92cc8aa054ee8b7b283 to your computer and use it in GitHub Desktop.
U-Boot SPL 2020.07-00001-g9620ba937c-dirty (Aug 16 2020 - 02:55:53 +0300)
>>SPL: board_init_r()
using memory lx-lx for malloc()
spl_init
Selecting config 'imx6-rakun'Trying to boot from USB SDP
g_dnl_register: g_dnl_driver.name = usb_dnl_sdp
g_dnl_bind: gadget: 0x915b64 cdev: 0x18308390
usb_add_config: adding config #1 'usb_dnload'/18308440
g_dnl_do_config: configuration: 0x18308440 composite dev: 0x18308390
sdp_add: cdev: 18308390 gadget: 915b64 gadget->ep0: 915bbc
adding 'sdp'/18308500 to config 'usb_dnload'/18308440
cfg 1/18308440 speeds: high full
usb_add_config: interface 0 = sdp/18308500
g_dnl_bind: calling usb_gadget_connect for controller 'ci_udc'
usb_dnl_sdp: ready
SDP: initialize...
-- suspend --
-- reset --
-- portchange 2 High
handle setup GET_DESCRIPTOR, 80, 6 index 0 value 100 length 40
handle_setup: Set ep0 to IN for Data Stage
ept0 in pre-queue req 18308348, buffer 18308580
ept0 in queue len 12, req 18308348, buffer 18308580
ept0 in req 18308348, complete 0
handle_ep_complete: flip ep0 dir for Status Stage
flip_ep0_direction: Flipping ep0 to OUT
ept0 out pre-queue req 18308348, buffer 18309340
ept0 out queue len 0, req 18308348, buffer 18309340
ept0 out req 18308348, complete 0
-- reset --
-- portchange 2 High
handle setup SET_ADDRESS, 0, 5 index 0 value 9 length 0
handle_setup: Set ep0 to OUT for Data Stage
handle_setup: 0 length: flip ep0 dir for Status Stage
flip_ep0_direction: Flipping ep0 to IN
ept0 in pre-queue req 18308348, buffer 18309340
ept0 in queue len 0, req 18308348, buffer 18309340
ept0 in req 18308348, complete 0
handle setup GET_DESCRIPTOR, 80, 6 index 0 value 100 length 12
handle_setup: Set ep0 to IN for Data Stage
ept0 in pre-queue req 18308348, buffer 18308580
ept0 in queue len 12, req 18308348, buffer 18308580
ept0 in req 18308348, complete 0
handle_ep_complete: flip ep0 dir for Status Stage
flip_ep0_direction: Flipping ep0 to OUT
ept0 out pre-queue req 18308348, buffer 18309340
ept0 out queue len 0, req 18308348, buffer 18309340
ept0 out req 18308348, complete 0
handle setup GET_DESCRIPTOR, 80, 6 index 0 value 200 length 9
handle_setup: Set ep0 to IN for Data Stage
ept0 in pre-queue req 18308348, buffer 18308580
ept0 in queue len 9, req 18308348, buffer 18308580
ept0 in req 18308348, complete 0
handle_ep_complete: flip ep0 dir for Status Stage
flip_ep0_direction: Flipping ep0 to OUT
ept0 out pre-queue req 18308348, buffer 18309340
ept0 out queue len 0, req 18308348, buffer 18309340
ept0 out req 18308348, complete 0
handle setup GET_DESCRIPTOR, 80, 6 index 0 value 200 length 22
handle_setup: Set ep0 to IN for Data Stage
ept0 in pre-queue req 18308348, buffer 18308580
ept0 in queue len 22, req 18308348, buffer 18308580
ept0 in req 18308348, complete 0
handle_ep_complete: flip ep0 dir for Status Stage
flip_ep0_direction: Flipping ep0 to OUT
ept0 out pre-queue req 18308348, buffer 18309340
ept0 out queue len 0, req 18308348, buffer 18309340
ept0 out req 18308348, complete 0
handle setup GET_DESCRIPTOR, 80, 6 index 0 value 300 length ff
handle_setup: Set ep0 to IN for Data Stage
ept0 in pre-queue req 18308348, buffer 18308580
ept0 in queue len 4, req 18308348, buffer 18308580
ept0 in req 18308348, complete 0
handle_ep_complete: flip ep0 dir for Status Stage
flip_ep0_direction: Flipping ep0 to OUT
ept0 out pre-queue req 18308348, buffer 18309340
ept0 out queue len 0, req 18308348, buffer 18309340
ept0 out req 18308348, complete 0
handle setup GET_DESCRIPTOR, 80, 6 index 409 value 302 length ff
handle_setup: Set ep0 to IN for Data Stage
ept0 in pre-queue req 18308348, buffer 18308580
ept0 in queue len 28, req 18308348, buffer 18308580
ept0 in req 18308348, complete 0
handle_ep_complete: flip ep0 dir for Status Stage
flip_ep0_direction: Flipping ep0 to OUT
ept0 out pre-queue req 18308348, buffer 18309340
ept0 out queue len 0, req 18308348, buffer 18309340
ept0 out req 18308348, complete 0
handle setup GET_DESCRIPTOR, 80, 6 index 409 value 301 length ff
handle_setup: Set ep0 to IN for Data Stage
ept0 in pre-queue req 18308348, buffer 18308580
ept0 in queue len 8, req 18308348, buffer 18308580
ept0 in req 18308348, complete 0
handle_ep_complete: flip ep0 dir for Status Stage
flip_ep0_direction: Flipping ep0 to OUT
ept0 out pre-queue req 18308348, buffer 18309340
ept0 out queue len 0, req 18308348, buffer 18309340
ept0 out req 18308348, complete 0
handle setup SET_CONFIGURATION, 0, 9 index 0 value 1 length 0
handle_setup: Set ep0 to OUT for Data Stage
handle_setup: 0 length: flip ep0 dir for Status Stage
flip_ep0_direction: Flipping ep0 to IN
set_config: high speed config #1: usb_dnload
sdp_set_alt: intf: 0 alt: 0
ci_ep_enable: from 512 to 64
ci_ep_enable: num=1 maxpacket=64
sdp_start_ep: ep:915bf4 req:183084b8
ept0 in pre-queue req 18308348, buffer 18309340
ept0 in queue len 0, req 18308348, buffer 18309340
ept0 in req 18308348, complete 0
handle setup GET_DESCRIPTOR, 80, 6 index 409 value 302 length ff
handle_setup: Set ep0 to IN for Data Stage
ept0 in pre-queue req 18308348, buffer 18308580
ept0 in queue len 28, req 18308348, buffer 18308580
ept0 in req 18308348, complete 0
handle_ep_complete: flip ep0 dir for Status Stage
flip_ep0_direction: Flipping ep0 to OUT
ept0 out pre-queue req 18308348, buffer 18309340
ept0 out queue len 0, req 18308348, buffer 18309340
ept0 out req 18308348, complete 0
handle setup GET_DESCRIPTOR, 80, 6 index 409 value 303 length ff
handle_setup: Set ep0 to IN for Data Stage
ept0 in pre-queue req 18308348, buffer 18308580
ept0 in queue len 36, req 18308348, buffer 18308580
ept0 in req 18308348, complete 0
handle_ep_complete: flip ep0 dir for Status Stage
flip_ep0_direction: Flipping ep0 to OUT
ept0 out pre-queue req 18308348, buffer 18309340
ept0 out queue len 0, req 18308348, buffer 18309340
ept0 out req 18308348, complete 0
handle setup GET_INTERFACE, 21, a index 0 value 0 length 0
handle_setup: Set ep0 to OUT for Data Stage
handle_setup: 0 length: flip ep0 dir for Status Stage
flip_ep0_direction: Flipping ep0 to IN
non-core control req21.0a v0000 i0000 l0
w_value: 0x0000 len: 0x0000
req_type: 0x20 ctrl->bRequest: 0x0a sdp->state: 0
ept0 in pre-queue req 18308348, buffer 18309340
ept0 in queue len 0, req 18308348, buffer 18309340
ept0 in req 18308348, complete 0
handle setup GET_DESCRIPTOR, 81, 6 index 0 value 2200 length 4c
handle_setup: Set ep0 to IN for Data Stage
non-core control req81.06 v2200 i0000 l76
w_value: 0x2200 len: 0x004c
req_type: 0x00 ctrl->bRequest: 0x06 sdp->state: 0
ept0 in pre-queue req 18308348, buffer 18308680
ept0 in queue len 4c, req 18308348, buffer 18308680
SDP: handle requests...
ept0 in req 18308348, complete 0
handle_ep_complete: flip ep0 dir for Status Stage
flip_ep0_direction: Flipping ep0 to OUT
ept0 out pre-queue req 18308348, buffer 18309340
ept0 out queue len 0, req 18308348, buffer 18309340
ept0 out req 18308348, complete 0
handle setup SET_CONFIGURATION, 21, 9 index 0 value 201 length 11
handle_setup: Set ep0 to OUT for Data Stage
non-core control req21.09 v0201 i0000 l17
w_value: 0x0201 len: 0x0011
req_type: 0x20 ctrl->bRequest: 0x09 sdp->state: 0
ept0 out pre-queue req 18308348, buffer 18308680
ept0 out queue len 11, req 18308348, buffer 18308680
ept0 out req 18308348, complete 0
sdp_rx_command_complete: command: 0404, addr: 00000000, cnt: 337868
Downloading file of size 337868 to 0x00000000... handle_ep_complete: flip ep0 dir for Status Stage
flip_ep0_direction: Flipping ep0 to IN
ept0 in pre-queue req 18308348, buffer 18309340
ept0 in queue len 0, req 18308348, buffer 18309340
ept0 in req 18308348, complete 0
handle setup SET_CONFIGURATION, 21, 9 index 0 value 202 length 401
handle_setup: Set ep0 to OUT for Data Stage
non-core control req21.09 v0202 i0000 l1025
w_value: 0x0202 len: 0x0401
req_type: 0x20 ctrl->bRequest: 0x09 sdp->state: 2
ept0 out pre-queue req 18308348, buffer 18308680
ept0 out queue len 401, req 18308348, buffer 18308680
ept0 out req 18308348, complete 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment