Advertisement
noggin

STV 502 / S36 uBoot more stuff

Jan 5th, 2013
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.29 KB | None | 0 0
  1. 8726M_ref # nand
  2. nand - NAND sub-system
  3.  
  4. Usage:
  5. nand info - show available NAND devices
  6. nand device [dev] - show or set current device
  7. nand read - addr off|partition size
  8. nand write - addr off|partition size
  9. read/write 'size' bytes starting at offset 'off'
  10. to/from memory address 'addr', skipping bad blocks.
  11. nand erase [clean|whole] [off size] - erase 'size' bytes from
  12. offset 'off' (entire device if not specified)
  13. nand bad - show bad blocks
  14. nand scrub_all- really clean NAND erasing bad blocks (UNSAFE)
  15. nand dump[.oob] off - dump page
  16. nand scrub_detect - detect bad blk again
  17. clean NAND erasing bad blocks except factory bad blocks
  18. -just do it (SAFE)!!
  19. nand scrub - clean NAND erasing bad blocks except factory bad blocks
  20. -just do it (SAFE)!!
  21. nand markbad off [...] - mark bad block(s) at offset (UNSAFE)
  22. nand biterr off - make a bit error at offset (UNSAFE)
  23. nand rom_protect on/off
  24. nand wr_rd_cmp src dst off|partition size
  25. nand rom_write addr off|partition size
  26. nand factory_info addr block_offset block_count part|all
  27.  
  28. 8726M_ref # usb
  29. usb - USB sub-system
  30.  
  31. Usage:
  32. usb reset - reset (rescan) USB controller
  33. usb stop [f] - stop USB [f]=force stop
  34. usb tree - show USB device tree
  35. usb info [dev] - show available USB devices
  36. usb storage - show details of USB storage devices
  37. usb dev [dev] - show or set current USB storage device
  38. usb part [dev] - print partition table of one or all USB storage devices
  39. usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'
  40. to memory address `addr'usb write addr blk# cnt - write `cnt' blocks starting at block `blk#'
  41. from memory address `addr'
  42. 8726M_ref # tv
  43. tv - tv sub-system
  44.  
  45. Usage:
  46. tv open mode(1080P/1080I/720P/576P/480P/576I/480I)
  47. - open the tv out
  48. tv close - close the tv out
  49. tv minfo(1080P/1080I/720P/576P/480P/576I/480I)
  50. - get mode info
  51. tv mode - get current mode
  52. tv tst mode(0-fix,1-colorbar,2-thinline,3-dotgrid)
  53. - test tv output
  54. tv pll - view important pll
  55. tv reg r/w c/h addr [val] - READ/WRITE CBUS/HDMI regs
  56.  
  57. 8726M_ref # sf
  58. sf - SPI flash sub-system
  59.  
  60. Usage:
  61. sf probe [bus:]cs [hz] [mode] - init flash device on given SPI bus
  62. and chip select
  63. sf read addr offset len - read `len' bytes starting at
  64. `offset' to memory at `addr'
  65. sf write addr offset len - write `len' bytes from memory
  66. at `addr' to flash at `offset'
  67. sf erase offset len - erase `len' bytes from `offset'
  68. 8726M_ref # efuse
  69. efuse - efuse version/licence/mac/hdcp/usid read/write or dump raw efuse data commands
  70.  
  71. Usage:
  72. efuse [read/write] [version/licence/mac/hdc/usid] [mem_addr]
  73. [read/wirte] para read ; write ;
  74. read need not mem_addr;write need
  75. read to get efuse context
  76. write to write efuse
  77. [mem_addr] usr do
  78. efuse [dump]
  79. dump raw efuse data
  80.  
  81. 8726M_ref # mmcinfo
  82. Device: SDIO Port B
  83. Manufacturer ID: 0
  84. OEM: 0
  85. Name: oTran Speed: 40000000
  86. Rd Block Len: 512
  87. SD version 2.0
  88. High Capacity: Yes
  89. Capacity: 8056209408
  90. Bus Width: 4-bit
  91.  
  92. Partition Map for UNKNOWN device 0 -- Partition Type: DOS
  93.  
  94. Partition Start Sector Num Sectors Type
  95. 1 1 409639 ee
  96. 2 411648 15321088 b
  97. 8726M_ref # nand device
  98.  
  99. Device 0: nandmulti, B revision 26nm NAND 4GiB H27UBG8T2B sector size 2048 KiB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement