diff options
Diffstat (limited to 'docs/BOOT.tftp')
-rw-r--r-- | docs/BOOT.tftp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/BOOT.tftp b/docs/BOOT.tftp new file mode 100644 index 00000000..3c6b98cf --- /dev/null +++ b/docs/BOOT.tftp | |||
@@ -0,0 +1,35 @@ | |||
1 | |||
2 | Boot Linux via TFTP (using U-Boot) | ||
3 | ================================== | ||
4 | |||
5 | Note: This boot flow requires a TFTP server. | ||
6 | |||
7 | Boot your system into U-Boot, using an alternative boot method (e.g. JTAG, SD). | ||
8 | |||
9 | Place the following images into the root of the TFTP server directory: | ||
10 | * core-image-minimal-<machine name>.ext2.gz.u-boot (RootFS) | ||
11 | * linux.bin.ub or uImage (Linux Kernel) | ||
12 | * <kernel binary>-<machine name>.dtb (DTB) | ||
13 | |||
14 | The serial console of the target board will display the U-Boot console. | ||
15 | Configure the 'ipaddr' and 'serverip' of the U-Boot environment. | ||
16 | U-Boot> set serverip <server ip> | ||
17 | U-Boot> set ipaddr <board ip> | ||
18 | |||
19 | Using the U-Boot console; load the Kernel, RootFS and the DTB into memory. | ||
20 | And then boot Linux using the 'bootm' command. (Note the load addresses will | ||
21 | be dependant on machine used) | ||
22 | |||
23 | For MicroBlaze (kc705-trd-microblazeel): | ||
24 | U-Boot> tftp 0x86000000 linux.bin.ub | ||
25 | U-Boot> tftp 0x85000000 core-image-minimal-<machine name>.ext2.gz.u-boot | ||
26 | U-Boot> tftp 0x84000000 linux.bin.ub-<machine name>.dtb | ||
27 | U-Boot> bootm 0x86000000 0x85000000 0x84000000 | ||
28 | |||
29 | For Zynq: | ||
30 | U-Boot> tftp 0x3000000 uImage | ||
31 | U-Boot> tftp 0x2000000 core-image-minimal-<machine name>.ext2.gz.u-boot | ||
32 | U-Boot> tftp 0x2A00000 uImage-<machine name>.dtb | ||
33 | U-Boot> bootm 0x3000000 0x2000000 0x2A00000 | ||
34 | |||
35 | U-Boot will prepare the Kernel for boot and then it will being to initialize. | ||