Closed Woiui closed 1 year ago
@Woiui 不知道怎么使用。描述一下,你之前写入 emmc 的具体操作。 还有这个图是?
之前写入emmc是手动写入的armbian-install,dtd选择meson-gxl-s905l2-x7-5g.dtb然后刷入emmc, 上图是我将u-boot-mgv2000-v303c2.bin写入UBOOT_OVERLOAD emmc后的分区图
@Woiui 不知道怎么使用。描述一下,你之前写入 emmc 的具体操作。
还有这个图是?
是将这几个文件放入boot目录,然后刷入,
.
├── mainline_u-boot
│ └── mgv2000-v303c2-u-boot.bin.sd.bin # mainline_u-boot
├── u-boot.emmc # u-boot-mgv2000-v303c2.bin 复制而来
├── u-boot.ext # u-boot-mgv2000-v303c2.bin 复制而来
└── u-boot-mgv2000-v303c2.bin # overload_u-boot
先 usb
测试 overload_u-boot
能否正常使用。
把 u-boot.ext
覆盖 usb
存储 /boot/u-boot.ext
。其他和你原来方法一样。
在测试 mainline_u-boot
能否正常使用。
用你原来的方法,写入emmc
,之后写入 mainline_u-boot
和覆盖 overload_u-boot
写入 mainline_u-boot
MYBOX_UBOOT="/lib/u-boot/mgv2000-v303c2-u-boot.bin.sd.bin" #主线文件路径
DEV_EMMC="/dev/mmcblk2"
dd if=${MYBOX_UBOOT} of="${DEV_EMMC}" conv=fsync bs=1 count=444
dd if=${MYBOX_UBOOT} of="${DEV_EMMC}" conv=fsync bs=512 skip=1 seek=1
覆盖 overload_u-boot
路径 /mnt/boot/u-boot.ext 和 u-boot.emmc
MY_DEVICE="/dev/mmcblk2p1"
sudo mkdir -p /mnt/boot
sudo mount -v ${MY_DEVICE} /mnt/boot
测试能正常用了,请 o大 在加一下自动写入的脚本。
. ├── mainline_u-boot │ └── mgv2000-v303c2-u-boot.bin.sd.bin # mainline_u-boot ├── u-boot.emmc # u-boot-mgv2000-v303c2.bin 复制而来 ├── u-boot.ext # u-boot-mgv2000-v303c2.bin 复制而来 └── u-boot-mgv2000-v303c2.bin # overload_u-boot
先
usb
测试overload_u-boot
能否正常使用。 把u-boot.ext
覆盖usb
存储/boot/u-boot.ext
。其他和你原来方法一样。在测试
mainline_u-boot
能否正常使用。 用你原来的方法,写入emmc
,之后写入mainline_u-boot
和覆盖overload_u-boot
写入
mainline_u-boot
MYBOX_UBOOT="/lib/u-boot/mgv2000-v303c2-u-boot.bin.sd.bin" #主线文件路径 DEV_EMMC="/dev/mmcblk2" dd if=${MYBOX_UBOOT} of="${DEV_EMMC}" conv=fsync bs=1 count=444 dd if=${MYBOX_UBOOT} of="${DEV_EMMC}" conv=fsync bs=512 skip=1 seek=1
覆盖
overload_u-boot
路径 /mnt/boot/u-boot.ext 和 u-boot.emmcMY_DEVICE="/dev/mmcblk2p1" sudo mkdir -p /mnt/boot sudo mount -v ${MY_DEVICE} /mnt/boot
测试能正常用了,请 o大 在加一下自动写入的脚本。
将u-boot.ext 覆盖 usb 存储 /boot/u-boot.ext 之后启动设备,设备将会一直重启开机界面,原始boot目录没有u-boot.ext
5.10.y 内核版本,也测试一下。
5.10.y 内核版本,也测试一下。
问题依旧,失败了
看来只能使用,安卓 bootloader 。没办法的事情,有些盒子BL有锁的,同样需要保留安全分区。
比如我手上的 ugoos x3 BL有锁。🤝
看来只能使用,安卓 bootloader 。没办法的事情,有些盒子BL有锁的,同样需要保留安全分区。
比如我手上的 ugoos x3 BL有锁。🤝
辛苦您的付出,感谢
@marchmin 反编译你使用的
dtb
修改mmc@ffe07000 { ... max-frequency = <0xbebc200>; 修改此行的 0xbebc200,编译回 dtb 测试。 ... `0xbebc200 = 200`,常见频率 `25`,`50`,`52`,`100`,`200`,`208`。尝试一下能否解决。
0xbebc200
,是16进制,也是举例,具体的以你的max-frequency = <0x*******>
为准。
原3个emm的频率为: mmc@70000 -max-frequency =0x2faf080 mmc@72000 -max-frequency =0x2faf080, mmc@74000 -max-frequency =0xbebc200, 都改为max-frequency =0x5F5E100,后正常写入成功,没有提示emmc读写错误。谢谢!
Armbian 22.11.0-trunk Jammy with Linux 5.15.76-flippy-78+o IPBS9505 S905L2写入emmc后正常启动,wifi驱动正常,启动后负载高,不正常
@marchmin 你的盒子照片,型号,SOC芯片,主板正反面等,能不能提供下照片以及网上的链接,如果有安卓线刷包也分享下。
这样 o大 可以帮助你把盒子的信息增加一下,以后新固件就包含你盒子的序列。以后大家用起来都方便。
负载高的问题,请 o大 帮忙看看吧。@ophub
初次启动有一些服务初始化,所以刚启动时负载高,10分钟后你再看一下。
https://github.com/ophub/amlogic-s9xxx-armbian/issues/621
这个和你的情况相同,都是通过降频解决了emmc无法识别、无法读写的问题。
你用的是meson-gxl-s905l2-x7-5g.dtb?
浪潮IPBS9505 cpu S905L2, wifi 8189ftv 线刷短接是R34外端接地,图已标注,刷机包可以用mg2000 s905l2的刷机包,以前我是用的M301A-JL线刷固件,刷了mg2000后,再刷M301A-JL卡在启动界面不启动了。 dtb 修改meson-gxl-s905l2-x7-5g.dtb emmc频率修改mmc@74000 -max-frequency =0xbebc200为max-frequency =0x5F5E100(修改改了3处,按理只要修改74000处,待验证), armbian-install ,0配置,写入emmc后正常启动,wifi驱动正常.盒子图片如下:
浪潮IPBS9505 cpu S905L2, wifi 8189ftv 线刷短接是R34外端接地,图已标注,刷机包可以用mg2000 s905l2的刷机包,以前我是用的M301A-JL线刷固件,刷了mg2000后,再刷M301A-JL卡在启动界面不启动了。 dtb 修改meson-gxl-s905l2-x7-5g.dtb emmc频率修改mmc@74000 -max-frequency =0xbebc200为max-frequency =0x5F5E100(修改改了3处,按理只要修改74000处,待验证), armbian-install ,0配置,写入emmc后正常启动,wifi驱动正常.盒子图片如下:
经测试5.10内核,u-boot-s905x-s912.bin改名u-boot.ext,启动不了,启动界面不断重启,如图:
使用新固件,刷入usb,然后下载dtb这个文件,解压缩后,把dtb文件放在/boot/dtb/amlogic目录下 meson-gxl-s905l2-ipbs9505.dtb.zip
在这个文件里加入一行,序号308 /etc/amlogic_model_database.conf
308:ipbs9505:s905l2:meson-gxl-s905l2-ipbs9505.dtb:u-boot-s905x-s912.bin:NA:NA
两个修改好保存,重启 sync && reboot
等重启后安装测试下是否可以正常写入emmc了 armbian-install 308
meson-gxl-s905l2-ipbs9505.dts
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2016 Endless Computers, Inc.
* Author: Carlo Caione <carlo@endlessm.com>, flippy
*/
/dts-v1/;
#include "meson-gxl-s905w-p281.dts"
/ {
compatible = "amlogic,ipbs9505", "amlogic,s905l2", "amlogic,meson-gxl";
model = "Wojia TV IPBS9505";
};
// the gpu in the S905L2 has one pp core less
// (i.e. only two in total) than the one in the other S905X/W
&mali {
interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "gp", "gpmmu", "pp", "pmu",
"pp0", "ppmmu0", "pp1", "ppmmu1";
};
/* eMMC */
&sd_emmc_c {
max-frequency = <50000000>;
};
meson-gxl-s905l2-ipbs9505.dts
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2016 Endless Computers, Inc. * Author: Carlo Caione <carlo@endlessm.com>, flippy */ /dts-v1/; #include "meson-gxl-s905w-p281.dts" / { compatible = "amlogic,ipbs9505", "amlogic,s905l2", "amlogic,meson-gxl"; model = "Wojia TV IPBS9505"; }; // the gpu in the S905L2 has one pp core less // (i.e. only two in total) than the one in the other S905X/W &mali { interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "gp", "gpmmu", "pp", "pmu", "pp0", "ppmmu0", "pp1", "ppmmu1"; }; /* eMMC */ &sd_emmc_c { max-frequency = <50000000>; };
这里要改成max-frequency = <100000000>; 原meson-gxl-s905l2-x7-5g.dtb是200 50检测不到emmc,请生成一个新的我测试,谢谢
meson-gxl-s905l2-ipbs9505.dtb.zip
/* eMMC */
&sd_emmc_c {
max-frequency = <100000000>;
};
meson-gxl-s905l2-ipbs9505.dtb.zip
/* eMMC */ &sd_emmc_c { max-frequency = <100000000>; };
5.15.y内核,bullseye、jammy都能启动都正常了,用的s905x2的img , 添加了308:ipbs9505:s905l2:meson-gxl-s905l2-ipbs9505.dtb:u-boot-s905x-s912.bin:NA:NA。 写入用: armbian-install 308 emmc频率改为100后写入正常了(见附图)。
5.10.y内核的系统不能启动,我在上面已经提到了,请H大帮忙看看!
另外请问,如果想换系统,写入到emmc后,怎么切换到u盘启动?
5.10固件选择s905l3的固件试试能不能U盘启动,如果能启动说明这个u-boot能用
u-boot-e900v22c.bin
或者在你现在的固件里手动复制这个文件为u-boot.ext 和u-boot.emmc
请问,现在写入到emmc后,有什么方法切换到u盘启动?要重新刷机?
插着U盘,断电重插就是U盘启动。你之前测试不都是从U盘启动的吗
@urain39 这是楼主盒子的型号吗? 晚上尝试给他编译两版
@livelier 不好意思,我说错了。e900xx好像只是创维代工的型号,题主用的是九联代工的。
插着U盘,断电重插就是U盘启动。你之前测试不都是从U盘启动的吗
5.10.y内核,插着
@urain39 这是楼主盒子的型号吗? 晚上尝试给他编译两版
@livelier 不好意思,我说错了。e900xx好像只是创维代工的型号,题主用的是九联代工的。
可以刷e900v21e s905l2的线刷包,和mg2000启动一样,只能安卓分区启动,请大佬编两版测试一下,谢谢
5.10固件选择s905l3的固件试试能不能U盘启动,如果能启动说明这个u-boot能用
u-boot-e900v22c.bin
或者在你现在的固件里手动复制这个文件为u-boot.ext 和u-boot.emmc
刚用 5.10固件s905l3a固件 u-boot-e900v22c,测试卡在开机界面不动
请问armbian 启动后,没有插网线时,连接指示灯亮起,插上网线指示灯熄灭,请怎么更改dts中的设置,使其正常显示?
p212.dts中启用网络连接指示灯 安卓3.14内核心中显示正常,设置如下: internal_eth_pins { amlogic,setmask = <0x4 0x3000000>; amlogic,clrmask = <0x3 0x300000>; amlogic,pins = "GPIOZ_14", "GPIOZ_15"; linux,phandle = <0x2e>; phandle = <0x2e>; };
armbian dts设置如下:
&internal_phy { pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>; pinctrl-names = "default"; };
ðmac {
status = "okay";
phy-mode = "rmii";
phy-handle = <&internal_phy>;
};
&internal_phy {
pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>;
pinctrl-names = "default";
};
ðmac { status = "okay"; phy-mode = "rmii"; phy-handle = <&internal_phy>; }; &internal_phy { pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>; pinctrl-names = "default"; };
是按上面这个编译的dts,刚才又按老大的重新编译了,也是一样: 插上网线的图: 拔下网线的图:
请问怎么设置网口led io端口默认高低位电平?
ðmac { status = "okay"; phy-mode = "rmii"; phy-handle = <&internal_phy>; }; &internal_phy { pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>; pinctrl-names = "default"; };
是按上面这个编译的dts,刚才又按老大的重新编译了,也是一样: 插上网线的图: 拔下网线的图:
请问怎么设置网口led io端口默认高低位电平?
老大请帮忙把meson-gxl-s905x-p212.dts加一下网口指示编译一个dtb,文件我测试一下,谢谢!
大佬,我的机器是中兴 ZXV10 B860AV2.1-A,芯片是S905L2的,不知道使用这个自带的引导meson-gxl-s905l2-x7-5g.dtb,来启动。还是用你们提到的meson-gxl-s905l2-ipbs9505.dtb替换后启动,谢谢解答。
是这样我是刷openwrt不是armbian,引导文件不通用是不谢谢
你usb测试 两个系统共用相同的文件,引导机制相同。
你usb测试 两个系统共用相同的文件,引导机制相同。
如果不刷移动盒子的原始系统,安装libreelec启动是不是也能运行啊,不需要root吧。因为我家盒子还是能看电视的,感谢解答,谢谢
不行,安卓分区匹配原厂的,匹配不了其他系统
不行,安卓分区匹配原厂的,匹配不了其他系统
好的感谢大佬
创维E900V22E有线网络不能用 无线也不能用 5.10内核不能正常启动
今天检查发现忘了给meson-gxl-s905l2-ipbs9505.dtb添加列表了,现在已经添加了。 https://github.com/ophub/amlogic-s9xxx-armbian/commit/57c6a2826affcc6aaa8f53a02a2c254f8a13be1e
感谢大佬提供支援已搞定谢谢
在 2022-11-21 17:43:45,ophub @.***> 写道:
今天检查发现忘了给meson-gxl-s905l2-ipbs9505.dtb添加列表了,现在已经添加了。 57c6a28
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
看主板图片,你的无线和蓝牙可能是这个:Dual-band 2.4/5GHz Wi-Fi + Bluetooth (Cdtech 47822BS/Realtek 8822BS芯片),我在内核里找不到驱动。
所以你就暂时先用有线吧。 我用U盘写入的openwrt_official_amlogic_s905l2_k5.15.110_2023.05.04.img.gz没有无线,怎么办呢? FDT=/dtb/amlogic/meson-gxl-s905l2-x7-5g.dtb 安卓固件为:链接: https://pan.baidu.com/s /1OC3y8fxM_f-O7FoZINecBA提取码: wm47 型号:MGV2000 (20180902零配置版) SOC:S905L2
好的好的 非常感谢
2023年5月5日 上午10:01,shesammi1 @.***> 写道:
看主板图片,你的无线和蓝牙可能是这个:Dual-band 2.4/5GHz Wi-Fi + Bluetooth (Cdtech 47822BS/Realtek 8822BS芯片),我在内核里找不到驱动。
所以你就暂时先用有线吧。 我用U盘写入的openwrt_official_amlogic_s905l2_k5.15.110_2023.05.04.img.gz没有无线,怎么办呢? FDT=/dtb/amlogic/meson-gxl-s905l2-x7-5g.dtb 安卓固件为:链接: https://pan.baidu.com/s /1OC3y8fxM_f-O7FoZINecBA https://pan.baidu.com/s/1OC3y8fxM_f-O7FoZINecBA提取码: wm47 型号:MGV2000 (20180902零配置版) SOC:S905L2
— Reply to this email directly, view it on GitHub https://github.com/ophub/amlogic-s9xxx-armbian/issues/648#issuecomment-1535605375, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPT7X3R33DMWE7XRBIYLSTXERNPJANCNFSM6AAAAAAROREVNA. You are receiving this because you commented.
我是用联通沃家电视盒子,IPBS9505,浪潮公司的 安卓固件用的是20191218-R3300L-6.0-root-twrp-Milton.img 之前用Armbian_20.10_Arm-64_buster_current_5.9.0.img这个在U盘上运行,只是Armbian软件版本很低,没有Armbian-software等指令,也不能升级6.1的内核 再刷Armbian_23.05.0_amlogic_s905l2_jammy_6.1.22_server_2023.04.05.img 和Armbian_23.08.0_amlogic_s905l2_jammy_6.1.52_server_2023.09.12.img都不成功 进入安装页面后报##Error: "bootfromsd" not defined 然后重启 我不知道是不是我在U盘运行的原因,我没有用SD卡
看文档选择正确的配置,你选的固件不对,手动改,或者生成对应的wojia
谢谢O大 Armbian_23.08.0_amlogic_s905l2_lunar_5.15.132_server_2023.09.20.img.gz这个可以安装armbian成功,配的是20191218-R3300L-6.0-root-twrp-Milton.img安卓系统 注意事项: 用5.15的内核,6.1的内核不行 只要将U盘uEnv.txt中的DTB文件路径改了,把exlinux\extlinux.conf.bak .bak删除,里面的内容不要动,dtb不要改
请教大佬,mgv2000 cw 905l2,无线蓝牙是8822的,现在刷armbian,无线正常了吗?这里安卓的底包有吗?没有找到,求教!
ðmac { status = "okay"; phy-mode = "rmii"; phy-handle = <&internal_phy>; }; &internal_phy { pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>; pinctrl-names = "default"; };
是按上面这个编译的dts,刚才又按老大的重新编译了,也是一样: 插上网线的图: 拔下网线的图:
请问怎么设置网口led io端口默认高低位电平?
老大请帮忙把meson-gxl-s905x-p212.dts加一下网口指示编译一个dtb,文件我测试一下,谢谢!
您好,大佬。我也有一个这样的盒子,请问有可用的安卓底包吗?您这个盒子最后armbian成功了吗?看到已经两年的帖了,不知道大佬是否还在!
SOC:S905L2品牌咪咕MGV2000 成功刷入armbian 但是写入emmc分区大小不对实际7.3g可用,但是分区6gb ,我尝试写入emmc后重新分区但好像不行,请问一下我该怎么让mmcblk2p2空间最大化7.3gb