Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install to emmc to c201 #280

Closed
gregordinary opened this issue Jan 14, 2021 · 2 comments
Closed

Cannot install to emmc to c201 #280

gregordinary opened this issue Jan 14, 2021 · 2 comments

Comments

@gregordinary
Copy link
Contributor

Latest build from git, choosing the option to install to the emmc on the c201 results in the following error:

/dev//dev/mmcblk1 does not exist, have you plugged in your target sd card or usb device? 

IMG_20210114_161037

A bit out of my comfort zone, but I believe the code from get_emmc_devname:

get_emmc_devname() {
    local devname=$(ls /dev/mmcblk* | grep -F boot0 | sed "s/boot0//")
    if [ -z "$devname" ]
    then
        echo "Unknown device! can't determine emmc devname. Please file an issue with the output of fdisk -l if you get this on a supported device"; exit 1;;
    fi
    echo $devname
}

is returning the value as "/dev/mmcblk1" which is being referenced on line 101 of InstallPrawnOS.sh:

            [Ii]* ) TARGET=/dev/$(get_emmc_devname)p; TARGET_EMMC=true; break;;

resulting in the additional /dev/

@austin987
Copy link
Contributor

Try bf639d7

@gregordinary
Copy link
Contributor Author

Thanks!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants