U-boot is an open-source bootloader, licensed to Ubiquiti under the GNU General Public License. Despite the terms of that license, Ubiquiti refuses to release the corresponding source code for their modified version.
Ubiquiti has distributed firmware on and for their hardware. This table provides sizes and hashes of the u-boot embedded in a subset of their firmwares. These are organized by device type and chronologically within device type, keeping common hashes together.
firmware filename | size | md5sum | sha256sum |
---|---|---|---|
XM-v5.0.2.build2956.bin | 183828 | d8ae02ec2a4607b5af5fb8de66477c78 | 52b2d617604f97156292ad0a1526fcdd135a4e9d64027dfda156a9e58957493c |
XM-v5.2.1.build6359.bin | 164200 | 44c80d35799fd8fb0fd47040138afadc | c1440c2963d4a14b30d122d25051dd2cc454173a7a017fc2fd53fc079ec5dbef |
XM-v5.3.2.build8909.bin | 164328 | 39fb68e335cf858a51a22a9a04b04d0e | 9ca1a76228538b6cb54431eddf3a52a5d2fbc95230362938d1e674fb69121cc6 |
XM-v5.3.3.build9634.bin | |||
XM-v5.3.5.build11245.bin | |||
XM-v5.5.build12536.bin | 182272 | 2c31fc7659ae8f793c3d9a6835eb258b | 534796d0411d39fce549dada72c3ce44abd77b849526c41f7e417407cfa04182 |
XM-v5.5.2.build14175.bin | 182992 | 1bdd18a674efd66356f339b3e8ad12fb | 55579c7914af6f906a381bf7f190b445cf67630a9955a8b989116ec0e2d18f1e |
XM.v5.5.11.28002.150723.1344.bin | 184880 | 40598b26531a026062e4ffad95522347 | 00b89795979d3b14001fdaa5d02f469427c18f787e31a46b9759a87b1adc94e3 |
XM-v5.5.6.build17762.bin | |||
XM.v5.6.15.30572.170328.1107.bin | 209244 | cde291b320daddb78011c285287bb654 | 9ee44f2669a233413cb045e4548df7d037cf5a8dfee7368980a2cf5d1dca5215 |
XM.v5.6.6.29183.160526.1225.bin | |||
XM.v5.6.15-sign.31612.170908.1458.bin | 219336 | 757c025ab96da01636f572559ca7b17e | 011f18c138bdf07f86e96ea91e4ab92412219f84d6d9dfcfc3ca1d3250c813f4 |
XM.v6.0.3-sign.31626.170908.1602.bin | |||
XM.v6.0.4-sign.31631.170908.1605.bin | |||
XM.v6.0.3.30600.170329.1831.bin | 209244 | 6fae259a34baeb43e485a848b4221c42 | 663273206b89ea638d231c2f4b9a1a2e5b9803e06d5af9420e3328fb03f0b265 |
XM.v6.0.4.30805.170505.1525.bin | |||
XM.v6.0.6.31296.170704.2058.bin | 221296 | f160173a457d20baf10420ee2625cc7e | 050ee020d5e76ab52684a4fb44ddac2fd6e5fde0206a6e64f77e7de55349846a |
XM.v6.0.7.31601.170908.1247.bin | |||
XM.v6.1.1.31776.171010.0940.bin | |||
XM.v6.1.2.31825.171017.1648.bin | |||
XM.v6.1.3.31939.171117.1238.bin | |||
XM.v6.1.4.32113.180112.0932.bin | |||
XM.v6.1.6.32290.180307.1650.bin | |||
XM.v6.1.7.32555.180523.1809.bin | |||
XM.v6.1.8.32774.180921.1533.bin | |||
XM.v6.1.9.32918.190108.1752.bin | |||
XM.v6.1.11.32949.190328.1126.bin | |||
XM.v6.1.12.33003.190523.1323.bin | |||
XM.v6.2.0.33033.190703.1147.bin | |||
XM.v6.3.0.33226.200428.1849.bin | 230544 | 915b37081e589208926136b4326e8f61 | ded2de06e022dd007fdba5da22c930efb944c1442441f92130f3995c28ec5681 |
XM.v6.3.2.33267.200715.1657.bin | |||
XM.v5.6.15-cpu400.30572.170328.1107.bin | 209244 | 689fea7dfa29c1af75904caf9bdbb8f1 | 40d935c3699e8ce7eedd140f54553100ea012ac1451b8fd6fde5908347e637ed |
XM.v5.6.15-sign-cpu400.31612.170908.1458.bin | |||
XW.v5.5.9.21734.140403.1801.bin | 200972 | a7199e82edf1ac4598a6bf783d92baac | c315f34e0f352699dc6bfe3109a6cc13deb72fadcdcae4f83daa220a92c269dd |
XW.v5.5.10.24238.141001.1641.bin | |||
XW.v5.5.10-u2.28005.150723.1358.bin | |||
XW.v5.6.5.29033.160515.2108.bin | 228524 | 16d5c0c043990397d38ba5f01980b73d | b9d950604c9f5e4858de00e801f0c86ff78f5ae1b27debef116badb301025dc1 |
XW.v5.6.7.29374.160701.1547.bin | |||
XW.v5.6.15.30572.170328.1052.bin | |||
XW.v6.0.3.30600.170329.1817.bin | |||
XW.v6.0.4.30805.170505.1510.bin | |||
XW.v5.6.15-sign.31612.170908.1440.bin | 238600 | 27d4a6708e3a6692eb8024a385d3b610 | d3b7ce45655f16cb835adfd949afa7464f7b76ab639c8dcd2cb1c06ea78ba977 |
XW.v6.0.3-sign.31626.170908.1544.bin | |||
XW.v6.0.4-sign.31631.170908.1547.bin | |||
XW.v6.0.6.31296.170704.2042.bin | |||
XW.v6.0.7.31601.170908.1232.bin | |||
XW.v6.1.0.31741.170929.1213.bin | |||
XW.v6.1.1.31776.171006.1138.bin | |||
XW.v6.1.2.31825.171017.1633.bin | |||
XW.v6.1.3.31939.171117.1223.bin | |||
XW.v6.1.4.32113.180112.0918.bin | |||
XW.v6.1.6.32290.180307.1635.bin | |||
XW.v6.1.7.32555.180523.1754.bin | |||
XW.v6.1.8.32774.180921.1518.bin | |||
XW.v6.1.9.32918.190108.1737.bin | |||
XW.v6.1.11.32949.190328.1111.bin | |||
XW.v6.1.12.33003.190523.1253.bin | |||
XW.v6.2.0.33033.190703.1117.bin | |||
XW.v6.3.0.33226.200428.1819.bin | 246980 | bafe37fda5f6a64f1bee6af46119bb1f | c977519e1409401516d61fd128ea9cce2b8a9b962a97cd973c740257e483757b |
XW.v6.3.2.33267.200715.1627.bin | |||
XC.v8.7.0.42152.200203.1256.bin | 234140 | c914daf06d268931b7fda799419aafdb | c72dafe88b64f5dd79930ff9706e6b204a58a5304fa93af4c9edab05c6039465 |
WA.v8.5.4.37936.180524.1215.bin | 231808 | e03497595c209d5930aec48c6da64feb | cfcaa853cb6bb13b19379de76920ec1be440d26c63d64b3955c7c9bccf2dbcf7 |
WA.v8.5.7.38314.180628.1036.bin | 231856 | c29d41eac5b43eacfc045ba777aa8ddd | 6e266b1e1e3572f853bcb8abaed11a80a302926f061fbcdd60ce5c8a7fa34a54 |
WA.v8.7.0.42152.200203.1256.bin | 231788 | 438c3411bf32e9bb8235a7044d3d1d4d | 82a0497e4932289a134bca2814a7527ead98de6e12536d6e4b2d50b8f7473d05 |
2WA.v8.5.7.38314.180628.1026.bin | 231856 | 3a78c3a9d6ad778ba6d6755b0e35e4c0 | 32a7029a723ad41081153dc2578c205bf36885798232f8bbaeffde99a11c52ae |
2WA.v8.5.8.38845.180918.1016.bin | 231856 | e950187b378770246c902010276b51d5 | 674fe8dbb569b08561d9c3d2799ff99c7b7234279876022a4d1fbfe7ebaadf9c |
2WA.v8.5.11.39842.190109.1449.bin | |||
2WA.v8.5.12.40181.190213.1104.bin | |||
2WA.v8.6.0.40912.190618.1927.bin | 231788 | 304362e0e18340ac40c31aab8d793d99 | e0a7eb571bc7ddee17fd45db2361619c47dc2a8267244f37af5f10b4b437473c |
2WA.v8.6.1.41152.190802.1844.bin | |||
2WA.v8.6.2.41239.190822.1629.bin | |||
2WA.v8.7.0.42152.200203.1256.bin | |||
2WA.v8.7.1.42832.200623.1641.bin | |||
TI.v5.5.11.28002.150723.1518.bin | 189696 | dd10e9b26f382766197b395a88ad11da | d32d85f663c860363e4149f7753daa5e1e3257666ca77fbabecac7f90d874bb7 |
TI.v5.6.15.30572.170328.1038.bin | 212488 | 8a1124bac63113309a169b416b899aee | aa2a14d507a933a817601ad300abe02c66f07f2ee695195504485d962b3133c9 |
TI.v6.0.3.30600.170329.1803.bin | |||
TI.v6.0.4.30805.170505.1456.bin | |||
TI.v5.6.15-sign.31612.170908.1423.bin | 222792 | c09e19b8fdc7ba711bc28fe4c69a188c | 85eda38d0ea6dd963082a04886f14c7bd220e7518cbac764bd5426813c2a0174 |
TI.v6.0.3-sign.31626.170908.1528.bin | |||
TI.v6.0.4-sign.31631.170908.1530.bin | |||
TI.v6.0.6.31296.170704.2027.bin | |||
TI.v6.0.7.31601.170908.1216.bin | |||
TI.v6.1.1.31776.171010.0919.bin | |||
TI.v6.1.2.31825.171017.1618.bin | |||
TI.v6.1.3.31939.171117.1209.bin | |||
TI.v6.1.4.32113.180112.0903.bin | |||
TI.v6.1.6.32290.180307.1621.bin | |||
TI.v6.1.7.32555.180523.1740.bin | |||
TI.v6.1.8.32774.180921.1503.bin | |||
TI.v6.1.9.32918.190108.1723.bin | |||
TI.v6.1.11.32949.190328.1056.bin | |||
TI.v6.1.12.33003.190523.1224.bin | |||
TI.v6.2.0.33033.190703.1047.bin | |||
TI.v6.3.0.33226.200428.1749.bin | |||
TI.v6.3.2.33267.200715.1557.bin | |||
BZ.qca956x.v3.7.58.6385.170508.0957.bin | 324326 | b22817e57611b3632e2391184a64a9d3 | ae49781b2573291bc3acb9f7df61279c3c66149a8d436ec2a0856d1c340e8037 |
The hashes were computed by first extracting the u-boot. In general, the hashes will vary from what can be read using dd if=/dev/mtdblock0 because of padding out the 256k partition and trailing garbage. The extraction was made using something like this:
mkdir u-boot for i in *.bin ; do echo $i $(binwalk $i | grep ^268\ | awk '{ print $17 }') ; done | while read f s ; do echo $f $s ; dd if=$f bs=324 skip=1 | dd bs=$s iflag=fullblock count=1 of=u-boot/$f-uboot.img ; done
And then composing the contents of the wiki table like so (keeping common content together, some manual sorting was employed):
for i in *.img ; do echo "| ${i%%-uboot.img} | $(ls -l $i | awk '{ print $5 }') | $(md5sum $i | awk '{ print $1 }') | $(sha256sum $i | awk '{ print $1 }') |" ; done | sort -k8 | awk '$8 != last { print $0 } $8 == last { print "|",$2,"| ::: | ::: | ::: |"} { last = $8 }'