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

海信IP103H S905L3B 支持写入EMMC #1154

Closed
gbsadmin opened this issue Mar 10, 2023 · 5 comments
Closed

海信IP103H S905L3B 支持写入EMMC #1154

gbsadmin opened this issue Mar 10, 2023 · 5 comments
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported

Comments

@gbsadmin
Copy link

Standard chat template, no routine, no chat.
标准聊天模板,无套路不聊天。

Device Information | 设备信息

  • SOC: S905L3B
  • Model 海信IP103H (移动)

Armbian Version | 系统版本

  • Kernel Version: 5.15.98
  • Release: jammy、bullseye

Describe the bug | 问题描述
Describe the problem in detail and attach screenshots if necessary.
折腾了两天,IP103H盒子 芯片是S905L3B,测试支持写入EMMC,USB可用,有线网络可用。部分6.1的核心也可用

已知问题是无线/蓝牙不可用(芯片是UWE5621DS),HDMI不可用,音频没试(估计也不行)。
刷入armbian前先刷了HG680-LC ATV线刷包,用了一阵子,还可以 有谷歌套件
在刷入armbian后,如再想刷回盒子通过双公头线和短接可能无法回去,短接后电脑没反应USB_Burning没有显示设备,可能是uboot问题或是操作不对。需提前armbian-ddbr备份
下面是IP103H,S905L3B能用的镜像固件包及芯片信息,感谢 ophub 编译镜像
QQ截图20230310125917
QQ截图20230310125420
IMG_20230301_192758_edit_1093665914046662
IMG_20230302_123455_edit_109301223890613
IMG_20230310_140542_edit_116091423371869

@ophub
Copy link
Owner

ophub commented Mar 10, 2023

你用的配置是哪个,支持6.1.y系列USB和emmc启动的。我把这个设备添加到安装列表的选项里。
s905l3_6.1.15的这个,我看你支持emmc和usb启动,他的选项是116

116 :CM311-1/HG680-LC/M401A :s905l3 :meson-gxl-s905l2-x7-5g.dtb :u-boot-p212.bin :NA :NA :stable :amlogic :meson-gxl :uEnv.txt :s905l3 :yes

你再确认下 116 的这个信息:

cat /boot/uEnv.txt
ls -l /boot/u-boot*

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

gbsadmin commented Mar 10, 2023

QQ截图20230311002051

root@armbian:~ cat /boot/uEnv.txt
LINUX=/zImage
INITRD=/uInitrd
FDT=/dtb/amlogic/meson-gxl-s905l3b-m302a.dtb
APPEND=root=UUID=375df762-7413-4235-a1c5-1a62e4fd5545 rootflags=data=writeback rw rootfstype=ext4 console=ttyAML0,115200n8 console=tty  0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memo  ry swapaccount=1
root@armbian:~ ls -l /boot/u-boot*
-rwxr-xr-x 1 root root 704408 Mar 11 00:11 /boot/u-boot-e900v22c.bin
-rwxr-xr-x 1 root root 606670 Mar 11 00:11 /boot/u-boot.emmc
-rwxr-xr-x 1 root root 606670 Mar 11 00:11 /boot/u-boot.ext
-rwxr-xr-x 1 root root 757153 Mar 11 00:11 /boot/u-boot-gtking.bin
-rwxr-xr-x 1 root root 757080 Mar 11 00:11 /boot/u-boot-gtkingpro.bin
-rwxr-xr-x 1 root root 735459 Mar 11 00:11 /boot/u-boot-gtkingpro-rev-a.bin
-rwxr-xr-x 1 root root 702771 Mar 11 00:11 /boot/u-boot-n1.bin
-rwxr-xr-x 1 root root 761012 Mar 11 00:11 /boot/u-boot-odroid-n2.bin
-rwxr-xr-x 1 root root 553489 Mar 11 00:11 /boot/u-boot-p201.bin
-rwxr-xr-x 1 root root 606670 Mar 11 00:11 /boot/u-boot-p212.bin
-rwxr-xr-x 1 root root 633376 Mar 11 00:11 /boot/u-boot-r3300l.bin
-rwxr-xr-x 1 root root 609247 Mar 11 00:11 /boot/u-boot-s905.bin
-rwxr-xr-x 1 root root 740080 Mar 11 00:11 /boot/u-boot-s905x2-s922.bin
-rwxr-xr-x 1 root root 650183 Mar 11 00:11 /boot/u-boot-s905x-s912.bin
-rwxr-xr-x 1 root root 709768 Mar 11 00:11 /boot/u-boot.sd
-rwxr-xr-x 1 root root 754378 Mar 11 00:11 /boot/u-boot-sei510.bin
-rwxr-xr-x 1 root root 754384 Mar 11 00:11 /boot/u-boot-sei610.bin
-rwxr-xr-x 1 root root 880672 Mar 11 00:11 /boot/u-boot-skyworth-lb2004.bin
-rwxr-xr-x 1 root root 758664 Mar 11 00:11 /boot/u-boot-tx3-bz.bin
-rwxr-xr-x 1 root root 759112 Mar 11 00:11 /boot/u-boot-tx3-qz.bin
-rwxr-xr-x 1 root root 694755 Mar 11 00:11 /boot/u-boot-u200.bin
-rwxr-xr-x 1 root root 877080 Mar 11 00:11 /boot/u-boot-ugoos-x3.bin
-rwxr-xr-x 1 root root 709768 Mar 11 00:11 /boot/u-boot.usb
-rwxr-xr-x 1 root root 748175 Mar 11 00:11 /boot/u-boot-x96max.bin
-rwxr-xr-x 1 root root 746678 Mar 11 00:11 /boot/u-boot-x96maxplus.bin
-rwxr-xr-x 1 root root 703444 Mar 11 00:11 /boot/u-boot-zyxq.bin

Armbian_23.02.0_amlogic_s905l3_jammy_6.1.15_server
Armbian_23.02.0_amlogic_s905l3_bullseye_6.1.15_server
uboot可选:u-boot-s905x-s912.bin、u-boot-p212.bin
dtb可选:meson-gxl-s905l2-x7-5g.dtb、meson-gxl-s905l3b-e900v22e.dtb、meson-gxl-s905l3b-m302a.dtb

另外s905l3a_5.15镜像将u-boot-s905x-s912.bin 重命名为u-boot-e900v22c.bin,使用meson-gxl-s905l2-x7-5g.dtb或meson-gxl-s905l3b-*.dtb也可以U盘启动,emmc没试 应该也可以。貌似很多都可以改一改能启动,都有有线网络;但无线BT一个也没有。还有6.1.x的启动日志开头显示没有mac,之后又给了个跟原厂不同mac,但启动后不影响使用。话说大佬能不能把这个无线bt加上。感觉jammy比bullseye运行快,不知道是不是幻觉。

@ophub
Copy link
Owner

ophub commented Mar 11, 2023

@gbsadmin
Copy link
Author

gbsadmin commented Mar 12, 2023

112 :M302A,M304A,IP103H :s905l3b :meson-gxl-s905l3b-m302a.dtb :u-boot-s905x-s912.bin

IP103H LED灯控制

echo 507 > /sys/class/gpio/export #绿灯
echo out > /sys/class/gpio/gpio507/direction
echo 1 > /sys/class/gpio/gpio507/value #亮
echo 0 > /sys/class/gpio/gpio507/value #灭

echo 474 > /sys/class/gpio/export #红灯
echo out > /sys/class/gpio/gpio474/direction #亮
echo 0 > /sys/class/gpio/gpio474/value #亮
echo 1 > /sys/class/gpio/gpio474/value #灭

修改uboot环境变量 开机时开启led灯
bootcmd=gpio toggle GPIODV_24; run start_autoscript; run storeboot
串口开机进入uboot
setenv bootcmd 'bootcmd=gpio toggle GPIODV_24; run start_autoscript; run storeboot'
saveenv
GPIODV_24 #红灯
GPIOAO_6 #绿灯

@KaMuMom
Copy link

KaMuMom commented Jan 6, 2024

How to boot with a USB flash drive
如何使用U盘启动

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

3 participants