Commit a941465a6e22640c3dc7c6d3707d0290c0def82f
Committed by
Gordon Hollingworth
1 parent
06f4a981
Fix markup
Showing
1 changed file
with
7 additions
and
8 deletions
Readme.md
| @@ -22,7 +22,7 @@ filesystem as created using the Raspberry Pi buildroot target raspberrypi_usb_te | @@ -22,7 +22,7 @@ filesystem as created using the Raspberry Pi buildroot target raspberrypi_usb_te | ||
| 22 | 22 | ||
| 23 | ## Building | 23 | ## Building |
| 24 | 24 | ||
| 25 | -Check out this on your Pi or an Ubuntu linux machine | 25 | +Clone this on your Pi or an Ubuntu linux machine |
| 26 | 26 | ||
| 27 | ``` | 27 | ``` |
| 28 | $ git clone --depth=1 https://github.com/raspberrypi/tools | 28 | $ git clone --depth=1 https://github.com/raspberrypi/tools |
| @@ -31,17 +31,15 @@ $ sudo apt-get install libusb-1.0-0-dev | @@ -31,17 +31,15 @@ $ sudo apt-get install libusb-1.0-0-dev | ||
| 31 | $ make | 31 | $ make |
| 32 | $ sudo make install | 32 | $ sudo make install |
| 33 | $ sudo rpiboot | 33 | $ sudo rpiboot |
| 34 | +``` | ||
| 34 | 35 | ||
| 35 | - | ||
| 36 | -## Buildroot building | ||
| 37 | - | ||
| 38 | -# Checkout the upstream buildroot from git | 36 | +Checkout the upstream buildroot from git |
| 39 | 37 | ||
| 40 | ``` | 38 | ``` |
| 41 | git clone git://git.buildroot.net/buildroot | 39 | git clone git://git.buildroot.net/buildroot |
| 42 | ``` | 40 | ``` |
| 43 | 41 | ||
| 44 | -# Patch with Pi patches (requires raspberrypi/tools from above | 42 | +Patch with Pi patches (requires raspberrypi/tools from above) |
| 45 | 43 | ||
| 46 | ``` | 44 | ``` |
| 47 | cd buildroot | 45 | cd buildroot |
| @@ -52,7 +50,8 @@ make | @@ -52,7 +50,8 @@ make | ||
| 52 | 50 | ||
| 53 | Note: you'll need superuser password to finish the build and create the image | 51 | Note: you'll need superuser password to finish the build and create the image |
| 54 | 52 | ||
| 55 | -## Running | 53 | +Running |
| 56 | 54 | ||
| 55 | +``` | ||
| 57 | sudo rpiboot tools/usbboot/usbbootcode.bin tools/usbboot/start_imgfs.elf buildroot/output/images/fatimage | 56 | sudo rpiboot tools/usbboot/usbbootcode.bin tools/usbboot/start_imgfs.elf buildroot/output/images/fatimage |
| 58 | - | 57 | +``` |