貌似ubifs更省空间一些,目前我可以编译和烧录,内核也选了支持ubifs,但是mount失败。还没调试出来,我也会在这里同步我的进展
离线
貌似aodzip用的是jffs2+overlayfs,在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简单
离线
密切关注
离线
已经成功了,稍后把方法补充到本帖子中
离线
已经成功了,稍后把方法补充到本帖子中
密切关注
离线
已经成功了,稍后把方法补充到本帖子中
坐等大佬分享
离线
秦皇岛岛主 说:已经成功了,稍后把方法补充到本帖子中
密切关注
+1
离线
阿黄 说:秦皇岛岛主 说:已经成功了,稍后把方法补充到本帖子中
密切关注
+1
+1
离线
密切关注
离线
日常催更
离线
V3s SPI NAND u-boot @openwrt
http://whycan.com/t_3123.html
(出处:哇酷开发者社区【全志 V3S/F1C100s/X3】)
https://github.com/bamkrs/openwrt/commit/205ff32af08635c87c3f4840e847b21237f3dae5
移植ubifs 到 spinand的同学可以参考一下上面的链接。
离线
阿黄 说:秦皇岛岛主 说:已经成功了,稍后把方法补充到本帖子中
密切关注
+1
楼主估计是忘记更新了
离线