Re: imx7d dual core boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Giorgio,

On 4/3/20 3:47 PM, Giorgio wrote:
> Hi Ahmad,
> 
> thank you for the detailed explanations, I'll have a look
> at the armv7 ref. manual for more background.
> 
> I wanted just to note, the problem is specifically linked
> to enabling the MMU:
> 
> in arch/arm/cpu/cache-armv7.S:
> 
> 
> 		orrne	r0, r0, #1		@ MMU enabled
> ...
> 		mcr	p15, 0, r0, c1, c0, 0	@ load control register
> 
> without the 'orrne ...' the imx7 does not hang.

I can't reproduce this exact problem. My setup:

- i.MX7D sabresd board,
- imx_v7_defconfig
- check out of upstream/next, commit 5931fe40 ("Merge branch 'for-next/zii' into next")
- revert of commit 8b2104d ("driver: Call of_clk_set_defaults for each probed device")
- nv bootm.secure_state=nonsecure

With this, I didn't observe any barebox hangs[1] while preparing a Linux net boot.
What's your setup?

[1]: Linux still hangs due to what I assume to be a psci issue, kernel log says
     "unsupported enable-method property: psci" before getting stuck durcing SDHCI probe

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux