Advertisement
codekipper

Commands

Feb 27th, 2015
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. WORK IN PROGRESS
  2. mkimage -C none -A arm -T script -d boot.cmd boot.scr
  3. mkimage -A arm -T ramdisk -C none -n uInitrd -d /tmp/Hacking/openwrt/bin/sunxi/openwrt-sunxi-rootfs.cpio uInitrd
  4.  
  5. #execute whole system over fel for mk808c
  6. echo == upload the SPL to SRAM and execute it ==
  7. ./fel spl /tmp/Hacking/u-boot-next/u-boot-sunxi-with-spl.bin
  8.  
  9. echo == upload the main u-boot binary to DRAM ==
  10. ./fel write 0x4a000000 /tmp/Hacking/u-boot-next/u-boot.bin
  11.  
  12. echo == upload the kernel ==
  13. ./fel write 0x42000000 /tmp/Hacking/linux/arch/arm/boot/uImage
  14.  
  15. echo == upload the DTB file ==
  16. ./fel write 0x43000000 /tmp/Hacking/linux/arch/arm/boot/dts/sun7i-a20-mk808c.dtb
  17.  
  18. echo == upload the boot.scr file ==
  19. ./fel write 0x43100000 boot.scr
  20.  
  21. echo == upload initramfs ==
  22. ./fel write 0x43300000 uInitrd
  23.  
  24. echo == execute the main u-boot binary ==
  25. ./fel exe 0x4a000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement