ophub

Results 457 comments of ophub

因为我们的openwrt是和armbian`杂交`的版本,替换了内核和固件的一些模块。 kmod不能后期安装,需要在编译时添加(在.config里=y添加,和你编译内核、U-boot的操作相同。可以使用make menuconfig调出可视化控制面板选择配置)。 一般情况下,需要在编译rootfs时把需要的依赖包、库文件等都一次性编译好。 luci插件可以后期安装。 你测试了分区?可以写入emmc使用吧?

openwrt一般不使用蓝牙,wifi模块可以在网络下的无线栏目里看看,有就说明驱动了。

在openwrt里的这个分配你测试可行吧? ``` elif [[ "${FDTFILE}" == "meson-sm1-skyworth-lb2004-a4091.dtb" ]]; then BOOT=512 BLANK1=108 BLANK2=562 BLANK3=0 BLANK4=0 ``` 108+512+562=1182 你提交给f大的时候把安装脚本里的第324行这样修改下吧。

没有写入主线u-boot是路径或者文件名称不对吧?存在即可写入。 [model_database.txt#L65](https://github.com/ophub/amlogic-s9xxx-openwrt/blob/ab0bff468eb5ce9e6e77d80e41261d6aa553be7b/amlogic-s9xxx/common-files/rootfs/etc/model_database.txt#L65) 修改主线 uboot 路径 /usr/lib/u-boot/ 修改为 /lib/u-boot/ 把脚本改一下,只判断dtb名即可,删掉 `"${AMLOGIC_SOC}" == "s905x3"` 这个,我为了生成独立固件,叫`s905x3-b`了 https://github.com/ophub/amlogic-s9xxx-openwrt/blob/main/make#L326

你给f大提交的时候,改以下2处: https://github.com/unifreq/openwrt_packit/blob/master/files/openwrt-install-amlogic#L324 324行: ``` elif [[ "${FDTFILE}" == "meson-sm1-skyworth-lb2004-a4091.dtb" ]]; then BOOT=512 BLANK1=108 BLANK2=562 BLANK3=0 BLANK4=0 ``` 163行: `5f:skyworthbox:s905x3:meson-sm1-skyworth-lb2004-a4091.dtb:u-boot-skyworth-lb2004.bin:/lib/u-boot/skyworth-lb2004-u-boot.bin.sd.bin:NA:4C@2016Mhz,4GB Mem,1Gb Nic,mtk7661rsn` [amlogic_model_database.txt](https://github.com/unifreq/openwrt_packit/blob/b733f44cdb6b6f2562ce082e03d309b5d7df2467/files/amlogic_model_database.txt#L53) 第53行,和openwrt-install-amlogic的第324行一样即可。 然后把2个u-boot放在这下面的目录里: [meson_btld](https://github.com/unifreq/openwrt_packit/tree/master/files/meson_btld)

有主线u-boot就不需要/boot/u-boot.emmc了(存在也不影响使用),这个是配合安卓的bootloader 使用的。

我今天提交内核的时候,把这个安装文件对极光3的修改也提交到f大的打包仓库了。你的u-boot测试好了提交到他的仓库吧。

好的,感谢你的支持。 有空时把你开发u-boot的方法,调试方法写个说明,教教大家怎么制作。 https://github.com/ophub/amlogic-s9xxx-openwrt/commit/64f93a47eed57448de1c38f73cf546683c69c32e 文件名称里添加了源码名称