Jonas Schwöbel | c2e77e6 | 2022-01-24 18:06:33 +0100 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | U-Boot for the Microsoft Surface RT tablet |
| 4 | ========================================== |
| 5 | |
| 6 | Quick Start |
| 7 | ----------- |
| 8 | |
| 9 | - Build U-Boot |
| 10 | - Boot |
| 11 | |
| 12 | Build U-Boot |
| 13 | ------------ |
| 14 | |
| 15 | .. code-block:: bash |
| 16 | |
| 17 | $ export CROSS_COMPILE=arm-linux-gnueabi- |
| 18 | $ make surface-rt_defconfig |
| 19 | $ make |
| 20 | |
| 21 | After the build succeeds, you will obtain the final ``u-boot-dtb-tegra.bin`` |
| 22 | image, ready for loading. |
| 23 | |
| 24 | Boot |
| 25 | ---- |
| 26 | |
| 27 | Currently, U-Boot can be preloaded into RAM via the Fusée Gelée. To enter |
| 28 | RCM protocol use ``power`` and ``volume up`` key combination from powered |
| 29 | off device. The host PC should recognize an APX device. |
| 30 | |
| 31 | Built U-Boot ``u-boot-dtb-tegra.bin`` can be loaded from fusee-tools |
| 32 | directory with |
| 33 | |
| 34 | .. code-block:: bash |
| 35 | |
| 36 | $ ./run_bootloader.sh -s T30 -t ./bct/surface-rt.bct |
| 37 | |
| 38 | To boot Linux, U-Boot will look for an ``extlinux.conf`` on MicroSD and then on |
| 39 | eMMC. Additionally, if the Volume Down button is pressed while loading, the |
| 40 | device will enter bootmenu. Bootmenu contains entries to mount MicroSD and eMMC |
| 41 | as mass storage, fastboot, reboot, reboot RCM, poweroffand enter U-Boot console. |