-
Notifications
You must be signed in to change notification settings - Fork 2
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
Update for OpenSTLinux 4 (Kirkstone) #8
Comments
Indeed, but they do not care |
We are actively upgrading. |
I was using the patches from this layer successfully with Hardknott. Now I am trying to upgrade to Scarthgap. Let's see whether this works out. They changed a lot in meta-st-stm32mp. Perhaps I will also have to go back to 4.x after all. |
Yeah, I'm working on mickledore. When I'm done testing, I'll release it. |
@mingzhangqun Are you using the optee boot scheme? I was using "trusted", but they removed it beginning with 4.0. Still struggling with the migration to optee. |
@rhaberkorn Yes, I'm using optee. |
Do you have it already booting into u-boot? |
I'll do it this week. |
@rhaberkorn I'm still working on mickledore, and I'm having some issues, and they'll be resolved as soon as possible. |
Interesting, I had a very similar panic:
This was on Scarthgap and the device tree is heavily modified compared to the Odyssey SOM, but I didn't touch the I2Cs. This is completely left as in stm32mp157c-odyssey.dtsi. The panic in both cases appears to be somehow linked to i2c2 (i2c@40013000). But I cannot exclude the possibility that I did some kind of mistake when I ported it. Especially, "exti_pwr" referenced in pmic, which is also on i2c2 no longer exists. You can get the backtrace by adding |
I have solved the optee boot problem. This is mainly due to optee's lack of I2C clock support. |
Thanks. Why did the device tree from meta-st-odyssey work in dunfell at all?
Could you send your entire device tree (stm32mp157c-odyssey.dtsi), please? |
@rhaberkorn Because optee support was officially removed from mickledore. Could you give me the full log.txt? |
You mean "trusted" was removed from Mickledore. I thought you were using the Optee device trees already in Dunfell? Here's my boot log (with backtrace, but without debug logging): And this is my current device tree patch (forward ported from meta-st-odyssey): I have optee-os 3.19.0 in Scarthgap, but that's the same version as in Mickledore, so there shouldn't be differences at least until the u-boot stage. |
This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
@mingzhangqun Off-topic, but can you explain this "mcuram" section from the stm32mp157c-odyssey-som.dtsi?
This looks like it's reserved for the M4 core. But there is no such memory exposed to the M4 according to the official RAM map. |
This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
https://wiki.stmicroelectronics.cn/stm32mpu/wiki/STM32MP15_RAM_mapping#MCU_SRAM1_-26_SRAM2 Notice that the MCURAM is aliased so accessible at addresses 0x10000000 or 0x30000000. In consequence mcuram and mcuram2 memory sections definitions have to be coherent. |
Should be updated for the latest OpenSTLinux
The text was updated successfully, but these errors were encountered: