Changes between Version 2 and Version 3 of SffsdrLinux

Show
Ignore:
Timestamp:
10/25/07 13:00:54 (6 years ago)
Author:
balister
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SffsdrLinux

    v2 v3  
    1212 * Boot SFF SDR and run Linux + OSSIE 
    1313 
     14This document assumes you are skilled with Linux and you can work out the bits I forgot to explain. Especially finding dependencies I forget to mention, like mono, and you can set up a NFS server. You should be able to operate a serial port. You will also need to do kermit downloads, at least until we get u-boot working with the ethernet. 
     15 
     16Before starting, attach a serial port and your favorite terminal software (that can do kermit, I use kermit) and set the speed to 115200n81. 
     17 
    1418==== Download required software ==== 
    1519 
     
    2327==== Erase Flash ==== 
    2428 
     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 
     56With 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