aboutsummaryrefslogtreecommitdiff
path: root/board/bananapi/bananapi-m2-zero/boot.cmd
blob: 081450935b8faa526ea2df01cf3357e33ac8fcbd (plain)
1
2
3
4
5
6
7
setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait

mmc dev 0
fatload mmc 0 $kernel_addr_r zImage
fatload mmc 0 $fdt_addr_r sun8i-h2-plus-bananapi-m2-zero.dtb

bootz $kernel_addr_r - $fdt_addr_r