This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Boot busy box on the SATA instead of removable USB

Hi

I installed busybox on the USB drive, however, I cannot find an option to install it on the pre-installed SATA drive on the morello board. Please let me know the process.

Thanks

Parents Reply Children
  • Hi Deepak

    Can you explain step by step, how to detect SATA on AP UART terminal?

    I cannot find it.

    Do you mean on the ttyUSB0? 

    Thanks and regards

  • Hi Rabia,

    The SATA disks are not directly exposed over the DBG USB interface.
    If you want to update the SATA disk you must boot a OS first and from that OS you update the SATA disk.

    My suggestion

    1. Build the Busybox image file
    2. Write that to a USB storage
    3. Boot the board from that USB storage
    4. Use the shell spawned on the UP UART to write the disk-image to the SATA device.

    You do not have to use the Busybox, anything that can boot from the USB you can use.

    For example you can download the Ubuntu ARM write that to usb-stick and boot the live environment (running Ubuntu directly from the stick without installing it) and from there execute step 4.

    Best regards,
    Patrik

  • Hi Patrik,

    thank you for your answer,

    My problem is Morello does not act like any other device. At least I have not used one before.

    You suggested, "If you want to update the SATA disk you must boot a OS first and from that OS you update the SATA disk."

    How exactly should I boot OS on SATA?

    1. Build the Busybox image file (already build)
    2. Write that to a USB storage (already done)
    3. Boot the board from that USB storage  (when I insert USB in the board and boot it on ttyUSB2, but it can run only when  USB is connected, I do not see any option of booting it on board, it starts booting automatically).

    I hope it make sence now?

    Thanks

    Rabia

  • Hi Rabia,

    Sorry for the delay.

    I am a bit unsure what you are trying to do.

    If you want a boot for a USB MSD when booting you will see a (on both the HDMI and AP uart)

    Press ESCAPE for boot options

    If you press ESC then you cna select you USB MSD in Boot Manager.

    The USB-B connector ("DBG USB") is only to debug and access the board internal UARTs. You can not send a boot image over the DBG USB.

    Best regards,
    Patrik