Guest User

Untitled

a guest
May 19th, 2017
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 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. parameter
  10. ==================================================
  11. CMDLINE:earlyprintk=ttyFIQ0,115200n8 console=ttyFIQ0 init=/sbin/init initrd=0x62000000,0x00800000 root=/dev/mmcblk0p6 rw rootwait rootfstype=ext4
  12. 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)
  13.  
  14.  
  15. =================================================
  16. With boot.img
  17. ==================================================
  18. uboot: 0x000400000 -- 0x000800000 (4 MB)
  19. misc: 0x000800000 -- 0x000c00000 (4 MB)
  20. kernel: 0x000c00000 -- 0x001800000 (12 MB)
  21. boot: 0x001800000 -- 0x002400000 (12 MB)
  22. recovery: 0x002400000 -- 0x004400000 (32 MB)
  23. system: 0x004400000 -- 0x004c00000 (8 MB)
  24. user: 0x004400000 -- 0x0e8c00000 (3656 MB)
  25. mmcblk0: p1 p2 p3 p4 p5 p6 p7
  26.  
  27.  
  28.  
  29. ===============================================
  30. With recovery.img
  31. ===============================================
  32.  
  33. parameter: 0x000000000 -- 0x000800000 (8 MB)
  34. uboot: 0x000400000 -- 0x000800000 (4 MB)
  35. misc: 0x000800000 -- 0x000c00000 (4 MB)
  36. kernel: 0x000c00000 -- 0x001800000 (12 MB)
  37. boot: 0x001800000 -- 0x002400000 (12 MB)
  38. recovery: 0x002400000 -- 0x004400000 (32 MB)
  39. system: 0x004400000 -- 0x004c00000 (8 MB)
  40. user: 0x004400000 -- 0x0e8c00000 (3656 MB)
  41. mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
Add Comment
Please, Sign In to add comment