| | 29 | * Set dip switches to serial load. Switch block marked S2. Switches 1 and 2, off; 3 and 4 on. |
| | 30 | * Reset the board (with the reset switch or cycle power) |
| | 31 | * WARNING: This step erases the existing software on the SFF SDR! Run: |
| | 32 | {{{ |
| | 33 | $ sudo DVFlasher_1_12.exe -enand |
| | 34 | }}} |
| | 35 | * When the erase finishes, press return to exit. |
| | 36 | |
| | 37 | ==== Install U-boot ==== |
| | 38 | |
| | 39 | * Leave the dip switches in the serial load position. |
| | 40 | * Reset the board. |
| | 41 | * Run: |
| | 42 | {{{ |
| | 43 | $ sudo DVFlasher_1_12.exe -fnandbin u-boot.bin |
| | 44 | }}} |
| | 45 | * Press return to exit when the load finishes. |
| | 46 | |
| | 47 | ==== Loading the kernel into flash ==== |
| | 48 | |
| | 49 | * Move the dip switches to boot from NAND. All switches off. |
| | 50 | * Start your serial interface program. |
| | 51 | * Reset the board. You should get to the u-boot prompt. |
| | 52 | * Now erase flash, load the kernel, write to flash (After the mass erase, you can skip the erase step. I include it here for use when reflashing the kernel without erasing the entire flash.) |
| | 53 | {{{ |
| | 54 | > nand erase 0xA0000 0x160000 |
| | 55 | > loadb |
| | 56 | With your terminal program send the uImage.bin file to the board. |
| | 57 | > nand write 0x80700000 0xA0000 0x160000 |
| | 58 | }}} |
| | 59 | * Now set up the u-boot environment (You should only need to do this once) |
| | 60 | {{{ |
| | 61 | > setenv bootcmd 'nboot 80700000 0 20a0000; bootm' |
| | 62 | > setenv bootargs console=ttyS0,115200n8 root=/dev/nfs rw noinitrd ip=dhcp nfsroot=192.168.1.101:/nfsroot/sffsdr |
| | 63 | > saveenv |
| | 64 | }}} |
| | 65 | * Now use the {{{> boot}}} command to boot the kernel. It should run until it fails to mount root. (Since the NFS server is not setup) |
| | 66 | |
| | 67 | ==== Setup the NFS server with the root file system ==== |
| | 68 | |