How to Change 1-wire GPIO from 7 to 11 Android 6

Post Reply
pglitt
Posts: 14
Joined: Thu Mar 10, 2016 1:15 pm
languages_spoken: english
ODROIDs: C1 2 C2's HIFI sheild
Has thanked: 0
Been thanked: 0
Contact:

How to Change 1-wire GPIO from 7 to 11 Android 6

Post by pglitt »

Is there a easy way to change GPIO pin for 1-wire. I know how to do it for Linux. I have searched but find no info on Android.

User avatar
odroid
Site Admin
Posts: 34943
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 959 times
Been thanked: 775 times
Contact:

Re: How to Change 1-wire GPIO from 7 to 11 Android 6

Post by odroid »

Copy "meson64_odroidc2.dtb" to your Linux PC and just follow the same instruction.
http://odroid.com/dokuwiki/doku.php?id= ... ardware_1w
And copy the updated dtb file into your C2 boot media.

pglitt
Posts: 14
Joined: Thu Mar 10, 2016 1:15 pm
languages_spoken: english
ODROIDs: C1 2 C2's HIFI sheild
Has thanked: 0
Been thanked: 0
Contact:

Re: How to Change 1-wire GPIO from 7 to 11 Android 6

Post by pglitt »

Where do I find "meson64_odroidc2.dtb"
Thanks in advance

User avatar
odroid
Site Admin
Posts: 34943
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 959 times
Been thanked: 775 times
Contact:

Re: How to Change 1-wire GPIO from 7 to 11 Android 6

Post by odroid »

Connect your SD/eMMC to your Linux PC.
The dtb file must exist in the VFAT boot partition.

pglitt
Posts: 14
Joined: Thu Mar 10, 2016 1:15 pm
languages_spoken: english
ODROIDs: C1 2 C2's HIFI sheild
Has thanked: 0
Been thanked: 0
Contact:

Re: How to Change 1-wire GPIO from 7 to 11 Android 6

Post by pglitt »

It is not there. I know where to put it, but I can not find the file.

pglitt
Posts: 14
Joined: Thu Mar 10, 2016 1:15 pm
languages_spoken: english
ODROIDs: C1 2 C2's HIFI sheild
Has thanked: 0
Been thanked: 0
Contact:

Re: How to Change 1-wire GPIO from 7 to 11 Android 6

Post by pglitt »

Is the file "meson64_odroidc2.dtb" from ubunut64 image ok to use?

User avatar
odroid
Site Admin
Posts: 34943
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 959 times
Been thanked: 775 times
Contact:

Re: How to Change 1-wire GPIO from 7 to 11 Android 6

Post by odroid »

Sorry. The dtb file should be stored in a specific raw partition. I was confused with Ubuntu/Linux.
http://odroid.com/dokuwiki/doku.php?id= ... tion_table

Download the kernel source and build it.
http://odroid.com/dokuwiki/doku.php?id= ... ing_kernel
And modify the dt file and download the update dtb file via fastboot protocol.
http://odroid.com/dokuwiki/doku.php?id= ... stallation

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 5 guests