26 Feb, 2014

1 commit


20 Feb, 2014

1 commit

  • This commit changes the working directory
    where the build process occurs.

    Before this commit, build process occurred under the source
    tree for both in-tree and out-of-tree build.

    That's why we needed to add $(obj) prefix to all generated
    files in makefiles like follows:
    $(obj)u-boot.bin: $(obj)u-boot

    Here, $(obj) is empty for in-tree build, whereas it points
    to the output directory for out-of-tree build.

    And our old build system changes the current working directory
    with "make -C " syntax when descending into the
    sub-directories.

    On the other hand, Kbuild uses a different idea
    to handle out-of-tree build and directory descending.

    The build process of Kbuild always occurs under the output tree.
    When "O=dir/to/store/output/files" is given, the build system
    changes the current working directory to that directory and
    restarts the make.

    Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj="
    syntax for descending into sub-directories.
    (We can write it like "make $(obj)=" with a shorthand.)
    This means the current working directory is always the top
    of the output directory.

    Signed-off-by: Masahiro Yamada
    Tested-by: Gerhard Sittig

    Masahiro Yamada
     

27 Nov, 2013

2 commits

  • Whilst U-boot does not require this itself, Linux currently relies upon
    it having been muxed and enabled by the bootloader. Thus in order to
    preserve compatibility with current kernels before a fix is merged in
    Linux we will enable the SERIRQ interrupt and mux it to its pin.

    Without doing this current kernels will never receive serial port
    interrupts and the end result is typically that userland appears to
    hang.

    Signed-off-by: Paul Burton

    Paul Burton
     
  • The baudrate passed to Linux in the environment was hardcoded at 38400.
    Instead pass the correct baudrate from global data, allowing Linux to
    correctly inherit the baudrate used by U-boot when console setup is not
    explicitly specified.

    Signed-off-by: Paul Burton

    Paul Burton
     

15 Nov, 2013

1 commit

  • The physical base address of the NOR flash is 0x1e000000
    on the Malta boards. The hardware also maps the first 4MiB
    of the flash into the 0x1fc00000-0x1fffffff range.

    Currently, U-Boot uses the mapped address to access the
    flash, which does not work in recent qemu versions.

    Since commit a427338b222b43197c2776cbc996936df0302f51
    (mips_malta: correct reading MIPS revision at 0x1fc00010)
    writing to the mapped address space causes a CPU exception.
    Due to the exception, U-Boot hangs during boot when it tries
    to detect the CFI flash chip.

    Use the correct physical address for the MALTA_FLASH_BASE
    constant to fix the problem. In order to avoid relocation
    problems, also update the CONFIG_SYS_{TEXT,MONITOR}_BASE
    constants.

    The change makes it possible to start U-Boot on a Malta
    board emulated with Qemu 1.6.1 and 1.7.0-rc0. It also
    works on older versions (tested with 1.1.1, 1.2.2, 1.4.2,
    1.5.3).

    Signed-off-by: Gabor Juhos
    Signed-off-by: Daniel Schwierzeck
    Cc: Paul Burton

    Gabor Juhos
     

11 Nov, 2013

1 commit


10 Nov, 2013

5 commits

  • Without setting up the PIRQ[A:D] interrupt routes, PCI interrupts will
    be left disabled. Linux does not set up this routing but relies upon it
    having been set up by the bootloader, reading back the IRQ lines which
    the PIRQ[A:D] signals have been routed to.

    This patch routes PIRQA & PIRQB to IRQ 10, and PIRQC & PIRQD to IRQ 11.
    This matches the setup used by YAMON.

    Signed-off-by: Paul Burton

    Paul Burton
     
  • Displaying a message on the LCD screen is a simple yet effective way to
    show the user that the board has booted successfully.

    Signed-off-by: Paul Burton

    Paul Burton
     
  • This patch adds support for running on Malta boards using coreFPGA6
    core cards, including support for the msc01 system controller used
    with them. The system controller is detected at runtime allowing one
    U-boot binary to run on a Malta with either.

    Due to the PCI I/O base differing between Maltas using gt64120 & msc01
    system controllers, the UART setup is modified slightly. A second UART
    is added so that there is one pointing at the correct address for each
    system controller. The Malta board then defines its own
    default_serial_console function to select the correct one at runtime.
    The incorrect UART will simply not function.

    Tested on:
    - A coreFPGA6 Malta running interAptiv and proAptiv bitstreams, both
    with and without an L2 cache.
    - QEMU.

    Signed-off-by: Paul Burton

    Paul Burton
     
  • This is in preparation for adapting this board to function correctly on
    a physical MIPS Malta board. The board is moved into an "imgtec" vendor
    directory at the same time in order to ready us for any other boards
    supported by Imagination in the future.

    Signed-off-by: Paul Burton

    Paul Burton
     
  • For boards such as the MIPS Malta with an FPGA core card it is desirable
    to be able to detect the L1 cache sizes at runtime, since they are not
    dependant upon the board but on the FPGA bitstream in use. This patch
    performs that detection when the CONFIG_SYS_[DI]CACHE_SIZE macros are
    not defined by the board configuration. In cases where the sizes are
    detected this patch also removes the restriction that the I-cache &
    D-cache line sizes must be the same, as this is not necessarily true.

    If the cache sizes are defined by a configuration then they will be
    hardcoded as before, so this patch will not add overhead to such
    boards.

    Signed-off-by: Paul Burton

    Paul Burton
     

09 Nov, 2013

1 commit

  • Linux Kernel abolished include/linux/config.h long time ago.
    (around version v2.6.18..v2.6.19)

    We don't need to provide Linux copatibility any more.

    This commit deletes include/linux/config.h
    and fixes source files not to include this.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

08 Nov, 2013

1 commit


01 Nov, 2013

1 commit


21 Oct, 2013

1 commit


15 Oct, 2013

1 commit


13 Aug, 2013

8 commits


24 Jul, 2013

16 commits