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
Contact:

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

Unread post by pglitt » Mon Feb 13, 2017 10:11 am

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: 29651
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

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

Unread post by odroid » Mon Feb 13, 2017 11:30 am

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
Contact:

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

Unread post by pglitt » Mon Feb 13, 2017 12:33 pm

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

User avatar
odroid
Site Admin
Posts: 29651
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

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

Unread post by odroid » Mon Feb 13, 2017 1:27 pm

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
Contact:

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

Unread post by pglitt » Tue Feb 14, 2017 8:45 am

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
Contact:

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

Unread post by pglitt » Tue Feb 14, 2017 8:59 am

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

User avatar
odroid
Site Admin
Posts: 29651
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

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

Unread post by odroid » Tue Feb 14, 2017 9:18 am

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 1 guest