找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3055|回复: 8

硬改32M,LEDE系统只认16M,求解决方法!

[复制链接]
本帖最后由 qiao99 于 2017-5-2 00:30 编辑

刷了LEDE系统,发现分给系统的只有前面16M,后面16M给了nvram分区。
以下是启动时显示的存储检查和分区信息:

  1. [    0.463945] bcma: bus0: Found MX25L25635F serial flash (size: 32768KiB, blocksize: 0x10000, blocks: 512)
  2. [    0.474698] console [ttyS0] disabled
  3. [    0.478595] 18000300.serial: ttyS0 at MMIO 0x18000300 (irq = 20, base_baud = 2500000) is a 16550A
  4. [    0.488060] console [ttyS0] enabled
  5. [    0.495267] bootconsole [ns16550a0] disabled
  6. [    1.676931] 5 bcm47xxpart partitions found on MTD device bcm47xxsflash
  7. [    1.683553] Creating 5 MTD partitions on "bcm47xxsflash":
  8. [    1.689062] 0x000000000000-0x000000040000 : "boot"
  9. [    1.701983] 0x000000040000-0x000000ff0000 : "firmware"
  10. [    1.709455] 0x000000ff0000-0x000002000000 : "nvram"
  11. [    1.716985] 0x00000004001c-0x0000001af400 : "linux"
  12. [    1.723812] 0x0000001af400-0x000000ff0000 : "rootfs"
  13. [    1.731079] mtd: device 4 (rootfs) set to be root filesystem
  14. [    1.736997] 1 squashfs-split partitions found on MTD device rootfs
  15. [    1.743268] 0x000000780000-0x000000ff0000 : "rootfs_data"
  16. [    1.792141] can not parse nvram name sb/1/boardnum(null) with value c8:3a:35:26:be:00 got -22
复制代码


以下是df命令显示的分区信息:
  1. root@LEDE:/# df -h
  2. Filesystem                Size      Used Available Use% Mounted on
  3. /dev/root                 6.0M      6.0M         0 100% /rom
  4. tmpfs                    61.2M    156.0K     61.1M   0% /tmp
  5. /dev/mtdblock5            8.4M    384.0K      8.1M   4% /overlay
  6. overlayfs:/overlay        8.4M    384.0K      8.1M   4% /
  7. tmpfs                   512.0K         0    512.0K   0% /dev
  8. root@LEDE:/#
复制代码


估计是得修改代码,求修改方法!


刚开始固件超过16M直接无法编译通过,后来改了一些地方,编译问题解决了,但是分区认32M的方法一直没找到,顺便把编译问题的补丁分享下,补丁见附件。


另外分享一张硬改后的主板照片。






本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
占沙发。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
这个才是明白人!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

16M足以
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

手艺不错。。。。。。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

焊工手艺不错啊~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

焊工手艺不错
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

焊工手艺不错
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

看来AC9换内存的话,16M足矣。。。浪费我还买了三个32M的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 01:40

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表