Skip to content
Snippets Groups Projects
  1. Mar 15, 2017
  2. Feb 06, 2017
  3. Feb 01, 2017
  4. Jan 28, 2017
  5. Jan 14, 2017
  6. Jan 09, 2017
  7. Jan 04, 2017
    • Andre Przywara's avatar
      SPL: tiny-printf: ignore "-" modifier · 1c853629
      Andre Przywara authored
      
      tiny-printf does not know about the "-" modifier, which aligns numbers.
      This is used by some SPL code, but as it's purely cosmetical, we just
      ignore this modifier here to avoid changing correct printf strings.
      
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
      1c853629
    • Andre Przywara's avatar
      SPL: tiny-printf: add "l" modifier · a28e1d98
      Andre Przywara authored
      
      tiny-printf does not know about the "l" modifier so far, which breaks
      the crash dump on AArch64, because it uses %lx to print the registers.
      Add an easy way of handling longs correctly.
      
      Using a relatively decent compiler (GCC 5.3.0) this does _not_ increase
      the code size of tiny-printf.o for 32-bit builds (where long and int
      are actually the same), actually it looses three (ARM Thumb2) instructions
      from the actual SPL (numbers for orangepi_plus_defconfig):
        text    data     bss     dec     hex filename
         758       0       0     758     2f6 spl/lib/tiny-printf.o	before
       18839     488     232   19559    4c67 spl/u-boot-spl		before
         758       0       0     758     2f6 spl/lib/tiny-printf.o	after
       18833     488     232   19553    4c61 spl/u-boot-spl		after
      
      This adds some substantial amount of code to a 64-bit build, though:
      (taken after a later commit, which enables the ARM64 SPL build for sunxi)
        text    data     bss     dec     hex filename
        1542       0       0    1542     606 spl/lib/tiny-printf.o	before
       25830     392     360   26582    67d6 spl/u-boot-spl		before
        1758       0       0    1758     6de spl/lib/tiny-printf.o	after
       26040     392     360   26792    68a8 spl/u-boot-spl		after
      
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
      a28e1d98
  8. Dec 20, 2016
    • Nathan Rossi's avatar
      fdt: add memory bank decoding functions for board setup · 623f6019
      Nathan Rossi authored
      
      Add two functions for use by board implementations to decode the memory
      banks of the /memory node so as to populate the global data with
      ram_size and board info for memory banks.
      
      The fdtdec_setup_memory_size() function decodes the first memory bank
      and sets up the gd->ram_size with the size of the memory bank. This
      function should be called from the boards dram_init().
      
      The fdtdec_setup_memory_banksize() function decode the memory banks
      (up to the CONFIG_NR_DRAM_BANKS) and populates the base address and size
      into the gd->bd->bi_dram array of banks. This function should be called
      from the boards dram_init_banksize().
      
      Signed-off-by: default avatarNathan Rossi <nathan@nathanrossi.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Michal Simek <monstr@monstr.eu>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      623f6019
  9. Nov 27, 2016
    • Alexander Graf's avatar
      efi_loader: Allow to compile helloworld.efi w/o bundling it · 95b62b2e
      Alexander Graf authored
      
      Today we can compile a self-contained hello world efi test binary that
      allows us to quickly verify whether the EFI loader framwork works.
      
      We can use that binary outside of the self-contained test case though,
      by providing it to a to-be-tested system via tftp.
      
      This patch separates compilation of the helloworld.efi file from
      including it in the u-boot binary for "bootefi hello". It also modifies
      the efi_loader test case to enable travis to pick up the compiled file.
      Because we're now no longer bloating the resulting u-boot binary, we
      can enable compilation always, giving us good travis test coverage.
      
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      95b62b2e
  10. Nov 21, 2016
  11. Nov 17, 2016
    • Alexander Graf's avatar
      ls2080: Exit dpaa only right before exiting U-Boot · b7b8410a
      Alexander Graf authored
      
      On ls2080 we have a separate network fabric component which we need to
      shut down before we enter Linux (or any other OS). Along with that also
      comes configuration of the fabric using a description file.
      
      Today we always stop and configure the fabric in the boot script and
      (again) exit it on device tree generation. This works ok for the normal
      booti case, but with bootefi the payload we're running may still want to
      access the network.
      
      So let's add a new fsl_mc command that defers configuration and stopping
      the hardware to when we actually exit U-Boot, so that we can still use
      the fabric from an EFI payload.
      
      For existing boot scripts, nothing should change with this patch.
      
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
      [agraf: Fix x86 build]
      b7b8410a
  12. Nov 14, 2016
  13. Oct 24, 2016
  14. Oct 23, 2016
  15. Oct 19, 2016
Loading