SWitch stop at fsck /flashing
-
dangkita
SWitch stop at fsck /flashing
Dear all,
I have a problem with a switch.
After a time running, Switch suddenly restart, and it only stop at fsck /flashing
I tried to reboot and i could only jump into uboot.
I think miniboot is crash.
How could i load new software, new miniboot from uboot?
Thanks and best regards,
Dangkita
I have a problem with a switch.
After a time running, Switch suddenly restart, and it only stop at fsck /flashing
I tried to reboot and i could only jump into uboot.
I think miniboot is crash.
How could i load new software, new miniboot from uboot?
Thanks and best regards,
Dangkita
-
dangkita
Re: SWitch stop at fsck /flashing
I tried follow that procedure but it' stopped at starting vxworks at 0x01000000...
I think because miniboot is crash so we couldnt boot to miniboot.
Could we repair the miniboot?
I think because miniboot is crash so we couldnt boot to miniboot.
Could we repair the miniboot?
-
one6f
Re: SWitch stop at fsck /flashing
Hi,
from your post I don't understand whenether you are able to "run miniboot" from uboot promt.
U-Boot (6.4.4.213.R01) (for OS6400, OS6850, and OS6855 platforms) (Jan 27 2011 - 05:18:45)
MPC8247 Reset Status: External Soft, External Hard
MPC8247 Clock Configuration
- Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq 25-75 , Core Freq 100-300
- dfbrg 0, corecnf 0x1a, busdf 3, cpmdf 1, plldf 0, pllmf 3
- vco_out 400000000, scc_clk 100000000, brg_clk 100000000
- cpu_clk 400000000, cpm_clk 200000000, bus_clk 100000000
- pci_clk 66666666
CPU: MPC8247 (HiP7 Rev 14, Mask 1.0 1K50M) at 400 MHz
Board: Alcatel-Lucent OS6850 (Kite2)
I2C: ready
DRAM: 256 MB
FLASH: 8 MB
No environment variables found, using defaults
In: serial
Out: serial
Err: serial
No ethernet found.
IDE: Bus 0: OK
Device 0: Model: SanDisk SDCFJ-64 Firm: HDX 2.27 Ser#: 117926C1707E0704
Type: Removable Hard Disk
Capacity: 61.2 MB = 0.0 GB (125440 x 512)
USB: scanning bus for devices...
USB device not responding, giving up (status=80000000)
0 USB Devices found
Hit any key to stop autoboot: 0 <---- HERE PRESS ANY KEY
=> help
Old techtip:Boot switch from backup miniboot
from your post I don't understand whenether you are able to "run miniboot" from uboot promt.
U-Boot (6.4.4.213.R01) (for OS6400, OS6850, and OS6855 platforms) (Jan 27 2011 - 05:18:45)
MPC8247 Reset Status: External Soft, External Hard
MPC8247 Clock Configuration
- Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq 25-75 , Core Freq 100-300
- dfbrg 0, corecnf 0x1a, busdf 3, cpmdf 1, plldf 0, pllmf 3
- vco_out 400000000, scc_clk 100000000, brg_clk 100000000
- cpu_clk 400000000, cpm_clk 200000000, bus_clk 100000000
- pci_clk 66666666
CPU: MPC8247 (HiP7 Rev 14, Mask 1.0 1K50M) at 400 MHz
Board: Alcatel-Lucent OS6850 (Kite2)
I2C: ready
DRAM: 256 MB
FLASH: 8 MB
No environment variables found, using defaults
In: serial
Out: serial
Err: serial
No ethernet found.
IDE: Bus 0: OK
Device 0: Model: SanDisk SDCFJ-64 Firm: HDX 2.27 Ser#: 117926C1707E0704
Type: Removable Hard Disk
Capacity: 61.2 MB = 0.0 GB (125440 x 512)
USB: scanning bus for devices...
USB device not responding, giving up (status=80000000)
0 USB Devices found
Hit any key to stop autoboot: 0 <---- HERE PRESS ANY KEY
=> help
Old techtip:Boot switch from backup miniboot
-
dangkita
Re: SWitch stop at fsck /flashing
Hi, when i use help, it shows :
autoscr - run script from memory
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootp - boot image via network using BootP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
cmp - memory compare
coninfo - print console devices and informations
cp - memory copy
crc32 - checksum calculation
diskboot- boot from IDE device
echo - echo args to console
erase - erase FLASH memory
fatdelete - delete a file from a fat filesystem
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatwrite - write binary file to a fat filesystem
flinfo - print FLASH memory information
go - start application at address 'addr'
help - print online help
icrc32 - checksum calculation
ide - IDE sub-system
iloop - infinite loop on address range
imd - i2c memory display
iminfo - print header information for application image
imls - list all images found in flash
imm - i2c memory modify (auto-incrementing)
imw - memory write (fill)
inm - memory modify (constant address)
iprobe - probe to discover valid I2C chip addresses
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
pci - list and access PCI Configuraton Space
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sleep - delay execution for some time
tftpboot- boot image via network using TFTP protocol
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version
but i can't use "bootd", "bootvx" or " runminiboot" , it will stop at " ## Starting vxWorks at 0x01000000 ...". I think my miniboot is wrong. I want to use usb to boot it but i don't know how to do that. Do U know about it?
P/s: i don't have an Alcatel's usb and i have to use my usb
autoscr - run script from memory
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootp - boot image via network using BootP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
cmp - memory compare
coninfo - print console devices and informations
cp - memory copy
crc32 - checksum calculation
diskboot- boot from IDE device
echo - echo args to console
erase - erase FLASH memory
fatdelete - delete a file from a fat filesystem
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatwrite - write binary file to a fat filesystem
flinfo - print FLASH memory information
go - start application at address 'addr'
help - print online help
icrc32 - checksum calculation
ide - IDE sub-system
iloop - infinite loop on address range
imd - i2c memory display
iminfo - print header information for application image
imls - list all images found in flash
imm - i2c memory modify (auto-incrementing)
imw - memory write (fill)
inm - memory modify (constant address)
iprobe - probe to discover valid I2C chip addresses
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
pci - list and access PCI Configuraton Space
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sleep - delay execution for some time
tftpboot- boot image via network using TFTP protocol
usb - USB sub-system
usbboot - boot from USB device
version - print monitor version
but i can't use "bootd", "bootvx" or " runminiboot" , it will stop at " ## Starting vxWorks at 0x01000000 ...". I think my miniboot is wrong. I want to use usb to boot it but i don't know how to do that. Do U know about it?
P/s: i don't have an Alcatel's usb and i have to use my usb
-
one6f
Re: SWitch stop at fsck /flashing
Hi,
here is my output of recovery. Did you do the same?
U-Boot (6.4.4.213.R01) (for OS6400, OS6850, and OS6855 platforms) (Jan 27 2011 - 05:18:45)
MPC8247 Reset Status: External Soft, External Hard
MPC8247 Clock Configuration
- Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq 25-75 , Core Freq 100-300
- dfbrg 0, corecnf 0x1a, busdf 3, cpmdf 1, plldf 0, pllmf 3
- vco_out 400000000, scc_clk 100000000, brg_clk 100000000
- cpu_clk 400000000, cpm_clk 200000000, bus_clk 100000000
- pci_clk 66666666
CPU: MPC8247 (HiP7 Rev 14, Mask 1.0 1K50M) at 400 MHz
Board: Alcatel-Lucent OS6850 (Kite2)
I2C: ready
DRAM: 256 MB
FLASH: 8 MB
In: serial
Out: serial
Err: serial
No ethernet found.
IDE: Bus 0: OK
Device 0: Model: SanDisk SDCFJ-64 Firm: HDX 2.27 Ser#: 117926C1707E0704
Type: Removable Hard Disk
Capacity: 61.2 MB = 0.0 GB (125440 x 512)
USB: scanning bus for devices...
USB device not responding, giving up (status=80000000)
0 USB Devices found
Hit any key to stop autoboot: 0
=> setenv baudrate 115200
## Switch baudrate to 115200 bps and press ENTER ...!!!!!!!!!In your terminal programm!!!!
=> setenv bootflags 0x1000
=> saveenv
Saving Environment to Flash...
Un-Protected 2 sectors
Erasing Flash.......flash erase done
Erased 2 sectors
Writing to Flash...
256 KB
done
Protected 2 sectors
=> printenv
bootargs=
bootcmd=run miniboot
bootdelay=1
loads_echo=1
ipaddr=192.168.10.1
serverip=
rootpath=
gatewayip=
netmask=255.255.255.0
hostname=OS68xx
bootfile=
loadaddr=0x1000000
serialmode=modemControlOff
stdin=serial
stdout=serial
stderr=serial
miniboot=bootm 0xff900000
osboot=run miniboot
ramsize=0x10000000
baudrate=115200
bootflags=0x1000 <----Check this
Environment size: 340/8188 bytes
=> bootm 0xff900000
## Booting image at ff900000 ...
Image Name: miniboot-6.4.4.213.R01
Image Type: PowerPC VxWorks Kernel Image (gzip compressed)
Data Size: 1014773 Bytes = 991 kB
Load Address: 00005000
Entry Point: 00005000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Ethernet MAC address not copied to NV RAM
Loading .text @ 0x01000000 (1629912 bytes)
Loading .rodata @ 0x0118ded8 (349411 bytes)
Loading .data @ 0x011e33c0 (139148 bytes)
Clearing .sbss @ 0x01205350 (1560 bytes)
Clearing .bss @ 0x01206000 (1579460 bytes)
## Using bootline (@ 0x4200): flash(1,0)cmm:default h=192.168.10.1 e=192.168.10.1:ffffff00 cb=115200 cp=none cs=1 cw=8 cm=modemControlOff f=0x1000
## Starting vxWorks at 0x01000000 ... <----I understand you are not successful here
USB2 Host Stack Initialized.
USB Hub Driver Initialized
USBD Wind River Systems, Inc. 562 Initialized
M824xHCI Controller found.
Waiting to attach to USBD...Done.
0xffffde0 (tRootTask): usbBulkDevInit() returned OK
usbCbiUfiDevInit() returned OK
CBI Class Driver Successfully Initialized
ataDrv call. 0 1 24 24 621 0 0
CS EEPROM Module ID: 42023213 , System type: 48 port POE 1000Base-T, with 2 XFP, stacking - kite2
Adding 5597 symbols for standalone.
Check Disk Running ...
dosChkLib : CLOCK_REALTIME is being reset to WED APR 25 15:22:54 2012
Value obtained from file system volume descriptor pointer: 0xf59b9d8
The old setting was THU JAN 01 00:00:01 1970
Accepted system dates are greater than THU DEC 27 00:00:00 1990
/flash/ - Volume is OK
Boot parameters are:
'flash(1,0)cmm:default e=10.255.24.81:ff000000 h=192.168.10.1 g=10.255.24.181 f=0x1000 cb=9600 cp=none cs=1 cw=8 cm=modemControlOff'
AOS miniboot version: 6.4.4.213.R01
VxWorks (for Alcatel CMM Motorola MPC8248) version VxWorks5.5.1
KERNEL: WIND version 2.6
Made on Jan 27 2011, 05:49:51.
Copyright Wind River Systems, Inc., 1984-2006
CPU: Motorola MPC8248. Processor #0.
Memory Size: 0x10000000 (256 MB). BSP version 1.2/1.
WARNING: Stopping in miniboot as directed by boot flags...
[Miniboot]->
here is my output of recovery. Did you do the same?
U-Boot (6.4.4.213.R01) (for OS6400, OS6850, and OS6855 platforms) (Jan 27 2011 - 05:18:45)
MPC8247 Reset Status: External Soft, External Hard
MPC8247 Clock Configuration
- Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq 25-75 , Core Freq 100-300
- dfbrg 0, corecnf 0x1a, busdf 3, cpmdf 1, plldf 0, pllmf 3
- vco_out 400000000, scc_clk 100000000, brg_clk 100000000
- cpu_clk 400000000, cpm_clk 200000000, bus_clk 100000000
- pci_clk 66666666
CPU: MPC8247 (HiP7 Rev 14, Mask 1.0 1K50M) at 400 MHz
Board: Alcatel-Lucent OS6850 (Kite2)
I2C: ready
DRAM: 256 MB
FLASH: 8 MB
In: serial
Out: serial
Err: serial
No ethernet found.
IDE: Bus 0: OK
Device 0: Model: SanDisk SDCFJ-64 Firm: HDX 2.27 Ser#: 117926C1707E0704
Type: Removable Hard Disk
Capacity: 61.2 MB = 0.0 GB (125440 x 512)
USB: scanning bus for devices...
USB device not responding, giving up (status=80000000)
0 USB Devices found
Hit any key to stop autoboot: 0
=> setenv baudrate 115200
## Switch baudrate to 115200 bps and press ENTER ...!!!!!!!!!In your terminal programm!!!!
=> setenv bootflags 0x1000
=> saveenv
Saving Environment to Flash...
Un-Protected 2 sectors
Erasing Flash.......flash erase done
Erased 2 sectors
Writing to Flash...
256 KB
done
Protected 2 sectors
=> printenv
bootargs=
bootcmd=run miniboot
bootdelay=1
loads_echo=1
ipaddr=192.168.10.1
serverip=
rootpath=
gatewayip=
netmask=255.255.255.0
hostname=OS68xx
bootfile=
loadaddr=0x1000000
serialmode=modemControlOff
stdin=serial
stdout=serial
stderr=serial
miniboot=bootm 0xff900000
osboot=run miniboot
ramsize=0x10000000
baudrate=115200
bootflags=0x1000 <----Check this
Environment size: 340/8188 bytes
=> bootm 0xff900000
## Booting image at ff900000 ...
Image Name: miniboot-6.4.4.213.R01
Image Type: PowerPC VxWorks Kernel Image (gzip compressed)
Data Size: 1014773 Bytes = 991 kB
Load Address: 00005000
Entry Point: 00005000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Ethernet MAC address not copied to NV RAM
Loading .text @ 0x01000000 (1629912 bytes)
Loading .rodata @ 0x0118ded8 (349411 bytes)
Loading .data @ 0x011e33c0 (139148 bytes)
Clearing .sbss @ 0x01205350 (1560 bytes)
Clearing .bss @ 0x01206000 (1579460 bytes)
## Using bootline (@ 0x4200): flash(1,0)cmm:default h=192.168.10.1 e=192.168.10.1:ffffff00 cb=115200 cp=none cs=1 cw=8 cm=modemControlOff f=0x1000
## Starting vxWorks at 0x01000000 ... <----I understand you are not successful here
USB2 Host Stack Initialized.
USB Hub Driver Initialized
USBD Wind River Systems, Inc. 562 Initialized
M824xHCI Controller found.
Waiting to attach to USBD...Done.
0xffffde0 (tRootTask): usbBulkDevInit() returned OK
usbCbiUfiDevInit() returned OK
CBI Class Driver Successfully Initialized
ataDrv call. 0 1 24 24 621 0 0
CS EEPROM Module ID: 42023213 , System type: 48 port POE 1000Base-T, with 2 XFP, stacking - kite2
Adding 5597 symbols for standalone.
Check Disk Running ...
dosChkLib : CLOCK_REALTIME is being reset to WED APR 25 15:22:54 2012
Value obtained from file system volume descriptor pointer: 0xf59b9d8
The old setting was THU JAN 01 00:00:01 1970
Accepted system dates are greater than THU DEC 27 00:00:00 1990
/flash/ - Volume is OK
Boot parameters are:
'flash(1,0)cmm:default e=10.255.24.81:ff000000 h=192.168.10.1 g=10.255.24.181 f=0x1000 cb=9600 cp=none cs=1 cw=8 cm=modemControlOff'
AOS miniboot version: 6.4.4.213.R01
VxWorks (for Alcatel CMM Motorola MPC8248) version VxWorks5.5.1
KERNEL: WIND version 2.6
Made on Jan 27 2011, 05:49:51.
Copyright Wind River Systems, Inc., 1984-2006
CPU: Motorola MPC8248. Processor #0.
Memory Size: 0x10000000 (256 MB). BSP version 1.2/1.
WARNING: Stopping in miniboot as directed by boot flags...
[Miniboot]->
-
dangkita
Re: SWitch stop at fsck /flashing
hi,
That's right. My switch is not successful there
" ## Starting vxWorks at 0x01000000 ... ". It stops at here and doesn't do anything then.
I've already executed
"=> setenv baudrate 115200
=> setenv bootflags 0x1000
=> saveenv"
and "bootflags =0x1000" (in "printenv") but when run "bootm 0xff900000" it will stop at " ## Starting vxWorks at 0x01000000 ... "
That's right. My switch is not successful there
" ## Starting vxWorks at 0x01000000 ... ". It stops at here and doesn't do anything then.
I've already executed
"=> setenv baudrate 115200
=> setenv bootflags 0x1000
=> saveenv"
and "bootflags =0x1000" (in "printenv") but when run "bootm 0xff900000" it will stop at " ## Starting vxWorks at 0x01000000 ... "
-
one6f
Re: SWitch stop at fsck /flashing
I assume the iminfo function return a good checksum, you have no usb attached..
then - sorry - I cannot help
return your device to Alcatel for repair.
Code: Select all
=> iminfo 0xff900000
## Checking Image at ff900000 ...
Image Name: miniboot-6.4.4.213.R01
Image Type: PowerPC VxWorks Kernel Image (gzip compressed)
Data Size: 1014773 Bytes = 991 kB
Load Address: 00005000
Entry Point: 00005000
Verifying Checksum ... OKreturn your device to Alcatel for repair.
-
dangkita
Re: SWitch stop at fsck /flashing
hi,
Thanks for your enthusiasm,
i think the only way i can do before returning my device to Alcatel is using USB to boot.
But without using an Alcatel's USB, can I use my usb to boot?
Do U know how to create an USB to boot Omni 6400 ( which is bootloader, img file... i need to push in to my usb) ?
Thanks for your enthusiasm,
i think the only way i can do before returning my device to Alcatel is using USB to boot.
But without using an Alcatel's USB, can I use my usb to boot?
Do U know how to create an USB to boot Omni 6400 ( which is bootloader, img file... i need to push in to my usb) ?
