MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "Roadmap",
        "continue": "gapcontinue||"
    },
    "query": {
        "pages": {
            "203": {
                "pageid": 203,
                "ns": 0,
                "title": "Recovery",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "\nWe use buildroot to create recovery ramdisk. recovery image pack kernel, dtb, ramdisk into a Android boot image format.\n\nPlease make sure you have built&nbsp;kernel first. Please refer to [[Rockchip_Kernel|build kernel]] page for how to build kernel.\n\nIn your linux SDK root directory. Use beclow command to build recovery image\n<pre>./mk-recovery\n</pre>\n\nIt will generate the recovery image&nbsp;in buildroot/out/{config name}/images directory. For example, when you using&nbsp;rockchip_rk3399_recovery. image will be in&nbsp;buildroot/output/rockchip_rk3399_recovery/images/\n<pre>buildroot/output/rockchip_rk3399_recovery/images/\n\u251c\u2500\u2500 recovery.img\n\u251c\u2500\u2500 rootfs.cpio\n\u2514\u2500\u2500 rootfs.cpio.gz\n</pre>\n\nPlease refer to&nbsp;[https://buildroot.org/downloads/manual/manual.html Buildroot user manual]&nbsp;for more detail about Buildroot"
                    }
                ]
            },
            "106": {
                "pageid": 106,
                "ns": 0,
                "title": "Rkdeveloptool",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "\nrkdeveloptool is a tool from Rockchip to communicate with Rockusb devices, consider to be a opensource version of ''upgrade_tool'' with very little&nbsp;difference.\n\n&nbsp;\n\n= Download rkdeveloptool =\n\nGet the source code for rkdeveloptool\n<pre>git clone https://github.com/rockchip-linux/rkdeveloptool.git\n</pre>\n\n\n\n= Build rkdeveloptool =\n\nFirst, install the libusb and udev. In Ubuntu,&nbsp;\n<pre>sudo apt-get install libudev-dev libusb-1.0-0-dev dh-autoreconf</pre>\n\nThen&nbsp;\n<pre>autoreconf -i\n./configure\nmake\nmake install\n</pre>\n\n&nbsp;\n\nIf you encounter compile error like below\n<pre>./configure: line 4269: syntax error near unexpected token `LIBUSB1,libusb-1.0'\n./configure: line 4269: `PKG_CHECK_MODULES(LIBUSB1,libusb-1.0)'\n</pre>\n\nYou should install pkg-config libusb-1.0\n<pre>sudo&nbsp;apt-get&nbsp;install&nbsp;pkg-config&nbsp;libusb-1.0&nbsp;\n</pre>\n\n= Usage =\n\n== Support commands ==\n\n----\n\nTool Usage ---------------------\n\nHelp: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -H<br/> Version: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-V<br/> DownloadBoot:&nbsp;&nbsp; &nbsp;DB <Loader><br/> UpgradeLoader:&nbsp;&nbsp; &nbsp;UL <Loader><br/> ReadLBA:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;RL &nbsp;<BeginSec> <SectorLen> <File><br/> WriteLBA:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;WL &nbsp;<BeginSec> <File><br/> WriteGPT: &nbsp; &nbsp; &nbsp; GPT <parameter><br/> EraseFlash:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;EF&nbsp;<br/> TestDevice:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;TD<br/> ResetDevice:&nbsp;&nbsp; &nbsp;RD [subcode]<br/> ReadFlashID:&nbsp;&nbsp; &nbsp;RID<br/> ReadFlashInfo:&nbsp;&nbsp; &nbsp;RFI<br/> ReadChipInfo:&nbsp;&nbsp; &nbsp;RCI<br/> -------------------------------------------------------<br/> &nbsp;\n\n&nbsp;\n\n&nbsp;\n\n== Flash image to target emmc ==\n\nIn order to flash image to target emmc,&nbsp;\n\n#Make target&nbsp;&nbsp;get into [[Rockusb|rockusb mode]]; \n#Connect target to Host PC via USB; \n#Write the image to the eMMC with tool command; \n<ul style=\"margin-left: 40px;\">\n<li>use&nbsp;download boot command to make target init DRAM and run usbplug;</li>\n</ul>\n<pre style=\"margin-left: 80px;\">rkdeveloptool db rkxx_loader_vx.xx.bin</pre>\n<ul style=\"margin-left: 40px;\">\n<li>use ''wl'' command to write image to target, this step can be repeat for many times;</li>\n</ul>\n<pre style=\"margin-left: 80px;\">rkdeveloptool wl 0x40 idbLoader.img\nrkdeveloptool wl 0x4000 uboot.img\nrkdeveloptool wl 0x8000 boot.img\nrkdeveloptool wl 0x40000 rootfs.img</pre>\n<ul style=\"margin-left: 40px;\">\n<li>usb ''ul'' command to write idbloader into idb from rockchip loader</li>\n</ul>\n<pre style=\"margin-left: 80px;\">rkdeveloptool ul rkxx_loader_vx.xx.bin</pre>\n\n'''NOTE''':&nbsp;The ''ul'' command is the same operation with below command when using Rockchip miniloader, but using different source.\n<pre style=\"margin-left: 80px;\">rkdeveloptool wl 0x40 idbLoader.img</pre>\n\n'''NOTE2''': The ''ul&nbsp;''command in rkdeveloptool(ul= wl idbloader) is different with the command in '''upgrade_tool'''(ul = db + wl idbloader + rd).\n<ul style=\"margin-left: 40px;\">\n<li>use ''gpt'' command to write gpt table with parameter_gpt.txt</li>\n</ul>\n<pre style=\"margin-left: 80px;\">rkdeveloptool gpt parameter_gpt.txt</pre>\n<ul style=\"margin-left: 40px;\">\n<li>use ''rd'' comamnd to reset the target after image write complete</li>\n</ul>\n<pre style=\"margin-left: 80px;\">rkdeveloptool rd</pre>\n\n&nbsp;\n\n= See also =\n\n[[Partitions|Rockchip Linux partitions definition]]\n\n[[Boot_option|Boot_option]]\n\n[[Rockusb|Rockusb]]"
                    }
                ]
            }
        }
    }
}