𝗜'𝗺 Yunsur !!𝗜'𝗺 𝗮 𝘀𝗼𝗳𝘁𝘄𝗮𝗿𝗲 𝗲𝗻𝗴𝗶𝗻𝗲𝗲𝗿 👨💻 𝘄𝗵𝗼 𝗶𝘀 𝗽𝗮𝘀𝘀𝗶𝗼𝗻𝗮𝘁𝗲 𝗮𝗯𝗼𝘂𝘁 𝗺𝘂𝘀𝗶𝗰 𝗮𝗻𝗱 𝗼𝗽𝗲𝗻 𝘀𝗼𝘂𝗿𝗰𝗲.
yunsur / phicomm-n1 Goto Github PK
View Code? Open in Web Editor NEWArmian for Phicomm N1
License: GNU General Public License v2.0
Armian for Phicomm N1
License: GNU General Public License v2.0
𝗜'𝗺 Yunsur !!𝗜'𝗺 𝗮 𝘀𝗼𝗳𝘁𝘄𝗮𝗿𝗲 𝗲𝗻𝗴𝗶𝗻𝗲𝗲𝗿 👨💻 𝘄𝗵𝗼 𝗶𝘀 𝗽𝗮𝘀𝘀𝗶𝗼𝗻𝗮𝘁𝗲 𝗮𝗯𝗼𝘂𝘁 𝗺𝘂𝘀𝗶𝗰 𝗮𝗻𝗱 𝗼𝗽𝗲𝗻 𝘀𝗼𝘂𝗿𝗰𝗲.
这个文件是bash格式,第一行應由#!/bin/sh 改成→ #!/bin/bash,否則不能运行,造作/var/log永遠不會過載清理。
The current version is 22.02, but 22.05 has come out. When can it be updated to 22.05
现在的版本是22.02,但22.05已出来了,什么时间可以更新到22.05
环境debian10 x64:
报错:
I: Extracting liblzma5...
I: Extracting zlib1g...
[ o.k. ] Installing base system [ Stage 2/2 ]
W: Failure trying to run: /sbin/ldconfig
W: See //debootstrap/debootstrap.log for details
[ error ] ERROR in function create_rootfs_cache [ main.sh:588 -> main.sh:549 -> debootstrap.sh:58 -> debootstrap.sh:230 -> general.sh:0 ]
[ error ] Debootstrap base system for current phicomm-n1 bullseye no second stage failed
[ o.k. ] Process terminated
[ error ] unmount_on_exit() called! [ main.sh:1 -> image-helpers.sh:0 ]
[ o.k. ] Unmounting [ /mnt/phicomm-n1/.tmp/rootfs-d0087f9d-7f9e-4fb9-bca3-f0409b152b16/ ]
[ error ] ERROR in function unmount_on_exit [ main.sh:1 -> image-helpers.sh:94 -> general.sh:0 ]
[ error ] debootstrap-ng was interrupted
[ o.k. ] Process terminated
root@debian:/mnt/phicomm-n1# ls -l //debootstrap/debootstrap.log
ls: cannot access '//debootstrap/debootstrap.log': No such file or directory
ldconfig这个命令是存在的,大佬看看是哪里的问题呢?
执行 /install-aml.sh 时, Copy LIB64 有几个报错,好像是/lib64目录不存在,不影响emmc启动,不知道是否有其他影响。
root@phicomm-n1:~# ./install-aml.sh
Start script create MBR and filesystem
/dev/mmcblk1
Start backup u-boot default
4+0 records in
4+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.0486684 s, 86.2 MB/s
Start create MBR and partittion
Start restore u-boot
442+0 records in
442+0 records out
442 bytes copied, 0.0036713 s, 120 kB/s
8191+0 records in
8191+0 records out
4193792 bytes (4.2 MB, 4.0 MiB) copied, 0.259453 s, 16.2 MB/s
Done
Start copy system for eMMC.
Formatting BOOT partition...mkfs.fat 4.2 (2021-01-31)
done.
Cppying BOOT...done.
Edit init config...done.
Formatting ROOT partition...
e2fsck 1.46.2 (28-Feb-2021)
ROOT_EMMC: clean, 11/403200 files, 48791/1612544 blocks
done.
Copying ROOTFS.
Copy BIN
Create DEV
Copy ETC
Copy HOME
Copy LIB
Copy LIB64
tar: lib64: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Create MEDIA
Create MNT
Copy OPT
Create PROC
Copy ROOT
Create RUN
Copy SBIN
Copy SELINUX
Copy SRV
Create SYS
Create TMP
Copy USR
Copy VAR
Copy fstab
*******************************************
Complete copy OS to eMMC
*******************************************
這是什么問題?目前已知 sudo不能執行。
Describe the bug
root@phicomm-n1:~# ls -l / total 64 drwxrwxr-x. 3 1023 1023 4096 Dec 28 22:39 Android lrwxrwxrwx. 1 1023 1023 7 Dec 28 14:05 bin -> usr/bin drwxr-xr-x 9 root root 4096 Jan 1 1970 boot drwxr-xr-x 20 root root 4340 Dec 29 01:09 dev drwxr-xr-x. 96 1023 1023 4096 Dec 29 01:09 etc drwxr-xr-x. 3 1023 1023 4096 Dec 29 00:01 home lrwxrwxrwx. 1 1023 1023 7 Dec 28 14:05 lib -> usr/lib drwx------. 2 1023 1023 16384 Dec 28 15:15 lost+found drwxr-xr-x. 2 1023 1023 4096 Dec 28 14:05 media drwxr-xr-x. 2 1023 1023 4096 Dec 28 14:05 mnt drwxr-xr-x. 3 1023 1023 4096 Dec 28 14:46 opt dr-xr-xr-x 219 root root 0 Jan 1 1970 proc drwx------. 4 1023 1023 4096 Dec 29 01:19 root drwxr-xr-x 29 root root 840 Dec 29 01:20 run lrwxrwxrwx. 1 1023 1023 8 Dec 28 14:05 sbin -> usr/sbin drwxrwxr-x. 2 1023 1023 4096 Dec 28 14:45 selinux drwxr-xr-x. 2 1023 1023 4096 Dec 28 14:05 srv dr-xr-xr-x 12 root root 0 Jan 1 1970 sys drwxrwxrwt 6 root root 120 Dec 29 01:10 tmp drwxr-xr-x. 11 1023 1023 4096 Dec 28 14:05 usr drwxr-xr-x. 12 1023 1023 4096 Dec 28 14:45 var
如题
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package libnet-ssleay-perl is at fault)
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package libnet-ssleay-perl is at fault)
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package libnet-ssleay-perl is at fault)
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package libnet-ssleay-perl is at fault)
W: Failure while configuring base packages. This will be re-attempted up to five times.
W: See //debootstrap/debootstrap.log for details (possibly the package libnet-ssleay-perl is at fault)
[ error ] ERROR in function create_chroot [ chroot-buildpackages.sh:66 ]
[ error ] Create chroot second stage failed
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye InRelease
Hit:2 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye-updates InRelease
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/debian bullseye-backports InRelease
Ign:4 http://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye/updates InRelease
Err:5 http://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye/updates Release
404 Not Found [IP: 127.0.0.1 3142]
Reading package lists...
E: The repository 'http://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye/updates Release' does not have a Release file.
你好,请问我应该怎么修正这个错误?
== kernel ==
drivers/video/fbdev/core/fbcon.c: In function ‘fbcon_scrolldelta’:
drivers/video/fbdev/core/fbcon.c:2969:14: error: ‘struct fbcon_display’ has no member named ‘scrollmode’
2969 | switch (disp->scrollmode) {
| ^~
make[4]: *** [scripts/Makefile.build:277:drivers/video/fbdev/core/fbcon.o] 错误 1
make[3]: *** [scripts/Makefile.build:540:drivers/video/fbdev/core] 错误 2
make[2]: *** [scripts/Makefile.build:540:drivers/video/fbdev] 错误 2
make[1]: *** [scripts/Makefile.build:540:drivers/video] 错误 2
make: *** [Makefile:1868:drivers] 错误 2
make: *** 正在等待未完成的任务....
最新dev版本编译出错,大佬指点下问题所在
fetch_from_repo "$GITHUB_SOURCE/complexorganizations/wireguard-manager" "wireguard-manager" "tag:v1.0.0.10-26-2021"
请问一下 这个仓库编译出来的armbian和https://github.com/ophub/amlogic-s9xxx-armbian这个仓库编译出的armbian 有何区别
大佬 有没有编译好的固件S905L的
Describe the bug
Host machine: x64 debian. Ran the build in docker environment (ubuut:hirsute), and failed.
To Reproduce
Steps to reproduce the behavior:
./compile.sh BOARD=arm-64 BRANCH=current RELEASE=buster BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,img
Provide logs:
I: Extracting libmount1...
I: Extracting libsmartcols1...
I: Extracting libuuid1...
I: Extracting mount...
I: Extracting util-linux...
I: Extracting liblzma5...
I: Extracting zlib1g...
[ o.k. ] Installing base system [ Stage 2/2 ]
chroot: failed to run command '/bin/bash': Exec format error
[ error ] ERROR in function create_rootfs_cache [ debootstrap.sh:201 ]
[ error ] Debootstrap base system for current arm-64 buster no second stage failed
[ o.k. ] Process terminated
[ o.k. ] Unmounting [ /root/phicomm-n1/.tmp/rootfs-8bfdd5f9-7432-477a-8c7c-96fc2a7d1ba4/ ]
[ error ] ERROR in function unmount_on_exit [ image-helpers.sh:65 ]
[ error ] debootstrap-ng was interrupted
[ o.k. ] Process terminated
小白一个,修改了两个文件,成功上了armbian22.05,BRANCH=current的内核为5.17.3,正常刷入S905W的盒子里,编译armbian的时候,版本只有四个,求大神指导如何添加jammy(ubuntu22.04)和sid(debian12)的版本,谢谢!!
另外修改了几个文件,在$GITHUB_SOURCE添加了网址https://git.metauniverse-cn.com/,和修改U-boot的网址,在 git时可以提速,第一次编译用了10个小时,现在基本上40分钟左右就可以了
正常编译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小时
编译出现:fatal: unable to access 'https://github.com//sfjro/aufs5-standalone/': GnuTLS recv error (-54): Error in the pull function.
GITHUB_SOURCE变量有点问题 拼接出来的地址不正确
求助,为何编译出来的都armv7,我的s905L3A 是支持64位的armv8
我是菜鸟 不会编译固件 求大佬分享个编译好的固件
要修改uEnv.txt文件,把ROOTS改为armbian_root,不然编译了也开不了机
新代码编译不成功,上一个版本只能编译5.15.60以下的版本
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.