ODROID [X/X2/U/U2] Flashing Images on Linux

Moderators: odroid, meveric, mdrjr

ODROID [X/X2/U/U2] Flashing Images on Linux

Unread postby mdrjr » Sat Feb 23, 2013 11:54 am

Steps.

WARNING: Ubuntu and some other distributions, auto-mount the media when inserted. This can cause inconsistency and errors! You can umount all using: umount /dev/sdX*

1. Download the selected image (Android/Ubuntu/...).
2. Unpack it. (If its a .xz extension you can use xz -d image.img.xz on cmd line).
3. A good step is always to clear your destination media first! dd if=/dev/zero of=/dev/sdX bs=4M
4. Flash your image: sudo dd if=image.img of=/dev/sdX bs=4M
5. Always type sync before removing the media to make sure that all data is written.
mdrjr
Site Admin
 
Posts: 11552
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: ODROID [X/X2/U/U2] Flashing Images on Linux

Unread postby sleekc77 » Fri Mar 14, 2014 4:08 pm

Dear Sir, I have dd the img into a 16GB sandisk micro sd. I realise that is 4.5GB and the remaining 10GB of space is not allocated. Can I just gparted and resize the the rootfs so that those free space will be use.
sleekc77
 
Posts: 1
Joined: Fri Mar 14, 2014 4:00 pm
languages_spoken: english
ODROIDs: u3 community edition

Re: ODROID [X/X2/U/U2] Flashing Images on Linux

Unread postby Goerlitzer » Fri Mar 14, 2014 5:42 pm

Yes you can. Put the card in your card reader of your Mac/PC, start gparted, choose the card with the new system (!), unmount the root file system and resize it.
Goerlitzer
 
Posts: 50
Joined: Thu Jun 20, 2013 4:25 pm
languages_spoken: English, German
ODROIDs: ODROID X2, XU, XU3, C1

Re: ODROID [X/X2/U/U2] Flashing Images on Linux

Unread postby navotvolk » Tue Apr 15, 2014 7:08 pm

thanks works great!
navotvolk
 
Posts: 20
Joined: Mon Apr 14, 2014 4:50 pm
languages_spoken: english
ODROIDs: U3

Re: ODROID [X/X2/U/U2] Flashing Images on Linux

Unread postby nobicycle » Wed Apr 30, 2014 6:46 pm

O-Droid blog announcements, such as this one: http://com.odroid.com/sigong/nf_file_bo ... g=&bid=214
only mention Windows flashing methods.
This is 1. Suprising, since the whole of Hardkernel business is reliant on Linux (O-droid OS's) and 2. Off-putting for any non-Windows user.
nobicycle
 
Posts: 69
Joined: Fri Oct 25, 2013 6:10 pm
languages_spoken: english

Re: ODROID [X/X2/U/U2] Flashing Images on Linux

Unread postby vivek » Tue May 20, 2014 3:37 am

I have MacBook Pro and want to flash the image on emmc. How should I do it????? Please help.
vivek
 
Posts: 16
Joined: Wed Apr 30, 2014 3:12 am
languages_spoken: english

Re: ODROID [X/X2/U/U2] Flashing Images on Linux

Unread postby robroy » Tue May 20, 2014 3:51 am

vivek wrote:I have MacBook Pro and want to flash the image on emmc. How should I do it????? Please help.

The May issue of ODROID Magazine has an article on how to flash images to SD and eMMC for most major operating systems. It should be published within a few days.
Rob Roy, Editor-in-Chief of ODROID Magazine (submit an article | make a donation)
User avatar
robroy
 
Posts: 3284
Joined: Mon Feb 25, 2013 2:29 am
Location: San Francisco, California
languages_spoken: English
ODROIDs: Q2, X, X2, U2, U3, XU-E, XU3, XU4, C1, C1+, C2

Re: ODROID [X/X2/U/U2] Flashing Images on Linux

Unread postby mdrjr » Tue May 20, 2014 3:55 am

This same forum explains.. viewtopic.php?f=53&t=1103
mdrjr
Site Admin
 
Posts: 11552
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: ODROID [X/X2/U/U2] Flashing Images on Linux

Unread postby memeka » Tue May 20, 2014 6:49 am

vivek wrote:I have MacBook Pro and want to flash the image on emmc. How should I do it????? Please help.


1. plug in your adapter
2. open disk utility, look for the adapter, unmount all partitions (unmount, not eject) such that they should be greyed out in Disk Utility.
3. still in disk utility, check what is the disk number (e.g. disk1, disk2, ...)
4. in Terminal: sudo dd bs=4m if=/PATH/TO/IMAGE/trusty_dev_center_18052014.img of=/dev/rdiskX
where X is the disk number from step 3.

To make a backup, same except you have "if" and "of" reversed.
User avatar
memeka
 
Posts: 3273
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: ODROID [X/X2/U/U2] Flashing Images on Linux

Unread postby vivek » Tue May 20, 2014 7:13 am

Can I use "SD Association's Formatting tool" to flash emmc/ SD card and "RPi-sd card builder" to flash xubuntu.img? Following has been given on the this website

http://elinux.org/RPi_Easy_SD_Card_Setu ... nd_line.29
vivek
 
Posts: 16
Joined: Wed Apr 30, 2014 3:12 am
languages_spoken: english

Re: ODROID [X/X2/U/U2] Flashing Images on Linux

Unread postby mdrjr » Tue May 20, 2014 7:37 am

This thread is now locked..

Its a thread for flashing images on LINUX! LINUX!
not OSX.

There's a thread for OSX. Stop the damn Off-topic.
mdrjr
Site Admin
 
Posts: 11552
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest