Skip to content
Snippets Groups Projects
  1. Nov 07, 2022
  2. Oct 31, 2022
  3. May 28, 2022
  4. May 02, 2022
    • Simon Glass's avatar
      sandbox: Add a build for VPL · 9ae25b9a
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Add an initial VPL build for sandbox. This includes the flow:
      
         TPL (with of-platdata) -> VPL -> SPL -> U-Boot
      
      To run it:
      
         ./tpl/u-boot-tpl -D
      
      The -D is needed to get the default device tree, which includes the serial
      console info.
      
      Add a Makefile check for OF_HOSTFILE which is the option that enables
      devicetree control on sandbox.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      9ae25b9a
  5. Apr 11, 2022
  6. Jul 28, 2021
  7. Jul 21, 2021
  8. Mar 27, 2021
    • Simon Glass's avatar
      sandbox: Provide a way to bind fixed/removeable devices · 1758551e
      Simon Glass authored
      
      At present when a file is bound to a host device it is always marked as
      removeable. Arguably the device is removeable, since it can be unbound at
      will. However while it is bound, it is not considered removable by the
      user. Also it is useful to be able to model both fixed and removeable
      devices for code that distinguishes them.
      
      Add a -r flag to the 'host bind' command and plumb it through to provide
      this feature.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      1758551e
  9. Mar 13, 2021
  10. Mar 12, 2021
  11. Jan 30, 2021
  12. Oct 06, 2020
  13. May 30, 2020
  14. Apr 11, 2020
  15. Feb 06, 2020
    • Simon Glass's avatar
      sandbox: sdl: Move to use SDL2 · 96d0cd46
      Simon Glass authored
      
      Sandbox currently uses SDL1.2. SDL2 has been around for quite a while and
      is widely supported. It has a number of useful features. It seems
      appropriate to move sandbox over.
      
      Update the code to use SDL2 instead of SDL1.2.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      96d0cd46
  16. Oct 11, 2019
  17. Oct 08, 2019
  18. Jul 24, 2019
  19. Jul 10, 2019
  20. Apr 24, 2019
    • Simon Glass's avatar
      sandbox: Move pre-console buffer out of the way of tracing · a1396cdc
      Simon Glass authored
      
      These two buffers currently conflict if tracing is enabled. Move the
      pre-console buffer and update the documentation.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      a1396cdc
    • Simon Glass's avatar
      sandbox: Improve debugging in initcall_run_list() · 001d1885
      Simon Glass authored
      
      At present if one of the initcalls fails on sandbox the address printing
      is not help, e.g.:
      
        initcall sequence 0000557678967c80 failed at call 00005576709dfe1f (err=-96)
      
      This is because U-Boot gets relocated high into memory and the relocation
      offset (gd->reloc_off) does not work correctly for sandbox.
      
      Add support for finding the base address of the text region (at least on
      Linux) and use that to set the relocation offset. This makes the output
      better:
      
        initcall sequence 0000560775957c80 failed at call 0000000000048134 (err=-96)
      
      Then you use can use grep to see which init call failed, e.g.:
      
         $ grep 0000000000048134 u-boot.map
         stdio_add_devices
      
      Of course another option is to run it with a debugger such as gdb:
      
         $ gdb u-boot
         ...
         (gdb) br initcall.h:41
         Breakpoint 1 at 0x4db9d: initcall.h:41. (2 locations)
      
      Note that two locations are reported, since this function is used in both
      board_init_f() and board_init_r().
      
         (gdb) r
         Starting program: /tmp/b/sandbox/u-boot
         [Thread debugging using libthread_db enabled]
         Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
      
         U-Boot 2018.09-00264-ge0c2ba9814-dirty (Sep 22 2018 - 12:21:46 -0600)
      
         DRAM:  128 MiB
         MMC:
      
      Breakpoint 1, initcall_run_list (init_sequence=0x5555559619e0 <init_sequence_f>)
          at /scratch/sglass/cosarm/src/third_party/u-boot/files/include/initcall.h:41
      41				printf("initcall sequence %p failed at call %p (err=%d)\n",
         (gdb) print *init_fnc_ptr
         $1 = (const init_fnc_t) 0x55555559c114 <stdio_add_devices>
         (gdb)
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      001d1885
  21. Nov 26, 2018
  22. Nov 21, 2018
  23. Sep 29, 2018
  24. May 07, 2018
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  25. May 06, 2018
  26. Feb 18, 2018
  27. Sep 15, 2017
  28. Sep 12, 2017
  29. Jul 11, 2017
  30. Sep 19, 2016
  31. Jul 25, 2016
  32. May 27, 2016
  33. Apr 14, 2016
Loading