1. 28 10月, 2020 3 次提交
  2. 27 10月, 2020 1 次提交
  3. 24 10月, 2020 1 次提交
    • J
      bootm: fix wrong conditions about images overlap · ef4f4f1f
      Jaehoon Chung 提交于
      It doesn't need to consider start byte address.
      If ramdisk size is 0x800000 and start address is 0x2700000, then it's
      used until 0x02efffff, not 0x02f00000. But it's detected to overlapt RD
      image, when kernel start address is 0x02f00000.
      Because it's doing wrong calculation about rd_len.
      This patch fixed wrong calculation address position when check
      condition.
      
      In addition, it needs to check one more condition about overlapping
      entire area.
      
      Fixes: commit fbde7589 ("common: bootm: add checks to verify if ramdisk / fdtimage overlaps OS image")
      Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com>
      ef4f4f1f
  4. 22 10月, 2020 12 次提交
  5. 14 10月, 2020 3 次提交
  6. 13 10月, 2020 2 次提交
  7. 11 10月, 2020 5 次提交
    • S
      log: syslog: Handle errors in net_init · a4326612
      Sean Anderson 提交于
      Since the previous patch, net_init now exposes some errors, so check for
      them.
      Signed-off-by: NSean Anderson <seanga2@gmail.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      a4326612
    • S
      log: Disable the syslog driver by default · c7f5b850
      Simon Glass 提交于
      This driver interferes with other sandbox tests since it causes log output
      to be interspersed with "No ethernet found." messages. Disable this driver
      by default.
      
      Enable it for the syslog tests so that they still pass.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      c7f5b850
    • S
      log: Add a way to enable/disable a log device · 3d03ab63
      Simon Glass 提交于
      At present all log devices are enabled by default. Add a function to allow
      devices to be disabled or enabled at runtime.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      3d03ab63
    • S
      log: Add a flag to enable log drivers · b4520300
      Simon Glass 提交于
      At present there is no way to disable a log driver. But the syslog driver
      causes (attempted) network traffic in sandbox every time a log message
      is printed, which is often.
      
      Add a flag to enable a log driver. Adjust struct log_device to use a short
      for next_filter_num so that no more memory is used for devices. Also fix
      a missing line in the struct log_driver comment while here.
      
      To maintain compatibility, enable it for all drivers for now.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      b4520300
    • S
      log: Allow LOG_DEBUG to always enable log output · 52d3df7f
      Simon Glass 提交于
      At present if CONFIG_LOG enabled, putting LOG_DEBUG at the top of a file
      (before log.h inclusion) causes _log() to be executed for every log()
      call, regardless of the build- or run-time logging level.
      
      However there is no guarantee that the log record will actually be
      displayed. If the current log level is lower than LOGL_DEBUG then it will
      not be.
      
      Add a way to signal that the log record should always be displayed and
      update log_passes_filters() to handle this.
      
      With the new behaviour, log_debug() will always log if LOG_DEBUG is
      enabled.
      
      Move log_test_syslog_nodebug() into its own file since it cannot be made
      to work where it is, with LOG_DEBUG defined.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      52d3df7f
  8. 10 10月, 2020 9 次提交
  9. 09 10月, 2020 4 次提交