Hi! again...:)
I review your article again on my PC...:)
Last was my iPhone 6s Plus.
Do Not UES setenv command!
That's a very dasngerous that cause problem normal u-boot procedure!
There is a 3 command about boot environment
1. envreset- Sets environment variables to default setting
2. saveenv - save environment variables to persistent storage
3. setenv - set environment variables
If you setenv command A=XXX then last other configuration will be gone!
You must setenv command with full configuration options.
I think you must envreset then reset CPU and try again.
What's your switch model?
I think some advanced in latest Mellanox product, but u-boot logic is same old one.
I can find this 2 commands on your dump above.
1. autoscr - DEPRECATED - use "source" command instead
2. nand - NAND sub-system
3. nboot - boot from NAND device
All Mellanox switch have same construction.
NAND on switch will be partitioned 2 exasperatedly then boot from one of them
Can you dump help of this 3 commands? - autoscr, nand, nboot