Results 1 to 2 of 2

Thread: ODOROID C2 boot

  1. #1

    Default ODOROID C2 boot

    Good day,

    as I am using openSuSE for years on my notebook, I'd like to install it on my ODROID-C2 device. Fortunately, there is a current openSuSE image available and a wiki page for the C2:
    https://en.opensuse.org/HCL:OdroidC2
    The wiki page was written by afaerber@suse.de
    I expected that it is only necessary to copy the image onto the sdcard using dd (like it says on the wiki page). But the device will not boot then. It only stays stuck before any output is shown.
    Is there any advice on how to do it correctly? Where do I see who created the recent C2 image? Maybe this is who to ask.
    There is also a point "manual installation" but I do not see how to make the device find the boot partition or the kernel then.

    Thanks for any advice!

    Gabriel

  2. #2

    Default Re: ODOROID C2 boot

    not a very clean solution, but this is how it can work... (adapt paths and use at own risk):

    I used the minimal Ubuntu image from the hardware vendor (hardkernel) and "burned" it to the SD card using

    sudo dd if=ubuntu64-16.04.3-minimal-odroid-c2-20171005.img of=/dev/mmcblk0 bs=4M
    sync


    and mounted the sdcard partitions at /media/sdpart1 and /media/sdpart2.
    Then I mounted the opensuse image partition2 from the wiki page by

    sudo losetup --partscan --find --show openSUSE-Tumbleweed-ARM-JeOS-odroidc2.aarch64[/CODE]
    [CODE].raw
    sudo mount -o loop,ro /dev/loop0p2 /media/susepart2

    Afterwards I just deleted all the ubuntu on the second partition on the SD card and synced the mounted opensuse files to the card:

    sudo rm -rf /media/sdpart2/*
    sudo rsync -a /media/susepart2 /media/sdpart2



    Finally, the boot.ini under /media/sdpart1/ may no longer have the kernel readonly parameter, but needs to use rw, i.e. replace

    setenv bootargs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro ${condev} no_console_suspend hdmimode=${m} ${cmod

    e} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=${hpd} max_freq=${max_freq} maxcpus=${m
    axcpus} monitor_onoff=${monitor_onoff} disableuhs=${disableuhs} mmc_removable=${mmc_removable} usbmulticam=${usbmulticam} ${h
    id_quirks}"


    with

    setenv bootargs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait rw ${condev} no_console_suspend hdmimode=${m} ${cmod

    e} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=${hpd} max_freq=${max_freq} maxcpus=${m
    axcpus} monitor_onoff=${monitor_onoff} disableuhs=${disableuhs} mmc_removable=${mmc_removable} usbmulticam=${usbmulticam} ${h
    id_quirks}"



    This setup also survives a kernel update.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •