Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

SoCrates boot problem with custom preloader

I'm using SoCrates V1.2 devboard.

I've started to study perfoming tasks from SoCrates Workshop Labs.

Lab 1 with no problem.

Lab 2 - got next problem: U-Boot can't initialize the sd card when using my preloader (preloader-mkimage.bin made by using instructions from Lab).

Here is the boot log:

u-boot 2012.10-00002-g97ca318 (jul 04 2013 - 13:18:58)

cpu : altera socfpga platform

board : ebv socrates - cyclone v soc fpga board

dram: 1 gib

mmc: designware sd/mmc: 0

error: dw_pull: stat 0x200

request failed. status: 0x00000200

error: dw_pull: stat 0x200

request failed. status: 0x00000200

error: dw_pull: stat 0x200

request failed. status: 0x00000200

error: dw_pull: stat 0x200

request failed. status: 0x00000200

mmc init failed

But everything goes fine when using preloader supplied with the devboard.

Please help me to find a solution.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I'm using SoCrates V1.2 devboard.

    I've started to study perfoming tasks from SoCrates Workshop Labs.

    Lab 1 with no problem.

    Lab 2 - got next problem: U-Boot can't initialize the sd card when using my preloader (preloader-mkimage.bin made by using instructions from Lab).

    Here is the boot log:

    u-boot 2012.10-00002-g97ca318 (jul 04 2013 - 13:18:58)

    cpu : altera socfpga platform

    board : ebv socrates - cyclone v soc fpga board

    dram: 1 gib

    mmc: designware sd/mmc: 0

    error: dw_pull: stat 0x200

    request failed. status: 0x00000200

    error: dw_pull: stat 0x200

    request failed. status: 0x00000200

    error: dw_pull: stat 0x200

    request failed. status: 0x00000200

    error: dw_pull: stat 0x200

    request failed. status: 0x00000200

    mmc init failed

    But everything goes fine when using preloader supplied with the devboard.

    Please help me to find a solution.

    --- Quote End ---

    Hello

    I've faced the same problem when I generated preloader with Quartus 13.1 for SD card provided with the board.

    Please download this archive: http://www.rocketboards.org/pub/documentation/ebvsocratesworkshops/socrates-training.tgz

    There's a script to create fresh SD card with all you need to load linux. So you need to use this script.

    Here's reference design for Q13.1: http://www.rocketboards.org/pub/projects/socrateshwreferencedesign/socrates_simplerd_v13.1.zip

    If you generate preloader and write it to SD card everything should be OK.

    Also I would recommend to use PUTTY instead of TerraTerm. For me it works more stable.

    Regards