5268ac routers
#17
I've been digging into a copy of the dumped firmware and looking at the u-boot logs. The MTD storage is basically as follows:

First 512KB: u-boot
Next 1024KB: unknown, perhaps some Broadcom second stage boot loader?
Remaining 131MB: General storage (dump has total 132MB, but the flash chip is only 128MB, don't understand this).

Mount info:

Code:
# mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,relatime)
sys on /sys type sysfs (rw,relatime)
/dev on /dev type tmpfs (rw,relatime)
/tmp on /tmp type tmpfs (rw,relatime)
/dev/opentla4 on /rwdata type ext2 (rw,relatime)
/dev/loop0 on / type squashfs (ro,relatime)
etc on /etc type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
/dev/loop1 on /mnt/web type squashfs (ro,relatime)



df:
Code:
# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/opentla4          119.0M    37.2M    80.6M  32% /rwdata
/dev/loop0              29.6M    29.6M        0 100% /
/dev/loop1                1.4M      1.4M        0 100% /mnt/web

Bootlogs are here: https://deviwiki.com/wiki/Pace_5268AC and you can very clearly see how the partitions should be on the NAND flash:
Code:
[    2.282000] MTD partition(0) offset=0 size=524288 num=3
[    2.287000] MTD partition(1) offset=524288 size=1048576 num=3
[    2.293000] MTD partition(2) offset=1572864 size=132644864 num=3

So again, clearly mtd0 is 512KB, mtd1 is 1MB and mtd2 is 126.5MB, totally 128MB as the chip specs say. Part I dont understand is why there's not separated partitions for one or two software images to be loaded into ram on each boot and then a couple r/w partitions for persistent storage or certs or something. Why is it all piled into one partition?
Reply


Messages In This Thread
5268ac routers - by drsnooker - 11-27-2021, 09:49 PM
RE: 5268ac routers - by calexico - 11-28-2021, 03:21 AM
RE: 5268ac routers - by drsnooker - 12-06-2021, 02:03 AM
RE: 5268ac routers - by evets97 - 12-06-2021, 08:37 PM
RE: 5268ac routers - by drsnooker - 12-13-2021, 03:03 AM
RE: 5268ac routers - by evets97 - 12-13-2021, 03:39 PM
RE: 5268ac routers - by drsnooker - 12-13-2021, 08:24 PM
RE: 5268ac routers - by drsnooker - 01-02-2022, 01:50 AM
RE: 5268ac routers - by drsnooker - 01-03-2022, 04:10 AM
RE: 5268ac routers - by drsnooker - 01-04-2022, 12:43 AM
RE: 5268ac routers - by drsnooker - 01-06-2022, 02:56 AM
RE: 5268ac routers - by soxrok2212 - 01-10-2022, 10:18 PM
RE: 5268ac routers - by drsnooker - 01-15-2022, 06:09 AM
RE: 5268ac routers - by drsnooker - 02-02-2022, 02:31 AM
RE: 5268ac routers - by drsnooker - 02-14-2022, 12:06 AM
RE: 5268ac routers - by drsnooker - 03-21-2022, 11:58 PM
RE: 5268ac routers - by drsnooker - 03-02-2022, 08:12 AM
RE: 5268ac routers - by soxrok2212 - 03-04-2022, 05:49 AM
RE: 5268ac routers - by drsnooker - 03-04-2022, 11:39 PM
RE: 5268ac routers - by drsnooker - 03-05-2022, 12:01 AM
RE: 5268ac routers - by drsnooker - 03-14-2022, 12:57 AM
RE: 5268ac routers - by drsnooker - 03-18-2022, 01:23 AM
RE: 5268ac routers - by drsnooker - 04-05-2022, 04:21 AM
RE: 5268ac routers - by fart-box - 04-07-2022, 10:59 PM
RE: 5268ac routers - by drsnooker - 04-08-2022, 12:23 AM
RE: 5268ac routers - by soxrok2212 - 04-09-2022, 10:29 AM
RE: 5268ac routers - by MrMiller - 04-09-2022, 04:08 PM
RE: 5268ac routers - by soxrok2212 - 04-10-2022, 02:35 AM
RE: 5268ac routers - by drsnooker - 04-10-2022, 04:07 AM
RE: 5268ac routers - by bentrout - 04-10-2022, 10:56 PM
RE: 5268ac routers - by MrMiller - 04-19-2022, 09:34 PM
RE: 5268ac routers - by drsnooker - 04-10-2022, 11:50 PM
RE: 5268ac routers - by soxrok2212 - 04-22-2022, 08:15 AM
RE: 5268ac routers - by MrMiller - 05-30-2022, 09:49 PM
RE: 5268ac routers - by drsnooker - 05-17-2022, 02:47 AM
RE: 5268ac routers - by drsnooker - 05-28-2022, 12:59 AM
RE: 5268ac routers - by drsnooker - 06-27-2022, 02:05 AM
RE: 5268ac routers - by drsnooker - 12-03-2022, 08:16 PM
RE: 5268ac routers - by drsnooker - 01-20-2023, 10:15 PM
RE: 5268ac routers - by slyexe - 01-21-2023, 12:25 AM
RE: 5268ac routers - by drsnooker - 01-21-2023, 01:34 AM
RE: 5268ac routers - by 90h - 02-12-2023, 04:44 AM
RE: 5268ac routers - by drsnooker - 02-12-2023, 05:22 AM
RE: 5268ac routers - by 90h - 02-12-2023, 07:19 PM
RE: 5268ac routers - by drsnooker - 02-12-2023, 08:04 PM
RE: 5268ac routers - by drsnooker - 02-14-2023, 03:55 AM
RE: 5268ac routers - by drsnooker - 03-02-2023, 07:14 AM
RE: 5268ac routers - by drsnooker - 04-29-2023, 04:33 AM
RE: 5268ac routers - by drsnooker - 07-06-2023, 10:42 AM
RE: 5268ac routers - by drsnooker - 10-01-2023, 10:28 PM
RE: 5268ac routers - by drsnooker - 12-23-2023, 09:37 PM
RE: 5268ac routers - by drsnooker - 12-29-2023, 06:47 AM