<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Peter,<br>
      <br>
      I don't know exactly what you mean with "bootup with any boot
      prompts on the console interface". But looking at your working
      steps it seems to me that there is a general misconception. You
      hard-copy the Genode uImage to the beginning of the SD-card but
      neither represents this image a proper bootoader nor is the
      bootloader assumed to start at block 0.<br>
      <br>
      You should instead 'dd' a bootloader of your choice to the address
      that is called on SD-startup, additionally create a partition that
      doesn't overwrite the bootloader, copy the Genode uImage into this
      partition, and then instrument the bootloader to load and execute
      the uImage.<br>
      <br>
      I often boot an Imx53 this way by using the Uboot bootloader. My
      working steps are as follows:<br>
      <br>
      ### uboot toolchain ###<br>
      wget
<a class="moz-txt-link-freetext" href="http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-none-eabi-4.9-2014.09_linux.tar.xz">http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-none-eabi-4.9-2014.09_linux.tar.xz</a><br>
      tar xvf gcc-linaro-arm-none-eabi-4.9-2014.09_linux.tar.xz -C
      $MY_GCC_DIR<br>
      <br>
      ### uboot ###<br>
      git clone <a class="moz-txt-link-freetext" href="https://github.com/m-stein/uboot">https://github.com/m-stein/uboot</a> $MY_UBOOT_SRC_DIR<br>
      cd $MY_UBOOT_SRC_DIR<br>
      git co usb_armory_genode_tz_vmm<br>
      mkdir $MY_UBOOT_BUILD_DIR<br>
      make -C $MY_UBOOT_SRC_DIR ARCH=arm
      CROSS_COMPILE=$MY_GCC_DIR/bin/arm-none-eabi- O=$MY_UBOOT_BUILD_DIR
      usbarmory_config<br>
      make -C $MY_UBOOT_BUILD_DIR ARCH=arm
      CROSS_COMPILE=$MY_GCC_DIR/bin/arm-none-eabi- -j$MY_CPUS<br>
      <br>
      ### mmc ###<br>
      sudo parted $MY_MMC --script mklabel msdos<br>
      sudo parted $MY_MMC --script mkpart primary ext4 5M 100%<br>
      sudo mkfs.ext4 ${MY_MMC}p1<br>
      sudo dd if=$MY_UBOOT_BUILD_DIR/u-boot.imx of=$MY_MMC bs=512 seek=2
      conv=fsync<br>
      udisks --mount ${MY_MMC}p1<br>
      sudo cp $MY_GENODE_BUILD_DIR/var/run/$1/uImage
      $MY_MMC_P1_MNT/uImage<br>
      <br>
      ### boot ###<br>
      # as soon as uboot came up, interrupt the countdown and do:<br>
      setenv bootcmd=ext2load mmc 0:1 0x70200000 uImage; bootm
      0x70200000<br>
      saveenv<br>
      reset<br>
      <br>
      <br>
      Don't forget to set all the variables in my scipt appropriately.
      If you have further questions, please don't hesitate to ask ;)<br>
      <br>
      Cheers<br>
      Martin<br>
      <br>
      On 19.02.2015 04:41, Peter Teoh wrote:<br>
    </div>
    <blockquote
cite="mid:CAHnt0GV=g12h6aDDLSD7e99hbZWRab4RcXp8U4iZWmHWksTx8g@...3..."
      type="cite">
      <div dir="ltr">sorry, I have followed this:<br>
        <br>
        <a moz-do-not-send="true"
          href="http://sourceforge.net/p/genode/mailman/message/32421676/">http://sourceforge.net/p/genode/mailman/message/32421676/</a><br>
        <br>
        <a moz-do-not-send="true"
href="http://sourceforge.net/p/genode/mailman/genode-main/thread/9167aa55bacd5e3f00e64168280aef3e%40lcc.uma.es/#msg31683911">http://sourceforge.net/p/genode/mailman/genode-main/thread/9167aa55bacd5e3f00e64168280aef3e%40lcc.uma.es/#msg31683911</a><br
          clear="all">
        <div><br>
        </div>
        <div>Have got the uImage file generated:<br>
          <br>
          tool/build_hw_imx53/var/run>tree<br>
          .<br>
          └── tz_vmm<br>
              ├── boot_modules.s<br>
              ├── image.elf<br>
              └── uImage<br>
          <br>
          <br>
        </div>
        <div>but problem is after "sudo dd if=./uImage of=/dev/mmcblk0
          bs=1M" onto my sdcard (/dev/mmcblk0) it seemed to bootup with
          any boot prompts on the console interface.<br>
          <br>
        </div>
        <div>Help? <br>
        </div>
        <div>-- <br>
          <div class="gmail_signature">Regards,<br>
            Peter Teoh</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
<a class="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk">http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk</a></pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
genode-main mailing list
<a class="moz-txt-link-abbreviated" href="mailto:genode-main@...12...ceforge.net">genode-main@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/genode-main">https://lists.sourceforge.net/lists/listinfo/genode-main</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>