View: 8360|Reply: 15

[SOLVED] How to burn sd

[Copy link]

10

threads

55

posts

345

credits

Intermediate member

Rank: 3Rank: 3

credits
345
Published in 2016-9-18 19:56:23 | Show all floors |Read mode
Edited by jernej at 2016-9-21 19:42

Probably this is one of most idiot question of the entire forum, but I don't remember how to "burn the image on a SD card"
I built my own image. Now I have to copy my .img.gz, or something else? I've already copied the file, and put on my orangepi+, but nothing appears.

4

threads

1118

posts

9203

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9203
Published in 2016-9-19 01:00:25 | Show all floors
Depends what you want to do. If you want to burn clean image, then you have to unzip .img.gz file and use a tool like dd (Linux) or Rufus (Windows) to burn it on SD card. If you have already working OpenELEC instalation and you want to update it, then you need a .tar file and follow a procedure linked in FAQ topic.

10

threads

55

posts

345

credits

Intermediate member

Rank: 3Rank: 3

credits
345
 Author| Published in 2016-9-19 01:13:42 | Show all floors
ok, i need DD to copy the unzipped file...
Something like this, i suppose
  1. sudo dd bs=4M if=OpenELEC-H3.arm-7.0.img |pv|sudo dd of=/dev/mmcblk0       
Copy code

4

threads

1118

posts

9203

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9203
Published in 2016-9-19 01:28:50 | Show all floors
campioncino replied at 2016-9-18 18:13
ok, i need DD to copy the unzipped file...
Something like this, i suppose

Something like that, yes. I'm using more straightforward command, like:
  1. sudo dd if=OpenELEC-H3.arm-7.0-devel-20160902165101-r22887-g72d778d-opipcplus.img of=/dev/sdb
Copy code


Are you sure that your SD card is marked as mmcblk? Just be careful not to mess up this device name, otherwise you will overwrite something you don't want

10

threads

55

posts

345

credits

Intermediate member

Rank: 3Rank: 3

credits
345
 Author| Published in 2016-9-19 05:17:38 | Show all floors
ok, thanks a lot!
i'll try

10

threads

55

posts

345

credits

Intermediate member

Rank: 3Rank: 3

credits
345
 Author| Published in 2016-9-20 01:19:53 | Show all floors
I'm a little bit confused.
  1. $ sudo umount /dev/mmcblk0p1
  2. $ sudo dd if=OpenELEC-H3.arm-7.0-devel-20160806193109-r22886-g5828aec-opiplus.img |pv|sudo dd of=/dev/mmcblk0
  3. $ sudo sync
Copy code

put the card into my opiplus
but no signal from opi...

4

threads

1118

posts

9203

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9203
Published in 2016-9-20 01:30:52 | Show all floors
Put SD card in PC and check if there are two partitions. One FAT (512 MB), which should have KERNEL, SYSTEM, boot.scr and script.bin files and another, much smaller (32 MB) ext4 partition with probably just one empty file.

10

threads

55

posts

345

credits

Intermediate member

Rank: 3Rank: 3

credits
345
 Author| Published in 2016-9-20 04:04:51 | Show all floors
I changed my sd card, and now it seems to be ok.
  1. /dev/mmcblk0p2  3,1G  2,5M  3,1G   1% /media/user/0fd0eaf9-0216-4277-99b2-0d95bcc0b8a0
  2. /dev/mmcblk0p1  512M  130M  383M  26% /media/user/6820-9249
Copy code


But now i cannot install it to my orangepiplus (emmc) through ssh
  1. OpenELEC:/ # emmc_install.sh

  2. ===============================
  3. Installing OpenELEC to eMMC
  4. ===============================

  5. Error: eMMC not found.
Copy code

4

threads

1118

posts

9203

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9203
Published in 2016-9-20 04:33:52 | Show all floors
Please provide output of:
  1. ls /dev
Copy code

I checked script.bin and everything seems fine. Anyway, this is weird, Plus was the first board which supported eMMC installation.

10

threads

55

posts

345

credits

Intermediate member

Rank: 3Rank: 3

credits
345
 Author| Published in 2016-9-20 05:23:09 | Show all floors
  1. OpenELEC:~ # e
  2. e2fsck           egrep            env              ethtool
  3. e2label          eject            espeak           eventlircd
  4. ebtables-compat  emmc_install.sh  ether-wake
  5. OpenELEC:~ # emmc_install.sh

  6. ===============================
  7. Installing OpenELEC to eMMC
  8. ===============================

  9. Error: eMMC not found.
  10. OpenELEC:~ # ls /dev/
  11. SYSTEM              loop4               tty17               tty53
  12. apm_bios            loop5               tty18               tty54
  13. autofs              loop6               tty19               tty55
  14. block               loop7               tty2                tty56
  15. btrfs-control       mali                tty20               tty57
  16. bus                 mem                 tty21               tty58
  17. cachefiles          mmcblk0             tty22               tty59
  18. cedar_dev           mmcblk0p1           tty23               tty6
  19. char                mmcblk0p2           tty24               tty60
  20. console             mqueue              tty25               tty61
  21. cpu_dma_latency     net                 tty26               tty62
  22. cuse                network_latency     tty27               tty63
  23. deinterlace         network_throughput  tty28               tty7
  24. disk                null                tty29               tty8
  25. disp                ppp                 tty3                tty9
  26. fb0                 ptmx                tty30               ttyS0
  27. fb1                 pts                 tty31               tv
  28. fb2                 random              tty32               uhid
  29. fb3                 rfkill              tty33               uinput
  30. fb4                 rtc                 tty34               ump
  31. fb5                 rtc0                tty35               urandom
  32. fb6                 shm                 tty36               vcs
  33. fb7                 snd                 tty37               vcs1
  34. fd                  spidev0.0           tty38               vcs2
  35. full                stderr              tty39               vcs3
  36. fuse                stdin               tty4                vcs4
  37. hdmi                stdout              tty40               vcs5
  38. hidraw0             sunxi-reg           tty41               vcs6
  39. i2c-0               sunxi_hdmi_cec      tty42               vcsa
  40. initctl             sunxi_soc_info      tty43               vcsa1
  41. input               tty                 tty44               vcsa2
  42. ion                 tty0                tty45               vcsa3
  43. kmsg                tty1                tty46               vcsa4
  44. lirc0               tty10               tty47               vcsa5
  45. log                 tty11               tty48               vcsa6
  46. loop-control        tty12               tty49               vmouse
  47. loop0               tty13               tty5                watchdog
  48. loop1               tty14               tty50               zero
  49. loop2               tty15               tty51
  50. loop3               tty16               tty52
Copy code
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list