public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sean Anderson <seanga2@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 0/4] dm: Print device name in dev_xxx() like Linux
Date: Sat, 12 Sep 2020 21:43:31 -0400	[thread overview]
Message-ID: <7cca46dc-1234-e48b-f0f0-c3175fc5179c@gmail.com> (raw)
In-Reply-To: <20200913002821.404022-1-seanga2@gmail.com>


On 9/12/20 8:28 PM, Sean Anderson wrote:
> This series adds some additional information to dev_dbg. With this series, and
> the following options applied in addition to sandbox_defconfig
> 
> CONFIG_LOGLEVEL=8
> CONFIG_LOG=n
> CONFIG_CMD_LOG=n
> CONFIG_CMD_TPM=n
> 
> the output of U-Boot is
> 
> U-Boot 2020.10-rc4-00006-g19b641dddd-dirty (Sep 12 2020 - 18:15:00 -0400)
> 
> Model: sandbox
> DRAM:  128 MiB
> pinctrl-gpio sandbox_pinctrl_gpio: set_state_simple op missing
> leds gpio_led: set_state_simple op missing
> default_on gpio_led: set_state_simple op missing
> base-gpios sandbox_gpio: set_state_simple op missing
> default_off gpio_led: set_state_simple op missing
> wdt at 0 wdt_sandbox: set_state_simple op missing
> WDT:   Started with servicing (60s timeout)
> MMC:   mmc0 mmc_sandbox: set_state_simple op missing
> mmc1 mmc_sandbox: set_state_simple op missing
> mmc2 mmc_sandbox: set_state_simple op missing
> mmc2: 2 (SD), mmc1: 1 (SD), mmc0: 0 (SD)
> lcd sandbox_lcd_sdl: set_state_simple op missing
> In:    serial
> Out:   vidconsole
> Err:   vidconsole
> Model: sandbox
> hog_input_active_low gpio_hog: set_state_simple op missing
> hog_input_active_high gpio_hog: set_state_simple op missing
> hog_output_low gpio_hog: set_state_simple op missing
> hog_output_high gpio_hog: set_state_simple op missing
> cros-ec google_cros_ec_sandbox: set_state_simple op missing
> SCSI:
> pci_ep pci_ep_sandbox: set_state_simple op missing
> Net:   eth at 10002000 eth_sandbox: set_state_simple op missing
> eth0: eth at 10002000eth@10003000 eth_sandbox: set_state_simple op missing
> , eth5: eth at 10003000sbe5 eth_sandbox: set_state_simple op missing
> , eth3: sbe5eth at 10004000 eth_sandbox: set_state_simple op missing
> , eth6: eth at 10004000
> bootcount at 0 bootcount-rtc: set_state_simple op missing
> i2c at 0 i2c_sandbox: set_state_simple op missing
> rtc at 61 rtc-sandbox: set_state_simple op missing
> emul i2c_emul_parent_drv: set_state_simple op missing
> emull sandbox_i2c_rtc_emul: set_state_simple op missing
> Hit any key to stop autoboot:
> 
> When using CONFIG_LOG the output of U-Boot is too verbose to fit in this email.
> Note that there is a soft dependency on [1] if you would like to test this patch
> with CONFIG_LOG and a higher LOG_LEVEL than LOGL_INFO.
> 
> [1] https://patchwork.ozlabs.org/project/uboot/list/?series=201343
> 
> 
> Sean Anderson (4):
>   remoteproc: Remove unused function rproc_elf_sanity_check
>   net: mdio: Supply appropriate devices for dev_dgb calls
>   dm: Use symbolic constants for log levels in dev_xxx()
>   dm: Print device name in dev_xxx() like Linux
> 
>  drivers/remoteproc/rproc-elf-loader.c | 16 ------
>  include/dm/device_compat.h            | 75 +++++++++++++--------------
>  include/remoteproc.h                  | 13 -----
>  net/mdio-uclass.c                     |  4 +-
>  4 files changed, 39 insertions(+), 69 deletions(-)
> 

In my haste I may have forgotten to run CI and make many more patches
like the first two to fix drivers calling a dev_ log function without an
actual device. So this series breaks a lot of things at the moment [1].
Consider it an RFC I guess for after I fix all those build failures.

--Sean

[1] https://dev.azure.com/seanga2/u-boot/_build/results?buildId=30&view=logs&j=7f2f73d6-a009-5260-5fdd-7738e0f76a89&t=97bcf3f1-e64d-5752-c0e9-95a663c62e27

      parent reply	other threads:[~2020-09-13  1:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-13  0:28 [PATCH 0/4] dm: Print device name in dev_xxx() like Linux Sean Anderson
2020-09-13  0:28 ` [PATCH 1/4] remoteproc: Remove unused function rproc_elf_sanity_check Sean Anderson
2020-09-17  1:09   ` Simon Glass
2020-09-13  0:28 ` [PATCH 2/4] net: mdio: Supply appropriate devices for dev_dgb calls Sean Anderson
2020-09-17  1:09   ` Simon Glass
2020-09-17  1:40     ` Sean Anderson
2020-09-17  3:44       ` Simon Glass
2020-09-13  0:28 ` [PATCH 3/4] dm: Use symbolic constants for log levels in dev_xxx() Sean Anderson
2020-09-17  1:09   ` Simon Glass
2020-09-13  0:28 ` [PATCH 4/4] dm: Print device name in dev_xxx() like Linux Sean Anderson
2020-09-13  1:43 ` Sean Anderson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7cca46dc-1234-e48b-f0f0-c3175fc5179c@gmail.com \
    --to=seanga2@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox