Giter Site home page Giter Site logo

n1-install's Issues

无线网络无法驱动

作者,
您好。我发现我的phicomm n1安装archlinux后,无线网络无法驱动,想请教下如何解决。按理说应该可以用无线网络的,我安装armbian时可以的。谢谢您!

蓝牙

请问蓝牙可以正常工作吗? 我手动添加了armbian的/lib/firmware/BCM4345C0.hcd 还是不行
[root@alarm ~]# hciconfig -a
hci0: Type: Primary Bus: SDIO
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0
Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DH1 HV1
Link policy:
Link mode: SLAVE ACCEPT

安装中几点不明白的地方求解,谢谢

1.pacman -Sy linux-phicomm-n1 linux-phicomm-n1-headers
执行这部安装时,提示没有这2个文件,是哪里不对造成的吗?

  1. (需要在N1本机上操作)
    这句话的理解,是用ROOT在armbian中执行吗?

感谢解答!

内核升级和编译

你好,非常感谢你的教程。
我想问下,内核是否可以从几个月前的版本直接升级?
还有,能否分享一下如何编译N1的内核?只有命令行也可以。一来借鉴学习,二来可以自力更生。

我没明白具体怎么操作

我用的是和斐讯一样的s905TV盒子,移动魔百盒G2 -40F.
请问有其他的更具体的图文,或视频吗?这样更容易学习。
可以给我留给联系方式吗?我想具体问问

请教一个桌面的问题

在内核仓库里问桌面的问题好像不太合适,但是我确实不知道去哪里问.
通过这个教程,安装成功了,但是在我安装桌面环境时,一直启动不起来.

安装的显示驱动是xf86-video-armsoc-meson,
使用lxdm启动lxde-gtk3.
lxdm可以显示出图形,但是没有鼠标,登录进去不能显示菜单,没有鼠标光标,但是按鼠标右键可以出来一个黑色的菜单.
使用xfce4桌面,什么都显示不出来.
是要配置哪里呢?
需要从哪里开始分析问题?

启动过程的问题

按文档里的描述:

启动原理 第一步 : N1 内置 u-boot -> 优先寻找 U盘 -> 寻找 boot 分区的 s905_autoscript -> 根据这个 s905_autoscript 的内容加载新的 u-boot, 也就是 u-boot.ext

启动原理 第二步 : 根据 u-boot.ext 内置的脚本依次执行 : bootcmd -> distro_bootcmd -> boot_targets -> bootcmd_usb0 -> usb_boot -> scan_dev_for_boot_part -> scan_dev_for_boot -> scan_dev_for_extlinux -> boot_extlinux, 然后找到了 extlinux.conf

启动原理 第三步 : 根据 extlinux.conf 的设置, 定位 root 分区 -> 寻找 zImage 和 uInitrd 也就是安装 kernel 后生成的 两个文件. 至此, 控制权交给了 linux 内核.

第一步指的内置u-boot 是哪个文件?
我计划把archlinux安装到U盘里,是还需要内置u-boot才能启动吗?
如果我把emmc格式化掉,那是不是再也不能使用这个U盘系统启动了?

接上一个问题,那把内置u-boot也拷贝一份到U盘里,是不是就可以保证U盘可以启动了?具体要拷贝哪几个文件呢?

现在我安装的是armbian.
是要把boot目录下的所有文件都拷贝到U盘里吗?
如果我要把archlinux安装到EMMC,还要保留这个目录里的文件吗?

justin@arm-64:/boot$ ls -lrt
total 55824
-rwxr-xr-x 1 root root 27857408 Jul  6  2020 zImage
-rwxr-xr-x 1 root root  5690310 Jul  6  2020 System.map-5.7.7-arm-64
-rwxr-xr-x 1 root root   214404 Jul  6  2020 config-5.7.7-arm-64
drwxr-xr-x 5 root root     8192 Jul 29  2020 dtb
-rwxr-xr-x 1 root root      990 Jul 29  2020 boot.scr.aw
-rwxr-xr-x 1 root root      836 Jul 29  2020 boot.scr
-rwxr-xr-x 1 root root      836 Jul 29  2020 boot-emmc.scr.aw
-rwxr-xr-x 1 root root      571 Jul 29  2020 boot-emmc.ini
-rwxr-xr-x 1 root root      764 Jul 29  2020 boot-emmc.cmd.aw
-rwxr-xr-x 1 root root      764 Jul 29  2020 boot-emmc.cmd
-rwxr-xr-x 1 root root      918 Jul 29  2020 boot.cmd.aw
-rwxr-xr-x 1 root root      957 Jul 29  2020 boot.cmd
-rwxr-xr-x 1 root root    38518 Jul 29  2020 boot.bmp
-rwxr-xr-x 1 root root     1536 Jul 29  2020 armbian_first_run.txt.template
-rwxr-xr-x 1 root root   709768 Jul 29  2020 u-boot.usb
-rwxr-xr-x 1 root root   709768 Jul 29  2020 u-boot.sd
-rwxr-xr-x 1 root root      759 Jul 29  2020 emmc_autoscript.cmd
-rwxr-xr-x 1 root root      831 Jul 29  2020 emmc_autoscript
-rwxr-xr-x 1 root root     1317 Jul 29  2020 uEnv.txt
-rwxr-xr-x 1 root root 10896828 Mar 10 11:07 initrd.img-5.7.7-arm-64
-rwxr-xr-x 1 root root 10896892 Mar 10 11:07 uInitrd

另一种思路安装archlinuxarm

1 直接利用armbian image文件刷U盘,
2 mount U盘的系统分区,复制 armbian的 lib/modules/ 和lib/firmware
3 删除其他文件夹,下载archlinuxarm的tar.gz,解压到系统根目录
4复制 armbian的 lib/modules/ 和lib/firmware 到 相对应的位置
5 编辑archlinux里的各种配置文件(ip 等等)
5 重启,就可以U盘引导了
这样利用了armbian的内核和archlinux的系统环境,如果需要进一步那就再自己编译内核,至于安装到EMMC 没有试过,有兴趣的可以自己试试从armbian里边复制相应的功能也不复杂

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.