diff options
| -rw-r--r-- | README.hardware | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/README.hardware b/README.hardware index 025c6783fe..b2ce14661e 100644 --- a/README.hardware +++ b/README.hardware | |||
| @@ -392,3 +392,25 @@ To boot the flashed kernel perform the following steps. | |||
| 392 | (-e means 'elf', -d 'decompress') | 392 | (-e means 'elf', -d 'decompress') |
| 393 | 393 | ||
| 394 | 2) Execute the kernel using the exec command as above. | 394 | 2) Execute the kernel using the exec command as above. |
| 395 | |||
| 396 | --- Automating the boot process --- | ||
| 397 | |||
| 398 | After writing the kernel to flash and testing the load and exec commands | ||
| 399 | manually, you can automate the boot process with a boot script. | ||
| 400 | |||
| 401 | 1) RedBoot> fconfig | ||
| 402 | (Answer the questions not specified here as they pertain to your environment) | ||
| 403 | 2) Run script at boot: true | ||
| 404 | Boot script: | ||
| 405 | .. fis load -d -e kernel | ||
| 406 | .. exec | ||
| 407 | Enter script, terminate with empty line | ||
| 408 | >> fis load -d -e kernel | ||
| 409 | >> exec -c "console=ttyS0,115200 root=/dev/sda1 rw rootdelay=2 board=UBNT-RSPRO" | ||
| 410 | >> | ||
| 411 | 3) Answer the remaining questions and write the changes to flash: | ||
| 412 | Update RedBoot non-volatile configuration - continue (y/n)? y | ||
| 413 | ... Erase from 0xbfff0000-0xc0000000: . | ||
| 414 | ... Program from 0x87ff0000-0x88000000 at 0xbfff0000: . | ||
| 415 | 4) Power cycle the board. | ||
| 416 | |||
