본문 바로가기
컴퓨터.전자기기

GTMINI CoreELEC : 5. EMMC에 설치하기

by ㅋㅋ잠자 2020. 9. 19.
반응형

안녕하세요?


CoreELEC 의 경우 내장 EMMC에 설치가 가능합니다.


일단 SD카드나 USB부팅을 통해 CoreELEC 를 부팅하고 쉘에서 커맨드를 통해 설치하는 방법입니다.


설치 방법은 2가지가 있습니다.


1. 안드로이드와 같이 공존

2. 단독 설치


CoreELEC 로만으로도 기본적인 부분이 가능하고, 특히 영상 재생은 안드로이드에서 제 성능이 나오지 않기 때문에 저는 설치를 단독설치로 진행할 예정입니다.


쉘로 접근하여 하기 명령을 입력합니다.


CoreELEC:~ # ceemmc -vx


Starting CoreELEC eMMC installation tool...


System is not supported: g12a_s905x2_2g_1gbit!


There is NO official support by Team CoreELEC

if you continue to run this tool!

Continue? [y]: y


eMMC size: 0x00073a000000 [32GB]


Original partition table:

[mmcblk0p01]           bootloader  offset 0x000000000000, size 0x000000400000 [4 MB], unkn

[mmcblk0p02]             reserved  offset 0x000002400000, size 0x000004000000 [64 MB], unkn

[mmcblk0p03]                cache  offset 0x000006c00000, size 0x000046000000 [1120 MB], cache

[mmcblk0p04]                  env  offset 0x00004d400000, size 0x000000800000 [8 MB], unkn

[mmcblk0p05]                 logo  offset 0x00004e400000, size 0x000000800000 [8 MB], code

[mmcblk0p06]             recovery  offset 0x00004f400000, size 0x000001800000 [24 MB], code

[mmcblk0p07]                 misc  offset 0x000051400000, size 0x000000800000 [8 MB], code

[mmcblk0p08]                  dto  offset 0x000052400000, size 0x000000800000 [8 MB], code

[mmcblk0p09]             cri_data  offset 0x000053400000, size 0x000000800000 [8 MB], cache

[mmcblk0p10]                param  offset 0x000054400000, size 0x000001000000 [16 MB], cache

[mmcblk0p11]                 boot  offset 0x000055c00000, size 0x000001000000 [16 MB], code

[mmcblk0p12]                  rsv  offset 0x000057400000, size 0x000001000000 [16 MB], code

[mmcblk0p13]                  tee  offset 0x000058c00000, size 0x000002000000 [32 MB], code

[mmcblk0p14]               vendor  offset 0x00005b400000, size 0x000010000000 [256 MB], code

[mmcblk0p15]                  odm  offset 0x00006bc00000, size 0x000010000000 [256 MB], code

[mmcblk0p16]               system  offset 0x00007c400000, size 0x000074000000 [1856 MB], code

[mmcblk0p17]                 data  offset 0x0000f0c00000, size 0x000649400000 [25748 MB], data


No CoreELEC installation found on eMMC



하기 1번 2번이 안드로이드와 공존하는 방법이며, 34번이 단독 설치입니다.


백업 파일이 없고 현 시스템을 그대로 옮기는 것임으로, 1번이나 3번을 입력하시면 됩니다.


Install in dual boot mode, CoreELEC and Android on eMMC

  Use CoreELEC data from

    [1] current used SD or USB device

    [2] existing backup on current used SD or USB device


Install in single boot mode, only CoreELEC on eMMC

  Use CoreELEC data from

    [3] current used SD or USB device

    [4] existing backup on current used SD or USB device


Please choose one option? [1/2/3/4]: 3


Free space of 'partition CE_FLASH': 512MB

Warning: Could not find 'dtbo' partition!

Free space of 'partition CE_STORAGE': 28988MB


New partition table:

[mmcblk0p01]           bootloader  offset 0x000000000000, size 0x000000400000 [4 MB], unkn

[mmcblk0p02]                  env  offset 0x000000400000, size 0x000000800000 [8 MB], unkn

[mmcblk0p03]                 misc  offset 0x000000c00000, size 0x000000800000 [8 MB], code

[mmcblk0p04]                 logo  offset 0x000001400000, size 0x000000800000 [8 MB], code

[mmcblk0p05]                  dto  offset 0x000001c00000, size 0x000000800000 [8 MB], code

[mmcblk0p06]             reserved  offset 0x000002400000, size 0x000004000000 [64 MB], unkn

[mmcblk0p07]             CE_FLASH  offset 0x000006400000, size 0x000020000000 [512 MB], data

[mmcblk0p08]           CE_STORAGE  offset 0x000026400000, size 0x000713c00000 [28988 MB], data


Used space of '/flash': 221MB

Used space of '/storage': 1302MB


There is enough free space on eMMC for installation!


Install CoreELEC on eMMC.

Continue? [y]: y


Moved 'env' from offset 0x00004d400000, size 0x000000800000 to offset 0x000000400000

Moved 'misc' from offset 0x000051400000, size 0x000000800000 to offset 0x000000c00000

Moved 'logo' from offset 0x00004e400000, size 0x000000800000 to offset 0x000001400000

Moved 'dto' from offset 0x000052400000, size 0x000000800000 to offset 0x000001c00000


Starting to format the new 'CE_STORAGE' partition...

mke2fs 1.45.3 (14-Jul-2019)

Discarding device blocks: done

Creating filesystem with 7420928 4k blocks and 1855952 inodes

Filesystem UUID: a8cb661f-0726-4480-891c-a4b60ddc4d91

Superblock backups stored on blocks:

        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,

        4096000


Allocating group tables: done

Writing inode tables: done

Creating journal (32768 blocks): done

Writing superblocks and filesystem accounting information: done



Starting to format the new 'CE_FLASH' partition...

mkfs.fat 4.1 (2017-01-24)

Stopping Kodi before start of copy process!


Starting copying of data to the eMMC!

Please do NOT interrupt this progress till it's finished!


Copy all data from '/flash' to '/media/CE_FLASH'

        221.41M 100%   23.49MB/s    0:00:08 (xfr#68, to-chk=0/71)


Syncthing, please wait...

Copy all data from '/storage' to '/media/CE_STORAGE/coreelec_storage'

          1.30G  99%   13.18MB/s    0:01:34 (xfr#33807, to-chk=0/45391)


Syncthing, please wait...

Start Kodi again to have a user interface!


Success!



You can now power off the device, remove the used boot media (SD or USB) and

power on again to boot the device from eMMC!


작업이 완료되면 부팅 미디어로 사용했던 SD카드나 USB를 제거하고 reboot 을 합니다.


CoreELEC:~ # reboot


이후 부팅하여 용량 정보를 확인해보면 하기와 같습니다.


CoreELEC:~ # df -h

Filesystem                Size      Used Available Use% Mounted on

devtmpfs                988.5M      4.0K    988.5M   0% /dev

/dev/CE_FLASH           511.0M    211.3M    299.7M  41% /flash

/dev/loop0              192.0M    192.0M         0 100% /

/dev/CE_STORAGE          27.7G      1.4G     26.4G   5% /storage

tmpfs                   993.3M         0    993.3M   0% /dev/shm

tmpfs                   993.3M      9.6M    983.6M   1% /run

tmpfs                   993.3M         0    993.3M   0% /sys/fs/cgroup

tmpfs                   993.3M      2.6M    990.7M   0% /var

tmpfs                   993.3M         0    993.3M   0% /tmp

/dev/sda1                14.8G      8.0K     14.8G   0% /var/media/sda1-usb-SanDisk_SanDisk_

overlay                  27.7G      1.4G     26.4G   5% /storage/.kodi/userdata/addon_data/service.system.docker/docker/overlay2/95f5b995e18d00325c866d08ac3537cba31a22e20e394c502e1d978822426a4b/merged

overlay                  27.7G      1.4G     26.4G   5% /storage/.kodi/userdata/addon_data/service.system.docker/docker/overlay2/8a4b6d6b4a54c9e81088e9f618ba481b7017dd3b729bd159aea97c2d960f1f53/merged

shm                      64.0M         0     64.0M   0% /storage/.kodi/userdata/addon_data/service.system.docker/docker/containers/d8d36c1a3190db6e8022d4fd43a0ece6684f5265637f583bdc795ffb84b9d428/mounts/shm

shm                      64.0M         0     64.0M   0% /storage/.kodi/userdata/addon_data/service.system.docker/docker/containers/9102cd68a1e286d30906eb06208037f17dff0c32f863a2e73e7f34a879f40898/mounts/shm


감사합니다.

반응형

댓글