Guest User

Untitled

a guest
May 19th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. ====================================================================
  2. Commands to create boot.img and recovery.img (both are same only)
  3. ====================================================================
  4. tools/mkbootimg --kernel RK3188-SOM/arch/arm/boot/Image --ramdisk initramfs/fakeramdisk.gz --base 60400000 --pagesize 16384 --ramdiskaddr 62000000 -o boot.img
  5.  
  6. tools/mkbootimg --kernel RK3188-SOM/arch/arm/boot/Image --ramdisk initramfs/fakeramdisk.gz --base 60400000 --pagesize 16384 --ramdiskaddr 62000000 -o recovery.img
  7.  
  8. =================================================
  9. With boot.img
  10. ==================================================
  11. uboot: 0x000400000 -- 0x000800000 (4 MB)
  12. misc: 0x000800000 -- 0x000c00000 (4 MB)
  13. kernel: 0x000c00000 -- 0x001800000 (12 MB)
  14. boot: 0x001800000 -- 0x002400000 (12 MB)
  15. recovery: 0x002400000 -- 0x004400000 (32 MB)
  16. system: 0x004400000 -- 0x004c00000 (8 MB)
  17. system: 0x004400000 -- 0x004c00000 (8 MB)
  18. user: 0x004400000 -- 0x0e8c00000 (3656 MB)
  19. mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
  20.  
  21.  
  22.  
  23. ===============================================
  24. With recovery.img
  25. ===============================================
  26.  
  27. parameter: 0x000000000 -- 0x000800000 (8 MB)
  28. uboot: 0x000400000 -- 0x000800000 (4 MB)
  29. misc: 0x000800000 -- 0x000c00000 (4 MB)
  30. kernel: 0x000c00000 -- 0x001800000 (12 MB)
  31. boot: 0x001800000 -- 0x002400000 (12 MB)
  32. recovery: 0x002400000 -- 0x004400000 (32 MB)
  33. system: 0x004400000 -- 0x004c00000 (8 MB)
  34. system: 0x004400000 -- 0x004c00000 (8 MB)
  35. user: 0x004400000 -- 0x0e8c00000 (3656 MB)
  36. mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9
  37.  
  38.  
  39. ==================================================
  40. parameter
  41. ==================================================
  42. CMDLINE:earlyprintk=ttyFIQ0,115200n8 console=ttyFIQ0 init=/sbin/init initrd=0x62000000,0x00800000 root=/dev/mmcblk0p7 rw rootwait rootfstype=ext4
  43. mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(misc),0x00006000@0x00006000(kernel),0x00006000@0x0000c000(boot),0x00010000@0x00012000(recovery),0x0001E000@0x00022000(system),0x00300000@0x00040000(user),-@0x00340000(backup)
Add Comment
Please, Sign In to add comment