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

魔百和E900v21E(s905L2)使用方法 #1278

Closed
lovl88 opened this issue Apr 12, 2023 · 99 comments
Closed

魔百和E900v21E(s905L2)使用方法 #1278

lovl88 opened this issue Apr 12, 2023 · 99 comments
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported

Comments

@lovl88
Copy link

lovl88 commented Apr 12, 2023

231442743-3f8abb76-b8e5-40ba-91f2-3eee7380b447
231438960-d783fd88-ec2b-4584-b1f9-374ca645df8b
231438961-05226de5-1524-4c33-92f5-c582fef5ece5
231438982-16977adb-09a4-4e8c-89bb-65747f8197b9
魔百和E900v21E(s905L2) Armbian_jammy_只涮过6.1内核的 Armbian_bullseye 5.1 和6.1 两个内核都涮过。 这三个固件可以将系统写入 USB 后,双击打开 boot 分区,将系统自带的 /boot/extlinux/extlinux.conf.bak 文件名称中的 .bak 去掉即可使用 (我的操作是把文件复制出去把.BAK去掉在复制进来 ,两个文件都存在) 然后都可以正常启动 @ophub Armbian_bullseye 5.1内核的启动后不能dhcp 后面就没有在怎么使用啦 两个6.1内核的暂时没发现什么大问题

其它型号的如果发现有同样不能启动的问题可以试试去掉.BAK的方法

@lovl88
Copy link
Author

lovl88 commented Apr 12, 2023

我这个盒子的无线是8822CS无线带蓝牙,好像都用不了

@lovl88
Copy link
Author

lovl88 commented Apr 13, 2023

@ophubE900V21E(S905L2)这款盒子识别不了EMMC,那不是也要修改频率才能识别

@ophub
Copy link
Owner

ophub commented Apr 13, 2023

lsblk看一下。大部分的魔百和都需要降低频率使用,从200HZ降低到100或者50。你不能写入emmc报的什么错误。

@ophub
Copy link
Owner

ophub commented Apr 13, 2023

c9b6a77

我添加到了列表里了,编号122,以后你使用这个即可,名字里的关键字:s905l2-e900v21e

@ophub ophub added documentation Improvements or additions to documentation support This need is supported new box Research Fills in the Blanks labels Apr 13, 2023
@lovl88
Copy link
Author

lovl88 commented Apr 13, 2023 via email

@ophub
Copy link
Owner

ophub commented Apr 13, 2023

你选122试试,现在的固件列表里没你的盒子名称,选122即可,试试

@lovl88
Copy link
Author

lovl88 commented Apr 13, 2023

修改 /boot/uEnv.txt 里dtb的名字为:meson-gxl-s905l3b-e900v22e.dtb
,那个extlinux目录里的文件要修改吗,我之前去掉BAK才可以启动的

@lovl88
Copy link
Author

lovl88 commented Apr 13, 2023

编号122是什么没有明白

@ophub
Copy link
Owner

ophub commented Apr 13, 2023

122就是你armbian-install安装到emmc时的选项。
https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/armbian-files/common-files/etc/model_database.conf

# 一行复制下面的命令,到盒子里执行下,就覆盖了本地的原来的就文件了,然后再运行armbian-install选122即可
wget https://raw.githubusercontent.com/ophub/amlogic-s9xxx-armbian/main/build-armbian/armbian-files/common-files/etc/model_database.conf -O /etc/model_database.conf

@lovl88
Copy link
Author

lovl88 commented Apr 13, 2023

以后下载新的固件是不是就更新了DTB不用在修改了和更新这个写入122编号

@ophub
Copy link
Owner

ophub commented Apr 13, 2023

嗯,晚上我重新打包下,里面就自带了,现在你先下载下配置文件,就和打包后结果一样。只是多了这一行配置

@lovl88
Copy link
Author

lovl88 commented Apr 13, 2023 via email

@lovl88
Copy link
Author

lovl88 commented Apr 13, 2023

这个好像和那个MG2000(S905L2)的差不多编号113,我到时也测试下MY2000,这个我也有一个,不知道之前有人反馈没有
E900v21E(s905L2)测试结果如下,写入不成功 启动是用的meson-gxl-s905l3b-e900v22e.dtb

--------------------------------------------------------------------------------------
[ OPTIONS ] Please Input ID: 122
[ INFO ] Input Box ID: [ 122 ]
[ INFO ] FDTFILE: [ meson-gxl-s905l2-x7-5g.dtb ]
[ INFO ] MAINLINE_UBOOT: [  ]
[ INFO ] BOOTLOADER_IMG:  [  ]
[ INFO ] UBOOT_OVERLOAD: [ u-boot-s905x-s912.bin ]
[ INFO ] NEED_OVERLOAD: [ yes ]
[ STEPS ] Start selecting file system type...
-----------------------------------------------
  ID   TYPE
-----------------------------------------------
  1    ext4
  2    btrfs
-----------------------------------------------
[ OPTIONS ] Please Input ID (1/2): 1
[ INFO ] Input Type ID: [ 1 ]
[ INFO ] The type of file system: [ ext4 ]
[ STEPS ] Start creating eMMC partition...
[ INFO ] Start backing up the default bootloader.
记录了4+0 的读入
记录了4+0 的写出
4194304字节(4.2 MB,4.0 MiB)已复制,0.657333 s,6.4 MB/s
[ INFO ] Start create MBR and partittion.
Error: 输入/输出错误 during write on /dev/mmcblk2
Error: 输入/输出错误 during write on /dev/mmcblk2
Error: 输入/输出错误 during write on /dev/mmcblk2
[ ERROR ] Failed to create partition using [ parted ].

@ophub
Copy link
Owner

ophub commented Apr 13, 2023

lsblk
看看结果

#1277
看这个帖子,照着改频率测试

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/documents/README.cn.md
看12.16 和 12.13

@lovl88
Copy link
Author

lovl88 commented Apr 13, 2023

root@armbian:~# lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda            8:0    1  14.6G  0 disk
├─sda1         8:1    1   255M  0 part /boot
└─sda2         8:2    1  14.4G  0 part /
mmcblk2      179:0    0   7.3G  0 disk
└─mmcblk2p2  179:2    0     6G  0 part
mmcblk2boot0 179:32   0     4M  1 disk
mmcblk2boot1 179:64   0     4M  1 disk
zram0        254:0    0 462.5M  0 disk [SWAP]
zram1        254:1    0    50M  0 disk /var/log

@lovl88
Copy link
Author

lovl88 commented Apr 13, 2023

好的,我看看

@lovl88
Copy link
Author

lovl88 commented Apr 13, 2023

root@armbian:/boot/dtb# dtc -I dtb -O dts -o xxx.dts meson-gxl-s905l3b-e900v22e.dtb
xxx.dts: Warning (unit_address_vs_reg): /soc/bus@c8100000/pinctrl@14: node has a unit name, but no reg property
xxx.dts: Warning (unit_address_vs_reg): /soc/bus@c8834000/pinctrl@4b0: node has a unit name, but no reg property
xxx.dts: Warning (simple_bus_reg): /soc/bus@c8100000/pinctrl@14: missing or empty reg/ranges property
xxx.dts: Warning (simple_bus_reg): /soc/bus@c8834000/pinctrl@4b0: missing or empty reg/ranges property
xxx.dts: Warning (gpios_property): /symbols:gpio: property size (39) is invalid, expected multiple of 4
root@armbian:/boot/dtb# dtc -I dtb -O dts -o ddd.dts meson-gxl-s905l3b-e900v22e.dtb
ddd.dts: Warning (unit_address_vs_reg): /soc/bus@c8100000/pinctrl@14: node has a unit name, but no reg property
ddd.dts: Warning (unit_address_vs_reg): /soc/bus@c8834000/pinctrl@4b0: node has a unit name, but no reg property
ddd.dts: Warning (simple_bus_reg): /soc/bus@c8100000/pinctrl@14: missing or empty reg/ranges property
ddd.dts: Warning (simple_bus_reg): /soc/bus@c8834000/pinctrl@4b0: missing or empty reg/ranges property
ddd.dts: Warning (gpios_property): /symbols:gpio: property size (39) is invalid, expected multiple of 4

@ophub
Copy link
Owner

ophub commented Apr 13, 2023

忽视警告

@lovl88
Copy link
Author

lovl88 commented Apr 13, 2023

  mmc@70000      mmc@72000    mmc@74000  这三个地方  如下的行修改

max-frequency = <0x5f5e100>;

mmc@70000 {
                                compatible = "amlogic,meson-gx-mmc\0amlogic,meson-gxbb-mmc";
                                reg = <0x00 0x70000 0x00 0x800>;
                                interrupts = <0x00 0xd8 0x04>;
                                status = "okay";
                                clocks = <0x03 0x5e 0x03 0x77 0x03 0x04>;
                                clock-names = "core\0clkin0\0clkin1";
                                resets = <0x11 0x2c>;
                                pinctrl-0 = <0x21>;
                                pinctrl-1 = <0x22>;
                                pinctrl-names = "default\0clk-gate";
                                #address-cells = <0x01>;
                                #size-cells = <0x00>;
                                bus-width = <0x04>;
                                cap-sd-highspeed;
                                sd-uhs-sdr12;
                                sd-uhs-sdr25;
                                sd-uhs-sdr50;
                                sd-uhs-sdr104;
                                max-frequency = <0x5f5e100>;
                                non-removable;
                                disable-wp;
                                keep-power-in-suspend;
                                mmc-pwrseq = <0x23>;
                                vmmc-supply = <0x24>;
                                vqmmc-supply = <0x25>;
                                phandle = <0x9b>;
mmc@72000 {
                                compatible = "amlogic,meson-gx-mmc\0amlogic,meson-gxbb-mmc";
                                reg = <0x00 0x72000 0x00 0x800>;
                                interrupts = <0x00 0xd9 0x04>;
                                status = "okay";
                                clocks = <0x03 0x5f 0x03 0x7a 0x03 0x04>;
                                clock-names = "core\0clkin0\0clkin1";
                                resets = <0x11 0x2d>;
                                pinctrl-0 = <0x26>;
                                pinctrl-1 = <0x27>;
                                pinctrl-names = "default\0clk-gate";
                                bus-width = <0x04>;
                                cap-sd-highspeed;
                                max-frequency = <0x2faf080>;
                                disable-wp;
                                cd-gpios = <0x28 0x30 0x01>;
                                vmmc-supply = <0x24>;
                                vqmmc-supply = <0x25>;
                                phandle = <0x9c>;
                        };

                        mmc@74000 {
                                compatible = "amlogic,meson-gx-mmc\0amlogic,meson-gxbb-mmc";
                                reg = <0x00 0x74000 0x00 0x800>;
                                interrupts = <0x00 0xda 0x04>;
                                status = "okay";
                                clocks = <0x03 0x60 0x03 0x7d 0x03 0x04>;
                                clock-names = "core\0clkin0\0clkin1";
                                resets = <0x11 0x2e>;
                                pinctrl-0 = <0x29 0x2a>;
                                pinctrl-1 = <0x2b>;
                                pinctrl-names = "default\0clk-gate";
                                bus-width = <0x08>;
                                cap-mmc-highspeed;
                                max-frequency = <0x5f5e100>;


@lovl88
Copy link
Author

lovl88 commented Apr 13, 2023

是不是改这个地方

@ophub
Copy link
Owner

ophub commented Apr 13, 2023

改完反编译回去,同名覆盖到/boot/dtb/amlogic,重启测试,一般50,52,100都可以。

@lovl88
Copy link
Author

lovl88 commented Apr 13, 2023

只搜索到这三段代码里有这个 全改成十进制的 50000000 对应的十六进制为 0x2faf080 好像启动不了啦
你说的 50 52 100是什么 是限速吗

12.16 如何解决写入 eMMC 时 I/O 错误的问题
有些设备可以从 USB/SD/TF 正常启动 Armbian 使用,但是写入 eMMC 时会报 I/O 写入错误,例如 #989 中的案例,报错内容如下:

[ 284.338449] I/O error, dev mmcblk2, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
[ 284.341544] Buffer I/O error on dev mmcblk2, logical block 0, lost async page write
[ 284.446972] I/O error, dev mmcblk2, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
[ 284.450074] Buffer I/O error on dev mmcblk2, logical block 0, lost async page write
[ 284.497746] I/O error, dev mmcblk2, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
[ 284.500871] Buffer I/O error on dev mmcblk2, logical block 0, lost async page write
这种情况下可以调整所使用的 dtb 的工作模式速度和频率,来稳定对存储的读写支持。使用 sdr 模式时,频率是速度的 2 倍,使用 ddr 模式时,频率等于速度。如下:

sd-uhs-sdr12
sd-uhs-sdr25
sd-uhs-sdr50
sd-uhs-ddr50
sd-uhs-sdr104

max-frequency = <208000000>;
以内核源码的 dts 文件中的代码片段举例:

/* SD card */
&sd_emmc_b {
status = "okay";

bus-width = <4>;
cap-sd-highspeed;
sd-uhs-sdr12;
sd-uhs-sdr25;
sd-uhs-sdr50;
max-frequency = <100000000>;

};

/* eMMC */
&sd_emmc_c {
status = "okay";

bus-width = <8>;
cap-mmc-highspeed;
max-frequency = <100000000>;

};
一般情况下,把 &sd_emmc_c 的频率由 max-frequency = <200000000>; 下调为 max-frequency = <100000000>; 即可解决问题。如果不行可继续下调到 50000000 进行测试,并通过调整 &sd_emmc_b 来对 USB/SD/TF 进行设置,也可以使用 sd-uhs-sdr 进行限速。你可以通过修改 dts 文件并 编译 得到测试文件,也可以通过 12.13 节 中介绍的方法对已有的 dtb 文件进行反编译修改生成测试文件。反编译 dtb 文件修改时使用十六进制的值,其中十进制的 200000000 对应的十六进制为 0xbebc200,十进制的 100000000 对应的十六进制为 0x5f5e100,十进制的 50000000 对应的十六进制为 0x2faf080,十进制的 25000000 对应的十六进制为 0x17d7840。

@lovl88
Copy link
Author

lovl88 commented Apr 14, 2023

@ophub 编译修改了dtb如下两段代码
			mmc@72000 {
				compatible = "amlogic,meson-gx-mmc\0amlogic,meson-gxbb-mmc";
				reg = <0x00 0x72000 0x00 0x800>;
				interrupts = <0x00 0xd9 0x04>;
				status = "okay";
				clocks = <0x03 0x5f 0x03 0x7a 0x03 0x04>;
				clock-names = "core\0clkin0\0clkin1";
				resets = <0x11 0x2d>;
				pinctrl-0 = <0x26>;
				pinctrl-1 = <0x27>;
				pinctrl-names = "default\0clk-gate";
				bus-width = <0x04>;
				cap-sd-highspeed;
				max-frequency = <0x17d7840>;     这里改成了(十进制的 25000000 对应的十六进制为 0x17d7840)
				disable-wp;
				cd-gpios = <0x28 0x30 0x01>;
				vmmc-supply = <0x24>;
				vqmmc-supply = <0x25>;
				phandle = <0x9c>;
			};

			mmc@74000 {
				compatible = "amlogic,meson-gx-mmc\0amlogic,meson-gxbb-mmc";
				reg = <0x00 0x74000 0x00 0x800>;
				interrupts = <0x00 0xda 0x04>;
				status = "okay";
				clocks = <0x03 0x60 0x03 0x7d 0x03 0x04>;
				clock-names = "core\0clkin0\0clkin1";
				resets = <0x11 0x2e>;
				pinctrl-0 = <0x29 0x2a>;
				pinctrl-1 = <0x2b>;
				pinctrl-names = "default\0clk-gate";
				bus-width = <0x08>;
				cap-mmc-highspeed;
				max-frequency = <0x17d7840>;  这里改成了(十进制的 25000000 对应的十六进制为 0x17d7840)
				disable-wp;
				non-removable;
				disable-wp;
				mmc-ddr-1_8v;
				mmc-hs200-1_8v;
				mmc-pwrseq = <0x2c>;
				vmmc-supply = <0x2d>;
				vqmmc-supply = <0x25>;
				phandle = <0x9d>;


编译回去的 很多警告,, 复制回去后重启后依然报错如下
[ OPTIONS ] Please Input ID: 122
[ INFO ] Input Box ID: [ 122 ]
[ INFO ] FDTFILE: [ meson-gxl-s905l2-x7-5g.dtb ]
[ INFO ] MAINLINE_UBOOT: [  ]
[ INFO ] BOOTLOADER_IMG:  [  ]
[ INFO ] UBOOT_OVERLOAD: [ u-boot-s905x-s912.bin ]
[ INFO ] NEED_OVERLOAD: [ yes ]
[ STEPS ] Start selecting file system type...
-----------------------------------------------
  ID   TYPE
-----------------------------------------------
  1    ext4
  2    btrfs
-----------------------------------------------
[ OPTIONS ] Please Input ID (1/2): 1
[ INFO ] Input Type ID: [ 1 ]
[ INFO ] The type of file system: [ ext4 ]
[ STEPS ] Start creating eMMC partition...
[ INFO ] Start backing up the default bootloader.
dd: 读取 '/dev/mmcblk2' 时出错: 输入/输出错误
记录了0+0 的读入
记录了0+0 的写出
0字节已复制,0.101151 s,0.0 kB/s
[ ERROR ] Using dd to backup [ /usr/lib/u-boot/mybox-bootloader.img ] failed.

@ophub
Copy link
Owner

ophub commented Apr 14, 2023

继续换,那几个频率都试试

@lovl88
Copy link
Author

lovl88 commented Apr 14, 2023

@ophub 只换mmc72000 和mmc74000 的频率就可以啦吧

@lovl88
Copy link
Author

lovl88 commented Apr 14, 2023

@ophub 只换mmc72000 和mmc74000 的频率都改成 25000000 20000000 15000000 三种都试过了还是不行

@ophub
Copy link
Owner

ophub commented Apr 14, 2023

你的存储上标注了是nand?你网上搜一下他的代码是emmc还是nand

@open-Finch
Copy link

E900V21E CPU型号S905L2 使用Armbian_jammy5.15和6.1烧入到U盘都可以启动,U盘插入盒子,原盒子系统在开机时按遥控器右键,初次刷机多试几次,只要启动了一次,以后插U盘就可以自动从U盘启动。但是有两个问题,第一是网卡没有驱动识别不到ip地址,第二个问题是无法读写emmc!还请大神帮忙看看。

@A-nemon-e
Copy link

E900V21E CPU型号S905L2 使用Armbian_jammy5.15和6.1烧入到U盘都可以启动,U盘插入盒子,原盒子系统在开机时按遥控器右键,初次刷机多试几次,只要启动了一次,以后插U盘就可以自动从U盘启动。但是有两个问题,第一是网卡没有驱动识别不到ip地址,第二个问题是无法读写emmc!还请大神帮忙看看。

6.1没用过,5.15手动加一个overload。无法读写emmc请提供图。

@open-Finch
Copy link

E900V21E CPU型号S905L2 使用Armbian_jammy5.15和6.1烧入到U盘都可以启动,U盘插入盒子,原盒子系统在开机时按遥控器右键,初次刷机多试几次,只要启动了一次,以后插U盘就可以自动从U盘启动。但是有两个问题,第一是网卡没有驱动识别不到ip地址,第二个问题是无法读写emmc!还请大神帮忙看看。

6.1没用过,5.15手动加一个overload。无法读写emmc请提供图。
以下是输出
root@armbian:# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 1 29.3G 0 disk
├─sda1 8:1 1 255M 0 part /boot
└─sda2 8:2 1 29G 0 part /var/log.hdd
/
mmcblk2 179:0 0 7.3G 0 disk
mmcblk2boot0 179:32 0 4M 1 disk
mmcblk2boot1 179:64 0 4M 1 disk
zram0 254:0 0 462.2M 0 disk [SWAP]
zram1 254:1 0 50M 0 disk /var/log
zram2 254:2 0 0B 0 disk
root@armbian:
# armbian-install
[ STEPS ] Installing Armbian to internal eMMC...
[ STEPS ] Checking dependencies...
[ INFO ] Dependency check completed. Proceeding installation...
[ STEPS ] Initializing the environment...
[ INFO ] Use mainline u-boot: [ no ]
[ INFO ] Using ampart tool: [ yes ]
[ INFO ] Show all lists: [ no ]
[ INFO ] Internal eMMC : [ /dev/mmcblk2 ]
[ STEPS ] Start selecting device...


ID SOC MODEL DTB


101 s905d Phicomm-N1 meson-gxl-s905d-phicomm-n1. dtb
102 s905d Phicomm-N1(DMA-thresh) meson-gxl-s905d-phicomm-n1- thresh.dtb
103 s905d MECOOL-KI-Pro meson-gxl-s905d-mecool-ki-p ro.dtb
104 s905d SML-5442TW meson-gxl-s905d-sml5442tw.d tb
105 s905x HG680P meson-gxl-s905x-p212.dtb
106 s905x B860H meson-gxl-s905x-b860h.dtb
107 s905x Nexbox-a95x meson-gxl-s905x-nexbox-a95x .dtb
108 s905x TX9 meson-gxl-s905x-tx9.dtb
109 s905x T95,XiaoMI-3S,X96 meson-gxl-s905x-p212.dtb
110 s905x TBee meson-gxl-s905x-tbee.dtb


111 s905w TX3-Mini meson-gxl-s905w-tx3-mini.dt b
112 s905w W95 meson-gxl-s905w-p281.dtb
113 s905w X96-Mini meson-gxl-s905w-x96-mini.dt b
114 s905w X96W,FunTV,MXQ-Pro-4K meson-gxl-s905w-x96w.dtb
115 s905l UNT402A,M201-S,MiBox-4C meson-gxl-s905l3b-m302a.dtb
116 s905l MG101 meson-gxl-s905l-venz-v10.dt b
117 s905l2 MGV2000,MGV3000,M301A meson-gxl-s905l2-x7-5g.dtb
118 s905l2 E900v21E,MGV2000-K meson-gxl-s905l2-x7-5g.dtb
119 s905l2 Wojia-TV-IPBS9505 meson-gxl-s905l2-ipbs9505.d tb
120 s905l3 CM311-1,HG680-LC,M401A,UNT402A meson-gxl-s905l2-x7-5g.dtb


121 s905l3 CM211-1,M411A meson-gxl-s905l3b-m302a.dtb
122 s905l3 UNT400G1 meson-gxl-s905l2-x7-5g.dtb
123 s905l3b E900V22D,TY1608 meson-gxl-s905l2-x7-5g.dtb
124 s905l3b E900V21E,E900V22E,MGV2000 meson-gxl-s905l3b-e900v22e. dtb
125 s905l3b M302A,M304A,CM211-1,CM311-1 meson-gxl-s905l3b-m302a.dtb
126 s905l3b UNT403A meson-gxl-s905l3b-m302a.dtb
127 s905l3b RG020ET-CA meson-gxl-s905l3b-e900v22e. dtb
128 s905l3b IP103H,TY1608,BV310,B860AV-2.1M meson-gxl-s905l3b-m302a.dtb
129 s905lb BesTV-R3300L,SumaVision-Q7,MG101 meson-gxl-s905x-p212.dtb
130 s905lb Q96-mini meson-gxl-s905x-p212.dtb


131 s905mb S65 meson-gxl-s905x-p212.dtb
0 Other Customize Enter-custom-dtb-name


[ OPTIONS ] Please Input ID: 118
[ INFO ] Input Box ID: [ 118 ]
[ INFO ] Model Name: [ E900v21E,MGV2000-K ]
[ INFO ] FDTFILE: [ meson-gxl-s905l2-x7-5g.dtb ]
[ INFO ] MAINLINE_UBOOT: [ ]
[ INFO ] BOOTLOADER_IMG: [ ]
[ INFO ] UBOOT_OVERLOAD: [ u-boot-s905x-s912.bin ]
[ INFO ] NEED_OVERLOAD: [ yes ]
[ STEPS ] Which type of filesystem do you want for your root?

ID TYPE

1 ext4
2 btrfs

[ OPTIONS ] Please Input ID (1/2): 1
[ INFO ] Input Type ID: [ 1 ]
[ INFO ] Type of filesystem: [ ext4 ]
[ STEPS ] Partitioning eMMC...
[ INFO ] Start backing up the default bootloader.
dd: error reading '/dev/mmcblk2': Input/output error
0+0 records in
0+0 records out
0 bytes copied, 0.0504092 s, 0.0 kB/s
[ ERROR ] Using dd to backup [ /usr/lib/u-boot/mybox-bootloader.img ] failed.

@open-Finch
Copy link

连续通宵干了几个晚上,阅读了无数资料,终于干成了,emmc频率改到25hz!坚持就是胜利

@dsruanjian1
Copy link

e900v21e 我这边是可以正常启动,也已刷入emmc ,但就是没有网络,网口指示灯都没有亮,应该网口没有驱动,各位大神有没有解决的办法啊

@open-Finch
Copy link

e900v21e 我这边是可以正常启动,也已刷入emmc ,但就是没有网络,网口指示灯都没有亮,应该网口没有驱动,各位大神有没有解决的办法啊

添加uboot.emmc文件就可以驱动了

@dsruanjian1
Copy link

e900v21e 我这边是可以正常启动,也已刷入emmc ,但就是没有网络,网口指示灯都没有亮,应该网口没有驱动,各位大神有没有解决的办法啊

添加uboot.emmc文件就可以驱动了

按照这个方法有线确实可以使用了,谢谢了

@yyehdjdbejxbskd
Copy link

怎么添加的uboot.emmc 能详细说明一下吗?谢谢

@dsruanjian1
Copy link

怎么添加的uboot.emmc 能详细说明一下吗?谢谢
看这个连接
c4f6ed4

@yyehdjdbejxbskd
Copy link

E900v21E(s905l2) dtb uses meson-gxl-s905l2-x7-5g.dtb file, u-boot uses u-boot-s905x-s912.bin file, and use extlinux.conf. The 100Mb wired network works fine.
谢谢

@yyehdjdbejxbskd
Copy link

使用UBOOT的这个文件怎么弄,找半天没找到。

@ophub
Copy link
Owner

ophub commented Apr 10, 2024

/boot里
先看一下仓库根目录里的文档目录里的说明,少走弯路。

@yyehdjdbejxbskd
Copy link

复制u-boot-s905x-s912文件,改成U-boot.ext 插U盘启动可以获取ip,写入EMMC就不行了。

@dsruanjian1
Copy link

复制u-boot-s905x-s912文件,改成U-boot.ext 插U盘启动可以获取ip,写入EMMC就不行了。

再复制一份u-boot-s905x-s912文件,改成u-boot.emmc ,再写入emmc就有网络了

@yyehdjdbejxbskd
Copy link

yyehdjdbejxbskd commented Apr 10, 2024 via email

@dsruanjian1
Copy link

试过了不行  头都大了

---原始邮件--- 发件人: @.> 发送时间: 2024年4月10日(周三) 晚上7:44 收件人: @.>; 抄送: @.@.>; 主题: Re: [ophub/amlogic-s9xxx-armbian] 魔百和E900v21E(s905L2)使用方法 (Issue #1278) 复制u-boot-s905x-s912文件,改成U-boot.ext 插U盘启动可以获取ip,写入EMMC就不行了。 再复制一份u-boot-s905x-s912文件,改成u-boot.emmc ,再写入emmc就有网络了 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

我这样操作后就可以了

@yyehdjdbejxbskd
Copy link

yyehdjdbejxbskd commented Apr 10, 2024 via email

@dsruanjian1
Copy link

方便问下您是什么机器吗?我这边是创维的900v21e

---原始邮件--- 发件人: @.> 发送时间: 2024年4月10日(周三) 晚上8:34 收件人: @.>; 抄送: @.@.>; 主题: Re: [ophub/amlogic-s9xxx-armbian] 魔百和E900v21E(s905L2)使用方法 (Issue #1278) 试过了不行  头都大了 … ---原始邮件--- 发件人: @.> 发送时间: 2024年4月10日(周三) 晚上7:44 收件人: @.>; 抄送: @.@.>; 主题: Re: [ophub/amlogic-s9xxx-armbian] 魔百和E900v21E(s905L2)使用方法 (Issue #1278) 复制u-boot-s905x-s912文件,改成U-boot.ext 插U盘启动可以获取ip,写入EMMC就不行了。 再复制一份u-boot-s905x-s912文件,改成u-boot.emmc ,再写入emmc就有网络了 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> 我这样操作后就可以了 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

我的机器是e900v21e ,是白色外壳,芯片型号S905L2B

@yyehdjdbejxbskd
Copy link

yyehdjdbejxbskd commented Apr 10, 2024 via email

@yyehdjdbejxbskd
Copy link

yyehdjdbejxbskd commented Apr 11, 2024 via email

@dsruanjian1
Copy link

u盘里面写入的那个版本的系统  我用的6.1.84的不行 准备试试5.15.153的 

---原始邮件--- 发件人: @.> 发送时间: 2024年4月10日(周三) 晚上9:36 收件人: @.>; 抄送: @.@.>; 主题: Re: [ophub/amlogic-s9xxx-armbian] 魔百和E900v21E(s905L2)使用方法 (Issue #1278) 方便问下您是什么机器吗?我这边是创维的900v21e … ---原始邮件--- 发件人: @.> 发送时间: 2024年4月10日(周三) 晚上8:34 收件人: @.>; 抄送: @.@.>; 主题: Re: [ophub/amlogic-s9xxx-armbian] 魔百和E900v21E(s905L2)使用方法 (Issue #1278) 试过了不行  头都大了 … ---原始邮件--- 发件人: @.> 发送时间: 2024年4月10日(周三) 晚上7:44 收件人: @.>; 抄送: @.@.>; 主题: Re: [ophub/amlogic-s9xxx-armbian] 魔百和E900v21E(s905L2)使用方法 (Issue #1278) 复制u-boot-s905x-s912文件,改成U-boot.ext 插U盘启动可以获取ip,写入EMMC就不行了。 再复制一份u-boot-s905x-s912文件,改成u-boot.emmc ,再写入emmc就有网络了 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> 我这样操作后就可以了 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> 我的机器是e900v21e ,是白色外壳,芯片型号S905L2B — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

祝你好运,也许跟安卓底包有关系,多试试吧

@yyehdjdbejxbskd
Copy link

被我一顿乱七八糟的操作居然弄好了,也没找到什么具体问题。准备开始换源装软件玩了

@liuyi265
Copy link

谁能给一个修改频率后的dbt文件么 s905l2的 从隔壁s905l3下载的dbt文件u盘可以正常启动 刷进emmc就无法开机了

@liuyi265
Copy link

@yyehdjdbejxbskd 你好 最后怎么搞好的 我现在遇到的问题是 添加u-boot.ext 从U盘启动一切正常, 刷入emmc添加u-boot.emmc 就无法开机 没有u-boot.emmc 可以开机,但是网卡没法驱动

@yyehdjdbejxbskd
Copy link

yyehdjdbejxbskd commented Apr 24, 2024 via email

@yyehdjdbejxbskd
Copy link

yyehdjdbejxbskd commented Apr 24, 2024 via email

@liuyi265
Copy link

写入u盘镜像后 复制那个启动文件 重名u-booy.emmc   好像是这样的,好了以后还有其他问题 懒得弄了,刷了个电视系统 

---原始邮件--- 发件人: @.> 发送时间: 2024年4月24日(周三) 下午3:38 收件人: @.>; 抄送: @.@.>; 主题: Re: [ophub/amlogic-s9xxx-armbian] 魔百和E900v21E(s905L2)使用方法 (Issue #1278) @yyehdjdbejxbskd 你好 最后怎么搞好的 我现在遇到的问题是 添加u-boot.ext 从U盘启动一切正常, 刷入emmc添加u-boot.emmc 就无法开机 没有u-boot.emmc 可以开机,但是网卡没法驱动 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

好的 谢谢 我复制u-boot.emmc就无法开机了,搞了好几天了 感觉只能到此为止了

@yyehdjdbejxbskd
Copy link

yyehdjdbejxbskd commented Apr 24, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported
Projects
None yet
Development

No branches or pull requests