Turbocharge your Quanta LB6M - Flash To Brocade TurboIron - Big Update!

mhansson

New Member
Feb 9, 2017
1
0
1
47
In regards to the Quanta T3048-LY2 (NOT LY2R) i am curious if anyone here knows of a good solution? I saw on page 35 in the presentation below that the LY2 has the same chip as Arista 7050-s-64, Alcatel Lucent 6900, juniper qfx3500 , Dell force 10 S4810 and others. http://netseminar.stanford.edu/seminars/05_26_15.pdf

I can volunteer my own LY2 for testing and jtagging etc. if we could try to get a proper image on these boxes. Mine has an expired Cumulus image right now.


/Magnus
 

fohdeesha

Kaini Industries
Nov 20, 2016
2,111
1,976
113
30
fohdeesha.com
In regards to the Quanta T3048-LY2 (NOT LY2R) i am curious if anyone here knows of a good solution? I saw on page 35 in the presentation below that the LY2 has the same chip as Arista 7050-s-64, Alcatel Lucent 6900, juniper qfx3500 , Dell force 10 S4810 and others. http://netseminar.stanford.edu/seminars/05_26_15.pdf

I can volunteer my own LY2 for testing and jtagging etc. if we could try to get a proper image on these boxes. Mine has an expired Cumulus image right now.


/Magnus
your quanta's CPU that actually runs the OS is a PowerPC Freescale P2020, so you'll need an image built for that specifically to have any chance of working - only contender I know is the dell S4810 (P2020, Trident+ ASIC). I know they both use u-boot, so there's a chance you could experiment having your quanta boot the dell OS image without the risky bit of trying to replace the bootloader (this is how you brick things). There's other stuff that needs to match like the CPLD architecture/layout etc so who knows. Here is some S4810 info including environment variables that it uses to boot: CPU0: P2020E, Version: 2.0, (0x80ea0020)Core: E500, Version: 5.0, (0x8021105 - Pastebin.com
 

clanure

New Member
Mar 8, 2021
2
0
1
I'm trying to revert back to fastpath from brocade and everything goes just fine, up until it tries to boot into fastpath. Following the instructions to a tee, and all outputs are identical, but I get the attached error. Any advice would be greatly appreciated.
 

Attachments

fohdeesha

Kaini Industries
Nov 20, 2016
2,111
1,976
113
30
fohdeesha.com
I'm trying to revert back to fastpath from brocade and everything goes just fine, up until it tries to boot into fastpath. Following the instructions to a tee, and all outputs are identical, but I get the attached error. Any advice would be greatly appreciated.
looks like it's not finding the fastpath image1 that should be there, and then goes to try the backup image2, which of course has been half-overwritten by the previous brocade software.

Which exact step in the guide are you at when this happens? are you following a saved or cached version of the guide? Previously one of the steps was wrong which would cause this, but I fixed it a long time ago: MASSIVE BUG FIX: boot from RAM, not flash · Fohdeesha/quanta-brocade@e140698
 

clanure

New Member
Mar 8, 2021
2
0
1
looks like it's not finding the fastpath image1 that should be there, and then goes to try the backup image2, which of course has been half-overwritten by the previous brocade software.

Which exact step in the guide are you at when this happens? are you following a saved or cached version of the guide? Previously one of the steps was wrong which would cause this, but I fixed it a long time ago: MASSIVE BUG FIX: boot from RAM, not flash · Fohdeesha/quanta-brocade@e140698
I can follow this straight through and verify all outputs as described. To be honest, this switch has been sitting around for a while, and didn't have an image when I got it. I was able to follow the upgrade to brocade (here) just fine, but can't get it to revert back to the quanta image. Any suggestions?

Here's the code:
Code:
eljtest>dd fff80000
Invalid input -> dd fff80000
Type ? for a list
eljtest>enable
No password has been assigned yet...
eljtest#reload
Are you sure? (enter 'y' or 'n'): y
Halt and reboot
Rebooting(0)...
*

TurboIron Boot Code Version 7.3.0
Enter 'a' to stop at memory test
Enter 'b' to stop at boot monitor
***** Interrupted by entering 'b' *****
BOOT INFO: load monitor from boot flash, cksum = 7be5
BOOT INFO: verify flash files.....
Monitor>dd fff80000
fff80000: 4d554348 02057be5 0005a2d6 00004058
fff80010: 00000000 00012f2c 0004d880 00600028
fff80020: 00030030 0004ffff ffffffff 00000000
fff80030: 4e6ab6ae 07030000 74727a30 37333030
Monitor>ip address 192.168.1.50/24
  IP address = 192.168.1.50
  IP subnet mask = 255.255.255.0
Monitor>copy tftp flash 192.168.1.49 ubootenv.bin quanta
...............................Done
Monitor>copy flash memory 08000000 quanta
Monitor>dd 08000000
08000000: 27051956 552d426f 6f742032 3030392e
08000010: 30362028 41707220 31392032 30313120
08000020: 2d203135 3a35373a 30362900 60000000
08000030: 3c20d000 60213f80 38000000 9401fffc
Monitor>copy memory boot 08000000 524288
ErasingWritingDone
Monitor>dd fff80000
fff80000: 27051956 552d426f 6f742032 3030392e
fff80010: 30362028 41707220 31392032 30313120
fff80020: 2d203135 3a35373a 30362900 60000000
fff80030: 3c20d000 60213f80 38000000 9401fffc
Monitor>dd FFFFFFFC
fffffffc: 4bfff004 xxxxxxxx xxxxxxxx xxxxxxxx
0000000c: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx
0000001c: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx
0000002c: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx
Monitor>▒

U-Boot 2009.06 (Apr 19 2011 - 15:57:06)

CPU:   8541, Version: 1.1, (0x80720011)
Core:  E500, Version: 2.0, (0x80200020)
Clock Configuration:
       CPU0:825  MHz,
       CCB:330  MHz,
       DDR:165  MHz (330 MT/s data rate), LBC:41.250 MHz
CPM:   330 MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled
I2C:   ready
DRAM:  Initializing
Warning: some of the installed DIMMs can not operate this slowly.
    DDR: 512 MB
FLASH: 32 MB
L2:    256 KB enabled
*** WARNING: Could not read MAC address from EEPROM
VPD EEPROM CRC (0x1a49982d) invalid, should be 0x341fa693
In:    serial
Out:   serial
Err:   serial
Net:   TSEC0: PHY is Broadcom BCM5482 (143bcb1)
TSEC1: PHY is Broadcom BCM5482 (143bcb1)
TSEC0, TSEC1
Hit any key to stop autoboot:  0
### JFFS2 loading 'image1' to 0x8000000
Scanning JFFS2 FS:  done.
find_inode failed for name=image1
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for image1!
Wrong Image Format for bootm command
ERROR: can't get kernel image!
### JFFS2 loading 'image2' to 0x8000000
Scanning JFFS2 FS:  done.
find_inode failed for name=image2
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for image2!
Wrong Image Format for bootm command
ERROR: can't get kernel image!
### JFFS2 loading 'image1' to 0x8000000
Scanning JFFS2 FS:  done.
find_inode failed for name=image1
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for image1!
Wrong Image Format for bootm command
ERROR: can't get kernel image!
### JFFS2 loading 'image2' to 0x8000000
Scanning JFFS2 FS:  done.
find_inode failed for name=image2
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for image2!
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> setenv ethaddr 04:7D:7B:F2:8E:98
=> saveenv
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
=> reset


U-Boot 2009.06 (Apr 19 2011 - 15:57:06)

CPU:   8541, Version: 1.1, (0x80720011)
Core:  E500, Version: 2.0, (0x80200020)
Clock Configuration:
       CPU0:825  MHz,
       CCB:330  MHz,
       DDR:165  MHz (330 MT/s data rate), LBC:41.250 MHz
CPM:   330 MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled
I2C:   ready
DRAM:  Initializing
Warning: some of the installed DIMMs can not operate this slowly.
    DDR: 512 MB
FLASH: 32 MB
L2:    256 KB enabled
*** WARNING: Could not read MAC address from EEPROM
VPD EEPROM CRC (0x1a49982d) invalid, should be 0x341fa693
In:    serial
Out:   serial
Err:   serial
Net:   TSEC0: PHY is Broadcom BCM5482 (143bcb1)
TSEC1: PHY is Broadcom BCM5482 (143bcb1)
TSEC0, TSEC1
Hit any key to stop autoboot:  0
### JFFS2 loading 'image1' to 0x8000000
Scanning JFFS2 FS:  done.
find_inode failed for name=image1
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for image1!
Wrong Image Format for bootm command
ERROR: can't get kernel image!
### JFFS2 loading 'image2' to 0x8000000
Scanning JFFS2 FS:  done.
find_inode failed for name=image2
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for image2!
Wrong Image Format for bootm command
ERROR: can't get kernel image!
### JFFS2 loading 'image1' to 0x8000000
Scanning JFFS2 FS:  done.
find_inode failed for name=image1
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for image1!
Wrong Image Format for bootm command
ERROR: can't get kernel image!
### JFFS2 loading 'image2' to 0x8000000
Scanning JFFS2 FS:  done.
find_inode failed for name=image2
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for image2!
Wrong Image Format for bootm command
ERROR: can't get kernel image!
=> setenv ipaddr 192.168.1.50
=> setenv serverip 192.168.1.49
=> tftpboot 0x08000000 lb6m.1.2.0.18.img
Enet starting in 1000BT/FD
Speed: 1000, full duplex
Using TSEC0 device
TFTP from server 192.168.1.49; our IP address is 192.168.1.50
Filename 'lb6m.1.2.0.18.img'.
Load address: 0x8000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##############################
done
Bytes transferred = 9026139 (89ba5b hex)
=> bootm 0x08000074
## Booting kernel from Legacy Image at 08000074 ...
   Image Name:   FASTPATH System for lb4m
   Image Type:   PowerPC Linux Multi-File Image (gzip compressed)
   Data Size:    9025959 Bytes =  8.6 MB
   Load Address: 00000000
   Entry Point:  00000000
   Contents:
      Image 0: 1167342 Bytes =  1.1 MB
      Image 1: 1432683 Bytes =  1.4 MB
      Image 2: 474 Bytes =  0.5 kB
      Image 3: 6425435 Bytes =  6.1 MB
   Verifying Checksum ... OK
## Loading init Ramdisk from multi component Legacy Image at 08000074 ...
   Uncompressing Multi-File Image ... OK
   Loading Ramdisk to 1fa09000, end 1fb66c6b ... OK
   Loading Device Tree to 007fc000, end 007ffb63 ... OK
Model Name LB6M
Using Quanta LB Series machine description
Memory CAM mapping: CAM0=256Mb, CAM1=256Mb, CAM2=0Mb residual: 0Mb
Linux version 2.6.21.7 (gmirek@lc-rdub-26) (gcc version 4.1.2 (Wind River Linux Sourcery G++ 4.1-84)) #2 PREEMPT Thu Mar 31 09:38:27 EDT 2011
Found initrd at 0xdfa09000:0xdfb66c6b
Found MPC85xx PCI host bridge at 0x00000000e0008000. Firmware bus number: 0->0
Zone PFN ranges:
  DMA             0 ->   131072
  Normal     131072 ->   131072
early_node_map[1] active PFN ranges
    0:        0 ->   131072
Built 1 zonelists.  Total pages: 130048
Kernel command line: root=/dev/ram rw mtdparts=physmap-flash.0:32256k(jffs2),512k(u-boot),128k@32512k(u-boot-env)
mpic: Setting up MPIC " OpenPIC  " version 1.2 at e0040000, max 1 CPUs
mpic: ISU size: 4, shift: 2, mask: 3
mpic: Initializing for 60 sources
PID hash table entries: 2048 (order: 11, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 515328k/524288k available (2336k kernel code, 8468k reserved, 76k data, 86k bss, 132k init)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 0 of device 0000:00:12.0
Generic PHY: Registered new driver
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 1399k freed
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO map 0xe0004500 mem 0xe1000500 (irq = 26) is a 16550A
serial8250.0: ttyS1 at MMIO map 0xe0004600 mem 0xe1002600 (irq = 26) is a 16550A
RAMDISK driver initialized: 2 RAM disks of 32768K size 1024 blocksize
Gianfar MII Bus: probed
eth0: Gianfar Ethernet Controller Version 1.2, 04:7d:7b:f2:8e:98
eth0: Running with NAPI enabled
eth0: 256/256 RX/TX BD ring size
eth1: Gianfar Ethernet Controller Version 1.2, 00:e0:0c:00:01:fd
eth1: Running with NAPI enabled
eth1: 256/256 RX/TX BD ring size
Broadcom BCM5411: Registered new driver
Broadcom BCM5421: Registered new driver
Broadcom BCM5461: Registered new driver
Broadcom BCM5464: Registered new driver
Broadcom BCM5481: Registered new driver
Broadcom BCM5482: Registered new driver
Broadcom BCM50610: Registered new driver
Broadcom BCM57780: Registered new driver
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
i2c /dev entries driver
physmap platform flash device: 02000000 at fe000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
3 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 3 MTD partitions on "physmap-flash.0":
0x00000000-0x01f80000 : "jffs2"
0x01f80000-0x02000000 : "u-boot"
0x01fc0000-0x01fe0000 : "u-boot-env"
nf_conntrack version 0.5.0 (4096 buckets, 32768 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Freeing unused kernel memory: 132k init
Starting pid 618, console /dev/ttyS0: '/etc/rc.d/rc.fastpath'
Mounting /dev/mtdblock0 at /mnt/fastpath.
*** Mount failed!
Mounting tmpfs at /mnt/application...done.

FASTPATH Startup Rev: 6.2

Select startup mode.  If no selection is made within 5 seconds,
the FASTPATH Application will start automatically...

FASTPATH Startup -- Main Menu

1 - Start FASTPATH Application
2 - Display Utility Menu
Select (1, 2):
code file image1 not present.
booting image2
Extracting application from .stk file...error: cannot open input file /mnt/fastpath/image2
Failed!
/mnt/application
FASTPATH not executed!
Press <ENTER> to continue...


FASTPATH Startup Rev: 6.2

FASTPATH Startup -- Utility Menu

 1  - Start FASTPATH Application
 2  - Load Code Update Package
 3  - Load Configuration
 4  - Select Serial Speed
 5  - Retrieve Error Log
 6  - Erase Current Configuration
 7  - Erase Permanent Storage
 8  - Select Boot Method
 9  - Activate Backup Image
10  - Start Diagnostic Application
11  - Run Manufacturing Diagnostics
12  - Delete Manufacturing Diagnostics
13  - Reboot

 Q  - Quit from FASTPATH Startup

Select option (1-13 or Q): 2
Creating tmpfs filesystem on tmpfs for download...done.
Select Mode of Transfer (Press T/X/Y/Z for TFTP/XMODEM/YMODEM/ZMODEM) []:t
Enter Server IP []:192.168.1.49
Enter Host IP []:192.168.1.50
Enter Host Subnet Mask [255.255.255.0]:
Enter Gateway IP []:
Enter Filename []:lb6m.1.2.0.18.img
Do you want to continue? Press(Y/N):  y
Bringing up eth0 interface...done.
Bringing down eth0 interface...done.
Saving code file...
Code update instructions found!

Critical components modified -- system reboot recommended!

Reboot? (Y/N): y

Rebooting...
Starting pid 767, console /dev/ttyS0: '/etc/rc.d/rc.reboot'
syncing filesystems....This may take a few moments
umount: forced umount of /mnt/fastpath failed!
Rebooting system!
The system is going down NOW !!
Sending SIGTERM to all processes.
Please stand by while rebooting the system.


U-Boot 2009.06 (Apr 19 2011 - 15:57:06)

CPU:   8541, Version: 1.1, (0x80720011)
Core:  E500, Version: 2.0, (0x80200020)
Clock Configuration:
       CPU0:825  MHz,
       CCB:330  MHz,
       DDR:165  MHz (330 MT/s data rate), LBC:41.250 MHz
CPM:   330 MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled
I2C:   ready
DRAM:  Initializing
Warning: some of the installed DIMMs can not operate this slowly.
    DDR: 512 MB
FLASH: 32 MB
L2:    256 KB enabled
*** WARNING: Could not read MAC address from EEPROM
VPD EEPROM CRC (0x1a49982d) invalid, should be 0x341fa693
In:    serial
Out:   serial
Err:   serial
Net:   TSEC0: PHY is Broadcom BCM5482 (143bcb1)
TSEC1: PHY is Broadcom BCM5482 (143bcb1)
TSEC0, TSEC1
Hit any key to stop autoboot:  0
### JFFS2 loading 'image1' to 0x8000000
Scanning JFFS2 FS:  done.
find_inode failed for name=image1
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for image1!
## Booting kernel from Legacy Image at 08000074 ...
   Image Name:   FASTPATH System for lb4m
   Image Type:   PowerPC Linux Multi-File Image (gzip compressed)
   Data Size:    9025959 Bytes =  8.6 MB
   Load Address: 00000000
   Entry Point:  00000000
   Contents:
      Image 0: 1167342 Bytes =  1.1 MB
      Image 1: 1432683 Bytes =  1.4 MB
      Image 2: 474 Bytes =  0.5 kB
      Image 3: 6425435 Bytes =  6.1 MB
   Verifying Checksum ... OK
## Loading init Ramdisk from multi component Legacy Image at 08000074 ...
   Uncompressing Multi-File Image ... OK
   Loading Ramdisk to 1fa09000, end 1fb66c6b ... OK
   Loading Device Tree to 007fc000, end 007ffb63 ... OK
Model Name LB6M
Using Quanta LB Series machine description
Memory CAM mapping: CAM0=256Mb, CAM1=256Mb, CAM2=0Mb residual: 0Mb
Linux version 2.6.21.7 (gmirek@lc-rdub-26) (gcc version 4.1.2 (Wind River Linux Sourcery G++ 4.1-84)) #2 PREEMPT Thu Mar 31 09:38:27 EDT 2011
Found initrd at 0xdfa09000:0xdfb66c6b
Found MPC85xx PCI host bridge at 0x00000000e0008000. Firmware bus number: 0->0
Zone PFN ranges:
  DMA             0 ->   131072
  Normal     131072 ->   131072
early_node_map[1] active PFN ranges
    0:        0 ->   131072
Built 1 zonelists.  Total pages: 130048
Kernel command line: root=/dev/ram rw mtdparts=physmap-flash.0:32256k(jffs2),512k(u-boot),128k@32512k(u-boot-env)
mpic: Setting up MPIC " OpenPIC  " version 1.2 at e0040000, max 1 CPUs
mpic: ISU size: 4, shift: 2, mask: 3
mpic: Initializing for 60 sources
PID hash table entries: 2048 (order: 11, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 515328k/524288k available (2336k kernel code, 8468k reserved, 76k data, 86k bss, 132k init)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 0 of device 0000:00:12.0
Generic PHY: Registered new driver
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 1399k freed
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO map 0xe0004500 mem 0xe1000500 (irq = 26) is a 16550A
serial8250.0: ttyS1 at MMIO map 0xe0004600 mem 0xe1002600 (irq = 26) is a 16550A
RAMDISK driver initialized: 2 RAM disks of 32768K size 1024 blocksize
Gianfar MII Bus: probed
eth0: Gianfar Ethernet Controller Version 1.2, 04:7d:7b:f2:8e:98
eth0: Running with NAPI enabled
eth0: 256/256 RX/TX BD ring size
eth1: Gianfar Ethernet Controller Version 1.2, 00:e0:0c:00:01:fd
eth1: Running with NAPI enabled
eth1: 256/256 RX/TX BD ring size
Broadcom BCM5411: Registered new driver
Broadcom BCM5421: Registered new driver
Broadcom BCM5461: Registered new driver
Broadcom BCM5464: Registered new driver
Broadcom BCM5481: Registered new driver
Broadcom BCM5482: Registered new driver
Broadcom BCM50610: Registered new driver
Broadcom BCM57780: Registered new driver
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
i2c /dev entries driver
physmap platform flash device: 02000000 at fe000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
3 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 3 MTD partitions on "physmap-flash.0":
0x00000000-0x01f80000 : "jffs2"
0x01f80000-0x02000000 : "u-boot"
0x01fc0000-0x01fe0000 : "u-boot-env"
nf_conntrack version 0.5.0 (4096 buckets, 32768 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Freeing unused kernel memory: 132k init
Starting pid 618, console /dev/ttyS0: '/etc/rc.d/rc.fastpath'
Mounting /dev/mtdblock0 at /mnt/fastpath.
*** Mount failed!
Mounting tmpfs at /mnt/application...done.

FASTPATH Startup Rev: 6.2

Select startup mode.  If no selection is made within 5 seconds,
the FASTPATH Application will start automatically...

FASTPATH Startup -- Main Menu

1 - Start FASTPATH Application
2 - Display Utility Menu
Select (1, 2):
code file image1 not present.
booting image2
Extracting application from .stk file...error: cannot open input file /mnt/fastpath/image2
Failed!
/mnt/application
FASTPATH not executed!
Press <ENTER> to continue...


FASTPATH Startup Rev: 6.2

FASTPATH Startup -- Utility Menu

 1  - Start FASTPATH Application
 2  - Load Code Update Package
 3  - Load Configuration
 4  - Select Serial Speed
 5  - Retrieve Error Log
 6  - Erase Current Configuration
 7  - Erase Permanent Storage
 8  - Select Boot Method
 9  - Activate Backup Image
10  - Start Diagnostic Application
11  - Run Manufacturing Diagnostics
12  - Delete Manufacturing Diagnostics
13  - Reboot

 Q  - Quit from FASTPATH Startup

Select option (1-13 or Q): 9
image2 file not present!
Can not activate image2.
error: cannot open input file image2

image2 activated -- system reboot recommended!

Reboot? (Y/N): y

Rebooting...
Starting pid 727, console /dev/ttyS0: '/etc/rc.d/rc.reboot'
syncing filesystems....This may take a few moments
umount: forced umount of /mnt/fastpath failed!
Rebooting system!
The system is going down NOW !!
Sending SIGTERM to all processes.
Please stand by while rebooting the system.


U-Boot 2009.06 (Apr 19 2011 - 15:57:06)

CPU:   8541, Version: 1.1, (0x80720011)
Core:  E500, Version: 2.0, (0x80200020)
Clock Configuration:
       CPU0:825  MHz,
       CCB:330  MHz,
       DDR:165  MHz (330 MT/s data rate), LBC:41.250 MHz
CPM:   330 MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled
I2C:   ready
DRAM:  Initializing
Warning: some of the installed DIMMs can not operate this slowly.
    DDR: 512 MB
FLASH: 32 MB
L2:    256 KB enabled
*** WARNING: Could not read MAC address from EEPROM
VPD EEPROM CRC (0x1a49982d) invalid, should be 0x341fa693
In:    serial
Out:   serial
Err:   serial
Net:   TSEC0: PHY is Broadcom BCM5482 (143bcb1)
TSEC1: PHY is Broadcom BCM5482 (143bcb1)
TSEC0, TSEC1
Hit any key to stop autoboot:  0
### JFFS2 loading 'image1' to 0x8000000
Scanning JFFS2 FS:  done.
find_inode failed for name=image1
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for image1!
## Booting kernel from Legacy Image at 08000074 ...
   Image Name:   FASTPATH System for lb4m
   Image Type:   PowerPC Linux Multi-File Image (gzip compressed)
   Data Size:    9025959 Bytes =  8.6 MB
   Load Address: 00000000
   Entry Point:  00000000
   Contents:
      Image 0: 1167342 Bytes =  1.1 MB
      Image 1: 1432683 Bytes =  1.4 MB
      Image 2: 474 Bytes =  0.5 kB
      Image 3: 6425435 Bytes =  6.1 MB
   Verifying Checksum ... OK
## Loading init Ramdisk from multi component Legacy Image at 08000074 ...
   Uncompressing Multi-File Image ... OK
   Loading Ramdisk to 1fa09000, end 1fb66c6b ... OK
   Loading Device Tree to 007fc000, end 007ffb63 ... OK
Model Name LB6M
Using Quanta LB Series machine description
Memory CAM mapping: CAM0=256Mb, CAM1=256Mb, CAM2=0Mb residual: 0Mb
Linux version 2.6.21.7 (gmirek@lc-rdub-26) (gcc version 4.1.2 (Wind River Linux Sourcery G++ 4.1-84)) #2 PREEMPT Thu Mar 31 09:38:27 EDT 2011
Found initrd at 0xdfa09000:0xdfb66c6b
Found MPC85xx PCI host bridge at 0x00000000e0008000. Firmware bus number: 0->0
Zone PFN ranges:
  DMA             0 ->   131072
  Normal     131072 ->   131072
early_node_map[1] active PFN ranges
    0:        0 ->   131072
Built 1 zonelists.  Total pages: 130048
Kernel command line: root=/dev/ram rw mtdparts=physmap-flash.0:32256k(jffs2),512k(u-boot),128k@32512k(u-boot-env)
mpic: Setting up MPIC " OpenPIC  " version 1.2 at e0040000, max 1 CPUs
mpic: ISU size: 4, shift: 2, mask: 3
mpic: Initializing for 60 sources
PID hash table entries: 2048 (order: 11, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 515328k/524288k available (2336k kernel code, 8468k reserved, 76k data, 86k bss, 132k init)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 0 of device 0000:00:12.0
Generic PHY: Registered new driver
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 1399k freed
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO map 0xe0004500 mem 0xe1000500 (irq = 26) is a 16550A
serial8250.0: ttyS1 at MMIO map 0xe0004600 mem 0xe1002600 (irq = 26) is a 16550A
RAMDISK driver initialized: 2 RAM disks of 32768K size 1024 blocksize
Gianfar MII Bus: probed
eth0: Gianfar Ethernet Controller Version 1.2, 04:7d:7b:f2:8e:98
eth0: Running with NAPI enabled
eth0: 256/256 RX/TX BD ring size
eth1: Gianfar Ethernet Controller Version 1.2, 00:e0:0c:00:01:fd
eth1: Running with NAPI enabled
eth1: 256/256 RX/TX BD ring size
Broadcom BCM5411: Registered new driver
Broadcom BCM5421: Registered new driver
Broadcom BCM5461: Registered new driver
Broadcom BCM5464: Registered new driver
Broadcom BCM5481: Registered new driver
Broadcom BCM5482: Registered new driver
Broadcom BCM50610: Registered new driver
Broadcom BCM57780: Registered new driver
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
i2c /dev entries driver
physmap platform flash device: 02000000 at fe000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
3 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 3 MTD partitions on "physmap-flash.0":
0x00000000-0x01f80000 : "jffs2"
0x01f80000-0x02000000 : "u-boot"
0x01fc0000-0x01fe0000 : "u-boot-env"
nf_conntrack version 0.5.0 (4096 buckets, 32768 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Freeing unused kernel memory: 132k init
Starting pid 618, console /dev/ttyS0: '/etc/rc.d/rc.fastpath'
Mounting /dev/mtdblock0 at /mnt/fastpath.
*** Mount failed!
Mounting tmpfs at /mnt/application...done.

FASTPATH Startup Rev: 6.2

Select startup mode.  If no selection is made within 5 seconds,
the FASTPATH Application will start automatically...

FASTPATH Startup -- Main Menu

1 - Start FASTPATH Application
2 - Display Utility Menu
Select (1, 2):
code file image1 not present.
booting image2
Extracting application from .stk file...error: cannot open input file /mnt/fastpath/image2
Failed!
/mnt/application
FASTPATH not executed!
Press <ENTER> to continue...
 
Last edited:

fohdeesha

Kaini Industries
Nov 20, 2016
2,111
1,976
113
30
fohdeesha.com
Hello everyone.
The bootloader was able to flash. Now there is no connection with TFTP
I would be grateful for any help

TurboIron Boot Code Version 7.3.0
Enter 'a' to stop at memory test
Enter 'b' to stop at boot monitor
.eeprom read failed from addr 0x54 offset 0
BOOT INFO: load monitor from boot flash, cksum = 7be5
BOOT INFO: verify flash files.
EEPROM read failure.
EEPROM write failure.
AT24c16b EEPROM read failure 1.
Backplane MAC address is not configured.
Use default 0004.80a0.4000
BOOT INFO: load image from primary copy
File not found, 'primary'
BOOT INFO: load image from secondary copy
File not found, 'secondary'
Monitor>

Monitor>copy tftp flash 192.168.1.86 brocadeboot.bin boot
Loading image from Tftp server.....TFTP session timed out

Monitor>copy tftp flash 192.168.1.1 brocadeboot.bin boot
Loading image from Tftp server.....TFTP session timed out

TurboIron Boot Code Version 7.3.0
Enter 'a' to stop at memory test
Enter 'b' to stop at boot monitor
***** Interrupted by entering 'b' *****
.eeprom read failed from addr 0x54 offset 0
BOOT INFO: load monitor from boot flash, cksum = 7be5
BOOT INFO: verify flash files.
EEPROM read failure.
EEPROM write failure.
AT24c16b EEPROM read failure 1.
Backplane MAC address is not configured.
Use default 0004.80a0.4000
Monitor>

I plug in a cable to the MGMT1 port and set the ip (via ip address 192.168.1.87/24) and even though it says it is set, and the port light is on, and I have a connection, I cannot ping anything outside of the switch, and nothing else can ping the switch. The setup is very basic, a computer with Ubuntu (192.168.1.1) Win8 (192.168.1.86) and the TFTP server role, and the switch, both manually set IPs. So, because of this, the TFTP file pull times out and I can't do anything else.

I have done the t2 diag menu for ethernet, and that hasn't helped (boot, Monitor>t2, ethernet test > all tests > esc,esc > set IP > try to pull TFTP files (no luck).

you tried this on an LB9??? This guide is for the LB6M
 

fohdeesha

Kaini Industries
Nov 20, 2016
2,111
1,976
113
30
fohdeesha.com
yeah it's bricked unless you can find some way to get the LB9 bootloader into RAM somehow to copy back to flash, if the current uboot will even let you write to flash. Did you not see the "Only for LB6M" warnings everywhere?