fbelavenuto / arpl-modules

Binary modules for ARPL
GNU General Public License v2.0
25 stars 44 forks source link

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

Open tinysun opened 1 year ago

tinysun commented 1 year ago

the img can not suport the emmc dev.

chenxudong2020 commented 1 year ago

Synology support emmc?

tinysun commented 1 year ago

Synology support emmc?

i am not sure,but linux can be.

fbelavenuto commented 1 year ago

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

crazyshitass commented 1 year ago

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

tinysun commented 1 year ago

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 commented 1 year ago

支持 我也需要这功能

tinysun commented 1 year ago

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

tinysun commented 1 year ago

any idea?

fbelavenuto commented 1 year ago

Please wait, I'm solving others issues.

fbelavenuto commented 1 year ago

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

tinysun commented 1 year ago

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

tinysun commented 1 year ago

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 commented 1 year ago

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

tinysun commented 1 year ago

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

adixus commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

20230202_075755

tinysun commented 1 year ago

20230202_075755

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

fanmain commented 1 year ago

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