| | 34 | |
| | 35 | === Network boot with U-boot === |
| | 36 | |
| | 37 | Build HelenOS for Raspberry Pi and copy the resulting `uImage.bin` to your tftpboot directory. Assuming the `kernel.img` on the SD card is a U-boot binary built for the rpi_config, power on your Raspberry Pi and enter the U-boot boot prompt. Then enter the following command: |
| | 38 | |
| | 39 | {{{ |
| | 40 | U-Boot> dhcp 192.168.0.103:uImage.bin |
| | 41 | }}} |
| | 42 | |
| | 43 | You should see the image being downloaded: |
| | 44 | |
| | 45 | {{{ |
| | 46 | Waiting for Ethernet connection... done. |
| | 47 | BOOTP broadcast 1 |
| | 48 | BOOTP broadcast 2 |
| | 49 | BOOTP broadcast 3 |
| | 50 | DHCP client bound to address 192.168.0.101 (1009 ms) |
| | 51 | Using smsc95xx_eth device |
| | 52 | TFTP from server 192.168.0.103; our IP address is 192.168.0.101 |
| | 53 | Filename 'uImage.bin'. |
| | 54 | Load address: 0x200000 |
| | 55 | Loading: ################################################## 1.4 MiB |
| | 56 | 1.4 MiB/s |
| | 57 | done |
| | 58 | Bytes transferred = 1428856 (15cd78 hex) |
| | 59 | }}} |
| | 60 | |
| | 61 | Finally, use the `bootm` command to boot the downloaded image: |
| | 62 | |
| | 63 | {{{ |
| | 64 | U-Boot> bootm |
| | 65 | ## Booting kernel from Legacy Image at 00200000 ... |
| | 66 | Image Name: HelenOS-0.9.1 |
| | 67 | Image Type: ARM Linux Kernel Image (uncompressed) |
| | 68 | Data Size: 1428792 Bytes = 1.4 MiB |
| | 69 | Load Address: 00008000 |
| | 70 | Entry Point: 00008000 |
| | 71 | Verifying Checksum ... OK |
| | 72 | Loading Kernel Image ... OK |
| | 73 | |
| | 74 | Starting kernel ... |
| | 75 | }}} |