openwrt/target/linux/bcm63xx/dts
Daniele Castro 0efbfef4f6 bcm63xx: A4001N A-000-1A1-AX: remove PSI (nvram) partition
ADB P.DG A4001N A-000-1A1-AX a.k.a. Telecom Italia ADSL2+ Wi-Fi N (AGPWI)
is a Telecom Italia braded router and it seems that there are no public
available unbranded versions of this router.

The stock Telecom Italia braded firmware has many partitions and the
partition layout changes with every firmware relase.

The PSI nvram partition is present in the stock firmware under the
"UNKNOWN" name but it's empty, full of FFs. Since removing partitions
does not cause problems with the stock firmware reflashing procedure,
I removed from the dts the PSI nvram partition from OpenWrt, expanded
the rootfs one and added the NVRAM partition contained in the
cfe bootloader.

Furthermore this router's flash needs to be entirely reprogrammed
and a new generic bcm6328 cfe must be flashed to boot OpenWrt. The
same process takes place when reflashing the stock firmware.

Here follows the original flash layout for AGPWI_1.1.0_013, the last
stock Telecom Italia braded firmware for which we have root
credentials (admin/riattizzati).

Flash layout:

Section 00 Type BOOT       Range 0x00000000-0x00020000 MaxSize 0x00020000
        No more information.

Section 01 Type IMAGE      Range 0x00020000-0x007C0000 MaxSize 0x0079FF6C
        Uninitialized.

Section 02 Type IMAGE      Range 0x00800000-0x00FA0000 MaxSize 0x0079FF6C
        Uninitialized.

Section 03 Type CONF       Range 0x00FA0000-0x00FC0000 MaxSize 0x0001FF6C
        Size 0x0000841E Name 'rg_conf'
        Checksum 0x0041E03B Counter 0x0000051F Start Offset 0x00000000

Section 04 Type CONF       Range 0x00FC0000-0x00FE0000 MaxSize 0x0001FF6C
        Size 0x0000838E Name 'rg_conf'
        Checksum 0x00419A5A Counter 0x00000522 Start Offset 0x00000000

Section 05 Type FACTORY    Range 0x00FE0000-0x00FF0000 MaxSize 0x0000FF6C
        Size 0x00000554 Name 'rg_factory'
        Checksum 0x0001255E Counter 0x000004D3 Start Offset 0x00000000

Section 06 Type UNKNOWN    Range 0x00FF0000-0x01000000 MaxSize 0x00010000
        No more information.

Total 7 sections found.

The last AGPWI firmware relase should be AGPWI_4.0.6 and it has much more
partitions than AGPWI_1.1.0_013.

The cfe partition in the stock firmware is 0x00020000 bytes long unlike the
OpenWrt dts in wich it's 0x00010000 bytes long because from 0x00010000 to
0x00020000 in the stock cfe there are only 00s and also because the cfe must
anyway be reflashed with a generic bcm6328 cfe 0x00010000 bytes long to
run OpenWrt.

Signed-off-by: Daniele Castro <danielecastro@hotmail.it>
[Amend commit, remove unneeded cfe_nvram partition]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-12-05 10:26:39 +01:00
..
bcm3368-netgear-cvg834g.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm3368.dtsi bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6318-brcm-bcm96318ref-p300.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6318-brcm-bcm96318ref.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6318-comtrend-ar-5315u.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6318-d-link-dsl-275xb-d1.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6318-sagem-fast-2704n.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6318.dtsi bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6328-adb-a4001n1.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6328-adb-a4001n.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6328-adb-pdg-a4001n-a-000-1a1-ax.dts bcm63xx: A4001N A-000-1A1-AX: remove PSI (nvram) partition 2020-12-05 10:26:39 +01:00
bcm6328-brcm-bcm96328avng.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6328-brcm-bcm963281tan.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6328-comtrend-ar-5381u.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6328-comtrend-ar-5387un.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6328-d-link-dsl-274xb-f1.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6328-nucom-r5010un-v2.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6328-sagem-fast-2704-v2.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6328-sercomm-ad1018-nor.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6328-sercomm-ad1018.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6328.dtsi bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6338-brcm-bcm96338gw.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6338-brcm-bcm96338w.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6338-d-link-dsl-2640u.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6338-dynalink-rta1320.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6338.dtsi bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6345-brcm-bcm96345gw2.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6345-dynalink-rta770bw.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6345-dynalink-rta770w.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6345.dtsi bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-asmax-ar-1004g.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-belkin-f5d7633.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-brcm-bcm96348gw-10.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-brcm-bcm96348gw-11.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-brcm-bcm96348gw.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-brcm-bcm96348r.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-bt-voyager-2110.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-bt-voyager-2500v-bb.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-comtrend-ct-536plus.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-comtrend-ct-5365.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-d-link-dsl-2640b-b.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-davolink-dv-201amr.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-dynalink-rta1025w.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-inventel-livebox-1.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-netgear-dg834g-v4.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-netgear-dg834gt-pn.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-sagem-fast-2404.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-sagem-fast-2604.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-t-com-speedport-w-500v.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-tecom-gw6000.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-tecom-gw6200.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-telsey-cpva502plus.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-telsey-magic.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-tp-link-td-w8900gb.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348-usrobotics-usr9108.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6348.dtsi bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-alcatel-rg100a.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-brcm-bcm96358vw2.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-brcm-bcm96358vw.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-bt-home-hub-2-a.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-comtrend-ct-6373.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-d-link-dsl-274xb-c2.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-d-link-dsl-2650u.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-d-link-dva-g3810bn-tl.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-huawei-echolife-hg553.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-huawei-echolife-hg556a-a.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-huawei-echolife-hg556a-b.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-huawei-echolife-hg556a-c.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-huawei-echolife-hg556a.dtsi bcm63xx: add a few DTSI files to share definitions 2020-10-10 19:55:18 +02:00
bcm6358-pirelli-a226.dtsi bcm63xx: add a few DTSI files to share definitions 2020-10-10 19:55:18 +02:00
bcm6358-pirelli-a226g.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-pirelli-a226m-fwb.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-pirelli-a226m.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-pirelli-agpf-s0.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-sfr-neufbox-4-foxconn-r1.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-sfr-neufbox-4-sercomm-r0.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-sfr-neufbox-4.dtsi bcm63xx: add a few DTSI files to share definitions 2020-10-10 19:55:18 +02:00
bcm6358-t-com-speedport-w-303v.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358-telsey-cpva642.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6358.dtsi bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6359-huawei-echolife-hg520v.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6361-sfr-neufbox-6-sercomm-r0.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6362-huawei-hg253s-v2.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6362-netgear-dgnd3700-v2.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6362-sagem-fast-2504n.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6362.dtsi bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6368-actiontec-r1000h.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6368-adb-av4202n.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6368-brcm-bcm96368mvngr.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6368-brcm-bcm96368mvwg.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6368-comtrend-vr-3025u.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6368-comtrend-vr-3025un.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6368-comtrend-vr-3026e.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6368-huawei-echolife-hg622.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6368-huawei-echolife-hg655b.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6368-netgear-dgnd3700-v1.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6368-observa-vh4032n.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6368-zyxel-p870hw-51a-v2.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6368.dtsi bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6369-comtrend-wap-5813n.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm6369-netgear-evg2000.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm63167-sercomm-h500-s-lowi.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm63167-sercomm-h500-s-vfes.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm63167-sercomm-h500-s.dtsi bcm63xx: remove model name from LED labels 2020-10-10 19:44:02 +02:00
bcm63168-comtrend-vr-3032u.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm63168-sky-sr102.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm63169-comtrend-vg-8050.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm63268-brcm-bcm963268bu-p300.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm63268-inteno-vg50.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm63268.dtsi bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00
bcm63269-brcm-bcm963269bhr.dts bcm63xx: move dts-v1 statement to top-level DTSI files 2020-10-10 20:00:34 +02:00