Skip to content

[请求适配]原厂OEC/OEC-Turbo #2868

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

Closed
wants to merge 60 commits into from
Closed

[请求适配]原厂OEC/OEC-Turbo #2868

wants to merge 60 commits into from

Conversation

hoiw
Copy link

@hoiw hoiw commented Mar 22, 2025

1

@ophub
Copy link
Owner

ophub commented Mar 23, 2025

model里缺u-boot,使用的哪个?

@ophub
Copy link
Owner

ophub commented Mar 23, 2025

这个底包是amlogic的,不包含u-boot,这个是在制作专用固件img时写入到固件的。我看你提交的文件里没u-boot相关的文件。
你翻译的rk35xx内核的问题,我的rockchip设备有2个,rock5b(rk3588/5.10.160)和h28k(rk35xx/5.10.160)使用正常。

generate_uinitrd() {
cd /boot
echo -e "${STEPS} Generate uInitrd file..."
# Enable update_initramfs
[[ -f "${initramfs_conf}" ]] && sed -i "s|^update_initramfs=.*|update_initramfs=yes|g" ${initramfs_conf}
# Generate uInitrd file directly under armbian system
update-initramfs -c -k ${chroot_kernel_version}
if [[ -f "uInitrd" ]]; then
echo -e "${SUCCESS} The initrd.img and uInitrd file is Successfully generated."
[[ ! -L "uInitrd" ]] && mv -vf uInitrd uInitrd-${chroot_kernel_version}
sync && sleep 3
else
echo -e "${WARNING} The initrd.img and uInitrd file not updated."
fi
echo -e "${INFO} File situation in the /boot directory after update: \n$(ls -hl *${chroot_kernel_version})"
}

内核的config可以自定义添加需要的选项,缺少哪些选项可以更新这个文件:
https://github.com/ophub/kernel/blob/main/kernel-config/release/rk35xx/config-5.10

@ophub
Copy link
Owner

ophub commented Mar 23, 2025

Snip20250323_1

6.1.99是armbian的内核源码仓库:https://github.com/armbian/linux-rockchip
5.10.160是flippy维护的内核源码仓库:https://github.com/unifreq/linux-5.10.y-rk35xx

这2个我经常互换使用,每次编译完内核我都更新下测试这个内核能不能正常启动使用,直到下次编译我又换另外一个,有半年以上的使用中没发现启动问题。

温度的问题试试安装温度的软件包重启试试:sudo apt-get install -y lm-sensors cpufrequtils

@ophub
Copy link
Owner

ophub commented Mar 23, 2025

Snip20250323_2

肯定是UUID啊,一个脚本打包的固件肯定启动设置是一样的。

@ophub
Copy link
Owner

ophub commented Mar 23, 2025

Snip20250323_3

Amlogic也是uuid

@ophub
Copy link
Owner

ophub commented Mar 23, 2025

Snip20250323_5

Snip20250323_6

都没问题

@ophub
Copy link
Owner

ophub commented Mar 24, 2025

你的这个pr测试过确定是可以正常工作的吧?

@hoiw
Copy link
Author

hoiw commented Mar 25, 2025

115037m303vzt7e9h3m6xe

@hoiw hoiw closed this Mar 25, 2025
@wangfdsa
Copy link

115037m303vzt7e9h3m6xe

还有机会吗

@whiler
Copy link

whiler commented Mar 25, 2025

刚买的 OEC Turbo 还没开始折腾就结束了吗

@Nekopazo
Copy link

网心这种流氓公司还能管到github吗?

@yjun123
Copy link

yjun123 commented Mar 28, 2025

oec turbo 和 oec 除了内存容量以外,还有其他的差异吗?


# Set the type of file system
# Not recommend to use other file system types since the SoC is efused.
set_rootfs_type() {
Copy link

@altman08 altman08 Apr 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请问为啥不推荐其他文件系统啊,有啥坑吗,我看用btrfs开启压缩磁盘空间能省不少,原厂8g存储空间太小了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants