Re: [BUG] Hang shortly after loading FDT when booting on RK3399

2021-01-29 Thread Jan Palus
On 29.01.2021 01:56, Jan Palus wrote: > On 28.01.2021 23:28, Jan Palus wrote: > > FWIW I figured it hangs in ohci-hcd.c at: > > > > static int hc_reset(ohci_t *ohci) > > ... > > if (ohci_readl(>regs->control) & OHCI_CTRL_IR) { > > This appears to be caused by following events: > > -

Re: [BUG] Hang shortly after loading FDT when booting on RK3399

2021-01-28 Thread Jan Palus
On 28.01.2021 23:28, Jan Palus wrote: > FWIW I figured it hangs in ohci-hcd.c at: > > static int hc_reset(ohci_t *ohci) > ... > if (ohci_readl(>regs->control) & OHCI_CTRL_IR) { This appears to be caused by following events: - usb_stop() (usb-class.c) iterates to remove every bus -

Re: [BUG] Hang shortly after loading FDT when booting on RK3399

2021-01-28 Thread Jan Palus
FWIW I figured it hangs in ohci-hcd.c at: static int hc_reset(ohci_t *ohci) ... if (ohci_readl(>regs->control) & OHCI_CTRL_IR) {

Re: [BUG] Hang shortly after loading FDT when booting on RK3399

2020-11-18 Thread Jean Lucas
On 11/19/20 12:45 AM, Jean Lucas wrote: On 11/17/20 1:28 PM, Jean Lucas wrote: On 11/17/20 9:42 AM, Alper Nebi Yasak wrote: On 17/11/2020 17:11, Peter Robinson wrote: On Tue, Nov 17, 2020 at 12:43 PM Alper Nebi Yasak wrote: On 17/11/2020 04:49, Jean Lucas wrote: Hello all, On Pine64

Re: [BUG] Hang shortly after loading FDT when booting on RK3399

2020-11-18 Thread Jean Lucas
On 11/17/20 1:28 PM, Jean Lucas wrote: On 11/17/20 9:42 AM, Alper Nebi Yasak wrote: On 17/11/2020 17:11, Peter Robinson wrote: On Tue, Nov 17, 2020 at 12:43 PM Alper Nebi Yasak wrote: On 17/11/2020 04:49, Jean Lucas wrote: Hello all, On Pine64 RockPro64 and Pinebook Pro (both RK3399),

Re: [BUG] Hang shortly after loading FDT when booting on RK3399

2020-11-17 Thread Jean Lucas
On 11/17/20 9:42 AM, Alper Nebi Yasak wrote: On 17/11/2020 17:11, Peter Robinson wrote: On Tue, Nov 17, 2020 at 12:43 PM Alper Nebi Yasak wrote: On 17/11/2020 04:49, Jean Lucas wrote: Hello all, On Pine64 RockPro64 and Pinebook Pro (both RK3399), flashing U-Boot v2021.01-rc2-47-g9324c9a823

Re: [BUG] Hang shortly after loading FDT when booting on RK3399

2020-11-17 Thread Alper Nebi Yasak
On 17/11/2020 17:11, Peter Robinson wrote: > On Tue, Nov 17, 2020 at 12:43 PM Alper Nebi Yasak > wrote: >> >> On 17/11/2020 04:49, Jean Lucas wrote: >>> Hello all, >>> >>> On Pine64 RockPro64 and Pinebook Pro (both RK3399), flashing U-Boot >>> v2021.01-rc2-47-g9324c9a823 defconfig and mainline

Re: [BUG] Hang shortly after loading FDT when booting on RK3399

2020-11-17 Thread Peter Robinson
On Tue, Nov 17, 2020 at 12:43 PM Alper Nebi Yasak wrote: > > On 17/11/2020 04:49, Jean Lucas wrote: > > Hello all, > > > > On Pine64 RockPro64 and Pinebook Pro (both RK3399), flashing U-Boot > > v2021.01-rc2-47-g9324c9a823 defconfig and mainline ATF > > v2.4-rc0-2-gd01f31c03 to SPI flash of both

Re: [BUG] Hang shortly after loading FDT when booting on RK3399

2020-11-17 Thread Alper Nebi Yasak
On 17/11/2020 04:49, Jean Lucas wrote: > Hello all, > > On Pine64 RockPro64 and Pinebook Pro (both RK3399), flashing U-Boot > v2021.01-rc2-47-g9324c9a823 defconfig and mainline ATF > v2.4-rc0-2-gd01f31c03 to SPI flash of both devices results in a hang > shortly after loading the appropriate

[BUG] Hang shortly after loading FDT when booting on RK3399

2020-11-17 Thread Jean Lucas
Hello all, On Pine64 RockPro64 and Pinebook Pro (both RK3399), flashing U-Boot v2021.01-rc2-47-g9324c9a823 defconfig and mainline ATF v2.4-rc0-2-gd01f31c03 to SPI flash of both devices results in a hang shortly after loading the appropriate FDT when booting. On a Pinebook Pro: => load mmc