This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

請問 關於 musb-hdrc 訊息

Expert 2272 points


請問我們的版子,無使用RTC,EEPROM

在MLO階段執行 arch_misc_init()

卻無musb-hrdc ... 訊息,有可能是什麼原因???

P/S: 同樣的MLO 給Am335x Starter Kit 執行則可正常出現下列訊息

musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO
Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO
Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0

  • 加一些打印进去,或者看看#CONFIG_AM335X_USB0这个宏开没开

  • Dear Jian

    CONFIG_AM335X_USB0 有開

    我有打印確認 arch_misc_init(); 有被執行,只是不知道為什麼執行後沒有musb-hrdc xxxx..... 訊息

    int arch_misc_init(void)
    {
        #ifdef CONFIG_AM335X_USB0
            puts("<<<before musb_register>>>\n");
            musb_register(&otg0_plat, &otg0_board_data,(void *)AM335X_USB0_OTG_BASE);
         puts("<<<after musb_register>>>\n");
        #endif

    ...

    return 0;
    }

     請問 musb_register 是在哪定義????