Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM_DEBUG is incompatible with "=> dm tree" #71

Open
mcerveny opened this issue Aug 23, 2021 · 0 comments
Open

DM_DEBUG is incompatible with "=> dm tree" #71

mcerveny opened this issue Aug 23, 2021 · 0 comments

Comments

@mcerveny
Copy link

mcerveny commented Aug 23, 2021

u-boot command => dm tree fails with assert() for every additionally bonded driver like device_bind_driver()/"psci-sysreset" or blk_create_device()/"rkflash_blk" .. assert() was enabled with DM_DEBUG.

=> dm tree
 Addr        Class      Probed    Driver                   Name
-------------------------------------------------------------------------
 7df18288    root       [ + ]   root_driver                ofnode_read_bool: u-boot,dm-pre-reloc: false
ofnode_read_bool: u-boot,dm-spl: false
root_driver 
 7df18318    firmware   [   ]   psci                       |-- ofnode_read_bool: u-boot,dm-pre-reloc: true
psci **
 7df18398    sysreset   [   ]   psci-sysreset              |   `-- drivers/core/ofnode.c:79: ofnode_read_bool: Assertion `ofnode_valid(node)' failed.
### ERROR ### Please RESET the board ###
=> dm tree
 Addr        Class      Probed    Driver                   Name
-------------------------------------------------------------------------
 7df18288    root       [ + ]   root_driver                ofnode_read_bool: u-boot,dm-pre-reloc: false
 ofnode_read_bool: u-boot,dm-spl: false
root_driver 
 7df18318    firmware   [   ]   psci                       |-- ofnode_read_bool: u-boot,dm-pre-reloc: true
psci **
 7df18398    clk        [ + ]   fixed_rate_clock           |-- ofnode_read_bool: u-boot,dm-pre-reloc: false
 ofnode_read_bool: u-boot,dm-spl: false
xin24m 
 7df18408    clk        [ + ]   fixed_rate_clock           |-- ofnode_read_bool: u-boot,dm-pre-reloc: false
 ofnode_read_bool: u-boot,dm-spl: false
xin12m 
 7df18498    rksfc      [   ]   rksfc                      |-- ofnode_read_bool: u-boot,dm-pre-reloc: true
sfc@1020c000 **
 7df18538    blk        [   ]   rkflash_blk                |   |-- drivers/core/ofnode.c:79: ofnode_read_bool: Assertion `ofnode_valid(node)' failed.
### ERROR ### Please RESET the board ###
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant