Ignore:
Timestamp:
Jan 14, 2013, 4:39:14 PM (12 years ago)
Author:
cfuguet
Message:

Fixing bug in boot_tty.c:

Use address of tty status when reading with the ioread32 function.

Makefile and ioc.c:
Introducing SYSCLK_FREQ environment variable to choose a clock frequency when
using FPGA platform. 50000000 Hz by default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/boot_loader_entry.c

    r276 r286  
    8383    /* Initialize the block device */
    8484    if (_ioc_init() != 0) {
    85         boot_puts(start_boot_str_err);
    86         while (1);
     85        boot_puts(start_boot_str_err);
     86        while (1);
    8787    }
    8888
     
    9393    nb_available       = 0;
    9494    nb_rest            = sizeof(Elf32_Ehdr);
    95     offset                  = 0;
     95    offset             = 0;
    9696
    9797    elf_header         = (Elf32_Ehdr *) elf_header_base;
     
    108108            if ( _ioc_read(nb_block , boot_loader_buffer, 1) )
    109109            {
    110                 boot_puts(start_boot_str_err);
    111                 while (1);
     110                boot_puts(start_boot_str_err);
     111                while (1);
    112112            }
    113113           
Note: See TracChangeset for help on using the changeset viewer.