Skip to content
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

Updat U-boot and DTB for Skyworth-LB2004 #736

Merged
merged 1 commit into from
Nov 27, 2022
Merged

Updat U-boot and DTB for Skyworth-LB2004 #736

merged 1 commit into from
Nov 27, 2022

Conversation

livelier
Copy link
Contributor

Use u-boot source v2022.01 for more kernel versions support. Update DTB for TCA6507 LEDs support.

Mainline u-boot lacks TCA6507 driver. Currently only using bootloader, TCA6507 LEDs works.

Use u-boot source v2022.01 for more kernel versions support.
Update DTB for TCA6507 LEDs support.

Mainline u-boot lacks TCA6507 driver. Currently only using bootloader, TCA6507 LEDs works.
@ophub ophub merged commit 8ff0bd0 into ophub:main Nov 27, 2022
@ophub
Copy link
Owner

ophub commented Nov 27, 2022

521 :Tencent-Aurora-3Pro :s905x3 :meson-sm1-skyworth-lb2004-a4091.dtb :u-boot-skyworth-lb2004.bin :skyworth-lb2004-u-boot.bin.sd.bin :NA :meson-sm1 :s905x3-b :yes

skyworth-lb2004-bootloader.img is ANDROID_UBOOT?

@livelier
Copy link
Contributor Author

skyworth-lb2004-bootloader.img 是的 o大,安卓 u-boot。

借楼反馈一下,在测试内核版本时发现

https://github.com/ophub/amlogic-s9xxx-armbian/tree/main/compile-kernel/tools/config
已经设置 CONFIG_LEDS_TCA6507=y 的文件 config-5.4, config-5.10, config-5.15, config-6.0

https://github.com/ophub/kernel/tree/main/pub/stable
tca6507 驱动集成情况如下,y 表示已集成,n 表示未集成。

5.4.224 y
5.4.225 y
5.10.155 y
5.10.156 y
5.15.79 y
5.15.80 n
6.0.9 n
6.0.10 n

@livelier
Copy link
Contributor Author

另外 o大,dts文件在你的仓库没有知道路径,不知道该怎么操作 😂😂😂
meson-sm1-skyworth-lb2004-a4091.dts

@ophub
Copy link
Owner

ophub commented Nov 27, 2022

4个内核的模板我都开启CONFIG_LEDS_TCA6507了,其中5.15和6.0这2个f大每次更新版本时都会编译分享,我就直接转存他分享的内核了。他本地的模板没启用,你在提交这个dts的时候,在提交说明里把这个选项一起说明了。你提交后我和他说下。

meson-sm1-skyworth-lb2004-a4091.dts 提交到f大的4个内核仓库吧。覆盖原来的提交即可。
https://github.com/unifreq
https://github.com/unifreq/linux-5.15.y/blob/main/arch/arm64/boot/dts/amlogic/meson-sm1-skyworth-lb2004-a4091.dts

@ophub
Copy link
Owner

ophub commented Nov 27, 2022

有时间了把你开发u-boot的经验给我们分享一下,可以使用文档,也可以使用视频、音频等,使用你习惯的方法,如果有更多人能学会开发u-boot,参与探索新设备,这个盒子圈会很热闹。

@livelier
Copy link
Contributor Author

4个内核的模板我都开启CONFIG_LEDS_TCA6507了,其中5.15和6.0这2个f大每次更新版本时都会编译分享,我就直接转存他分享的内核了。他本地的模板没启用,你在提交这个dts的时候,在提交说明里把这个选项一起说明了。你提交后我和他说下。

o大,这个问题你帮忙说一下吧,感觉我描述起来好复杂 😂
dts文件 4个仓库已经分别提交。

u-boot开发还谈不到。我还是新手中的新手,只能说是跟着教程制作u-boot。
等有时间,我尝试写一下分享。

@ophub
Copy link
Owner

ophub commented Nov 27, 2022

好的

@livelier
Copy link
Contributor Author

另外这是关于 tca6507 u-boot 相关驱动,虽然不是 amlogic 的,留给有能力开发的人做参考吧
https://github.com/goldelico/letux-uboot/blob/master/board/goldelico/letux-gta04/status.c

@ophub
Copy link
Owner

ophub commented Nov 27, 2022

把你的u-boot文件提交到他的打包仓库里,不然他打包的不能用。

https://github.com/unifreq/openwrt_packit/tree/master/files/meson_btld

@livelier
Copy link
Contributor Author

好,我看他仓库里没有安卓u-boot,安卓uboot要不要也提交。

@ophub
Copy link
Owner

ophub commented Nov 27, 2022

@livelier
Copy link
Contributor Author

o大,openwrt_packit 仓库已经提交。

@ophub
Copy link
Owner

ophub commented Nov 27, 2022

f大正好在线,他以后打包的时候添加CONFIG_LEDS_TCA6507这个选项支持。
现在更新可以自定义编译。

@livelier
Copy link
Contributor Author

自定义编译,知道的。这样做是方便大家也方便我直接用。自行编译好了在来下载,有时候 github 在我这里慢如蜗牛。
辛苦 o大 帮忙了,又给大神安排作业 🤣🤣🤣

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.

None yet

2 participants