Ignore:
Timestamp:
Jun 30, 2013, 8:28:58 PM (11 years ago)
Author:
cfuguet
Message:

Modifications in tsar_boot:

  • Creating new files boot_utils.[c h] containing the memcpy, memset and some ELF format debug functions
  • Introducing assert in the boot_elf_loader to show an error when some of segments to load conflicts with some of the pre-loader segments
  • Cosmetic changes in boot_elf_loader to improve code readibility
  • Fixing bug in dcache_buf_invalidate function used by boot_ioc_read when cache coherence not supported. The condition in the for loop was erroneous.
  • Modification in Makefile: The SYSCLK_FREQ parameter is not passed anymore

as a Makefile parameter but it is definesd in the defs_platform.h file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/README.txt

    r390 r425  
    1717             the TTY, IOC and XICU devices.
    1818             It defines also:
     19
    1920              -> CACHE_COHERENCE
    2021                 This constant is used by the boot_ioc_read function to know
     
    2223                 must be invalidated in the dcache after the transfert has
    2324                 finished.
    24                                  0 means invalidation must be made.
    25 
    26               -> INSTRUMENTATION
    27                  Set value different to 0 if some instrumentation of the
    28                  bootloader is needed.
    2925
    3026              -> CACHE_LINE_SIZE
     27                 This constant is mandatory if CACHE_COHERENCE=0
    3128                 This constant defines the size in bytes of a cache line.
     29
     30              -> BOOT_DEBUG
     31                 Set value to 1 to show some debug messages during loading
     32
     33              -> BOOT_DEBUG_IOC
     34                 Set value to 1 to show some debug messages during loading
     35                 concerning the disk accesses.
    3236
    3337              -> IRQ_PER_PROC
     
    3741      --->  platform_soclib.dts:
    3842
    39              Device tree file. It is mandatory if compiling
    40              for a SOCLIB platform. If the application to execute does not use
    41              a device tree file, create an empty one.
     43             Device tree file. It is mandatory if compiling for a SOCLIB
     44             platform and USE_DT=1.
    4245
    4346      --->  platform_fpga.dts:
    4447
    45              Device tree file. It is mandatory if compiling
    46              for a FPGA platform. If the application to execute does not use
    47              a device tree file, create an empty one.
     48             Device tree file. It is mandatory if compiling for a FPGA platform
     49             and USE_DT=1.
    4850
    4951      --->  ldscript:
     
    7072                   drivers
    7173
    72              ---> SYSCLK_FREQ=<value hz>
     74             ---> USE_DT=0
    7375
    74                    If not SOCLIB platform, this flag allows us to choose the
    75                    CLK frequency used in the hardware platform (i.e. FPGA).
    76                    This information is used to configurate the SPI device
    77                    which allow us to drive a SD card device.
     76                   If a device tree file is not used, set this flag to 0. It
     77                   is set by default to 1.
    7878
    79               i.e. make PLATFORM_DIR=conf/<platform_dir> SYSCLK_FREQ=50000000
    80                    make PLATFORM_DIR=conf/<platform_dir> SOCLIB=1
     79              e.g. make PLATFORM_DIR=conf/<platform_dir> SOCLIB=1 USE_DT=0
Note: See TracChangeset for help on using the changeset viewer.