|
本帖最后由 qiao99 于 2017-5-2 00:30 编辑
刷了LEDE系统,发现分给系统的只有前面16M,后面16M给了nvram分区。
以下是启动时显示的存储检查和分区信息:
- [ 0.463945] bcma: bus0: Found MX25L25635F serial flash (size: 32768KiB, blocksize: 0x10000, blocks: 512)
- [ 0.474698] console [ttyS0] disabled
- [ 0.478595] 18000300.serial: ttyS0 at MMIO 0x18000300 (irq = 20, base_baud = 2500000) is a 16550A
- [ 0.488060] console [ttyS0] enabled
- [ 0.495267] bootconsole [ns16550a0] disabled
- [ 1.676931] 5 bcm47xxpart partitions found on MTD device bcm47xxsflash
- [ 1.683553] Creating 5 MTD partitions on "bcm47xxsflash":
- [ 1.689062] 0x000000000000-0x000000040000 : "boot"
- [ 1.701983] 0x000000040000-0x000000ff0000 : "firmware"
- [ 1.709455] 0x000000ff0000-0x000002000000 : "nvram"
- [ 1.716985] 0x00000004001c-0x0000001af400 : "linux"
- [ 1.723812] 0x0000001af400-0x000000ff0000 : "rootfs"
- [ 1.731079] mtd: device 4 (rootfs) set to be root filesystem
- [ 1.736997] 1 squashfs-split partitions found on MTD device rootfs
- [ 1.743268] 0x000000780000-0x000000ff0000 : "rootfs_data"
- [ 1.792141] can not parse nvram name sb/1/boardnum(null) with value c8:3a:35:26:be:00 got -22
复制代码
以下是df命令显示的分区信息:
- root@LEDE:/# df -h
- Filesystem Size Used Available Use% Mounted on
- /dev/root 6.0M 6.0M 0 100% /rom
- tmpfs 61.2M 156.0K 61.1M 0% /tmp
- /dev/mtdblock5 8.4M 384.0K 8.1M 4% /overlay
- overlayfs:/overlay 8.4M 384.0K 8.1M 4% /
- tmpfs 512.0K 0 512.0K 0% /dev
- root@LEDE:/#
复制代码
估计是得修改代码,求修改方法!
刚开始固件超过16M直接无法编译通过,后来改了一些地方,编译问题解决了,但是分区认32M的方法一直没找到,顺便把编译问题的补丁分享下,补丁见附件。
另外分享一张硬改后的主板照片。
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|