hey, i started some work on documenting the usw-industrial managed PoE switch from ubiquiti. I'm posting to maybe find more people that have dabbled in this or related devices and could provide some assistance down the line.
If you have this device or have worked on it in the past please let me know! Also if you want to commit to working on it but don't have one at hand maybe you can borrow one of mine, I'm located in the netherlands.
So far I have
- photos of the internals
- identified the chips on the board
- contacted ubiquiti in 3 different ways to get the source codes
there's a stub of a wiki article at https://openwrt.org/inbox/toh/ubiquiti/usw-industrial
As far as I can tell they're not complying with GPL in most cases and ignore most people that ask for sources. So far it's only been a few days but I'm not too hopeful about getting these source codes. Any tips on how to get what I need?
Anyway, I'll be putting updates in this thread when there's any.
Ther is kind of mainline support for soc, can you get pcb pictures at normal resolution?
It is a new platform (like x86 or ramips), lots o-work to get first bootable bits.
idk if you've already seen this but there's pretty high resolution pictures in the gallery linked in the wiki page: https://openwrt.org/start?image=media%3Aubiquiti%3Ausw-industrial%3Apcb-top.jpg&ns=media%3Aubiquiti%3Ausw-industrial&tab_details=view&do=media&tab_files=files - i might be able to re-take some of them with daylight this week which should result in a bit higher quality.
J14 might be a serial header, but measure voltages, it could be as well 48V PoE level test point 
ah i forgot to mention you get full ssh root access to this device, pretty important information i suppose >.< I imagine it would be possible to just keep the same kernel and replace all binaries with openwrt binaries and patch it in this way
That is not how OpenWrt works. Can you get
dmesg
ubinfo -a
ip link # edit away last 3 pieces of MAC
cat /proc/mtd
J14 looks like some second power supply
J9 should be the right one.
J10 is somewhat strange, looks like 4 PCIe lanes.
The road is long.
You have to implement almost everything.
pinctrl, usb, network, phy, maybe also for the switch
1 Like
put it all in the wiki now, except ubinfo as that doesn't exist on the switch.
I think tonight I'll have some time to poke around the board and check the headers. Also trying to get a cross-compiling chroot environment going on my machine. I messaged software freedom conservancy and a few other people about those GPL sources in hope someone who actually has copyright on the code picks up the thread and presses ubiquiti a little bit.
16/256
m25p80 spi0.0: mx25l12805d (16384 Kbytes)
memory: 0ff00000 @ 00000000 (usable)
[ 10.970241] 0x000000000000-0x000000080000 : "u-boot"
[ 10.978829] 0x000000080000-0x000000090000 : "u-boot-env"
[ 10.988087] 0x000000090000-0x0000007f0000 : "kernel0"
[ 10.996884] 0x0000007f0000-0x000000f60000 : "kernel1"
[ 11.005736] 0x000000f60000-0x000000fe0000 : "cfg"
[ 11.014468] 0x000000fe0000-0x000000ff0000 : "cdata"
[ 11.023110] 0x000000ff0000-0x000001000000 : "EEPROM"
Probably something comes out binwalking either "kerbel", but the whole SoC architecture is not supported by OpenWrt. I'd be surprised if you get anywhere past first few lines using eg ramips initramfs.