找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: xiangsm

[N1盒子] Armbian-5.77 on N1, so far so good

 火... [复制链接]
发表于 2019-3-30 02:27 来自手机 | 显示全部楼层
xiangsm 发表于 2019-3-24 13:26
是,linux下的dd命令, dd是*nix系统写磁盘镜像的事实上的标准方法。如没有现成的linux主机,可以用运行了 ...

不用这么复杂 windows可以用etcher这个软件写入镜像 之前树莓派和n1都是用这个写镜像的 完全ojbk
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-3-30 05:06 | 显示全部楼层
这个系统怎么写入emmc,我写入成功没报错,但是拔了u盘启动不了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-3-30 11:53 | 显示全部楼层
这个确实稳定了,但是蓝牙连不上天猫精灵, 连手机没什么问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-3-31 04:00 | 显示全部楼层
为什么我用这个修改的dtb文件后无法用putty远程登录,改回phicomm-n1.dtb 就可以,但是路由器管理页面可以看到n1有分配到ip
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-3-31 13:54 | 显示全部楼层
谢谢分享,另请教楼主,我之前的是4.202版本,我用winscp传输一个1g多的镜像文件到armbian的根目录,每次都是进行到一半就死机,反映变得很迟钝,需要重启才能解决,是不是我的dtb有问题?我也是更换过dtb的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-3-31 20:24 | 显示全部楼层
本帖最后由 xiangsm 于 2019-3-31 20:44 编辑
xxxxzzzz 发表于 2019-3-31 04:00
为什么我用这个修改的dtb文件后无法用putty远程登录,改回phicomm-n1.dtb 就可以,但是路由器管理页面可以 ...

问题描述不太明确,不大好回答。请先补充以下信息:
- putty登录是指ssh吧?
- 登录到n1的wlan0还是eth0?
- n1上'ip a'显示的eth0/wlan0的mac/ip在两个不同的dtb下有无区别?
- ping n1在两个dtb下有无区别?
- 运行putty的机器上的arp表?(linux用'arp -a',windows应该也有显示arp表项的命令吧)

问你这些是因为我印象中这个版本的wlan的mac地址都是相同的,如有多个n1,需要设一下mac地址克隆。所以你也可以不必回复我的问题,先试试在n1上设mac地址克隆,然后清空putty客户端主机的arp表,为减少干扰因素,路由器也可以重启一次。也许就好了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-3-31 20:26 | 显示全部楼层
hotzone 发表于 2019-3-31 13:54
谢谢分享,另请教楼主,我之前的是4.202版本,我用winscp传输一个1g多的镜像文件到armbian的根目录,每次都 ...

只能说比较符合纠缠n1多年的有线网络断流症状。参见主贴关于网络断流问题的链接。如果是的话,改一行dtb就好了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-3-31 20:34 | 显示全部楼层
guokeghc 发表于 2019-3-29 01:28
我的分区表也和楼主你的一样,看来是不能刷入emmc了。

有!救!砖!能!力!的话,自己用fdisk将emmc格了,可能就能刷成功了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-3-31 20:40 | 显示全部楼层
xiangsm 发表于 2019-3-31 20:26
只能说比较符合纠缠n1多年的有线网络断流症状。参见主贴关于网络断流问题的链接。如果是的话,改一行dtb ...

楼主,具体是修改哪一行dtb?是去linux社区里面找? 英文不是很懂啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-3-31 20:46 | 显示全部楼层
hotzone 发表于 2019-3-31 20:40
楼主,具体是修改哪一行dtb?是去linux社区里面找? 英文不是很懂啊

我没看到你的dtb,没法告诉你改哪一行,你执行:
dtc -I dtb -O dts -o n1.dts /boot/dtb/YOUR-DTB
(YOUR-DTB替换成你所用的dtb文件),然后把n1.dts文件内容贴出来,我看看。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-3-31 20:55 | 显示全部楼层
本帖最后由 hotzone 于 2019-3-31 20:57 编辑

发错了。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-3-31 20:57 | 显示全部楼层
xiangsm 发表于 2019-3-31 20:46
我没看到你的dtb,没法告诉你改哪一行,你执行:
dtc -I dtb -O dts -o n1.dts /boot/dtb/YOUR-DTB
(YO ...

是这个吗?

root@aml:/boot/dtb# dtc -I dtb -O dts -o n1.dts /boot/dtb/meson-gxl-s905d-phicomm-n1.dtb
Warning (unit_address_vs_reg): Node /scpi/clocks/scpi_clocks@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /soc/bus@c8100000/pinctrl@14 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /soc/periphs@c8834000/rng has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /soc/periphs@c8834000/pinctrl@4b0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /soc/periphs@c8834000/eth-phy-mux has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /soc/usb@c9000000 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /sound/simple-audio-card,dai-link@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /gpio-keys-polled/button@0 has a unit name, but no reg property
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-3-31 20:57 | 显示全部楼层
hotzone 发表于 2019-3-31 20:55
Warning (unit_address_vs_reg): Node /scpi/clocks/scpi_clocks@0 has a unit name,                      ...

冇事,只管把n1.dts内容贴上来,或者作为附件传上来。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-3-31 21:01 | 显示全部楼层
xiangsm 发表于 2019-3-31 20:57
冇事,只管把n1.dts内容贴上来,或者作为附件传上来。

找到了,发给你看看

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-3-31 21:09 | 显示全部楼层
hotzone 发表于 2019-3-31 21:01
找到了,发给你看看

n1.dts#1118行
原来:                        interrupts = <0x0 0x8 0x1>;
改为:                        interrupts = <0x0 0x8 0x4>;
* 不要在windows下改,我搞不清windows下的编辑器是不是会改变文件编码/格式。在n1上用vi或nano改。

改完后执行:
$ dtc -I dts -O dtb -o n1.dtb n1.dts
$ sudo cp -v n1.dtb /boot/dtb/YOUR-DTB

尽量先备份重要数据,虽然风险不大。有结果说一声。

点评

root@aml:/# nano n1.dts root@aml:/# nano n1.dts root@aml:/# dtc -I dts -O dtb -o n1.dtb n1.dts Warning (unit_address_vs_reg): Node /scpi/clocks/scpi_clocks@0 has a unit name,  详情 回复 发表于 2019-3-31 21:25
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-17 05:07

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表