BUG: U-Boot crashes on SiFive Unmatched when CONFIG_DM_DEBUG=y

Yuri Zaporozhets yuriz at vodafonemail.de
Mon Nov 18 21:50:45 CET 2024


Hi all,

I enabled CONFIG_DM_DEBUG on my SiFive Unmatched, and U-Boot boot results in
failed assertion ("ofnode_valid(node)"). I'm attaching the full log below.

The same behavior is also for the 2024.10 stable version.

==================

U-Boot SPL 2025.01-rc2-00111-g0135f0e2e8ce (Nov 18 2024 - 21:18:08 +0100)
ofnode_read_prop: assigned-clock-rates: <not found>
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
ofnode_read_u32_index: clock-frequency: x (800000004)
ofnode_read_prop: assigned-clock-rates: <not found>
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: reset (ret=0)
   - result for clock-controller at 10000000: reset (ret=0)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: reset (ret=0)
   - result for clock-controller at 10000000: reset (ret=0)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: reset (ret=0)
   - result for clock-controller at 10000000: reset (ret=0)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: reset (ret=0)
   - result for clock-controller at 10000000: reset (ret=0)
ofnode_read_u32_array: sifive,ddr-params: 0
   - 0 'i2c at 10030000'
   - found
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_u32_index: reg-shift: x (2)
ofnode_read_u32_index: clock-frequency: (not found)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
ofnode_read_u32_index: reg-io-width: x (1)
ofnode_read_u32_index: clock-frequency: (not found)
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_u32_index: ngpios: (not found)
Trying to boot from MMC1
0
   - 0 'mmc at 0'
   - found
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_u32_index: sifive,fifo-depth: (not found)
ofnode_read_u32_index: sifive,max-bits-per-word: (not found)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
ofnode_read_u32_index: spi-max-frequency: (not found)
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_u32_index: reg: x (0)
ofnode_read_u32_index: reg: x (1)
ofnode_read_u32_index: reg: x (2)
ofnode_read_u32_index: reg: x (3)
ofnode_read_u32_index: reg: x (4)
bind node reserved-memory
Device 'reserved-memory' has no compatible string
bind node fit-images
Device 'fit-images' has no compatible string
bind node aliases
Device 'aliases' has no compatible string
bind node chosen
Device 'chosen' has no compatible string
bind node cpus
Device 'cpus' has no compatible string
bind node soc
   - attempt to match compatible string 'simple-bus'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
   - found match at driver 'simple_bus' for 'simple-bus'
ofnode_read_u32_array: ranges: bind node interrupt-controller at c000000
   - attempt to match compatible string 'sifive,fu540-c000-plic'
   - attempt to match compatible string 'sifive,plic-1.0.0'
No match for node 'interrupt-controller at c000000'
bind node clock-controller at 10000000
   - attempt to match compatible string 'sifive,fu740-c000-prci'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
Skipping device pre-relocation
bind node serial at 10010000
   - attempt to match compatible string 'sifive,fu740-c000-uart'
   - attempt to match compatible string 'sifive,uart0'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
Skipping device pre-relocation
bind node serial at 10011000
   - attempt to match compatible string 'sifive,fu740-c000-uart'
   - attempt to match compatible string 'sifive,uart0'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: false
ofnode_read_bool: bootph-pre-sram: false
ofnode_read_bool: u-boot,dm-pre-reloc: false
ofnode_read_bool: u-boot,dm-pre-proper: false
ofnode_read_bool: u-boot,dm-spl: false
ofnode_read_bool: u-boot,dm-tpl: false
ofnode_read_bool: u-boot,dm-vpl: false
Skipping device pre-relocation
bind node i2c at 10030000
   - attempt to match compatible string 'sifive,fu740-c000-i2c'
   - attempt to match compatible string 'sifive,i2c0'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
Skipping device pre-relocation
bind node spi at 10040000
   - attempt to match compatible string 'sifive,fu740-c000-spi'
   - attempt to match compatible string 'sifive,spi0'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
Skipping device pre-relocation
bind node spi at 10050000
   - attempt to match compatible string 'sifive,fu740-c000-spi'
   - attempt to match compatible string 'sifive,spi0'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
Skipping device pre-relocation
bind node ethernet at 10090000
   - attempt to match compatible string 'sifive,fu540-c000-gem'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: false
ofnode_read_bool: bootph-pre-sram: false
ofnode_read_bool: u-boot,dm-pre-reloc: false
ofnode_read_bool: u-boot,dm-pre-proper: false
ofnode_read_bool: u-boot,dm-spl: false
ofnode_read_bool: u-boot,dm-tpl: false
ofnode_read_bool: u-boot,dm-vpl: false
Skipping device pre-relocation
bind node pwm at 10020000
   - attempt to match compatible string 'sifive,fu740-c000-pwm'
   - attempt to match compatible string 'sifive,pwm0'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: false
ofnode_read_bool: bootph-pre-sram: false
ofnode_read_bool: u-boot,dm-pre-reloc: false
ofnode_read_bool: u-boot,dm-pre-proper: false
ofnode_read_bool: u-boot,dm-spl: false
ofnode_read_bool: u-boot,dm-tpl: false
ofnode_read_bool: u-boot,dm-vpl: false
Skipping device pre-relocation
bind node pwm at 10021000
   - attempt to match compatible string 'sifive,fu740-c000-pwm'
   - attempt to match compatible string 'sifive,pwm0'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: false
ofnode_read_bool: bootph-pre-sram: false
ofnode_read_bool: u-boot,dm-pre-reloc: false
ofnode_read_bool: u-boot,dm-pre-proper: false
ofnode_read_bool: u-boot,dm-spl: false
ofnode_read_bool: u-boot,dm-tpl: false
ofnode_read_bool: u-boot,dm-vpl: false
Skipping device pre-relocation
bind node cache-controller at 2010000
   - attempt to match compatible string 'sifive,fu740-c000-ccache'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: false
ofnode_read_bool: bootph-pre-sram: false
ofnode_read_bool: u-boot,dm-pre-reloc: false
ofnode_read_bool: u-boot,dm-pre-proper: false
ofnode_read_bool: u-boot,dm-spl: false
ofnode_read_bool: u-boot,dm-tpl: false
ofnode_read_bool: u-boot,dm-vpl: false
Skipping device pre-relocation
bind node gpio at 10060000
   - attempt to match compatible string 'sifive,fu740-c000-gpio'
   - attempt to match compatible string 'sifive,gpio0'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
Skipping device pre-relocation
bind node pcie at e00000000
   - attempt to match compatible string 'sifive,fu740-pcie'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: false
ofnode_read_bool: bootph-pre-sram: false
ofnode_read_bool: u-boot,dm-pre-reloc: false
ofnode_read_bool: u-boot,dm-pre-proper: false
ofnode_read_bool: u-boot,dm-spl: false
ofnode_read_bool: u-boot,dm-tpl: false
ofnode_read_bool: u-boot,dm-vpl: false
Skipping device pre-relocation
bind node clint at 2000000
   - attempt to match compatible string 'riscv,clint0'
No match for node 'clint at 2000000'
bind node dmc at 100b0000
   - attempt to match compatible string 'sifive,fu740-c000-ddr'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
Skipping device pre-relocation
bind node memory at 80000000
Device 'memory at 80000000' has no compatible string
bind node hfclk
   - attempt to match compatible string 'fixed-clock'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
   - found match at driver 'fixed_clock' for 'fixed-clock'
bind node rtcclk
   - attempt to match compatible string 'fixed-clock'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
   - found match at driver 'fixed_clock' for 'fixed-clock'
bind node gpio-poweroff
   - attempt to match compatible string 'gpio-poweroff'
No match for node 'gpio-poweroff'
bind node binman
Device 'binman' has no compatible string
bind node config
Device 'config' has no compatible string
bind node mmode_resv1 at 80000000
Device 'mmode_resv1 at 80000000' has no compatible string
bind node mmode_resv0 at 80040000
Device 'mmode_resv0 at 80040000' has no compatible string
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: false
ofnode_read_bool: bootph-pre-sram: false
ofnode_read_bool: u-boot,dm-pre-reloc: false
ofnode_read_bool: u-boot,dm-pre-proper: false
ofnode_read_bool: u-boot,dm-spl: false
ofnode_read_bool: u-boot,dm-tpl: false
ofnode_read_bool: u-boot,dm-vpl: false
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
ofnode_read_u32_array: ranges: bind node cpu at 1
   - attempt to match compatible string 'sifive,bullet0'
   - attempt to match compatible string 'riscv'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
   - found match at driver 'riscv_cpu' for 'riscv'
ofnode_read_u32_index: timebase-frequency: (not found)
ofnode_read_u32_index: timebase-frequency: 0xf4240 (1000000)
bind node cpu at 2
   - attempt to match compatible string 'sifive,bullet0'
   - attempt to match compatible string 'riscv'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
   - found match at driver 'riscv_cpu' for 'riscv'
ofnode_read_u32_index: timebase-frequency: (not found)
ofnode_read_u32_index: timebase-frequency: 0xf4240 (1000000)
bind node cpu at 3
   - attempt to match compatible string 'sifive,bullet0'
   - attempt to match compatible string 'riscv'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
   - found match at driver 'riscv_cpu' for 'riscv'
ofnode_read_u32_index: timebase-frequency: (not found)
ofnode_read_u32_index: timebase-frequency: 0xf4240 (1000000)
bind node cpu at 4
   - attempt to match compatible string 'sifive,bullet0'
   - attempt to match compatible string 'riscv'
ofnode_read_bool: bootph-all: false
ofnode_read_bool: bootph-some-ram: false
ofnode_read_bool: bootph-pre-ram: true
   - found match at driver 'riscv_cpu' for 'riscv'
ofnode_read_u32_index: timebase-frequency: (not found)
ofnode_read_u32_index: timebase-frequency: 0xf4240 (1000000)
ofnode_read_prop: riscv,isa: rv64imafdc
ofnode_read_prop: riscv,isa: rv64imafdc
bind node serial at 10010000
   - attempt to match compatible string 'sifive,fu740-c000-uart'
   - attempt to match compatible string 'sifive,uart0'
   - found match at driver 'serial_sifive' for 'sifive,uart0'
   - seq=0
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: (none) (ret=-19)
   - result for clock-controller at 10000000: (none) (ret=-19)
ofnode_read_u32_index: clock-frequency: (not found)


U-Boot 2025.01-rc2-00111-g0135f0e2e8ce (Nov 18 2024 - 21:18:08 +0100)

Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: (none) (ret=-19)
   - result for clock-controller at 10000000: (none) (ret=-19)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: (none) (ret=-19)
   - result for clock-controller at 10000000: (none) (ret=-19)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: (none) (ret=-19)
   - result for clock-controller at 10000000: (none) (ret=-19)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: (none) (ret=-19)
   - result for clock-controller at 10000000: (none) (ret=-19)
ofnode_read_prop: compatible: sifive,bullet0
CPU:   sifive,bullet0
Model: SiFive HiFive Unmatched A00
DRAM:  16 GiB
ofnode_read_prop: assigned-clock-rates: <not found>
bind node reserved-memory
Device 'reserved-memory' has no compatible string
bind node fit-images
Device 'fit-images' has no compatible string
bind node aliases
Device 'aliases' has no compatible string
bind node chosen
Device 'chosen' has no compatible string
bind node cpus
Device 'cpus' has no compatible string
bind node soc
   - attempt to match compatible string 'simple-bus'
   - found match at driver 'simple_bus' for 'simple-bus'
ofnode_read_u32_array: ranges: bind node interrupt-controller at c000000
   - attempt to match compatible string 'sifive,fu540-c000-plic'
   - attempt to match compatible string 'sifive,plic-1.0.0'
No match for node 'interrupt-controller at c000000'
bind node clock-controller at 10000000
   - attempt to match compatible string 'sifive,fu740-c000-prci'
   - found match at driver 'sifive-prci' for 'sifive,fu740-c000-prci'
bind node serial at 10010000
   - attempt to match compatible string 'sifive,fu740-c000-uart'
   - attempt to match compatible string 'sifive,uart0'
   - found match at driver 'serial_sifive' for 'sifive,uart0'
   - seq=0
bind node serial at 10011000
   - attempt to match compatible string 'sifive,fu740-c000-uart'
   - attempt to match compatible string 'sifive,uart0'
   - found match at driver 'serial_sifive' for 'sifive,uart0'
   - seq=1
bind node i2c at 10030000
   - attempt to match compatible string 'sifive,fu740-c000-i2c'
   - attempt to match compatible string 'sifive,i2c0'
   - found match at driver 'i2c_ocores' for 'sifive,i2c0'
bind node temperature-sensor at 4c
   - attempt to match compatible string 'ti,tmp451'
No match for node 'temperature-sensor at 4c'
bind node eeprom at 54
   - attempt to match compatible string 'microchip,24c02'
   - attempt to match compatible string 'atmel,24c02'
No match for node 'eeprom at 54'
bind node pmic at 58
   - attempt to match compatible string 'dlg,da9063'
No match for node 'pmic at 58'
bind node spi at 10040000
   - attempt to match compatible string 'sifive,fu740-c000-spi'
   - attempt to match compatible string 'sifive,spi0'
   - found match at driver 'sifive_spi' for 'sifive,spi0'
bind node flash at 0
   - attempt to match compatible string 'jedec,spi-nor'
   - found match at driver 'jedec_spi_nor' for 'jedec,spi-nor'
ofnode_read_u32_index: reg: 0x0 (0)
ofnode_read_u32_index: spi-max-frequency: 0x2faf080 (50000000)
ofnode_read_bool: spi-cpol: false
ofnode_read_bool: spi-cpha: false
ofnode_read_bool: spi-cs-high: false
ofnode_read_bool: spi-3wire: false
ofnode_read_bool: spi-half-duplex: false
ofnode_read_u32_index: spi-tx-bus-width: 0x4 (4)
ofnode_read_u32_index: spi-rx-bus-width: 0x4 (4)
bind node spi at 10050000
   - attempt to match compatible string 'sifive,fu740-c000-spi'
   - attempt to match compatible string 'sifive,spi0'
   - found match at driver 'sifive_spi' for 'sifive,spi0'
   - seq=0
bind node mmc at 0
   - attempt to match compatible string 'mmc-spi-slot'
   - found match at driver 'mmc_spi' for 'mmc-spi-slot'
ofnode_read_u32_index: reg: 0x0 (0)
ofnode_read_u32_index: spi-max-frequency: 0x1312d00 (20000000)
ofnode_read_bool: spi-cpol: false
ofnode_read_bool: spi-cpha: false
ofnode_read_bool: spi-cs-high: false
ofnode_read_bool: spi-3wire: false
ofnode_read_bool: spi-half-duplex: false
ofnode_read_u32_index: spi-tx-bus-width: (not found)
ofnode_read_u32_index: spi-rx-bus-width: (not found)
bind node ethernet at 10090000
   - attempt to match compatible string 'sifive,fu540-c000-gem'
   - found match at driver 'eth_macb' for 'sifive,fu540-c000-gem'
   - seq=0
bind node pwm at 10020000
   - attempt to match compatible string 'sifive,fu740-c000-pwm'
   - attempt to match compatible string 'sifive,pwm0'
   - found match at driver 'pwm_sifive' for 'sifive,pwm0'
bind node pwm at 10021000
   - attempt to match compatible string 'sifive,fu740-c000-pwm'
   - attempt to match compatible string 'sifive,pwm0'
   - found match at driver 'pwm_sifive' for 'sifive,pwm0'
bind node cache-controller at 2010000
   - attempt to match compatible string 'sifive,fu740-c000-ccache'
   - found match at driver 'sifive_ccache' for 'sifive,fu740-c000-ccache'
bind node gpio at 10060000
   - attempt to match compatible string 'sifive,fu740-c000-gpio'
   - attempt to match compatible string 'sifive,gpio0'
   - found match at driver 'gpio_sifive' for 'sifive,gpio0'
bind node pcie at e00000000
   - attempt to match compatible string 'sifive,fu740-pcie'
   - found match at driver 'pcie_sifive' for 'sifive,fu740-pcie'
bind node clint at 2000000
   - attempt to match compatible string 'riscv,clint0'
No match for node 'clint at 2000000'
bind node dmc at 100b0000
   - attempt to match compatible string 'sifive,fu740-c000-ddr'
   - found match at driver 'sifive_ddr' for 'sifive,fu740-c000-ddr'
bind node memory at 80000000
Device 'memory at 80000000' has no compatible string
bind node hfclk
   - attempt to match compatible string 'fixed-clock'
   - found match at driver 'fixed_clock' for 'fixed-clock'
bind node rtcclk
   - attempt to match compatible string 'fixed-clock'
   - found match at driver 'fixed_clock' for 'fixed-clock'
bind node gpio-poweroff
   - attempt to match compatible string 'gpio-poweroff'
No match for node 'gpio-poweroff'
bind node binman
Device 'binman' has no compatible string
bind node config
Device 'config' has no compatible string
bind node mmode_resv1 at 80000000
Device 'mmode_resv1 at 80000000' has no compatible string
bind node mmode_resv0 at 80040000
Device 'mmode_resv0 at 80040000' has no compatible string
ofnode_read_u32_array: ranges: bind node cpu at 1
   - attempt to match compatible string 'sifive,bullet0'
   - attempt to match compatible string 'riscv'
   - found match at driver 'riscv_cpu' for 'riscv'
ofnode_read_u32_index: timebase-frequency: (not found)
ofnode_read_u32_index: timebase-frequency: 0xf4240 (1000000)
bind node cpu at 2
   - attempt to match compatible string 'sifive,bullet0'
   - attempt to match compatible string 'riscv'
   - found match at driver 'riscv_cpu' for 'riscv'
ofnode_read_u32_index: timebase-frequency: (not found)
ofnode_read_u32_index: timebase-frequency: 0xf4240 (1000000)
bind node cpu at 3
   - attempt to match compatible string 'sifive,bullet0'
   - attempt to match compatible string 'riscv'
   - found match at driver 'riscv_cpu' for 'riscv'
ofnode_read_u32_index: timebase-frequency: (not found)
ofnode_read_u32_index: timebase-frequency: 0xf4240 (1000000)
bind node cpu at 4
   - attempt to match compatible string 'sifive,bullet0'
   - attempt to match compatible string 'riscv'
   - found match at driver 'riscv_cpu' for 'riscv'
ofnode_read_u32_index: timebase-frequency: (not found)
ofnode_read_u32_index: timebase-frequency: 0xf4240 (1000000)
ofnode_read_prop: assigned-clock-rates: ofnode_read_u32_array: assigned-clock-rates: Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_prop: assigned-clock-rates: <not found>
Looking for hfclk
Looking for hfclk
   - result for hfclk: hfclk (ret=0)
   - result for hfclk: hfclk (ret=0)
ofnode_read_u32_index: clock-frequency: 0x18cba80 (26000000)
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_prop: assigned-clock-rates: <not found>
Looking for rtcclk
Looking for rtcclk
   - result for rtcclk: rtcclk (ret=0)
   - result for rtcclk: rtcclk (ret=0)
ofnode_read_u32_index: clock-frequency: 0xf4240 (1000000)
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_prop: tick-timer: <not found>
ofnode_read_prop: assigned-clock-rates: <not found>
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
ofnode_read_prop: assigned-clock-rates: <not found>
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
ofnode_read_prop: assigned-clock-rates: <not found>
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
ofnode_read_prop: assigned-clock-rates: <not found>
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_prop: assigned-clock-rates: <not found>
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
Core:  36 devices, 21 uclasses, devicetree: separate
MMC:   0
   - 0 'mmc at 0'
   - found
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_u32_index: sifive,fifo-depth: (not found)
ofnode_read_u32_index: sifive,max-bits-per-word: (not found)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
ofnode_read_u32_index: spi-max-frequency: (not found)
ofnode_read_prop: assigned-clock-rates: <not found>
1
   - 0 'mmc at 0'
   - not found
spi at 10050000:mmc at 0: 0
ofnode_read_u32_index: load-environment: (not found)
Loading Environment from SPIFlash... 1
   - 1 'spi at 10040000'
   - found
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_u32_index: sifive,fifo-depth: (not found)
ofnode_read_u32_index: sifive,max-bits-per-word: (not found)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
ofnode_read_u32_index: spi-max-frequency: (not found)
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_bool: m25p,fast-read: true
SF: Detected is25wp256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
0
   - 0 'ethernet at 10090000'
   - found
OK
EEPROM: 0
   - 0 'i2c at 10030000'
   - found
ofnode_read_u32_index: u-boot,i2c-transaction-bytes: (not found)
ofnode_read_u32_index: u-boot,i2c-transaction-bytes: (not found)
ofnode_read_u32_index: u-boot,i2c-transaction-bytes: (not found)
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_u32_index: reg-shift: 0x2 (2)
ofnode_read_u32_index: clock-frequency: (not found)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
ofnode_read_u32_index: reg-io-width: 0x1 (1)
ofnode_read_u32_index: clock-frequency: (not found)
SiFive PCB EEPROM format v1
Product ID: 0002 (HiFive Unmatched)
PCB revision: 3
BOM revision: B
BOM variant: 0
Serial number: SF105SZ211900108
Ethernet MAC address: 70:b3:d5:92:f4:fc
CRC: c26d0cff
Looking for gpio at 10060000
Looking for gpio at 10060000
   - result for gpio at 10060000: gpio at 10060000 (ret=0)
   - result for gpio at 10060000: gpio at 10060000 (ret=0)
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_u32_index: ngpios: (not found)
Looking for gpio at 10060000
Looking for gpio at 10060000
   - result for gpio at 10060000: gpio at 10060000 (ret=0)
   - result for gpio at 10060000: gpio at 10060000 (ret=0)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: reset (ret=0)
   - result for clock-controller at 10000000: reset (ret=0)
ofnode_read_prop: assigned-clock-rates: <not found>
ofnode_read_bool: u-boot,skip-auto-config-until-reloc: false
ofnode_read_prop: assigned-clock-rates: <not found>
PCIE-0: Link up (Gen1-x8, Bus0)
PCI: Failed autoconfig bar 10
In:    serial at 10010000
Out:   serial at 10010000
Err:   serial at 10010000
Model: SiFive HiFive Unmatched A00
Net:   ofnode_read_prop: assigned-clock-rates: ofnode_read_u32_array: assigned-clock-rates: Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
ofnode_read_prop: phy-mode: gmii
ofnode_read_u32_index: reg: 0x0 (0)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
   - result for clock-controller at 10000000: clock-controller at 10000000 (ret=0)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: reset (ret=0)
   - result for clock-controller at 10000000: reset (ret=0)
Looking for clock-controller at 10000000
Looking for clock-controller at 10000000
   - result for clock-controller at 10000000: reset (ret=0)
   - result for clock-controller at 10000000: reset (ret=0)
eth0: ethernet at 10090000
drivers/core/ofnode.c:575: ofnode_find_subnode: Assertion `ofnode_valid(node)' failed.
resetting ...

==================

-- 
Regards,
Yuri


More information about the U-Boot mailing list