Brocade 300 firmware

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Marc_

Always a school day
Jul 22, 2022
67
10
8
proc is temp folder, it should be empty.

maybe you should read a book how *Nix system works.
Did some reading (Linux is still very new to me) and understand a bit more about the filesystem structure. Managed to get the folders sorted. Now have a bit of progress but I have a bad magic number. on boot to a boot loop.

ATA device vendor CF Card, product 13120733061200000889, revision Ver2.35
Map file at LBA sector 0x9003f
Blk map has an invalid version 0
ATA device vendor CF Card, product 13120733061200000889, revision Ver2.35
Map file at LBA sector 0x19ae58
Blk map has an invalid version 0
## Booting image at 00400000 ...
Bad Magic Number

I'm sure I'll figure it out eventually.
 

Renat

Member
Jun 8, 2016
57
19
8
41
Yes, of couse.

1. connect CF-card to linux
check dmesg to find out name of device (sdb or sdc generally).

2. run debugfs
"open /dev/sdb1"
"stat /boot/zImage.tree.initrd.map"
save value near "Blocks" (M1)
"close"
"open /dev/sdb2"
"stat /boot/zImage.tree.initrd.map"
save value near "Blocks" (M2)
"close"

quit

3. run "fdisk -lu"
save begins of sdb1 and sdb2 (S1, S2) (for sdb1 it will be 63)

4. calculate
M1*8+S1 = O1 (decimal) - > convert to Hex
M2*8+S2 = O2 (decimal) -> convert to Hex

5. run switch, esc autoboot, 3--bootrom
printenv

Now find OSLoader var, smth like "ATA()0x9003f;ATA()0x19ae58"

6. replace to calculated O1, O2 in hex

setenv OSLoader "ATA()0xO1;ATA()0xO2"

saveenv

reboot
 
Last edited:
  • Like
Reactions: Marc_