yunsur / phicomm-n1

Armian for Phicomm N1
GNU General Public License v2.0
193 stars 75 forks source link

用官方armbian-build最新文件来编译N1(S905)的armbian #17

Closed gzxief closed 2 years ago

gzxief commented 2 years ago

正常编译bullseys,修改了代码也可以编译sid和jammy,但不能编译桌面版本,总是提示出错,又找不到代码去修改,只好用笨办法,替换N1和arm64相关的文件到最新build文件夹里

拉去N1和armbian-build的文件 git clone https://github.com/armbian/build 运行下面的文件 mkdir -p /root/build/patch/kernel/arm-64-current/ mkdir -p /root/build/patch/kernel/arm-64-legacy/ mkdir -p /root/build/packages/bsp/arm-64/ cp /root/phicomm-n1/config/boards/arm-64.conf /root/build/config/boards/ cp /root/phicomm-n1/config/sources/families/arm-64.conf /root/build/config/sources/families/ cp /root/phicomm-n1/config/kernel/linux-arm-64-current.config /root/build/config/kernel/ cp /root/phicomm-n1/config/kernel/linux-arm-64-legacy.config /root/build/config/kernel/ cp /root/phicomm-n1/packages/blobs/asound.state/asound.state.phicomm-n1 /root/build/packages/blobs/asound.state/ rsync -av /root/phicomm-n1/packages/bsp/arm-64/ /root/build/packages/bsp/arm-64/ rsync -av /root/phicomm-n1/config/bootscripts/ /root/build/config/bootscripts/ rsync -av /root/phicomm-n1/patch/kernel/arm-64-current/ /root/build/patch/kernel/arm-64-current/ rsync -av /root/phicomm-n1/patch/kernel/arm-64-legacy/ /root/build/patch/kernel/arm-64-legacy/ 然后 cd /root/build/ 你就可以armbian-build编译了,第一次比较慢,需要2-5小时

mingcheng commented 2 years ago

有没有现成的镜像文件,不需要桌面环境只用来跑服务器

gzxief commented 2 years ago

链接:https://p去an.b掉aidu.c中om/s/17v6CbG1D1KQqvBk4oZLZ4g?pwd=x1vu 提取码:x1vu

84864797 commented 1 year ago

链接:https://p 去an.b掉aidu.c中om/s/17v6CbG1D1KQqvBk4oZLZ4g?pwd=x1vu 提取码:x1vu

大佬有编译好的固件吗? 网盘分享没有了