当前位置: 首页 > wzjs >正文

克隆网站首页做单页站几个文件夹古建设计网站

克隆网站首页做单页站几个文件夹,古建设计网站,天门市城市建设管理局网站,字画价格网站建设方案20250516使用TF卡将NanoPi NEO core开发板出厂的Ubuntu core22.04.3系统降级到Ubuntu core16.04.2 2025/5/16 10:58 缘起:NanoPi NEO core核心板出厂预制的OS操作系统为Ubuntu core22.04.3系统。 【虽然是友善之臂提供的最新的系统,但是缺少很多用用程序…

20250516使用TF卡将NanoPi NEO core开发板出厂的Ubuntu core22.04.3系统降级到Ubuntu core16.04.2
2025/5/16 10:58


缘起:NanoPi NEO core核心板出厂预制的OS操作系统为Ubuntu core22.04.3系统。
【虽然是友善之臂提供的最新的系统,但是缺少很多用用程序。新的程序可能并不一定那么稳定!】
由于Ubuntu core16.04.2久经考验,我们也在Ubuntu core16.04.2上做了很多开发了。
根据领导要求,降级了。

以前/生产线要求,插入TF卡,给一个时间点,多长时间断电拔卡。
为了满足它们的要求。现在开始琢磨升级卡了。


1、你们这个呼吸灯【快闪2次,然后等一秒^_】、 快闪【一秒2/3/5次】 慢闪【一秒一次?2秒一次】。没有量化指标。
2、大概知道了。你们 在后台自动升级的时候 ,前台的串口还是要输入 账号 密码的。
3、如果是 配置成为上电 自动刷机。我希望的是 刷机成功之后2-5秒钟?执行 poweroff操作。这样安全的关电 拔卡[表情]


https://wiki.friendlyelec.com/wiki/index.php/EFlasher/zh#.E5.BC.80.E6.9C.BA.E8.87.AA.E5.8A.A8.E7.83.A7.E5.86.99.E6.8C.87.E5.AE.9A.E7.9A.84.E7.B3.BB.E7.BB.9F
EFlasher/zh

7 开机自动烧写指定的系统
7.1 默认已开启自动烧写
所有文件名为XXXX-eflasher-OS-YYYYMMDD.img.gz的单个OS的固件,默认情况下均开启了自动烧写,如果你不希望开机自动烧写,请使用文件名为 XXXX-eflasher-multiple-os-YYYYMMDD-30g.img.gz 的固件。

7.2 配置方法
有三种途径可以进行配置:
方法1:在图形界面上,选择你要烧写的系统,在Ready to Go预览界面上,在屏幕下方钩选 "Start automatically at startup" 。
方法2: 将SD卡挂载到Windows电脑上,用notepad+文本编辑器在SD卡的Fat分区上新建一个名为eflasher.conf文件 (如果已存在就直接编辑即可),其内容如下:
[General]
autoStart=/mnt/sdcard/XXXXXX
其中,XXXXXX替换成SD卡中存放固件的目录名,例如H3平台的FriendlyCore系统目录名为 friendlycore-xenial_4.14_armhf。

方法3: 开发板运行状态下,通过串口终端,用vi编辑文件:/mnt/sdcard/eflasher.conf,文件不存在就新增一个,内容同上面的方法2。
7.3 自动烧写的进度指示
上电开机时,板上的状态灯先是呈呼吸灯状态,开机烧写固件时状态灯会快闪,烧写完成后变成慢闪,并一直停留在慢闪状态。
状态灯通常为蓝灯,某些平台板子可能会是其他颜色。
也可以利用 LCD2USB 模块,或者LCD和HDMI屏幕,得到可视化的进度指示。
8 烧写或恢复系统完成后做些其他事情
在量产时,你可能会希望在烧写系统完成后做一些额外的事情,比如点亮某个LED,你可以修改 /opt/run-eflasher.sh 脚本,在 "./eflasher-gui" 开头这一行的后面加入代码,例如下面的示例,在烧写完成后,设置某个GPIO针脚:

./eflasher-gui -qws >/dev/null 2>&1
echo 13 > /sys/class/gpio/export 
echo out > /sys/class/gpio/gpio13/direction 
echo 0 > /sys/class/gpio/gpio13/value
echo 13 > /sys/class/gpio/unexport
以下脚本则演示在S5P4418/S5P6818平台上, 烧写系统后, 将cpu id写入到eMMC系统的 /etc/cpuid.txt 文件中:

./eflasher-gui -qws >/dev/null 2>&1
partprobe /dev/mmcblk1
mount /dev/mmcblk1p2 /media/
cat /sys/devices/platform/cpu/uuid > /media/etc/cpuid.txt
umount /media/
要让上面的脚本正常运作,我们还需要设置让 eflasher-gui 在烧写完成后自动退出,需要做以下设置:
用notepad+文本编辑器在SD卡的Fat分区上编辑并新建一个名为eflasher.conf文件,将AutoExit字段设置为True:
[General]
autoStart=/mnt/sdcard/friendlycore-xenial
autoExit=true
autoStart字段则是指定开机自动烧写指定的系统而无需交互, 如果没有连接屏幕, 可以通过 LED 烧来识别烧写状态, 默认情况下, 绿色LED快闪表示正在烧写.


H:\eflasher.conf

; This is the eFlasher configuration file.
; See http://wiki.friendlyarm.com/wiki/index.php/EFlasher for detailed information.

[General]
; Automate OS installation at system startup,
; Use the "autoStart" field to specify the image path or RAW image file,
; The RAW image file can be a gzip compressed file,
; The RAW image file extension must be ".raw" or ".gz",
; Available values: friendlycore
autoStart=friendlycore

; If the "autoExit" field set to true, the eflasher-gui will automatically exit after burning or restoring is completed, 
; You can do something else after burning or restoring by modifying /opt/run-eflasher.sh.
autoExit=false

; Don't erase the flash before burning, useful if you only want to update part of the system files
disableLowFormatting=false

[UI]
; HDMI overscan option, examples:
;     screenSizePercent=auto
;     screenSizePercent=90
screenSizePercent=auto

welcomeMessage=
hideMenuButton=false
hideBackupAndRestoreButton=false
hideStatusBar=false
autoRebootWhenSDBeEjected=true

修改:

; This is the eFlasher configuration file.
; See http://wiki.friendlyarm.com/wiki/index.php/EFlasher for detailed information.

[General]
; Automate OS installation at system startup,
; Use the "autoStart" field to specify the image path or RAW image file,
; The RAW image file can be a gzip compressed file,
; The RAW image file extension must be ".raw" or ".gz",
; Available values: friendlycore
autoStart=/mnt/sdcard/friendlycore

; If the "autoExit" field set to true, the eflasher-gui will automatically exit after burning or restoring is completed, 
; You can do something else after burning or restoring by modifying /opt/run-eflasher.sh.
autoExit=false

; Don't erase the flash before burning, useful if you only want to update part of the system files
disableLowFormatting=false

[UI]
; HDMI overscan option, examples:
;     screenSizePercent=auto
;     screenSizePercent=90
screenSizePercent=auto

welcomeMessage=
hideMenuButton=false
hideBackupAndRestoreButton=false
hideStatusBar=false
autoRebootWhenSDBeEjected=true


如果要升级到出厂的Ubuntu core22.04.3系统
H:\eflasher.conf
autoStart=friendlycore-jammy
修改为:
autoStart=/mnt/sdcard/friendlycore-jammy


打印LOG:
[  OK  ] Reached target Network.
         Starting /etc/rc.local...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
[  OK  ] Started /etc/rc.local.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Serial Getty on ttyS0.
         Starting Set console scheme...
[  OK  ] Finished Set console scheme.
[  OK  ] Created slice Slice /system/getty.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Started OpenBSD Secure Shell server.

Ubuntu 22.04 LTS NanoPi-NEO-Core ttyS0

Default Login:
Username = pi
Password = pi

NanoPi-NEO-Core login: root
Password: 
root@NanoPi-NEO-Core:~# 
root@NanoPi-NEO-Core:~# whoami
root
root@NanoPi-NEO-Core:~# 
root@NanoPi-NEO-Core:~# pwd
/root
root@NanoPi-NEO-Core:~# cd /
root@NanoPi-NEO-Core:/# 
root@NanoPi-NEO-Core:/# cd /mnt/sdcard/
root@NanoPi-NEO-Core:/mnt/sdcard# ls -l
total 96
drwxr-xr-x 2 root root 32768 May 16  2025 'System Volume Information'
-rwxr-xr-x 1 root root  1023 May 16  2025  eflasher.conf
drwxr-xr-x 2 root root 32768 Apr  2  2025  friendlycore
root@NanoPi-NEO-Core:/mnt/sdcard# cd friendlycore/
root@NanoPi-NEO-Core:/mnt/sdcard/friendlycore# 
root@NanoPi-NEO-Core:/mnt/sdcard/friendlycore# ls -l
total 1063424
-rwxr-xr-x 1 root root   41943040 Nov  5  2024 boot.img
-rwxr-xr-x 1 root root         53 Apr  2  2025 info.conf
-rwxr-xr-x 1 root root        416 Apr  2  2025 partmap.txt
-rwxr-xr-x 1 root root 1044652408 Apr  2  2025 rootfs.img
-rwxr-xr-x 1 root root    2088960 Nov  9  2023 u-boot-sunxi-with-spl.bin
-rwxr-xr-x 1 root root     159868 Apr  2  2025 userdata.img
root@NanoPi-NEO-Core:/mnt/sdcard/friendlycore# 
root@NanoPi-NEO-Core:/mnt/sdcard/friendlycore# cd /
root@NanoPi-NEO-Core:/# 
root@NanoPi-NEO-Core:/# uname -a
Linux NanoPi-NEO-Core 4.14.111 #193 SMP Thu Jun 10 18:20:47 CST 2021 armv7l armv7l armv7l GNU/Linux
root@NanoPi-NEO-Core:/# 
root@NanoPi-NEO-Core:/# cat /etc/issue
Ubuntu 22.04 LTS \n \l

Default Login:
Username = pi
Password = pi

root@NanoPi-NEO-Core:/# 
root@NanoPi-NEO-Core:/# 


文章转载自:

http://C0PtZZ2n.xgLgm.cn
http://OZana81Z.xgLgm.cn
http://0i9bh7YK.xgLgm.cn
http://RALeffpE.xgLgm.cn
http://PVlYUfeQ.xgLgm.cn
http://vAN7nRWU.xgLgm.cn
http://kEQ4fD0w.xgLgm.cn
http://qHaLJqf7.xgLgm.cn
http://S4lpEPPr.xgLgm.cn
http://kzB7vvB3.xgLgm.cn
http://tp7g2oia.xgLgm.cn
http://WFzNvOCg.xgLgm.cn
http://rt9IKYh5.xgLgm.cn
http://JE2dkg6e.xgLgm.cn
http://lQAfyAr7.xgLgm.cn
http://DVmPJpKL.xgLgm.cn
http://eQadSI6I.xgLgm.cn
http://oFGLK1q6.xgLgm.cn
http://far2jSQ5.xgLgm.cn
http://H4EpRMUm.xgLgm.cn
http://quKJEeCW.xgLgm.cn
http://OtMj3i2S.xgLgm.cn
http://zdi9Tb5m.xgLgm.cn
http://SuPpZEfI.xgLgm.cn
http://o90f2MSw.xgLgm.cn
http://aKwKh0Wv.xgLgm.cn
http://QydawIPG.xgLgm.cn
http://8kjBLRex.xgLgm.cn
http://Kx33SbqS.xgLgm.cn
http://A9dyVYs9.xgLgm.cn
http://www.dtcms.com/wzjs/695888.html

相关文章:

  • 企业建设网站有哪些wordpress用户组设置
  • 长春专业网站建设价格贵州二级站seo整站优化排名
  • 建行网站yy直播间爱豆周五见
  • vue开发视频网站门户网站备案
  • 安徽省住房城乡建设厅网站物流网站建设的需求分析
  • 石家庄市建设南大街小学网站建筑网图
  • 网站建设流程知乎大型网站建设制作
  • 济宁市任城区建设局网站怎么建设商城网站
  • 太原专门做网站外贸网站sns
  • 技术支持 东莞网站建设舞蹈培训市场营销培训
  • 泰安企业建站公司流程福州短视频seo方法
  • html5单页网站营销网站与企业网站的区别
  • 网站上人家做的简历学做网站用什么服务器
  • flask做视频网站黑龙江做网站的公司有哪些
  • 番禺网站制作wordpress后台加载速度慢
  • 湖州做网站公司有那几家建设网站需要那些技术人员
  • 网站制作 wordpress电商网站seo优化
  • 西安网站建设网站推广域名注册网站 简称
  • 城固网站建设马尾网站建设
  • etherna 简洁商业企业wordpresswordpress数据库索引优化
  • 此网站域名即将过期什么直播可以做游戏视频网站吗
  • 通辽网站建设公司靖江 建设局网站
  • 贵阳网站制作免费大象2022秘密入口免费看
  • 重庆商城网站建设百度seo网站优化
  • 低价网站备案广州seo黑帽培训
  • seo优化网站推广专员招聘网页设计代码简单
  • 电脑禁止访问网站设置如何在网上推广自己
  • 服装网站建设效果电商网站建设精英
  • 黄骅港客运站电话号码wordpress 插件错误
  • 网站建设毕业设计的分类号软件平台运维方案