Demonstration UHS-I mmc driver for ODROID-C1

Post Reply
daoyama
Posts: 14
Joined: Wed Feb 25, 2015 5:02 am
languages_spoken: Japanese
ODROIDs: ODROID-C1
Has thanked: 0
Been thanked: 0
Contact:

Demonstration UHS-I mmc driver for ODROID-C1

Unread post by daoyama » Fri May 15, 2015 4:50 am

Hi all,

I'm developer of NAS4Free project and contributor of FreeBSD project like:
http://svnweb.freebsd.org/base?view=rev ... ion=282610


This is demonstration driver with the pacth based on the driver of NAS4Free for ODROID-C1.
If you are interested in the original driver, please check latest NAS4Free image.
https://sourceforge.net/projects/nas4fr ... 4Free-ARM/

I'm beginner of Linux driver development.
I don't know how to build the kernel of official image.
Please replace it by following steps.

1. write official Ubuntu image to Micro SD:
ubuntu-14.04.2lts-lubuntu-odroid-c1-20150401.img
2. replace(copy and rename) uImage and meson8b_odroidc.dtb on VFAT with the files below
3. edit boot.ini to enable UHS-I (optional, just insert # infront of the line)
setenv disableuhs "disableuhs"
vvv
#setenv disableuhs "disableuhs"
3. boot it
4. press 'S' key to continue (stop due to missing kernel modules)
5. run the ODROID-Utility to expand the filesystem on it.
(Main Menu 4. Resize your root partition)
6. reboot
7. press 'S' key again at stopped point
8. open terminal(Accessories > LXTerminal) or SSH login
9. get module files
$ wget http://www.peach.ne.jp/archives/nas4fre ... 514.tar.gz
10. extract to /
$ sudo tar -C / -zxvf c1-modules-20150514.tar.gz
11. finally reboot
(After that, you can edit boot.ini from /media/boot/boot.ini)

As you can see, reboot is not an issue anymore.
Always enable UHS-I mode if the card support it. (SDR50/94.4MHz or SDR104/141.6MHz)
Never break slow card like Class 2/4/6 card.

Note that initial 30sec boot delay is out of scope of the linux driver.
You must fix SoC ROM or bl1.bin.hardkernel.


You can find the card identification from boot log (/bin/dmesg):
Example of SDR50 card:
[ 8.986408@1] sd: new ultra high speed SDR50 SDHC card at address 0001, clock 94444444, 4-bit-bus-width
Example of SDR104 card:
[ 8.998211@0] sd: new ultra high speed SDR104 SDHC card at address 59b4, clock 141666666, 4-bit-bus-width

UHS-I patched kernel and dtb
http://www.peach.ne.jp/archives/nas4fre ... 150514.dtb
http://www.peach.ne.jp/archives/nas4fre ... e-20150514

kernel modules
http://www.peach.ne.jp/archives/nas4fre ... 514.tar.gz
Last edited by daoyama on Wed Jul 01, 2015 4:37 am, edited 1 time in total.

User avatar
rooted
Posts: 6612
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 110 times
Been thanked: 23 times
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by rooted » Fri May 15, 2015 5:18 am

Very nice contribution daoyama.

User avatar
tobetter
Posts: 3903
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 38 times
Been thanked: 154 times
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by tobetter » Fri May 15, 2015 8:01 am

@daoyama,
Appreciate your great contribution.
By the way, are you able to share the patch what you changed? So that your contribution can be merged into C1's branch officially if it works great.

illiac4
Posts: 25
Joined: Tue Dec 23, 2014 2:11 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by illiac4 » Thu Jun 04, 2015 11:44 pm

Hi do someone has any idea information if this will be implemented into official image?

User avatar
rooted
Posts: 6612
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 110 times
Been thanked: 23 times
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by rooted » Mon Jun 08, 2015 12:05 pm

That's why tobetter was trying to get the source or patch.

User avatar
wrxtasy
Posts: 1297
Joined: Wed May 13, 2015 1:59 pm
languages_spoken: english
ODROIDs: C1, C1+, C2
Location: Australia
Has thanked: 2 times
Been thanked: 2 times
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by wrxtasy » Mon Jun 08, 2015 1:42 pm

LibreELEC Krypton C1(+) HERE
LibreELEC Krypton C2 HERE

User avatar
tobetter
Posts: 3903
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 38 times
Been thanked: 154 times
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by tobetter » Mon Jun 08, 2015 2:09 pm

Nice hunting.
Seems the version what daoyama build, not sure if it contains the fix. Let me try soon after finishing some major work, or someone can try this out. :D

User avatar
wrxtasy
Posts: 1297
Joined: Wed May 13, 2015 1:59 pm
languages_spoken: english
ODROIDs: C1, C1+, C2
Location: Australia
Has thanked: 2 times
Been thanked: 2 times
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by wrxtasy » Mon Jun 08, 2015 2:43 pm

In the meantime I'm going to test out his drivers with my problem UHS-1 Samsung EVO SD card.
LibreELEC Krypton C1(+) HERE
LibreELEC Krypton C2 HERE

daoyama
Posts: 14
Joined: Wed Feb 25, 2015 5:02 am
languages_spoken: Japanese
ODROIDs: ODROID-C1
Has thanked: 0
Been thanked: 0
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by daoyama » Wed Jul 01, 2015 4:58 am

Sorry for slow reply.
One of my ODROID-C1 has been broken but I cannot get spare one due to sold out.
Now slow down to test. I will create a patch of the posted kernel. Please wait a little.
tobetter wrote:
Nice hunting.
Seems the version what daoyama build, not sure if it contains the fix. Let me try soon after finishing some major work, or someone can try this out. :D
I don't use any files in amlogic/aml8726 mentioned above.
NAS4Free is used own development source code. (full kernel source is not open yet; binary is http://shell.peach.ne.jp/aoyama/archives/3108)

Panderine
Posts: 70
Joined: Tue Feb 10, 2015 9:23 am
languages_spoken: english, spanish
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by Panderine » Thu Jul 02, 2015 2:48 am

please don't let this die. I too have a samgung evo 16gb witch I cannot use with my odroid c1 :S

User avatar
Cartridge
Posts: 610
Joined: Fri Sep 27, 2013 9:06 pm
languages_spoken: english, french natively
ODROIDs: The Perfect ODROID-U2, ODROID-U3+, C1, XU3
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by Cartridge » Fri Jul 03, 2015 7:49 am

Weird, I have one too http://www.ebay.ca/itm/131520336861?_tr ... EBIDX%3AIT
that one to be exact and it works with every ODROID I own.
Image
http://cartridgeports.cf/
ODROID's DO what WinDON'T "That's Blast Processing!"

EzD
Posts: 3
Joined: Fri Jun 05, 2015 5:22 pm
languages_spoken: english,spanish
ODROIDs: Odroid C1
Has thanked: 0
Been thanked: 0
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by EzD » Mon Jul 06, 2015 5:22 pm

Panderine wrote:please don't let this die. I too have a samgung evo 16gb witch I cannot use with my odroid c1 :S
+1 on this. I'd love to use my Samsung microSD in UHS-I mode.

Thanks for your effort, daoyoama

Koxx
Posts: 103
Joined: Tue Jun 16, 2015 6:04 am
languages_spoken: english, french
ODROIDs: C1
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by Koxx » Tue Jul 07, 2015 6:33 am

that's awesome !
I'll try this on my Samsung EVO 16.
thanks man !

Koxx
Posts: 103
Joined: Tue Jun 16, 2015 6:04 am
languages_spoken: english, french
ODROIDs: C1
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by Koxx » Tue Jul 07, 2015 7:07 am

it's working !!!
My Samsung EVO 16 is now able to boot AND reboot !
thank you vey much.

iker
Posts: 24
Joined: Wed Feb 11, 2015 5:51 am
languages_spoken: english, spanish
ODROIDs: ODROID-C1
Has thanked: 0
Been thanked: 0
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by iker » Mon Jul 13, 2015 5:17 am

And for android?

fse
Posts: 49
Joined: Tue Feb 03, 2015 8:40 pm
languages_spoken: english
ODROIDs: XU4, C1
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by fse » Tue Jul 21, 2015 4:12 pm

Hi, works very well!

Have these been pulled into http://deb.odroid.in/ repository?

Thank you!

Boter
Posts: 17
Joined: Sun Jan 18, 2015 8:15 pm
languages_spoken: english, slovenian
ODROIDs: C1
Has thanked: 0
Been thanked: 0
Contact:

Re: Demonstration UHS-I mmc driver for ODROID-C1

Unread post by Boter » Sun Oct 18, 2015 5:52 am

So is this "idea" abandoned? When official version will come to live?

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 3 guests