Jump to content

Recommended Posts

Posted
В 20.02.2024 в 14:16, megam сказал:

KoshkinOD

 

Только сейчас заметил что у меня 24 портовый свитч.

это прошивка подойдет интересно?

photo_2024-02-20_15-14-16.jpg

photo_2024-02-20_15-14-14.jpg


я к сожалению не могу подсказать, но стоит ли игра свеч ? Свитч не молод, может ну его? 

  • 3 weeks later...
  • Replies 79
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

Здравствуйте!

Простите за тупейший вопрос, но можно ли с любой актуальной версии прошивки обновиться сразу на последнюю актуальную версию? Скажем, на данный момент прошивка в свитче AT-S 112 V 2.0.1 (1.00.017), а обновление до 3.0.9 ( ALL_V1.00.038) не убьёт свитч?

Posted

Если в названии есть ALL то в комплекте идёт загрузчик. Всё обновиться хорошо. Если нет - надо читать релиз-нотесы.

 

  • 6 months later...
Posted (edited)

Привет,

 

У меня есть один AT-GS950/16, который умер после обновления прошивки. Моя модель не имеет консольного порта (это новая модель с кнопкой Eco Friendly).

Я хотел обновить прошивку, поэтому использовал этот файл ATGS950_16--ALL_V1.00.042.hex отсюда https://www.allied-telesis.co.jp/support/list/switch/gs950/download.html?permod=yes .

Я прошил его с веб-страницы AT-S, коммутатор не перезагружался автоматически и все еще работал нормально. После этого попробовал прошить из Allied Telesis Management Utility.

Оба раза прошивал один и тот же файл. После того, как я перезагрузил его вручную, у меня загорелся только индикатор питания. Ни один индикатор порта не мигает, когда я подключаю сетевой кабель от коммутатора к компьютеру.

Я видел на форуме, что кто-то пытался подключиться к консоли с помощью USB-TTL (RS232), по-моему, подключив 3 провода: RX, TX и GND. Я думаю, что VCC не нужен, поскольку, если я подключу коммутатор от его источника питания, флэш-микросхема также будет питаться.

Я сделал несколько макроснимков платы и всех микросхем, которые припаяны на плате, в хорошем разрешении.

 

Был ли у меня шанс возродить его? У меня есть следующее:
#1 USB-TTL №1 на базе чипа CH340.
#2 USB-TTL на базе другого мощного чипа 2303.
#3 несколько перемычек, паяльник и снимок экрана предыдущей версии программного обеспечения AT-S, которая была AT-S108 V1.0.0[1.00.030] с загрузчиком 1.00.004, версия A1.

Картинки прикрепил сюда (https://drive.google.com/drive/folders/12Zww-Um2YKXKjmgA9c11gCIFEmfvy17y?usp=sharing). Извините за плохой русский язык, я вообще не говорил по-русски, поэтому перед публикацией перевел с английского на русский.

Edited by imp3rd1349
Posted

Я прочитал всю дискуссию в этой теме. От других людей говорят, что мне нужно припаять 3 провода до RX, TX и GND на доске.

Я видел картинку в ветке с доской, которая похожа на мою. Я припаял провода перемычки до колодки 11 (TX), 12 (RX) и 15 (GND).

 

Теперь мне нужно включить его и подключить к USB-TTL. Я не уверен, нужно ли подключиться так:
USB-TTL RX <-> RX pad
USB-TTL TX <--> TX
Usb-ttl gnd <-> GND
или
USB-TTL RX <-> Switch TX
USB-TTL TX <--> Switch RX
USB-TTL GND <-> Переключить GND.

На первом прикрепленном изображении я пронумеровал все простые пропавшие IC.

IC_Pinout.thumb.jpg.8dca402549a6c324d1307e9e6f135770.jpg

Вторая картина показывает перемычки провода, припаянные к прокладкам.

Jumpers_soldered.thumb.jpg.eac4b54b66de095e484d93559f9bfa01.jpg

Posted

Я искал соединение RX - TX между arduino и модулем USB-TTL здесь (https://www.youtube.com/watch?app=desktop&v=prh0d6rAU1E).

 

Поэтому я сделал соединения следующим образом:
USB - TTL RXD -> TX платы
USB - TTL TXD -> RX платы
USB - TTL GND -> GND платы,

 

Я получил какие-то странные символы при включении питания. Я приложил скриншот терминала 1.9b, который я использовал для подключения к порту COM8, который является моим преобразователем USB-TTL.

ConsoleOuput.thumb.png.1b1da62471b20f6744766f0af0fd31c8.png

С этого момента я понятия не имею, что еще попробовать. Если консоль жива, я видел в документации коммутатора, что вы можете общаться с ним с помощью AT-команд.

Posted
1 час назад, imp3rd1349 сказал:

Я искал соединение RX - TX между arduino и модулем USB-TTL здесь (https://www.youtube.com/watch?app=desktop&v=prh0d6rAU1E).

 

Поэтому я сделал соединения следующим образом:
USB - TTL RXD -> TX платы
USB - TTL TXD -> RX платы
USB - TTL GND -> GND платы,

 

Я получил какие-то странные символы при включении питания. Я приложил скриншот терминала 1.9b, который я использовал для подключения к порту COM8, который является моим преобразователем USB-TTL.

ConsoleOuput.thumb.png.1b1da62471b20f6744766f0af0fd31c8.png

С этого момента я понятия не имею, что еще попробовать. Если консоль жива, я видел в документации коммутатора, что вы можете общаться с ним с помощью AT-команд.

I have no such switch to test but I’d recommend u to use oscilloscope to find tx on switch console, switch usually sends a lot of data to tx on the boot time. And you’ll see tx voltage level. (I did it with another switch, do not remember model or even vendor many years ago)

 

Screenshot looks like you setup a wrong speed in your terminal 

Posted

Доброе утро,

 

Я рад, что загрузчик работает.
COM-порт должен быть настроен следующим образом:
Биты в секунду (скорость передачи данных) = 115200
Биты данных = 8
Четность = Нет
Стоповые биты = 1
Управление потоком = Нет
См. изображение настройки COM-порта в диспетчере устройств Windows.

comsettings_074711.thumb.PNG.ea2f5dc72443997e2ada6b47f6022bed.PNG

В Terminal v1.9b я сделал следующую настройку для COM-порта:
Скорость передачи данных = 115200
Биты данных = 8
Четность = Нет
Стоповые биты = 1
Подтверждение связи = Нет


Я выбрал ASCII и оставил другие параметры по умолчанию

Застревает при загрузке образа среды выполнения, прикрепленный ниже журнал загрузки:

bootlog_115200brate.thumb.PNG.536adcdb26c35346134ce482537c7807.PNG

Я могу прервать процесс загрузки, отправив ENTER (CR LF) с помощью терминала, затем, если я введу help, я получу команды UBOOT, которые можно запустить. Прикрепил два снимка экрана со справкой и версией UBOOT.

consoleoutput115200br_1.thumb.PNG.05dbecc7c35c6229f16d5c1dd48a4efe.PNG

 

consoleoutput115200br_2.thumb.PNG.c8f405f3a3b88fdab101f25b3977da15.PNG

 

And in English may be usefull for some other people here. I did not speak russian.

"Good morning,

 

I good it to work bootloader is alive.
The COM port need to be set to this:
Bites Per Second (Baud Rate) = 115200
Data Bits = 8
Parity = None
Stop Bits = 1
Flow Control = None
See the image of the COM port setup in Windows Device Manager.

 

In Terminal v1.9b I did the following setup for COM port:
Baud Rate = 115200
Data Bits = 8
Parity = None
Stop Bits = 1
Handshaking = None
I selected ASCII and left other options as default

Is getting stuck when is loading runtime image attached boot log below:

I can interrupt the boot process by sending an ENTER (CR LF) using terminal then if I type help I get the UBOOT commands that can be run. Attached two screenshots with the UBOOT help and version."

 

 

Posted

И вот как я подключил плату AT-GS950/16 к имеющемуся у меня преобразователю USB-TTL:

 

Плата RX идет на TXD преобразователя
Плата TX идет на RXD преобразователя
Плата GND идет на GND преобразователя.

HowIConnectedIt_finalversion.thumb.jpg.af81ec9eb1baaaa6ff1f1a199188be25.jpg

Смотрите прикрепленное изображение.

 

English:

And this is how I connected the AT-GS950/16 board to USB-TTL converter that I have:

 

Board RX goes TXD of the converter
Board TX goes RXD of the converter
Board GND goes to GND of the converter.

 

See the attached image.

Posted

Я извлек из загрузчика некоторую информацию. Я запускаю следующие команды: fsinfo, flinfo, printenv.

 

1. flinfo, похоже, выдает некоторые смещения о каждом разделе флэш-памяти:

 

2. fsinfo выдает ошибку о том, что mtdids не определены (я думаю, что проблема в этом)

 

3. printenv выдает много подробностей, включая серийный номер, ревизию платы и т. д.:

Я читал, что mtdids нужно определить в переменных окружения. Я думаю, этот параметр сообщит загрузчику, какой раздел из флэш-памяти использовать для загрузки образа.

 

English:

I extracted from bootloader some informations. I run the following commands: fsinfo, flinfo, printenv.

1. flinfo seem to give some offsets about each partition of the flash:
AT-GS950>> flinfo

Bank # 1: 
Flash Base Address  : 0xf8000000
Flash Model         : ST M25P128
Manufacturer ID     : 0x20
Device Id           : 0x2018
Sector Size         : 256K
Number of sectors   : 64
Page Size           : 256
Write Protection    : Off

 

2. fsinfo give me an error about mtdids not beeing defined (I think here is the issue)
AT-GS950>> fsinfo

mtdids not defined, no default present

 

3. printenv give a lot of details including serial number board revision and so on:
AT-GS950>> printenv

bootdelay=3
baudrate=115200
loads_echo=0
ipaddr=192.168.1.1
serverip=192.168.1.2
rootpath=/mnt/ARM_FS/
gatewayip=0.0.0.0
netmask=255.255.255.0
console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x700000@0x100000(root)
CASset=min
MALLOC_len=8
ethprime=egiga0
consoledev=tty0
linux_loadaddr=0x2000000
bootcmd=run standalone_mtd
fix_nfsroot_to_BE=no
linux_parts=mtdparts=spi_flash:0x00080000(uboot),0x00080000(env),0x00200000(kernel),0x00b00000(rootfs),0x00200000(jffs2)
nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off console=$(consoledev),$(baudrate) $(othbootargs) $(linux_parts); tftp $(linux_loadaddr) $(image_name);bootm $(linux_loadaddr)
standalone_mtd=setenv bootargs root=/dev/mtdblock3 rw rootfstype=squashfs ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off console=$(consoledev),$(baudrate) $(othbootargs) $(linux_parts) ethaddr=$(ethaddr); bootm 0xf8100000
image_name=uImage_xcat
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
hw_version=A1
Serial_Number=1MB1733K0000A
Boot_Version=1.00.004
Board_Version=1
entrypt=c0008000
ethaddr=ec:cd:6d:1a:59:7e
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
disaMvPnp=no
enaAutoRecovery=yes
ethact=port0

 

I read that mtdids need to be defined in the environment variables. I think this parameter will tell the bootloader which partition to use from flash to load the image.

  • 2 weeks later...
Posted

Здравствуйте,

 

Я купил дешевый программатор CH341A и сделал на нем мод 3,3 В, чтобы быть в безопасности, когда возишься с чтением/записью флеш-памяти.

Я отпаял STM25P128 от платы с помощью паяльной станции. Я припаял STM25P128 к плате адаптера 16Pin SOP to 8OP, которая поставлялась с программатором CH341A.

Я пробовал писать STM25P128 с помощью разного ПО:
- AsProgrammer >> KO (запись IC, затем провал проверки)
- CH341A v1.31 >> KO (запись IC, затем провал проверки)
- NeoProgrammer v2.2.0.10 (обновление от 30.12.2023) >> OK (этот сработал без ошибок при проверке)

 

Я переустановил IC после того, как записал дамп похожего коммутатора ATGS950/8 (та же модель, что и у меня, но только с 8 портами). Дамп, который я нашел здесь (https://remont-aud.net/dump/planshety_i_ehl_knigi/allied_telesis_at_gs950_8_shassi_main_board_a1/59-1-0-127742)

Теперь загрузчик все еще жив. Я получил другой MAC, но все еще отказываюсь запускаться, а теперь, похоже, есть некоторые ошибки на этапе инициализации:

Boot Procedure .......... [OK]

Hit any key to stop autoboot:  0 

Loading Runtime Image ................. [OK]

MAC Address : EC-CD-6D-64-33-DA
H/W Version : A1
F/W Version : 1.00.043

System Initialize ............CAMEO_FsHwSetFCinGigaPHY: Soft reset not complete.
FsEtherHwSetPauseAdminMode: CAMEO_FsHwSetFCinGigaPHY() fails.
CAMEO_FsHwSetFCinGigaPHY: Soft reset not complete.
FsEtherHwSetPauseAdminMode: CAMEO_FsHwSetFCinGigaPHY() fails.
CAMEO_FsHwSetFCinGigaPHY: Soft reset not complete.
FsEtherHwSetPauseAdminMode: CAMEO_FsHwSetFCinGigaPHY() fails.
CAMEO_FsHwSetFCinGigaPHY: Soft reset not complete.
FsEtherHwSetPauseAdminMode: CAMEO_FsHwSetFCinGigaPHY() fails.
........................ [OK]
ERROR! Invalid physical interface index (65531).
File: /home/larger/ATI/base/core/code/future/npapi/dx5128/cfanp.c (line 5620)


login:  9999999 hwIfI2cRead(PRESTERA_IOC_I2CREAD) fail errno(Bad address)
 9999999 hwIfI2cRead(PRESTERA_IOC_I2CREAD) fail errno(Bad address)

 

Глядя на ошибку запуска
"ERROR! Invalid physical interface index (65531). File: /home/larger/ATI/base/core/code/future/npapi/dx5128/cfanp.c (line 5620)" похоже, что это, вероятно, аппаратный идентификатор микросхемы, которая обрабатывает сетевое подключение. Когда он запускается, он зажигает все светодиоды, а затем гаснет, как это было до проведения экспериментов на нем.


Похоже, мне нужно исправить MAC-адрес, что, как я думаю, можно сделать из setenv в загрузчике. Вот printenv после прошивки 8-портовой прошивки той же ревизии платы:

bootdelay=3
baudrate=115200
loads_echo=0
ipaddr=10.90.90.90
serverip=10.90.90.5
rootpath=/mnt/ARM_FS/
gatewayip=0.0.0.0
netmask=255.0.0.0
console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x700000@0x100000(root)
CASset=min
MALLOC_len=8
ethprime=egiga0
consoledev=tty0
linux_loadaddr=0x2000000
bootcmd=run standalone_mtd
fix_nfsroot_to_BE=no
linux_parts=mtdparts=spi_flash:0x00080000(uboot),0x00080000(env),0x00200000(kernel),0x00b00000(rootfs),0x00200000(jffs2)
nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off console=$(consoledev),$(baudrate) $(othbootargs) $(linux_parts); tftp $(linux_loadaddr) $(image_name);bootm $(linux_loadaddr)
standalone_mtd=setenv bootargs root=/dev/mtdblock3 rw rootfstype=squashfs ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off console=$(consoledev),$(baudrate) $(othbootargs) $(linux_parts) ethaddr=$(ethaddr); bootm 0xf8100000
image_name=uImage_xcat
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
hw_version=A1
Serial_Number=1MB1733K0000A
Board_Version=1
entrypt=c0008000
metroauth=0
Boot_Version=1.00.005
ethaddr=ec:cd:6d:64:33:da
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
disaMvPnp=no
enaAutoRecovery=yes
ethact=port0

 

English for other people who are still looking for a solution:

Hello,

 

I got a CH341A cheap programmer and did the 3.3V mod on it to be on safe side when messing around with flash read / write.

I desoldered the STM25P128 from the board with an soldering station. I soldered the STM25P128 on 16Pin SOP to 8OP adapter board that was shipped with CH341A programmer.

I tried to write the STM25P128  with different sofwares:
- AsProgrammer >> KO (write the IC then fail the verification)
- CH341A v1.31 >> KO (write the IC then fail the verification)
- NeoProgrammer v2.2.0.10 (12/30/2023 update) >> OK (this one did the trick with no errors at verification)

I reinstalled the IC after I written the dump of a similar switch ATGS950/8 (same model like mine but only with 8 ports). Dump I found here (https://remont-aud.net/dump/planshety_i_ehl_knigi/allied_telesis_at_gs950_8_shassi_main_board_a1/59-1-0-127742)

Now the bootloader is still alive I got a different MAC but still refuse to start but now seem to have some errors at the initialization stage:

 

Looking at the startup error "ERROR! Invalid physical interface index (65531). File: /home/larger/ATI/base/core/code/future/npapi/dx5128/cfanp.c (line 5620)" seem to be probably a hardware id of the IC that handle network connection. When it stars it light all the leds then go off like it was before doing the experiments on it.

 

I t seem that I need to correct the MAC address which I thing can be done from setenv in the bootloader. Here is the printenv after I flashed the 8 port firmware same board revision.

Posted

Здравствуйте,

 

Я вернулся к своей поврежденной исходной прошивке. Я заметил, что могу отправить любой файл на коммутатор с помощью этой команды из загрузчика после того, как я установил TFTPD64 и установил свой IP на 192.168.1.2:

tftp filename ATGS950_16_V1.00.030_ALL.hex

Если я отправлю файл .hex через TFTP, а затем попытаюсь выполнить образ через bootm, он выдаст ошибку с неверным магическим числом.

Если я выполню bootm 0x00080000 (я думаю, это адрес образа среды выполнения), я получаю Loading Runtime Image, а затем он зависает.

Также прошивка, которую можно загрузить с сайта AT, имеет расширение .hex, но это не формат Intel Hex. Я попытался преобразовать ее в двоичный файл, и все наиболее используемые конвертеры не распознали файл как правильный формат.

Более того, когда я скачиваю прошивку с сайта AT, я получаю примечания к выпуску (pdf), прошивку (hex) и третий файл (mib).

Я понятия не имею, как эту штуку можно прошить из загрузчика. Я видел, что другие коммутаторы AT можно прошить после загрузки прошивки по TFTP, но у них есть расширения .rel прошивки и они используют два файла.

 

English:

Hello,

I went back to my corrupted initial firmware. I noticed that I can send any file to the switch using this command from bootloader after I installed the TFTPD64 and set my ip to 192.168.1.2:

tftp filename ATGS950_16_V1.00.030_ALL.hex

If I send the .hex file via TFTP then try to execute the image via bootm it fails with Bad Magic Number.

If I execute the bootm 0x00080000 (this I think is the address to the runtime image) I get the Loading Runtime Image then it get stuck.

Also the firmware that can be downloaded from AT website has the extension .hex but this is not the Intel Hex Format. I tried to convert it to binary and all the most used converters did not recognize the file as correct format.

Moreover when I download the firmware from AT website I get the release notes (pdf), the firmware (hex) and a third file (mib).

I don't have any ideea how this thing can be flashed from bootloader. I saw that other AT switches can be flashed after fw is loaded by TFTP but that ones have .rel extensions of firmware and use two files.

  • 3 weeks later...
  • 2 months later...
Posted (edited)

Не открывается этот сайт, даже через vpn.

 

Посмотрите пожалуйста есть ли там для S79, если у вас открывается.

 

Для тех, кому это важно, по этой ссылке нашел способ для сброса пароля на дефолтный, для платформы AT-S79 как минимум

 

https://telekomunikace.cz/d/21937-Vyreseno:-Allied-Telesyn-AT-GS95024-(AT-S79)-switch-reset

Edited by ubimania
  • 4 weeks later...
Posted

[RUSSIAN]

Привет,

Я провел дополнительные тесты с моим заблудшим коммутатором AT-GS950/16. Для парней, у которых еще жив загрузчик, можно исправить загорание светодиодов портов при подключении кабелей, выполнив следующие действия:
1. Подключить преобразователь USB-TTL так, как я объяснил в предыдущем посте.
2. Прервите обычный процесс загрузки, отправив любое сообщение с терминала на коммутатор AT-GS950/16.
3. Распечатайте все переменные среды с помощью команды printenv.
4. Измените значение bootdelay с 3 по умолчанию на -1, чтобы избежать автоматической загрузки образа среды выполнения с помощью setenv bootdelay -1.
5. Сохраните переменные среды во флэш-памяти с помощью команды save env.
6. Чтобы проверить, отключена ли автоматическая загрузка, отправьте команду сброса.

 

Я проверю, может ли официальный инструмент управления allied Telsis обнаружить коммутатор, когда автозагрузка отключена.

 

[ENGLISH]

Hello,

I did more tests with my bricked AT-GS950/16 switch. For guys who still have bootloader alive it can be fixed to light the port leds when cables are connected with the following steps:
1. Hook an USB-TTL converter in the way that I explained in my previous posts.
2. Interrupt the normal boot process by sending any message from terminal to the AT-GS950/16 switch.

2.InterruptNormalBoot.thumb.PNG.51dcdddb7a9bc3ba14d29e61b224cb0f.PNG
3. Print all the environment variables with command printenv

3.printenv.thumb.PNG.e650f8a46351c5881d283d9e628202b0.PNG
4. Modify the bootdelay value from  default 3 to -1 to avoid auto boot of the runtime image with setenv bootdelay -1 commad.

4.Disableautoboot.thumb.PNG.593845d25eb8e53591e91d67916da4b8.PNG
5. Save the environment variables to flash with command save env.
6. To test if auto boot was disable send reset command.

6.AutobootdisabledLog.thumb.PNG.9a185574cf154cafed0ec3d90e18105f.PNG

 

I will check if the official allied telsis management tool can still discover the switch when autoboot is disabled.

Posted (edited)

[RUSSIAN]

Здравствуйте снова,

 

Я установил инструмент управления allied telesis отсюда https://www.alliedtelesis.com/ro/en/software/gs950-v2-series и установил его на свой ноутбук.

Я перезагрузил коммутатор после того, как отключил автозагрузку, и в утилите управления ATI коммутатор можно обнаружить.

 

У этого инструмента есть опция для прошивки коммутатора, вам нужно дважды щелкнуть по коммутатору в списке обнаружения, чтобы добавить его в список мониторинга, после этого вы можете нажать «Обновить прошивку», и в открывшемся окне вы можете прошить файл .hex.

Я попытался прошить его, используя старое имя файла прошивки «ATGS950_16_V1.00.030_ALL.hex», и инструмент выдает мне «Незаконная прошивка».

 

Когда я прошиваю файл, который его заблокировал «ATGS950_16--ALL_1.00.042.hex», он работает, процесс прошивки завершен без каких-либо ошибок. Я также извлек журнал прошивки с помощью USB-TTL-конвертера и прикрепил его.

Я думаю, проблема в том, что загрузчик слишком старый и не смог проверить образ среды выполнения для его загрузки. Я проанализировал «ATGS950_16--ALL_1.00.042.hex» с помощью binwalk, чтобы увидеть, какие разделы включены, и эта не внесла никаких изменений в загрузчик. Я помню, когда я делал это для старой прошивки «ATGS950_16_V1.00.030_ALL.hex», эта также включала раздел загрузчика.

 

Я смотрю на форуме, чтобы попробовать разные файлы .hex, возможно, тот, который новее, чем «ATGS950_16_V1.00.030», и в котором также включено обновление загрузчика, но веб-сайт прошивки AlliedTelesis https://alliedtelesis.flexnetoperations.com/control/allt_en/login больше не работает.

Итак, мое расследование может быть прекращено здесь, поскольку мы больше не смогли получить никаких файлов .hex с этого сайта. Я не знаю, можно ли из какой-либо другой страны получить доступ к сайту для загрузки файлов hex.

 

[ENGLISH]

Hello again,

 

I installed the allied telesis management tool from here https://www.alliedtelesis.com/ro/en/software/gs950-v2-series and i installed it on my laptop.

I rebooted the switch after I disabled the autoboot and in ATI Management Utility the switch can be discovered.

This tool have an option to flash the switch you need to double click on the switch from the Discovery List in order to add it to Monitor List then after that you can click on Upgrade Firmware and in the window that open you can flash .hex file.

 

I tried to flash it using an older firmware filename "ATGS950_16_V1.00.030_ALL.hex" and the tool gives me "Illegal Firmware".
When I flash the file that bricked it "ATGS950_16--ALL_1.00.042.hex" it works flash process complete without any error. I also extracted the flash log using USB-TTL converter and attached.

fwupdatefromatmngsw.PNG

firmwareupdatelog.txt

 

I think the issue is due to bootloader beeing too old and it could not validate the Runtime Image to load it. I analyzed the  "ATGS950_16--ALL_1.00.042.hex" using binwalk to see which partitions are included are this one did not perform any change to bootloader. I remember when I did that for the old firmware "ATGS950_16_V1.00.030_ALL.hex" this one also included bootloader partition.

 

I look on the forum to try different .hex files maybe the one that is newer than "ATGS950_16_V1.00.030" and is also having the bootloader update included but the AlliedTelesis firmware website https://alliedtelesis.flexnetoperations.com/control/allt_en/login were I used to login when I start trying to fix it no longer work.

So my investigation can be stopped here since we could no longer retrieve any .hex files from that website. I don't know if from any other country the website for downloadig hex files can be reached.

Edited by imp3rd1349
Posted (edited)

[RUSSIAN]

Здравствуйте,

 

Я протестировал его с отключенной автозагрузкой и могу подтвердить, что устройство работает как неуправляемый коммутатор. Интернет-проход через порт устройства, светодиоды загораются, и все, кажется, работает нормально.

Поэтому быстрое решение, если прошивка не может быть найдена, а загрузчик все еще не поврежден, — отключить автозагрузку с помощью команды setenv bootdelay -1, а затем команды saveenv (спасибо github за это замечательное открытие здесь https://github.com/MarvellEmbeddedProcessors/u-boot-marvell).

На изображении ниже серый кабель — это подключение к Интернету, а желтый кабель подключен к ноутбуку, на котором я попробовал проверить скорость, чтобы увидеть, составляет ли скорость 1 Гбит/с, и, похоже, все работает нормально.

 

[ENGLISH]

Hello,

 

I have tested it with autoboot disabled and I can confirm that device work as unmanaged switch. Internaet pass throught the device port LEDs light up and everything seem to work fine.

So the quick fix if firmware could not be found and bootloader is still not corrupted is to disable the autoboot with the setenv bootdelay -1 command then saveenv command (thanks github for this great discovery here https://github.com/MarvellEmbeddedProcessors/u-boot-marvell).

 

In the image below Grey cable is the internet connection and yellow cable is connected to the laptop where I tried speed test to see if is speed is 1gbps and it seem to work fine.

TestWithAutobootDisabledInternetOk.jpg

I will install is where it was meant to be just for a weekend home network test to see if everything work fine.

Edited by imp3rd1349
Posted (edited)

[ENGLISH]
Hello,

 

I found the .hex files for ATGS950/16 from a japan allied-telesis website:
https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_16--ALL_V1.00.030.hex
https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_16--ALL_V1.00.033.hex
https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_16--ALL_V1.00.035.hex
https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_16--ALL_V1.00.036.hex
https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_16--ALL_V1.00.039.hex
https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_16--ALL_V1.00.040.hex
https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_16--ALL_V1.00.042.hex
I had only the link for the latest version which is 1.00.042 so I just changed the numbers at the end and it worked to download all the fw update files.
I tried all of them except the last one and all of them give me Illegal Firmware error when i try to flash the switch from Allied Telesis Management Tool.

 

[RUSSIAN]

Привет,

 

Я нашел файлы .hex для ATGS950/16 на японском сайте allied-telesis:
https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_16--ALL_V1.00.030.hex
https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_16--ALL_V1.00.033.hex
https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_16--ALL_V1.00.035.hex
https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_16--ALL_V1.00.036.hex
https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_16--ALL_V1.00.039.hex
https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_16--ALL_V1.00.040.hex
https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_16--ALL_V1.00.042.hex
У меня была только ссылка на последнюю версию 1.00.042, поэтому я просто изменил цифры в конце, и все файлы обновлений прошивки загрузились.
Я перепробовал все, кроме последнего, и все они выдают ошибку «Недопустимая прошивка» при попытке перепрошить коммутатор из Allied Telesis Management Tool.

Edited by imp3rd1349
Posted (edited)

Привет imp3rd1349

Вижу на том сайте прошивки на все модели gs950 на 8/16/24/50 портов.

https://www.allied-telesis.co.jp/support/list/switch/gs950/download.html?permod=yes

 

ATGS950_24--ALL_V1.00.048.hex (10 825 072 байт) Версия 2.0.8 '23.09.15

https://www.allied-telesis.co.jp/support/list/switch/gs950/ATGS950_24--ALL_V1.00.048.hex

 

Информация об обновлениях:

https://www.allied-telesis.co.jp/support/list/switch/gs950/update.html

Edited by megam

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.