想把镜像烧录到emmc中,系统从emmc启动
现在镜像在SD卡中,在uboot中可以识别到emmc,同时系统启动到shell时,在/dev目录下可以识别到mmcblk2,mmcblk2boot0,mmcblk2boot1,但使用dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=1024 seek=8时,系统卡住,现象如下
root@orangepiwin:/home# ls
u-boot-sunxi-with-spl.bin
root@orangepiwin:/home# dd if=/dev/zero of=/dev/mmcblk2 bs=1M count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.20159 s, 5.2 MB/s
root@orangepiwin:/home# dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk2 bs=1024 seek=8
^C^C
也退不出来,只能重启,,,,
在uboot中,emmc信息如下
=> mmc info
Device: mmc@1c11000
Manufacturer ID: 45
OEM: 100
Name: DF401
Bus Speed: 52000000
Mode: MMC High Speed (52MHz)
Rd Block Len: 512
MMC version 5.1
High Capacity: Yes
Capacity: 14.7 GiB
Bus Width: 8-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 14.7 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 4 MiB ENH
内核中设备树配置信息如下
&mmc2 {
pinctrl-names = "default";
pinctrl-0 = <&mmc2_pins>;
vmmc-supply = <®_dcdc1>;
vqmmc-supply = <®_vcc1v8>;
bus-width = <8>;
non-removable;
cap-mmc-hw-reset;
mmc-hs200-1_8v;
status = "okay";
};
用fdisk给emmc分区时,到最后按w保存退出时也会出现卡住不动的现象,请问大家这是什么问题呢?在内核中还需要配置什么吗
离线
主控是全志A64,内核版本是armbianSDK中的orange-pi-5.3
硬件是
https://item.taobao.com/item.htm?spm=a1z10.5-c.w4002-18013363740.10.642b5cefjL03US&id=597958627881
离线
我的S3/A33怼emmc没有问题噢,配置一下dts在linux就可以为所欲为
离线