# HG changeset patch # User Paul Boddie # Date 1434751836 -7200 # Node ID 3cfceb3d8a19742559024cbfb0c8209612d0cc6c # Parent 7eff01784edc1127c7a5c760e1d6270b0403baf1 Updated the documentation, noting the switch to xbboot and MMC boot support. diff -r 7eff01784edc -r 3cfceb3d8a19 README.txt --- a/README.txt Mon Jun 15 11:54:15 2015 +0200 +++ b/README.txt Sat Jun 20 00:10:36 2015 +0200 @@ -8,19 +8,45 @@ routines for "bare metal" software usage in order to illustrate the initialisation requirements and to make it possible to deploy other software. +An attempt has been made to also generate payloads for the jz4730-based +MiniPC/Mipsbook/Minibook device. This device does not appear to support USB +boot mode, and thus any payloads will need to be deployed by other means, such +as through the use of SD/MMC media. + +Deployment over USB +------------------- + The payloads can be deployed on the Ben NanoNote using the USB boot mode as described on the Qi-Hardware site: http://en.qi-hardware.com/wiki/USB_BOOT_mode -A suitable command can be issued on a USB host machine as follows (given +The provided script can be issued on a USB host machine as follows (given sufficient privileges): -usbboot -c 'boot' -1 stage1/stage1.bin -2 stage2/stage2.bin +./boot_usb + +This employs the xbboot program which is available in the xburst-tools +package: + +http://en.qi-hardware.com/wiki/Xburst-tools + +The different MiniPC products do not appear to support USB boot. + +Deployment using microSD/SD/MMC Media +------------------------------------- -An attempt has been made to also generate payloads for the jz4730-based -MiniPC/Mipsbook/Minibook device. This device does not appear to support USB -boot mode, and thus any payloads will need to be deployed by other means. +The stage 2 payload can be written to a suitable media card as a uImage file +which can then be loaded and invoked by a U-Boot bootloader already installed +on the Ben NanoNote or MiniPC product. + +Typically, U-Boot on the Ben NanoNote will look for such a file located at +/boot/uImage within the first partition of a microSD card. On the MiniPC, +U-Boot will look for a file located at /uImage (in other words, a file called +uImage in the top-level directory) within the first partition of an SD card. + +Since U-Boot should have initialised the RAM and clocks, the stage 1 payload +is superfluous, and only the stage 2 payload is needed in this situation. Related U-Boot Resources ------------------------