WhyCan Forum(哇酷开发者社区)

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn

您尚未登录。

#1 2020-10-10 13:34:35

秦皇岛岛主
会员
注册时间: 2020-05-22
累计积分: 50

想把tiny200的spi-nand版本换成ubifs根文件系统,请问有详细的方法吗

貌似ubifs更省空间一些,目前我可以编译和烧录,内核也选了支持ubifs,但是mount失败。还没调试出来,我也会在这里同步我的进展

离线

#2 2020-10-10 15:37:34

孤星泪
会员
注册时间: 2020-03-18
累计积分: 139

Re: 想把tiny200的spi-nand版本换成ubifs根文件系统,请问有详细的方法吗

貌似aodzip用的是jffs2+overlayfs,在spi nand上这个文件系统有点慢,估计ubifs可以改善。

离线

#3 2020-10-12 17:11:02

xxdebug
会员
注册时间: 2018-12-08
累计积分: 12

Re: 想把tiny200的spi-nand版本换成ubifs根文件系统,请问有详细的方法吗

[    0.526872] spi spi0.0: setup mode 0, 8 bits/w, 70000000 Hz max --> 0
[    0.527768] spi-nand spi0.0: Winbond SPI NAND was found.
[    0.527803] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.528065] 3 fixed-partitions partitions found on MTD device spi0.0
[    0.528077] Creating 3 MTD partitions on "spi0.0":
[    0.528101] 0x000000000000-0x000000080000 : "uboot"
[    0.529838] 0x000000080000-0x000000580000 : "kernel"
[    0.531874] random: fast init done
[    0.543303] 0x000000580000-0x000007d80000 : "rootfs"
[    0.847984] sun6i-spi 1c05000.spi: registered child spi0.0
[    0.848476] i2c /dev entries driver
[    0.849671] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    0.877175] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    0.877989] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[    0.879851] IPv4 over IPsec tunneling driver
[    0.882497] NET: Registered protocol family 10
[    0.885300] Segment Routing with IPv6
[    0.885588] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.887064] NET: Registered protocol family 17
[    0.887144] NET: Registered protocol family 15
[    0.887207] Key type dns_resolver registered
[    0.888368] Loading compiled-in X.509 certificates
[    0.902234] sunxi-mmc 1c0f000.mmc: card claims to support voltages below defined range
[    0.902738] ubi0: default fastmap pool size: 45
[    0.902754] ubi0: default fastmap WL pool size: 22
[    0.902762] ubi0: attaching mtd2
[    0.910249] random: crng init done
[    0.915022] mmc0: new high speed SDIO card at address 0001
[    1.961543] ubi0: scanning is finished
[    1.977369] ubi0 warning: ubi_eba_init: cannot reserve enough PEBs for bad PEB handling, reserved 18, need 20
[    1.979400] ubi0: attached mtd2 (name "rootfs", size 120 MiB)
[    1.979421] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.979431] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    1.979440] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.979448] ubi0: good PEBs: 960, bad PEBs: 0, corrupted PEBs: 0
[    1.979457] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    1.979469] ubi0: max/mean erase counter: 16/10, WL threshold: 4096, image sequence number: 554246118
[    1.979479] ubi0: available PEBs: 0, total reserved PEBs: 960, PEBs reserved for bad PEB handling: 18
[    1.980731] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.981280] ubi0: background thread "ubi_bgt0d" started, PID 92
[    1.988025] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.989028] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.989053] cfg80211: failed to load regulatory.db
[    1.991891] UBIFS (ubi0:0): Mounting in unauthenticated mode
[    1.995938] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 98
[    2.056649] UBIFS (ubi0:0): recovery needed
[    2.252491] UBIFS (ubi0:0): recovery completed
[    2.252700] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    2.252722] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    2.252737] UBIFS (ubi0:0): FS size: 99930112 bytes (95 MiB, 787 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[    2.252746] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[    2.252762] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 25F3D8C2-5B84-4FE3-88AD-B435DC1A76DA, small LPT model
[    2.259114] VFS: Mounted root (ubifs filesystem) on device 0:14.
[    2.262453] devtmpfs: mounted
[    2.266379] Freeing unused kernel memory: 1024K
[    2.266482] Run /sbin/init as init process

搜下站里,比jffs2+overlayfs简单

离线

#4 2020-10-12 17:33:29

阿黄
会员
注册时间: 2018-10-03
累计积分: 201

Re: 想把tiny200的spi-nand版本换成ubifs根文件系统,请问有详细的方法吗

密切关注

离线

#5 2020-10-13 14:53:41

秦皇岛岛主
会员
注册时间: 2020-05-22
累计积分: 50

Re: 想把tiny200的spi-nand版本换成ubifs根文件系统,请问有详细的方法吗

已经成功了,稍后把方法补充到本帖子中

离线

#6 2020-10-13 15:16:15

阿黄
会员
注册时间: 2018-10-03
累计积分: 201

Re: 想把tiny200的spi-nand版本换成ubifs根文件系统,请问有详细的方法吗

秦皇岛岛主 说:

已经成功了,稍后把方法补充到本帖子中

密切关注

离线

#7 2020-10-13 16:02:33

redstar
会员
注册时间: 2020-08-30
累计积分: 2

Re: 想把tiny200的spi-nand版本换成ubifs根文件系统,请问有详细的方法吗

秦皇岛岛主 说:

已经成功了,稍后把方法补充到本帖子中

坐等大佬分享

离线

#8 2020-10-13 19:55:18

孤星泪
会员
注册时间: 2020-03-18
累计积分: 139

Re: 想把tiny200的spi-nand版本换成ubifs根文件系统,请问有详细的方法吗

阿黄 说:
秦皇岛岛主 说:

已经成功了,稍后把方法补充到本帖子中

密切关注

+1

离线

#9 2020-10-13 20:45:14

sea18c
会员
注册时间: 2019-08-05
累计积分: 184

Re: 想把tiny200的spi-nand版本换成ubifs根文件系统,请问有详细的方法吗

孤星泪 说:
阿黄 说:
秦皇岛岛主 说:

已经成功了,稍后把方法补充到本帖子中

密切关注

+1

+1

离线

#10 2020-10-19 22:12:58

哇酷小二
管理员
注册时间: 2020-04-22
累计积分: 1,818

Re: 想把tiny200的spi-nand版本换成ubifs根文件系统,请问有详细的方法吗

日常催更

在线

#11 2020-10-20 09:18:20

tianjjff
会员
注册时间: 2018-12-24
累计积分: 86

Re: 想把tiny200的spi-nand版本换成ubifs根文件系统,请问有详细的方法吗

密切关注

离线

#12 2020-10-20 12:45:53

sea18c
会员
注册时间: 2019-08-05
累计积分: 184

Re: 想把tiny200的spi-nand版本换成ubifs根文件系统,请问有详细的方法吗

日常催更

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB