Changes between Version 58 and Version 59 of CSPFL_Software

Show
Ignore:
Author:
hardert (IP: 67.169.210.177)
Timestamp:
11/06/09 13:54:21 (2 weeks ago)
Comment:

Move the manual install information to the Radix page

Legend:

Unmodified
Added
Removed
Modified
  • CSPFL_Software

    v58 v59  
    3939 
    4040---- 
    41 = Install Procedure =  
    42 Once you have built the software you need to install it to your OSWALD. This process is easiest under a linux like environment. 
    43  
    44 == Formatting the SD card == 
    45 The SD card must be formatted to have 2 partitions, the first is a fat partition that is bootable, the second is an ext2/3 partition that will serve as the rootfs for the initial boot.  
    46 == Build Images, Copy to SD == 
    47 Follow the above guides, man pages, google, whatever you need, to build the above software. In the end you will have: x-load.bin.ift (use the signGP tool on x-load.bin), u-boot.bin, uImage, and a rootfs. Put these files onto your SD card partition 1 (the FAT parition) with the following names: MLO, u-boot.bin, uImage. Your rootfs should go onto the second (EXT) parition. Also go to the next section and grab the flashNand.scr, save this to the first parition (FAT) as boot.scr, this will flash your device when it first boots. 
    48 == Boot off SD == 
    49 Put your SD card in and hold the little button on the back of the CORE board (if the oswald is in its case, there is a hole on the back to press the button). The button only needs to be pressed the first time when running the nand flash script. 
    50  
    51 == Flashing to NAND == 
    52 To flash to nand, make sure that you have built all of the required files (x-load.bin.ift [called MLO], u-boot.bin, uImage, and the rootfs). In u-boot use the following commands to set up the NAND: 
    53  
    54 Initialize mmc: 
    55 {{{ 
    56 mmcinit 
    57 }}} 
    58 write x-loader: 
    59 {{{ 
    60 fatload mmc 0 0x80300000 MLO 
    61 nandecc hw 
    62 nand erase 0 80000 
    63 nand write.i 0x80300000 0 80000 
    64 }}} 
    65 Write u-boot: 
    66 {{{ 
    67 fatload mmc 0 0x80300000 u-boot.bin 
    68 nandecc sw 
    69 nand erase 80000 160000 
    70 nand write.i 0x80300000 80000 160000 
    71 }}} 
    72 Write the kernel: 
    73 {{{ 
    74 fatload mmc 0 0x80300000 uImage 
    75 nand erase 280000 400000 
    76 nand write.i 0x80300000 280000 400000 
    77 }}} 
    78 Clear the rest of the NAND flash to get it ready for the file system: 
    79 {{{ 
    80 nand erase 680000 
    81 }}} 
    82 Finally, save the environment variables to the NAND: 
    83 {{{ 
    84 saveenv 
    85 }}} 
    86 Now, boot linux from SD: 
    87 {{{ 
    88 run mmcargs 
    89 mmcinit 
    90 fatload mmc 0 0x80300000 uImage 
    91 bootm 0x80300000 
    92 }}} 
    93 then in linux, flash the root file system: 
    94 {{{ 
    95 mkdir /media/nand 
    96 mount -t jffs2 /dev/mtdblock4 /media/nand 
    97 cd /media/nand 
    98 tar xvjf /media/mmcblk0p2/rootfs.tar.bz2 
    99 cd / 
    100 umount /media/nand /media/mmcblk0p1 /media/mmcblk0p2 
    101 reboot 
    102 }}} 
    103 Now you should be able to boot from nand. 
    104 ---- 
    10541= Firmware on the OSWALD = 
    10642Even though the main processor is the TI OMAP3 there are a number of smaller microcontrollers that also contain software.  The firmware on these chips is available and the system has the ability to reprogram all of the peripheral chips.