N1盒子U盘可正常启动OpenWRT,写入到 eMMC 后卡开机画面,还有救吗
- 活死人阿過RT,N1盒子刷的 flippy的 OpenWRT。今天想要升级新版本时,按照之前的做法,运行:复制代码
- ./update-to-emmc.sh
然后提示:复制代码- the boot is on emmc, cannot update!
看到 flippy 的帖子里有一段:
于是照做了,但是拔电源拔U盘插电源启动后,就一直卡在启动画面,即显示“新一代家庭 NAS 云盘”的画面。
后来看了下写入 eMMC 的过程是这样的:复制代码- The following steps will overwrite the original data, please be sure to confirm!
- Remind again, remember to back up your important data!
- Select y to install openwrt to emmc disk, are you sure? y/n [y]
- umount -f /mnt/sda1
- total 0 partions will be deleted
- 1+0 records in
- 1+0 records out
- 1+0 records in
- 1+0 records out
- 1+0 records in
- 1+0 records out
- Welcome to fdisk (util-linux 2.35.1).
- Changes will remain in memory only, until you decide to write them.
- Be careful before using the write command.
- Device does not contain a recognized partition table.
- Created a new DOS disklabel with disk identifier 0x41fdaf0b.
- Command (m for help): Partition type
- p primary (0 primary, 0 extended, 4 free)
- e extended (container for logical partitions)
- Select (default p): Partition number (1-4, default 1): First sector (2048-15269887, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (1433600-15269887, default 15269887):
- Created a new partition 1 of type 'Linux' and of size 128 MiB.
- Command (m for help): Partition type
- p primary (1 primary, 0 extended, 3 free)
- e extended (container for logical partitions)
- Select (default p): Partition number (2-4, default 2): First sector (2048-15269887, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (1695744-15269887, default 15269887):
- Created a new partition 2 of type 'Linux' and of size 512 MiB.
- Command (m for help): Partition type
- p primary (2 primary, 0 extended, 2 free)
- e extended (container for logical partitions)
- Select (default p): Partition number (3,4, default 3): First sector (2048-15269887, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2744320-15269887, default 15269887):
- Created a new partition 3 of type 'Linux' and of size 6 GiB.
- Command (m for help): Partition number (1-3, default 3): Hex code (type L to list all codes):
- Changed type of partition 'Linux' to 'W95 FAT32 (LBA)'.
- Command (m for help): Partition number (1-3, default 3): Hex code (type L to list all codes):
- Changed type of partition 'Linux' to 'Linux'.
- Command (m for help): Partition number (1-3, default 3): Hex code (type L to list all codes):
- Changed type of partition 'Linux' to 'Linux'.
- Command (m for help): The partition table has been altered.
- Calling ioctl() to re-read partition table.
- Syncing disks.
- fdisk done
- 442+0 records in
- 442+0 records out
- 8191+0 records in
- 8191+0 records out
- begin to create filesystems ...
- create boot filesystem ...
- mkfs.fat 4.1 (2017-01-24)
- create rootfs filesystems ...
- btrfs-progs v5.6
- See http://btrfs.wiki.kernel.org for more information.
- Label: EMMC_ROOTFS
- UUID: fba12907-475b-441b-bb24-930378e60b6f
- Node size: 16384
- Sector size: 4096
- Filesystem size: 512.00MiB
- Block group profiles:
- Data: single 8.00MiB
- Metadata: single 8.00MiB
- System: single 4.00MiB
- SSD detected: yes
- Incompat features: extref, skinny-metadata
- Checksum: crc32c
- Number of devices: 1
- Devices:
- ID SIZE PATH
- 1 512.00MiB /dev/mmcblk1p2
- filesystem succeed created!
- wait for boot partition mounted ...
- mount ok
- copy boot ...done
- Write uEnv.txt ... ./inst-to-emmc.sh: line 219: can't open /boot/uEnv.txt: no such file
- head: /boot/uEnv.txt: No such file or directory
- done.
- done
- wait for root partition mounted ...
- mount ok
- make dirs ... done
- copy data ...
- copy root ... done
- copy etc ... done
- copy bin ... done
- copy sbin ... done
- copy lib ... done
- copy opt ... done
- copy usr ... done
- copy www ... done
- copy done
- Edit other config files ... done
- create shared filesystem ...
- btrfs-progs v5.6
- See http://btrfs.wiki.kernel.org for more information.
- Detected a SSD, turning off metadata duplication. Mkfs with -m dup if you want to force metadata duplication.
- Label: EMMC_SHARED
- UUID: ec2eeb1d-58f2-4c0f-b097-737e7eb96340
- Node size: 16384
- Sector size: 4096
- Filesystem size: 5.97GiB
- Block group profiles:
- Data: single 8.00MiB
- Metadata: single 8.00MiB
- System: single 4.00MiB
- SSD detected: yes
- Incompat features: extref, skinny-metadata
- Checksum: crc32c
- Number of devices: 1
- Devices:
- ID SIZE PATH
- 1 5.97GiB /dev/mmcblk1p3
- done
- All done, please reboot!
感觉85、86两行好像有点问题请教下,现在这个情况需要怎么做
- haodd刷回安卓再刷openwrt
- momometal代码不懂,先救砖,刷安卓。在重新刷一遍?
- hc922u盘用也很好,很方便…
- frankiezdh可以救砖,再换u盘
- 活死人阿過找了一圈也没看到别的办法,看来只有试试看了
- 活死人阿過手头没有USB对公线,我之前都是用的一个 C2A 的转接头,然后又没有 PC 只有 Mac,还没装虚拟机,USB_Burning_Tool只有 Windows 版,看来只有先装个虚拟机了。。。
- 活死人阿過可能是心理作用,总觉得写入 eMMC 会快点
- o0o0oo0o0o借贴请教,我家里OpenWrt开v2瑞服务器,手机用单位WIFI连回家里,开同花顺。刚刚用了两天,现在连不上了,有知道怎么回事的吗?
- jckimi你感觉是对的,个人猜测uEnv.txt是记录着uboot的env的,不过按理说,没有读到env,也可以用default的。另外这只是你刷机的log,开机的console log呢?开机log才能看出问题在哪里。
- 活死人阿過不插 U盘,直接插电源就一直卡在“新一代家庭 NAS 云盘””的启动画面,根本看不到开机 log
上两个版本我升级时,写入 eMMC 都是正常的,这次不知道出了什么问题
- BlackSe7en遇到过,后面重刷了另外个人的rom,flippy的软件包也太多了
https://www.right.com.cn/forum/thread-3160780-1-1.html - jckimi回复11#活死人阿過
接串口 Kimi - swsh007这玩意基本上刷不死
不行就再刷回去重来 - 活死人阿過非常感谢,换了这个 ROM 真的就可以正常写入 eMMC 了!第一次换了这个固件后,我偷懒把之前用 flippy 固件时的备份给恢复了,然后 **P 开启后,部分设备部分浏览器上不了部分网站,而且每个设备每个浏览器的情况还不太一样。。。
我就干脆重新刷了一遍,没有导入老的备份,重新设置后一切正常,而且还解决了之前的老问题:在 Mac 上用 Chrome 时,google.com.hk、google.com.tw 可以打开,google.com一直无法访问,但Safari 有时又正常 - 活死人阿過直接换了个固件,竟然就正常了。。