Enable dtoverlay in boot.cmd.

This commit is contained in:
imi415 2021-06-28 22:46:25 +08:00
parent 8301463410
commit 51050c227b
Signed by: imi415
GPG Key ID: 17F01E106F9F5E0A
1 changed files with 5 additions and 0 deletions

View File

@ -2,5 +2,10 @@ setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
fatload mmc 0 $kernel_addr_r Image
fatload mmc 0 $fdt_addr_r sun50i-a64-pine64-plus.dtb
fatload mmc 0 0x4F000000 spidev.dtbo
fdt addr ${fdt_addr_r}
fdt resize 8192
fdt apply 0x4F000000
bootefi $kernel_addr_r $fdt_addr_r