Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WORK IN PROGRESS
- mkimage -C none -A arm -T script -d boot.cmd boot.scr
- mkimage -A arm -T ramdisk -C none -n uInitrd -d /tmp/Hacking/openwrt/bin/sunxi/openwrt-sunxi-rootfs.cpio uInitrd
- #execute whole system over fel for mk808c
- echo == upload the SPL to SRAM and execute it ==
- ./fel spl /tmp/Hacking/u-boot-next/u-boot-sunxi-with-spl.bin
- echo == upload the main u-boot binary to DRAM ==
- ./fel write 0x4a000000 /tmp/Hacking/u-boot-next/u-boot.bin
- echo == upload the kernel ==
- ./fel write 0x42000000 /tmp/Hacking/linux/arch/arm/boot/uImage
- echo == upload the DTB file ==
- ./fel write 0x43000000 /tmp/Hacking/linux/arch/arm/boot/dts/sun7i-a20-mk808c.dtb
- echo == upload the boot.scr file ==
- ./fel write 0x43100000 boot.scr
- echo == upload initramfs ==
- ./fel write 0x43300000 uInitrd
- echo == execute the main u-boot binary ==
- ./fel exe 0x4a000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement