Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- MASTER=kitten.bin
- SIZE_MB=6
- KERNEL_OFFSET_MB=2
- DTB_OFFSET_MB=5
- dd of=${MASTER} if=/dev/zero bs=1 count=${SIZE_MB}M conv=notrunc
- dd of=${MASTER} if=./u-boot.bin bs=1 conv=notrunc
- dd of=${MASTER} if=./uImage bs=1 conv=notrunc seek=${KERNEL_OFFSET_MB}M
- dd of=${MASTER} if=./sun50i-a64-pine64.dtb bs=1 conv=notrunc seek=${DTB_OFFSET_MB}M
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement