does anyone know how to programm the .img file of mlnx-os to the flash (JFFS2) 1GB flash drive built into the SX10XX series of switches
ive a corrupt boot image. (thus no mlnx-os running) can only interrupt boot process to goto u-boot
i finally have the img file from mellanox to upload. It is .img file
Ive setup a tftp server as per this post Put JFFS2 Image to Flash - Texas Instruments Wiki and RootFileSystemOnAJFFS2FileSystem < DULG < DENX
ive run envreset to reset the environment settings
imls shows 2 flash images
Legacy image at FF400000
Legacy image at FF600000
checksum...OK
i then try to upload via tftp FF400000 imagexxx.img (from ftp server)
it finds the image and begins to load it
=> tftp 100000 /tftpboot/TQM860L/jffs2.img
Using FEC ETHERNET device
TFTP from server 192.168.3.1; our IP address is 192.168.3.80
Filename '/tftpboot/TQM860L/jffs2.img'.
Load address: FF400000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
########
IT stops midway. terminal is unresponsive. i wait for 5 mins, as when trying to upload it via NFS or tftp results in a error message saying img in wrong format.
upon reboot
image at FF400000
Verifying checksum ... bad data CRC
when i try to run, it doesnt run, it shoudl show something liek this
# flpart
Nr | Name | Start | Size | Type | FS | Flags
---------------------------------------------------------------------
0 | U-Boot | 0 |768 KiB |U-Boot | | fixed
1 | NVRAM | 768 KiB |512 KiB |NVRAM | | fixed
2 | Kernel | 1280 KiB | 3 MiB |Linux-Kernel | |
3 | RootFS-JFFS2 | 4352 KiB | 16 MiB |Filesystem | JFFS2 | rootfs
4 | User-JFFS2 |20736 KiB | 11 MiB | Filesystem | JFFS2 |
Commands:
a) Append partition
d) Delete partition
m) Modify partition
p) Print partition table
r) Reset partition table
q) Quit
Cmd (? for help
Ive also tried NFS and tftp to upload and auto program but it says corrupt image error also.?
iget an error
bytes transfered 298732816 (11ce4d10) hex
automatic boot format for tftpboot command
ERROR: cant get kernel image
Am i to assume i have to also build a custom kernel and upload it also?
also tried
=>setenv flash_jffs2
=>run mlxlinux
wront image format foor bootm command
ERROR: cant get kernel image
so im guessing the kernel image partition is the one which is corrupt.
output from flint
flint -d /dev/mst/SW_MT51000_0x2c90300ad6280_lid-0x0002 v
FS2 failsafe image. Start address: 0x200000. Chunk size 0x200000:
NOTE: The addresses below are contiguous logical addresses. Physical addresses on
flash may be different, based on the image start address and chunk size
/0x00000038-0x000013bb (0x001384)/ (BOOT2) - OK
/0x000013bc-0x00002913 (0x001558)/ (BOOT2) - OK
/0x00002914-0x00002a0b (0x0000f8)/ (Configuration) - OK
/0x00002a0c-0x00002a4f (0x000044)/ (GUID) - OK
/0x00002a50-0x00002ba7 (0x000158)/ (Image Info) - OK
/0x00002ba8-0x00003b6f (0x000fc8)/ (DDR) - OK
/0x00003b70-0x001708c3 (0x16cd54)/ (DDR) - OK
/0x001708c4-0x001712ff (0x000a3c)/ (DDR) - OK
/0x00171300-0x0017ca2b (0x00b72c)/ (Configuration) - OK
/0x0017ca2c-0x0017ca57 (0x00002c)/ (Jump addresses) - OK
/0x0017ca58-0x0017efe7 (0x002590)/ (FW Configuration) - OK
/0x00000000-0x0017efe7 (0x17efe8)/ (Full Image) - OK
-I- FW image verification succeeded. Image is bootable.
how to fix that?
Any ideas?