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": "Recovery_U-Boot_Image_(Naon)",
        "continue": "gapcontinue||"
    },
    "query": {
        "pages": {
            "838": {
                "pageid": 838,
                "ns": 0,
                "title": "Real-time clock options (SBC Lynx)",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "{{InfoBoxTop}}\n{{AppliesToSBCLynx}}\n{{InfoBoxBottom}}\n\n==Real-time clock options==\nThis article describes the options available for the real-time clock (RTC) implementation on SBC Lynx.\n\n===i.MX6UL's native RTC (default option)===\nThe default option is based on i.MX6UL's native RTC. The simplified block diagram of this solution is depicted in the following image.\n\n\n[[File:SBCLynx-RTC-default.png|thumb|center|400px|Default RTC implementation]]\n\n\nWhen the system is powered on, the battery is being recharged.\n\nWhen the system is powered off, on-board battery powers SNVS domain of i.MX6UL processor that includes native RTC. Under these conditions, the typical current drawn from the battery is 100 uA. In case a 17 mAh battery is used (i.e. Panasonic ML-1220/V1AN), battery life is about 170hours.\n\n\nThis solution is quite simple and cheap. However, the timekeeping operation time is relatively short. In case a longer timekeeping operation time is required, it is possible to not populate the on-board battery and to connect a bigger one to the connector J56. For more information, please contact [mailto:sales@dave.eu Sales department].\n\n===ST M41T83 (alternative option)===\nThis option is based on [http://www.st.com/en/clocks-and-timers/m41t83.html ST M41T83] RTC. The simplified block diagram of this solution is shown by the following image.\n\n\n[[File:SBCLynx-RTC-alternative.png|thumb|center|400px|Alternative RTC implementation]]\n\n\nTypical current drawn from the battery is 370 nA, when the system is powered off [1]. Thus expected battery life is about 5 years, in case a battery with nominal capacity of 17 mAh is used.\n\nThis solution is more expensive but guarantees a longer timekeeping operation time, because M41T83 power consumption is very low. In any case, it is possible to not populate the on-board battery and to connect a larger one to the connector J56 to achieve an even longer operation time. For more information, please contact [mailto:sales@dave.eu Sales department].\n\n\n[1] This consumption largely varies depending of RTC configuration. This figure refers to the configuration detailed in the following registers dump:\n<pre>\ntenths: 0x47\nseconds: 0x22\nminutes: 0x45\nhours: 0x11\nday: 0x02\ndate: 0x17\nmonth: 0x01\nyear: 0x17\ncalib: 0x80\nWD: 0x00\nalm1: 0x40\nalm1: 0x00\nalm1: 0x00\nalm1: 0x00\nalm1: 0x00\nflags: 0x04\ntimer: 0x00\ntimerctl: 0x03\nancal: 0x00\nsquare: 0x10\nalm2: 0x00\nalm2: 0x00\nalm2: 0x00\nalm2: 0x00\nalm2: 0x00\nRAM: 0x00\nRAM: 0x00\nRAM: 0x00\nRAM: 0x00\nRAM: 0x08\nRAM: 0x00\nRAM: 0x00\nRAM: 0x89\n</pre>"
                    }
                ]
            },
            "1108": {
                "pageid": 1108,
                "ns": 0,
                "title": "Recovery U-Boot Image (Lizard)",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "{{InfoBoxTop}}\n{{AppliesToLizard}}\n{{AppliesToLizardEVB-Lite}}\n{{InfoBoxBottom}}\n\n== Introduction ==\nThis article describe how to recover a corrupted U-Boot image on Lizard NOR Flash using a Windows host machine.\n\nIn brief user needs to:\n* configure Lizard SOM to boot over serial port instead of on board NOR flash\n* download and prepare serial communication tools\n* use those tools to download first stage bootloader and U-Boot over UART\n* use this U-Boot to update NOR flash\nThis assume that you're using a standard  [[Lizard Embedded Linux Kit (LELK)|LELK]] hardware and software.\n\n== Tool Preparation ==\n* Download the [[mirror:lizard/recovery/lizard-recovery.zip|lizard-recovery.zip archive]] and extract it on your Windows PC \n* If needed, replace the u-boot.bin file with your custom binary or download the latest LELK binary from [[mirror:lizard|DAVE Embedded Systems mirror]] \n* Open the command prompt and go inside the folder where you extracted the recovery file\n* Launch the utility with the serial port number as the argument\n<pre>\nC:\\Users\\Desktop\\lizard-Recovery\\lizard> .\\uart-recovery.bat COM1\n</pre>The tools is now waiting for the board to wakeup\n\n== Board Preparation ==\n* Power off the board and set the dip switch <code>S2.2 ON</code> to select serial boot\n* Connect '''UART2''' to your host PC\n* Turn on the board\n\n== Flashing the firmware ==\nOnce the board boot up, after a couple of seconds of delay, the recovery procedure will start.\n\nThe script is totally automated and, in case of success, this is the output:\n\n\n<pre>\nC:\\devel\\lizard\\recovery2\\windows>uart-recovery.bat COM15\ntransfer the x-loader\nWaiting For Device ASIC ID: Press Ctrl+C to stop\nASIC ID Detected.\nSending 2ndFile:\nDownloading file: 100.000% completed(15232/15232 bytes)\nFile download completed.\ntransfer u-boot\nDownloading file: 100.000% completed(221852/221852 bytes)\nFile Download completed\ntrasfer u-boot to be stored on flash\n\nWaiting for 0 seconds, press a key to continue ...\n\nC:\\devel\\lizard\\recovery2\\windows>ucmd -p COM15 -c \"STOP\" -e \"=>\"\nOutput:\nNet:   davinci_emac_initialize\nEthernet PHY: GENERIC @ 0x11\nDaVinci EMAC\n=>\nMatch Found. Operation completed!\n\nC:\\devel\\lizard\\recovery2\\windows>ucmd -p COM15 -c \"mw.w ${buf} 0xFF 0x40000; loadb ${buf} 115200\" -e \"Ready for binary\"\nOutput:\nmw.w ${buf} 0xFF 0x40000; loadb ${buf} 115200\n## Ready for binary\nMatch Found. Operation completed!\nDownloading file: 100.000% completed(221852/221852 bytes)\nFile Download completed\nflashing u-boot\n\nWaiting for 0 seconds, press a key to continue ...\n\nC:\\devel\\lizard\\recovery2\\windows>ucmd -p COM15 -c \"protect off 0x08000000 +40000;era 0x08000000 +40000;cp.b ${buf} 0x08000000 0x40000\" -e \"Copy to Flash... done\"\nOutput:\nprotect off 0x08000000 +40000;era 0x08000000 +40000;cp.b ${buf} 0x08000000 0x40000\nUn-Protected 2 sectors\n\n.. done\nErased 2 sectors\nCopy to Flash... done\nMatch Found. Operation completed!\nrecovery completed\n</pre>\n\nUser can now:\n* turn off the board\n* restore original dip switch configuration <code>S2.2 OFF</code>\n* power on the board again to see the restored U-Boot startup"
                    }
                ]
            }
        }
    }
}