Skip to content

Conversation

@hlleng
Copy link

@hlleng hlleng commented Nov 3, 2025

No description provided.

Copy link
Member

@RadxaYuntian RadxaYuntian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RadxaStephen Rockchip这边U-Boot和内核的dts能共享么,还是说binding有区别?

u-boot,dm-pre-reloc;这些不算,按照U-Boot的规范是要放到单独的dtsi里面的

@hlleng
Copy link
Author

hlleng commented Nov 3, 2025

@RadxaStephen Rockchip这边U-Boot和内核的dts能共享么,还是说binding有区别?

u-boot,dm-pre-reloc;这些不算,按照U-Boot的规范是要放到单独的dtsi里面的

如果开了CONFIG_USING_KERNEL_DTB 配置,那么uboot会读取resource.img的dtb,这个dtb就是内核的。

@RadxaYuntian
Copy link
Member

我们没有什么resource.img,另外这里内嵌的dtb是用于uboot启动的,跟后面启动内核的dtb是不一样的

@hlleng
Copy link
Author

hlleng commented Nov 3, 2025

我们没有什么resource.img,另外这里内嵌的dtb是用于uboot启动的,跟后面启动内核的dtb是不一样的

是的呀,所以现在就会提示:

Failed to load DTB, ret=-19
No valid DTB, ret=-22
Failed to get kernel dtb, ret=-22

@RadxaYuntian
Copy link
Member

我问的是是否可以在uboot启动这边共用内核dts,避免重复开发,不涉及后面启动

@CodeChenL
Copy link
Member

起不来

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

Successfully merging this pull request may close these issues.

4 participants