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.

am335x USB boot (beaglebone black) 失敗



你好

我依照以下文件,在 beaglebone black 上,使用 USB(RNDIS)配合 host pc 的 isc dhcp server & tftpd-hpa 啟動並燒錄image到emmc
processors.wiki.ti.com/.../Sitara_Linux_Program_the_eMMC_on_Beaglebone_Black
processors.wiki.ti.com/.../Sitara_Linux_AM335x_Flash_Programming_Linux_Development

目前進展:
1. beaglebone black按住boot鍵,以usb開機 
2. beaglebone black 以USB RNDIS透過TFTP取得 SPL
3. SPL 以USB RNDIS透過TFTP取得 U-boot
4. U-boot 以 USB RNDIS 透過TFTP取得 zImage + initramfs
5. zImage 啟動時,卡在 mmcblk0boot0: unknown partition table 訊息如下:

[ 2.922659] mmcblk0: p1 p2

[ 2.933498] mmcblk0boot1: unknown partition table
[ 2.952432] mmcblk0boot0: unknown partition table
<--- 卡住,無任何訊息,鍵盤輸入皆無效,但UER LED D2會一直連續閃2下)

另外,作了個測試,把init改為

#include <stdio.h>

int main()
{
  printf("Hello World!\n");
  sleep(99999);
  return 0;
}

會在 最後印出Hello World!,鍵盤輸入會有echo.

UBoot已patch過,能使用USB(RNDIS) tftp 下載。
initramfs也查過許多網路文件,功能有啟動,目錄已設定,壓縮為gzip
initramfs內容為 sitara_flasher_initramfs_v1.1.tar.gz

附件裡
boot-zimage-initramfs-org.log 為使用 sitara_flasher_initramfs_v1.1.tar.gz (無修改)為 initramfs 的訊息

boot-zimage-initramfs-hello.log 為使用 hello world 為 initramfs 的訊息(目錄內只有 dev/console與init)

log.zip