1 (edytowany przez badziewiak 2017-01-21 13:28:58)

Temat: WRT3200ACM wykorzystanie flash przez gargoyle

Witam
Kiedyś poruszałem ten temat przy okazji Netgear WNDR3800, ale teraz w przypadku Linksys WRT3200ACM dziwi mnie coś innego:

 ----------------------------------------------------------------
 |                                                              |
 | Gargoyle PL 1.9.1.2 (cc470be)                                |
 | OpenWrt Chaos Calmer 15.05.1 (r49479)                        |
 | Build time: 2017-01-09 21:52 CET                             |
 |                                                              |
 | Cezary Jackiewicz (obsy), http://eko.one.pl                  |
 |                                                              |
 ----------------------------------------------------------------
 | Machine: Linksys WRT3200ACM                                  |
 | Uptime: 0d, 16:43:38                                         |
 | Load: 0.00 0.00 0.00                                         |
 | Flash: total: 53.8MB, free: 49.3MB, used: 3%                 |
 | Memory: total: 503.2MB, free: 449.2MB, used: 10%             |

Pisze: Flash: total: 53.8MB
a na pudełku po routerze pisze: 256MB flash. Wynika z tego, że system zajmuje ponad 200MB. Czy jest to możliwe?
EDIT:
Wykorzystanie RAM też chyba nie jest wyświetlane poprawnie, bo faktycznie jest 512MB RAM, a przecież połowa jest zabierana na /tmp.

root@Gargoyle:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                   55048      1708     50492   3% /
/dev/root                 6400      6400         0 100% /rom
tmpfs                   257616      4232    253384   2% /tmp
/dev/ubi0_1              55048      1708     50492   3% /overlay
overlayfs:/overlay       55048      1708     50492   3% /
ubi1:syscfg              71908       512     67688   1% /tmp/syscfg
tmpfs                      512         0       512   0% /dev
MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

2

Odp: WRT3200ACM wykorzystanie flash przez gargoyle

Bo cały flash nie jest dostępny dla Ciebie smile Zobacz ile tam jest partycji:

                partition@0 {
                    label = "u-boot";
                    reg = <0x0000000 0x200000>;  /* 2MB */
                    read-only;
                };

                partition@200000 {
                    label = "u_env";
                    reg = <0x200000 0x20000>;    /* 128KB */
                };

                partition@220000 {
                    label = "s_env";
                    reg = <0x220000 0x40000>;    /* 256KB */
                };

                partition@7e0000 {
                    label = "devinfo";
                    reg = <0x7e0000 0x40000>;   /* 256KB */
                    read-only;
                };

                partition@820000 {
                    label = "sysdiag";
                    reg = <0x820000 0x1e0000>;   /* 1920KB */
                    read-only;
                };

                /* kernel1 overlaps with rootfs1 by design */
                partition@a00000 {
                    label = "kernel1";
                    reg = <0xa00000 0x5000000>;  /* 80MB */
                };

                partition@1000000 {
                    label = "rootfs1";
                    reg = <0x1000000 0x4a00000>;  /* 74MB */
                };

                /* kernel2 overlaps with rootfs2 by design */
                partition@5a00000 {
                    label = "kernel2";
                    reg = <0x5a00000 0x5000000>; /* 80MB */
                };

                partition@6000000 {
                    label = "rootfs2";
                    reg = <0x6000000 0x4a00000>; /* 74MB */
                };

                /*
                 * 86MB, last MB is for the BBT, not writable
                 */
                partition@aa00000 {
                    label = "syscfg";
                    reg = <0xaa00000 0x5600000>;
                };

                /*
                 * Unused area between "s_env" and "devinfo".
                 * Moved here because otherwise the renumbered
                 * partitions would break the bootloader
                 * supplied bootargs
                 */
                partition@180000 {
                    label = "unused_area";
                    reg = <0x260000 0x5c0000>;   /* 5.75MB */
                };
            };
Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: WRT3200ACM wykorzystanie flash przez gargoyle

No tak, zbyt pazerny jestem wink Ale na 8MB flash jakoś nie żre aż tyle...

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

4

Odp: WRT3200ACM wykorzystanie flash przez gargoyle

Tu masz ubifs, on nie jest tak bardzo kompresowany jak squashfs który był tylko do odczytu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.