Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to dd the boot to eMMC ,how can I do? #164

Open
tinysun opened this issue Jan 13, 2023 · 20 comments
Open

I want to dd the boot to eMMC ,how can I do? #164

tinysun opened this issue Jan 13, 2023 · 20 comments

Comments

@tinysun
Copy link

tinysun commented Jan 13, 2023

the img can not suport the emmc dev.

@chenxudong2020
Copy link

Synology support emmc?

@tinysun
Copy link
Author

tinysun commented Jan 13, 2023

Synology support emmc?

i am not sure,but linux can be.

@fbelavenuto
Copy link
Owner

I believe the DSM kernel will not work with MMC type disks, but I can test.

@crazyshitass
Copy link

Need this function, hope the driver issue can be fixed.

@tinysun
Copy link
Author

tinysun commented Jan 16, 2023

I am not sure,if the boot fews can be use,it is a good news。
samewhere I saw the emmc boot can be suport with 6.0.2,and a part of 6.1.7,and the 7.0.1beta.
the idea is rewrite the "PID、VID".? the same way can be using for usb disk to system disk.

@longhuishen
Copy link

支持 我也需要这功能

@tinysun
Copy link
Author

tinysun commented Jan 19, 2023

咱们用英文支持一下,楼主本来就是巴西人,英语就不好,你这发中文。。。

@tinysun
Copy link
Author

tinysun commented Jan 27, 2023

any idea?

@fbelavenuto
Copy link
Owner

Please wait, I'm solving others issues.

@fbelavenuto fbelavenuto transferred this issue from fbelavenuto/arpl Jan 27, 2023
@fbelavenuto
Copy link
Owner

I've added the modules, please test. I do not have a machine with MMC/eMMC, then I not know if it works!

@tinysun
Copy link
Author

tinysun commented Jan 30, 2023

thanks very much,I am testing it.And feedback as soon.

@tinysun
Copy link
Author

tinysun commented Jan 31, 2023

the /dev is not find the mmc dev.
root@arpl:/dev# ls
autofs char cpu_dma_latency full kmsg loop1 loop5 mem ptmx rtc0 sda3 stderr tty0 tty12 tty16 tty2 tty23 tty27 tty30 tty34 tty38 tty41 tty45 tty49 tty52 tty56 tty6 tty63 ttyS0 urandom vcs vcsa1 vcsu2
block console disk hpet log loop2 loop6 null pts sda sg0 stdin tty1 tty13 tty17 tty20 tty24 tty28 tty31 tty35 tty39 tty42 tty46 tty5 tty53 tty57 tty60 tty7 ttyS1 usbmon0 vcs1 vcsa2 vga_arbiter
bsg core fb0 hwrng loop-control loop3 loop7 nvram random sda1 shm stdout tty10 tty14 tty18 tty21 tty25 tty29 tty32 tty36 tty4 tty43 tty47 tty50 tty54 tty58 tty61 tty8 ttyS2 usbmon1 vcs2 vcsu zero
bus cpu fd input loop0 loop4 mapper port rtc sda2 snapshot tty tty11 tty15 tty19 tty22 tty26 tty3 tty33 tty37 tty40 tty44 tty48 tty51 tty55 tty59 tty62 tty9 ttyS3 usbmon2 vcsa vcsu1

@fbelavenuto
Copy link
Owner

Please, try with this image:
https://github.com/fbelavenuto/arpl/actions/runs/4047740153

@tinysun
Copy link
Author

tinysun commented Feb 1, 2023

Thanks very much,I am testing it.And feedback as soon.

@adixus
Copy link

adixus commented Feb 1, 2023

Please, try with this image: https://github.com/fbelavenuto/arpl/actions/runs/4047740153

I tested on a laptop that has eMMC (MYRIA MY8311B) and it gives me the error in the picture.

20230201_204115
20230201_204558
20230201_205941

@tinysun
Copy link
Author

tinysun commented Feb 1, 2023

Please, try with this image: https://github.com/fbelavenuto/arpl/actions/runs/4047740153

I tested on a laptop that has eMMC (MYRIA MY8311B) and it gives me the error in the picture.

20230201_204115 20230201_204558 20230201_205941

it looks like not drive the emmc driver.can you show the /dev ? or tell us the fdisk -l ?

@tinysun
Copy link
Author

tinysun commented Feb 1, 2023

root@arpl:/dev# ls
autofs char cpu_dma_latency full kmsg loop1 loop5 mem ptmx rtc0 sda3 stderr tty0 tty12 tty16 tty2 tty23 tty27 tty30 tty34 tty38 tty41 tty45 tty49 tty52 tty56 tty6 tty63 ttyS0 urandom vcs vcsa1 vcsu2
block console disk hpet log loop2 loop6 null pts sda sg0 stdin tty1 tty13 tty17 tty20 tty24 tty28 tty31 tty35 tty39 tty42 tty46 tty5 tty53 tty57 tty60 tty7 ttyS1 usbmon0 vcs1 vcsa2 vga_arbiter
bsg core fb0 hwrng loop-control loop3 loop7 nvram random sda1 shm stdout tty10 tty14 tty18 tty21 tty25 tty29 tty32 tty36 tty4 tty43 tty47 tty50 tty54 tty58 tty61 tty8 ttyS2 usbmon1 vcs2 vcsu zero
bus cpu fd input loop0 loop4 mapper port rtc sda2 snapshot tty tty11 tty15 tty19 tty22 tty26 tty3 tty33 tty37 tty40 tty44 tty48 tty51 tty55 tty59 tty62 tty9 ttyS3 usbmon2 vcsa vcsu1
root@arpl:/dev# ls
autofs char cpu_dma_latency full kmsg loop1 loop5 mem ptmx rtc0 sda3 stderr tty0 tty12 tty16 tty2 tty23 tty27 tty30 tty34 tty38 tty41 tty45 tty49 tty52 tty56 tty6 tty63 ttyS0 urandom vcs vcsa1 vcsu2
block console disk hpet log loop2 loop6 null pts sda sg0 stdin tty1 tty13 tty17 tty20 tty24 tty28 tty31 tty35 tty39 tty42 tty46 tty5 tty53 tty57 tty60 tty7 ttyS1 usbmon0 vcs1 vcsa2 vga_arbiter
bsg core fb0 hwrng loop-control loop3 loop7 nvram random sda1 shm stdout tty10 tty14 tty18 tty21 tty25 tty29 tty32 tty36 tty4 tty43 tty47 tty50 tty54 tty58 tty61 tty8 ttyS2 usbmon1 vcs2 vcsu zero
bus cpu fd input loop0 loop4 mapper port rtc sda2 snapshot tty tty11 tty15 tty19 tty22 tty26 tty3 tty33 tty37 tty40 tty44 tty48 tty51 tty55 tty59 tty62 tty9 ttyS3 usbmon2 vcsa vcsu1
root@arpl:/dev# fdisk -l
Disk /dev/sda: 28.64 GiB, 30752636928 bytes, 60063744 sectors
Disk model: Ultra Fit
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xf110ee87

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 104447 102400 50M b W95 FAT32
/dev/sda2 104448 206847 102400 50M 83 Linux
/dev/sda3 206848 60063743 59856896 28.5G 83 Linux
root@arpl:/dev# cat /proc/devices |grep mmc
root@arpl:/dev# cat /proc/devices
Character devices:
1 mem
4 /dev/vc/0
4 tty
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
7 vcs
10 misc
13 input
21 sg
29 fb
128 ptm
136 pts
180 usb
189 usb_device
202 cpu/msr
203 cpu/cpuid
247 hidraw
248 usbmon
249 nvme-generic
250 nvme
251 bsg
252 ptp
253 pps
254 rtc

Block devices:
7 loop
8 sd
9 md
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
253 device-mapper
254 mdp
259 blkext
root@arpl:/dev#

the mmc is not working.

@adixus
Copy link

adixus commented Feb 2, 2023

20230202_075755

@tinysun
Copy link
Author

tinysun commented Feb 2, 2023

20230202_075755

the mmc dev may be not drived. I am the same.

@fanmain
Copy link

fanmain commented Jul 7, 2023

Recently, I have compiled the startup on my J3455+32G EMMC and successful. My steps are

  1. Use the U disk to guide configuration to compile DSM to ensure that the module contains MMC
  2. Select ‘Start DSM directly’ to ensure that the U disk can start DSM
  3. Use the DiskGenius disk to copy the U disk to EMMC
    Key point:
    *The compilation module contains MMC (ARPL default)
    *Starting from EMMC, you must choose to start DSM directly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants