Advertisement
Guest User

Untitled

a guest
Jun 15th, 2021
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. MASTER=kitten.bin
  4. SIZE_MB=6
  5. KERNEL_OFFSET_MB=2
  6. DTB_OFFSET_MB=5
  7.  
  8. dd of=${MASTER} if=/dev/zero bs=1 count=${SIZE_MB}M conv=notrunc
  9. dd of=${MASTER} if=./u-boot.bin bs=1 conv=notrunc
  10. dd of=${MASTER} if=./uImage bs=1 conv=notrunc seek=${KERNEL_OFFSET_MB}M
  11. dd of=${MASTER} if=./sun50i-a64-pine64.dtb bs=1 conv=notrunc seek=${DTB_OFFSET_MB}M
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement