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

麻烦老大添加下中车的RK3399开发板 #1280

Closed
GD2021 opened this issue Apr 12, 2023 · 17 comments
Closed

麻烦老大添加下中车的RK3399开发板 #1280

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

Comments

@GD2021
Copy link

GD2021 commented Apr 12, 2023

设备名称:
CRRC中国中车 RK3399开发板
版型:
image
配置如下:
2+16g
usb3.0 X2
usb2.0 x1
tf卡槽 x1
HDMI x1
3.5耳机口 x1
千兆网口 x1
带WiFi
带蓝牙
1000M网口

dtb链接:
https://musetransfer.com/s/r3tu9egcd
我从固件中提取了dtb,如果还需要别的我再去提取

@ophub
Copy link
Owner

ophub commented Apr 12, 2023

还要u-boot文件。你是从什么固件里复制的文件?这个固件发一下

@GD2021
Copy link
Author

GD2021 commented Apr 13, 2023

https://musetransfer.com/s/oa7uwgmnf
《Armbian_crrc_ubuntu20.04》

@ophub
Copy link
Owner

ophub commented Apr 13, 2023

用这个,tf卡试试 ,我看了你发的ubuntu镜像,他使用的rk3399-orangepi的u-boot,所以你可以修改下/boot/armbianEnv.txt里dtb的名称为:rk3399-orangepi.dtb试试。反馈下测试结果。

https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_jammy_04.13.0608

@ophub ophub added the support This need is supported label Apr 13, 2023
@GD2021
Copy link
Author

GD2021 commented Apr 13, 2023

固件反馈
固件包:[Armbian_23.05.0_rockchip_crrc_jammy_6.1.23_server_2023.04.13.img.gz]

结论效果:没有做任何改动,直接刷入了这个固件,可以正常系统没有问题。唯一有报错就是启动的时候看到一个
image

@GD2021
Copy link
Author

GD2021 commented Apr 13, 2023

gpt 回复

这个错误提示是因为 OpenSSH 服务启动失败导致的。可能的原因包括:

  1. 端口被占用:OpenSSH 默认监听 22 端口,如果该端口已被占用,OpenSSH 就无法启动。您可以尝试修改配置文件中的端口号,如 /etc/ssh/sshd_config。

  2. 配置文件错误:如果配置文件中存在语法错误或不兼容的配置项,OpenSSH 也可能无法启动。您可以检查配置文件中是否存在错误,或者尝试还原默认配置文件。

  3. 依赖项缺失:OpenSSH 启动需要依赖一些库文件或者其他服务,如果这些依赖项缺失或者未正确安装,OpenSSH 也会启动失败。

针对这个问题,您可以尝试以下解决方案:

  1. 确认端口是否被占用:可以使用 lsof 命令查看当前系统中哪些进程正在使用 22 端口。

  2. 检查 /etc/ssh/sshd_config 文件是否存在语法错误或不兼容的配置项。

  3. 检查系统中是否安装了必要的依赖项,如 openssl 和 libpam。可以使用 apt-get 或者 yum 安装缺失的依赖项。

  4. 尝试重新安装 OpenSSH,可以使用 apt-get 或者 yum 安装最新版本的 OpenSSH。

  5. 如果以上方法都无法解决问题,您可以尝试重启系统,或者重装 armbian 操作系统。

@ophub
Copy link
Owner

ophub commented Apr 13, 2023

# Restart ssh service
[[ -d "/var/run/sshd" ]] || mkdir -p -m0755 /var/run/sshd 2>/dev/null
[[ -f "/etc/init.d/ssh" ]] && {
sleep 5 && /etc/init.d/ssh restart 2>/dev/null &&
echo "[$(date +"%Y.%m.%d.%H:%M:%S")] The ssh service restarted successfully." >>${custom_log}
}

这个ssh问题几个月前出现过,我这样加了个重启,系统启动到最后一步时重启这个服务。看你的屏幕上没有执行我的这个启动脚本呢。
你键盘重启下ssh服务,如果提示没有安装OpenSSH就安装一下。应该默认自带了OpenSSH了。

service ssh restart

sudo apt-get update
sudo apt-get install openssh-server

@ophub
Copy link
Owner

ophub commented Apr 13, 2023

你看我前面的一个帖子,修改下dtb名字重启试试。那个文件有dts源码。你发的这个dtb可能只是改了下文件里盒子的名称,你有这个crrc-dtb文件的源码没?

我给你打包个debian的试试ssh服务
https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_bullseye_04.13.0845

@ophub ophub added documentation Improvements or additions to documentation new box Research Fills in the Blanks labels Apr 13, 2023
@GD2021
Copy link
Author

GD2021 commented Apr 13, 2023

收到 好的

@GD2021
Copy link
Author

GD2021 commented Apr 13, 2023

◆固件反馈
◆固件包:[Armbian_23.05.0_rockchip_crrc_jammy_6.1.23_server_2023.04.13.img.gz]

◆更改为:
image

◆结论效果:无法启动

◆固件包:[rmbian_23.05.0_rockchip_crrc_bullseye_6.1.23_server_2023.04.13.img.gz]

◆结论效果:可以正常启动,启动时有三处报错

image
image

@GD2021
Copy link
Author

GD2021 commented Apr 13, 2023

我没有源码,还有一个安卓原版备份,以及一个不知道干啥的截图
image

@ophub
Copy link
Owner

ophub commented Apr 13, 2023

TTL终端你没接所以报错,可忽略
你说的那张不知道干啥的截图很重要啊,可能是个藏宝图呢。
你有rk3399-crrc.dts源码没?找下这个文件

@GD2021
Copy link
Author

GD2021 commented Apr 14, 2023

https://toi.teracloud.jp/share/11c148fb24fe2441
这是原版的安卓固件链接,麻烦各位商界的名流、业界的精英提取一下dts

@ophub
Copy link
Owner

ophub commented Apr 14, 2023

这个云不让下载。你前面用的发ubuntu那个云可以直接下载。
那个ubuntu在哪下载的呢?他网站里有源码没?

@GD2021
Copy link
Author

GD2021 commented Apr 14, 2023

您试试这个
https://g.itemz.cn/rW9bku

@GD2021
Copy link
Author

GD2021 commented Apr 14, 2023

原地址:
https://g.itemz.cn/mh0HPV

@ophub
Copy link
Owner

ophub commented Apr 14, 2023

https://github.com/ophub/kernel/releases/tag/tools
安卓系统我转存到这里了

@gogogo668
Copy link

补充安卓反编dts
crrc安卓.zip

@ophub ophub closed this as completed Apr 19, 2023
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