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.

{
    "warnings": {
        "query": {
            "*": "Formatting of continuation data will be changing soon. To continue using the current formatting, use the 'rawcontinue' parameter. To begin using the new format, pass an empty string for 'continue' in the initial query."
        }
    },
    "query-continue": {
        "allpages": {
            "gapcontinue": "Step-by-step_Buildroot/Busybox_Root_File_System"
        }
    },
    "query": {
        "pages": {
            "55": {
                "pageid": 55,
                "ns": 0,
                "title": "Recipes",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "\nThis page stores quick tips, less involved than a tutorial.\n\n=== Remove Root File System from Image ===\nSay you don't like waiting so long to write a whole SD-Card image because you will be using an external drive for the RFS\n\n(Copied from the Forum)\n\n<pre>\ndd if=your-image.img of=/dev/sdX bs=1M count=512\n\nsync\n\npartprobe\n\nfdisk /dev/sdX\n\nd\n2\nw\n\nsync\n\npartprobe\n\n</pre>"
                    }
                ]
            },
            "30": {
                "pageid": 30,
                "ns": 0,
                "title": "Speed Builds Using Compiler Cache",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "A package named ccache can speed up builds.  It is easy to use. Get more information here: [http://ccache.samba.org/manual.html http://ccache.samba.org/manual.html]\n\n<pre>\n# install the c compiler cache\n# as root\napt-get install ccache\n# add symlinks so ccache can invoke the compiler\n# /usr/local/bin is usually in the path before /usr/bin, so that is where we put the symlinks \ncd /usr/local/bin\n# The CROSS_COMPILE environment variable should be empty for odroid native builds, it could be something like\n# arm-none-linux-gnueabi- for cross-building on a host.\nln -s $(which ccache)  $(echo $CROSS_COMPILE)gcc\nln -s $(which ccache)  $(echo $CROSS_COMPILE)g++\nln -s $(which ccache)  $(echo $CROSS_COMPILE)cpp\nln -s $(which ccache)  $(echo $CROSS_COMPILE)c++\n\n</pre>\n\nSetup environment variables.  You may want to add these to your .bashrc file so they are applied for each new shell\n<pre>\nexport CCACHE_DIR=/home/$USER/.ccache\nexport CCACHE_HASHDIR=$CCACHE_DIR\n\n</pre>\n\n\nTo test it, build the kernel.  You need to be set up with kernel source and prerequisites first: (link to tutorial)\n\n<pre>\ncd /usr/src/linux\n# clear the ccache\nccache -c\n# start clean\nmake clean\n#\ntime make -j8\n</pre>\n\nAfter about 45 minutes, the native build is complete, using SD Card.  An eMMC build completed after about 17 minutes.\n\n<pre>\n# clean the object files\nmake clean\n# time the build again\ntime make -j8\n</pre>\n\nNow the clean re-build takes 2 minutes 15 seconds on (eMMC)\n\nCheck the ccache statistics:\n<pre>\nroot@odroidu2-1:/usr/src/linux# ccache -s    \ncache directory                     /root/.ccache\ncache hit (direct)                  2554\ncache hit (preprocessed)               3\ncache miss                             0\ncalled for link                       11\ncalled for preprocessing               2\nunsupported source language           62\nno input file                         68\nfiles in cache                      7709\ncache size                         316.4 Mbytes\nmax cache size                       1.0 Gbytes\nroot@odroidu2-1:/usr/src/linux# \n</pre>\n\n\n\n=== Kernel Build Time Comparisons ===\nusing odroidu2_ubuntu-defconfig and linux-3.0.57 (ed's kernel)\n\n<pre>\nProcessor\t    : Odroid-U2\nMemory\t\t    : 2GiB\nOperating System    : Debian Wheezy\n\nSD-Card Clean cache, clean build 45m15s\nSD-Card cached, clean build [re-test this]\n\nNFS-mounted root file system, Clean cache, clean build: 25m48s\nNFS-mounted root file system, Cached, clean build: 5m17s\n\neMMC Clean cache, clean build 17m14s\neMMC cached, clean build 2m10s\n</pre>\n\nThis data is for cross-building on x86_64 Linux host CodeSourcery (2011.09-64) toolchain.\n<pre>\nProcessor\t: 4x Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz\nMemory\t\t: 8177MB (2393MB used)\nOperating System\t\t: Linux Mint 13 Maya\nUsing solid-state drive for source code and ccache directory (CCACHE_DIR)\n\nSSD Clean cache, clean build 5m25s\nSSD cached, clean build 0m33s\n</pre>\n\nThis data is for cross-building on x86_64 Linux host Linaro toolchain: \narm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.7-2012.10-20121022 - Linaro GCC 2012.10) 4.7.3 20121001 (prerelease)\n<pre>\nProcessor\t: 4x Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz\nMemory\t\t: 8177MB (2393MB used)\nOperating System\t\t: Linux Mint 13 Maya\nUsing solid-state drive for source code and ccache directory (CCACHE_DIR)\n\nSSD Clean cache, clean build 8m49s\nSSD cached, clean build 0m39s\n</pre>\n\nThis data is for building a snapshot kernel, 3.0.61 with Linaro 2013.01 toochain\n<pre>\nProcessor       : Intel Core\u2122 i7 CPU Q 740 @ 1.73GHz \nMemory          : 8GB RAM and SSD.\n\nClean Build: 13m \n\n\n</pre>"
                    }
                ]
            }
        }
    }
}