Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DEV=/dev/sdc
- # flash IDB sector 0
- dd if=idb_sector_0.enc of=${DEV} conv=sync,fsync seek=64
- # flash IDB sector 1 (this is "boot" SD card, not "update" SD card)
- dd if=idb_sector_1 of=${DEV} conv=sync,fsync seek=65
- # flash DDR blob
- dd if=FlashData.bin of=${DEV} conv=sync,fsync seek=68
- # flash U-Boot
- dd if=FlashBoot.bin of=${DEV} conv=sync,fsync seek=100
- # flash parameter (physical 0x2000 == logical 0x0)
- dd if=parameter.img of=${DEV} conv=sync,fsync seek=$((0x2000+0x0))
- #rkflashtool P < orig/parameter
- # flash partition image
- # dd if=partition.img of=${DEV} conv=sync,fsync seek=$((0x2000+offset))
- # rkflashtool w partition < partition.img
- #CMDLINE:console=ttyFIQ0 androidboot.hardware=rk30board androidboot.console=ttyFIQ0 board.ap_has_alsa=0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(misc),0x00008000@0x00006000(resource),0x00008000@0x0000e000(kernel),0x00010000@0x00016000(boot)
- dd if=boot.img of=${DEV} conv=sync,fsync seek=$((0x2000+0x00016000))
- dd if=kernel.img.img of=${DEV} conv=sync,fsync seek=$((0x2000+0x0000e000))
- dd if=resource.img of=${DEV} conv=sync,fsync seek=$((0x2000+0x00006000))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement