[Problem] Dell R720xd iDRAC BIOS Recovery

Yes I currently have an SD car in the reader but it does not pick it up in order to try to flash it automatically with the .d7. I’m trying to get the pins shorted but it seems it just continues in the process and repeats might need to try something else to short them.

@geekonocito Your SD card is showing up, is it 256MB or 256GB? What format file system did you use? If it is 256GB I doubt that is gona work with the iDrac.

Its currently a 2gb card partition down to 256mb in FAT with the .d7 in the root of the card. it actually shows up in the boot process.( see below) if I am correct. Was there something needs to be done in order to get it try to flash i thought the process would see the file and then do this automatically.

INFO: 00:228 SD CARD: Device: sh-sdhi Manufacturer ID: 41 OEM: 3432
Name: DELL1 Tran Speed: 25000000 Rd Block Len: 512
SD version 2.0 High Capacity: No Capacity: 2040528896

@geekonocito Hum, ok, what tools are you using to partition and fat format that? It sees the raw device, but it doesnt look like it is finding a file system or the firmimg.d7 file. And if the sd card is what an idrac expects it is fully automatic, if any little detail is off it does nothing.



@rgrimes Currently just using windows in order to format and resize the SD card, nothing really special there I thought to be able to do. Is there a better way?

I am using Dell Latitude E5550. I received a message to update the system BIOS. I update my system BIOS. After installation, I am facing a black screen when I used a chrome browser to read a blog page like best canoe reviews etc. tell me how can I solve this problem.

I’m also facing same problem on a R320, my problem is to get recovery mode … the image is enough good to start kernel (crap!). Here’s my actual default log :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
 

U-Boot 2009.08 (Feb 21 2020 - 03:41:43) Avocent (0.0.3) EVB
 
CPU: SH-4A
BOARD: R0P7757LC00xxRL (Cn step) board
BOOT: Secure, HRK generated
DRAM: 240MB
(240MB of 256MB total DRAM is available on U-Boot)
ENV: Using primary env area.
Undefined env FWN
Undefined env FWN1
Undefined env fwu_act
Undefined env Failsafe_PowerON_Lockout
Undefined env wdt2cnt
Undefined env wdt0cnt
Undefined env cpld_recover_cnt
Undefined env ddr_recover_cnt
Restore env etherc0=C8:1F:66:BB:F0:76
Restore env getherc0=C8:1F:66:BB:F0:77
Restore env first_ac=yes
Restore env ethaddr=C8:1F:66:BB:F0:76
Restore env eth2addr=C8:1F:66:BB:F0:77
Restore env macs_in_res1=yes
Restore env ethact=sh_g_eth.0
Restore env dmn=disabled
In: serial
Out: serial
Err: serial
PCIe: Bridge loaded with 0x18000 bytes
WDT2: Booted Lower Vector, 'uboot1'
sh_mmcif: 0, sh-sdhi: 1
Net: sh_eth.0, sh_g_eth.0
INFO: 00:002 Start-up -to- util_idrac_main()
INFO: 00:004 U-Boot 2009.08 (Feb 21 2020 - 03:41:43) Avocent (0.0.3) EVB
INFO: 00:007 U-Boot checkin date(10-04-2018) Version(1.1.34)
INFO: 00:006 iDRAC PPID <NULL>
INFO: 00:003 SPI NOR init 4096 KiB N25Q032 bus=0 cs=0, speed=1000000, mode=3
INFO: 00:007 SH-4A Product: Major Ver=0x31 Minor Ver=0x14 C4 Little endian
Family=0x10 Major Ver=0x30 Minor Ver=0x0b
INFO: 00:139 BCM54610 OUI=0x00d897 Model=0x26 Revision=0x0a PhyAddr=1
INFO: 00:007 Dedicated monolithic mgmt NIC disabled
INFO: 00:157 SD CARD: Device: sh-sdhi Manufacturer ID: 3 OEM: 5344
Name: SL08G Tran Speed: 25000000 Rd Blk Len: 512
SD ver 2.0 HC: Yes cap(<2gb): 3653238784 cap(>2gb): 0
ext_rev: 0 rst_n: 0 ext[96]: 0
INFO: 00:499 EMMC: Device: sh_mmcif Manufacturer ID: 90 OEM: 14a
Name: HYNIX Tran Speed: 25000000 Rd Blk Len: 512
MMC ver 4.0 HC: Yes cap(<2gb): 0 cap(>2gb): 7569408
ext_rev: 5 rst_n: 0 ext[96]: 0
INFO: 00:023 CPLD: Major Ver=0x1 Minor Ver=0x0 Maint Ver=0x4
Planar: Type=0x07 Rev=0x4 Rework=0x0 Scratch/PathRetry=0x00
PASS: 00:014 Coin cell detected good, AD=0x394 low water=0x2c1
PASS: 00:008 PCIe SH7757_C0 Ver=0.15 MCTP en, CRC=0x8e9b6875 @0x8efbd4ec cnt=0x18000
INFO: 00:008 Init PCIe mailbox(PCIe 0xFFEE0150=0x40010000)
INFO: 00:006 mode=normal
INFO: 00:002 reset_cause=ac
PASS: 00:004 Booted Lower Vector, 'uboot1' wdt2cnt=0
INFO: 00:006 wdt0cnt=0 cpld_recover_cnt=0 ddr_recover_cnt=0
PASS: 00:006 Clear CH1/CH2, clear 4K shared memory@0xffcaa000 on AC power up
PASS: 00:008 SMR0 no sermux env, default 0xd4
INFO: 00:004 GRACR=0x3c HISEL=0x00 SIRQCR5_D=0x03 SIRQCR6_D=0x01 LADMSK0=0xff2
MRSTCR0=0xfedffe7f MRSTCR1=0xfff3ff0f MRSTCR2=0x6f80feff
BARMAP=0x1 BCR=0x85000000 NCER=0x01fc NCMCR=0x0006 NCCSR=0x0303
PASS: 00:021 etherc0=C8:1F:66:BB:F0:76
getherc0=C8:1F:66:BB:F0:77
INFO: 00:009 Fan logic for monolithic planar type 7
fan1 - def 0000 1fff 3d fan2 - def 0000 1fff 3d
fan3 - def 0000 1fff 3d fan4 - def 0000 1fff 3d
fan5 - def 0000 1fff 3d fan6 - def 0000 1fff 3d
fan7 - def 0000 1fff 3d fan8 - def 0000 1fff 3d
INFO: 00:077 Env and backup CRC'ed ok
Erasing SPI flash at 0x100000...Writing to SPI flash...done
Erasing SPI flash at 0x110000...Writing to SPI flash...done
*** no text signature found ***
INFO: 02:624 Sync eMMC/SPI NOR/Alternate u-boot images
PASS: 00:264 Current u-boot1 1.1.34 verified with 'ubootN'
Trailer Struct - Missing start token, exp=0xc0de1111 rec=0x0
U-boot2 in sync with u-boot1 1.1.34
INFO: 00:017 Verify OS Images N: ENV FWN is missing
PASS: 00:005 Boot device=emmc Boot partition1/N
Boot Path Retry:P1/N=0 P5/N-1=0
INFO: 00:000 03:946
OS_WDT0_EN:180 seconds, Re-load ILRAM:
SPI_WP: Not attempted.
EMMC_WP: Not attempted.
Boot Path Retry:P1/N=0 P5/N-1=0
Copying kernel image ... OK
## Booting kernel from Legacy Image at 88000000 ...
Image Name: sh-linux
Image Type: SuperH Linux Kernel Image (gzip compressed)
Data Size: 3082347 Bytes = 2.9 MB
Load Address: 80001000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
WDT2: Disable in do_bootm_linux()
 
Monolithic/DRB
systemd[1]: could not find module by name='autofs4'
systemd[1]: Failed to insert 'autofs4'
 
 


But if I short the CMD/GND (to force the non detection of eMMC) I get :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
 

U-Boot 2009.08 (Feb 21 2020 - 03:41:43) Avocent (0.0.3) EVB
 
CPU: SH-4A
BOARD: R0P7757LC00xxRL (Cn step) board
BOOT: Secure, HRK generated
DRAM: 240MB
(240MB of 256MB total DRAM is available on U-Boot)
ENV: Using primary env area.
Undefined env FWN
Undefined env FWN1
Undefined env fwu_act
Undefined env Failsafe_PowerON_Lockout
Undefined env wdt2cnt
Undefined env wdt0cnt
Undefined env cpld_recover_cnt
Undefined env ddr_recover_cnt
Restore env etherc0=C8:1F:66:BB:F0:76
Restore env getherc0=C8:1F:66:BB:F0:77
Restore env first_ac=yes
Restore env ethaddr=C8:1F:66:BB:F0:76
Restore env eth2addr=C8:1F:66:BB:F0:77
Restore env macs_in_res1=yes
Restore env ethact=sh_g_eth.0
Restore env dmn=disabled
In: serial
Out: serial
Err: serial
PCIe: Bridge loaded with 0x18000 bytes
WDT2: Booted Lower Vector, 'uboot1'
sh_mmcif: 0, sh-sdhi: 1
Net: sh_eth.0, sh_g_eth.0
INFO: 00:002 Start-up -to- util_idrac_main()
INFO: 00:004 U-Boot 2009.08 (Feb 21 2020 - 03:41:43) Avocent (0.0.3) EVB
INFO: 00:007 U-Boot checkin date(10-04-2018) Version(1.1.34)
INFO: 00:006 iDRAC PPID <NULL>
INFO: 00:003 SPI NOR init 4096 KiB N25Q032 bus=0 cs=0, speed=1000000, mode=3
INFO: 00:007 SH-4A Product: Major Ver=0x31 Minor Ver=0x14 C4 Little endian
Family=0x10 Major Ver=0x30 Minor Ver=0x0b
INFO: 00:139 BCM54610 OUI=0x00d897 Model=0x26 Revision=0x0a PhyAddr=1
INFO: 00:007 Dedicated monolithic mgmt NIC disabled
INFO: 00:157 SD CARD: Device: sh-sdhi Manufacturer ID: 3 OEM: 5344
Name: SL08G Tran Speed: 25000000 Rd Blk Len: 512
SD ver 2.0 HC: Yes cap(<2gb): 3653238784 cap(>2gb): 0
ext_rev: 0 rst_n: 0 ext[96]: 0
sh_mmcif: Cmd(d'1) err
Card did not respond to voltage select!
sh_mmcif: Cmd(d'8) err
INFO: 00:040 EMMC: Device: sh_mmcif Manufacturer ID: 0 OEM: 0
Name:
INFO: 00:008 CPLD: Major Ver=0x1 Minor Ver=0x0 Maint Ver=0x4
Planar: Type=0x07 Rev=0x4 Rework=0x0 Scratch/PathRetry=0x00
PASS: 00:014 Coin cell detected good, AD=0x394 low water=0x2c1
PASS: 00:008 PCIe SH7757_C0 Ver=0.15 MCTP en, CRC=0x8e9b6875 @0x8efbd4ec cnt=0x18000
INFO: 00:008 Init PCIe mailbox(PCIe 0xFFEE0150=0x40010000)
INFO: 00:006 mode=normal
INFO: 00:002 reset_cause=ac
PASS: 00:005 Booted Lower Vector, 'uboot1' wdt2cnt=0
INFO: 00:005 wdt0cnt=0 cpld_recover_cnt=0 ddr_recover_cnt=0
PASS: 00:007 Clear CH1/CH2, clear 4K shared memory@0xffcaa000 on AC power up
PASS: 00:007 SMR0 no sermux env, default 0xd4
INFO: 00:004 GRACR=0x3c HISEL=0x00 SIRQCR5_D=0x03 SIRQCR6_D=0x01 LADMSK0=0xff2
MRSTCR0=0xfedffe7f MRSTCR1=0xfff3ff0f MRSTCR2=0x6f80feff
BARMAP=0x1 BCR=0x85000000 NCER=0x01fc NCMCR=0x0006 NCCSR=0x0303
PASS: 00:021 etherc0=C8:1F:66:BB:F0:76
getherc0=C8:1F:66:BB:F0:77
INFO: 00:009 Fan logic for monolithic planar type 7
fan1 - def 0000 1fff 3d fan2 - def 0000 1fff 3d
fan3 - def 0000 1fff 3d fan4 - def 0000 1fff 3d
fan5 - def 0000 1fff 3d fan6 - def 0000 1fff 3d
fan7 - def 0000 1fff 3d fan8 - def 0000 1fff 3d
INFO: 00:077 Env and backup CRC'ed ok
Erasing SPI flash at 0x100000...Writing to SPI flash...done
Erasing SPI flash at 0x110000...Writing to SPI flash...done
sh_mmcif: Cmd(d'1) err
Card did not respond to voltage select!
sh_mmcif: Cmd(d'1) err
Card did not respond to voltage select!
sh_mmcif: Cmd(d'1) err
Card did not respond to voltage select!
sh_mmcif: Cmd(d'16) err
set read bl len failed, err =-84
*** fail to read block from device ***
*** can't read from device 1 ***
*** create default partitions ***
sh_mmcif: Cmd(d'1) err
Card did not respond to voltage select!
sh_mmcif: Cmd(d'16) err
set write bl len failed, err =-84
*** fail to write block to device ***
*** can't write to device 1 ***
FAIL: 02:020 fwu_init() failure
INFO: 00:005 Sync eMMC/SPI NOR/Alternate u-boot images
FAIL: 00:005 ...eMMC/MBR does not have a bootable partition
FAIL: 00:005 verify_os_images(): eMMC/MBR does not have a bootable partition
FAIL: 00:008 Boot device=emmc Boot partition-1/No bootable partition
Boot Path Retry:P1/N=0 P5/N-1=0 Invalid boot partition
INFO: 00:014 Sync eMMC/SPI NOR/Alternate u-boot images
FAIL: 00:005 ...eMMC/MBR does not have a bootable partition
FAIL: 00:005 verify_os_images(): eMMC/MBR does not have a bootable partition
FAIL: 00:008 Boot device=emmc Boot partition-1/No bootable partition
Boot Path Retry:P1/N=0 P5/N-1=0 Invalid boot partition
INFO: 00:000 02:641
*** device is not ready ***
 

Unable to boot, disable wdogs -- HALTING
 
 


So I cannot get recovery mode ... idrac7=>

Any ideas ?

@darkspeed I do not know why you shorted the CMD to GND, that is NOT how you get an iDrac7> prompt. There is a set of test pads that you need to place a jumper of DBG to enable the access to u-boot and idrac7 serial console. Also if your iDrac is flashed with very recent code even that wont work, as Dell has disabled this access because of the idracula vulnerability.

@rgrime .

Hello,

I’ve tried to found a solution to be in recovery shortcut on CMD/GND leads to emmc unreadable, i had hope that I will force to be on recovery on emmc error :frowning: Off course, emmc Works as before without shortcut.

where is located the debug jumper ?

Perhaps I could flash the SPI (with Eeprom burner) to get Uboot on a older version ?

which version is suitable for recovery ?

Regards

@darkspeed I do NOT suggest an attempt to flash the SPI with an eprom programmer. FIRST you must get the DBG jumper set. Please read the thread, the details are in there about it. You are correct that shorting CMD to gnd well cause the eMMC to fail, but the default action on that failure is to halt the CPU, so does you no good at all. I believe with the DBG jumper installed AND CMD shorted to ground your probably going to end at a u-boot prompt, but not certain.

Is there any way to control the fans just from the IDRAC console? When I hookup using UART I do not get a Linux shell but just an iDRAC7=> prompt (I think my system is super hosed):



I’ve given up on trying to recover this system but I would like to be able to control the fans

tftpboot doesn’t work:



flashing from sd card fails:



If I understand correctly this means my EMMC is bad? I’m basically screwed?




answering my own question – this works:

iDRAC7=> util fan -set all low


for a list of all commands run "util":





next question that i hope someone may have the answer to: is there any way to monitor temperatures from idrac console? can Windows access temperatures when the idrac is dead?

Does anyone has a backup from an old SPI Boot rom in R320 (who can be interrupted with jumper, not as latest versions…) ?

I’m stuck with latest version of bootloader, after dd with zero the emmc … no rescue, only PANIC :frowning:

(I had a backup of my Emmc and it works if I put back my backup)

Regards

Nicolas F.



Hi. I have one from a R720. I don’t know if the boot loader is the same.



Hi. Could you please detail steps and tools used? I’m trying to make it work, but couldn’t. First doubt is that resquashed image is smaller than original, and also don’t know how to embed it on original image. Steps 10 and 15 are the ones that are confusing to me.

If anyone is from Argentina, I’ve found eMMC replacement in Mercado Libre. The first one is SK Hynix H26M31001HPR (same chip, newer generation) and the other is Toshiba THGBMDG5D1LBAIL. ARS 2500 (around USD 14). I’m looking now for someone that can solder it.

Note I think this only works for pre 2.* servers. I’m booting 1.66 in this.

For anyone trying to figure out SD boot on a R720 I got it figured out, this will probably work for other Rx20 servers but your mileage will vary. Big shout out to @ldv @willard and extra big shout out to @mehfk whos beautifully auto translated post made me google a thousand things and got me to here. I used an Ubuntu 21.04 offline ISO install to do this without any added packages.

1. Connect to UART pins (I used a raspberry pi 4 GPIO)
2. Solder a jumper between A2 and B2 on SW_IDRAC_DBG to interrupt U-Boot
3. Once in U-Boot modify your environment variables to match a TFTP server on your network and attach a network cable to port 1 of your onboard ethernet (not the idrac dedicated). You will need the recovery iDRAC firmimg.d7 file on the root directory of your TFTP server.
setenv gatewayip '192.168.1.1’
setenv ipaddr '192.168.1.100’
setenv serverip '192.168.1.10’
senenv netmask '255.255.255.0’

most importantly disable CRC checking -

sentenv verify 'no’

4. Flash your SD card with the firmimg.d7 on your TFTP server

tftpboot firmimg.d7
fwu mmc sd
fwu check 0x81000000
fwu update 0x81000000
saveenv

5. Boot the SD card to make sure proper copy, you should see endless messages about being unable to write to individual blocks of mmcblk0

fwu boot

6. Wait about 20 min to get to linux shell and reboot to recovery console or remove power to the server, then remove the SD card, go to a Linux device with a SD card reader. Here’s the commands that I ran but you can change to your use case -
sudo bash
mkdir /Dell
mkdir /Dell/images
mkdir /Dell/squash
dd if=/dev/mmcblk0 of=/Dell/images/sd.img
dd if=/dev/mmcblk0p2 of=/Dell/images/os.img
cd /Dell/squash
unsquashfs /Dell/images/os.img
cd squashfs-root/etc/sysapps_script/
grep -R 'mmcblk0’

7. Now edit the files that are reported by grep that contain mmcblk0. Replace all entries of mmcblk0 with your SD card /dev/, on the R720 its mmcblk1 for the front vflash port, other chassis may vary.
gedit/vim/vi

squashfs-root/etc/sysapps_script/S_3160_create_corepart.sh
squashfs-root/etc/sysapps_script/S_3160_create_master.sh
squashfs-root/etc/sysapps_script/S_3160_create_scratch.sh
squashfs-root/etc/sysapps_script/config_lib_init.sh

8. Write the squashfs file system back to the SD card. There are two partitions that contain system data.
cd /Dell/squash
mksquashfs squashfs-root/ /dev/mmcblk0p2 -noappend
mksquashfs squashfs-root/ /dev/mmcblk0p6 -noappend

9. Completely power off the server and drain flea until iDRAC light turns off. Insert SD card. Plug in system and fully power on.

10. Profit because you don’t see any more mmcblk0 errors and you successfully booted iDRAC from the SD card.

I think that should hopefully get anyone with a dead emmc working :slight_smile:

Thank you for all your work on this @Darkendvoid I’m finally feeling a glimmer of hope for my dead r620

Following your steps everything goes ok up until step 5, “fwu boot” (line 93 below), I do not end up in Linux but back into iDRAC7 prompt:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
 
iDRAC7=> 
iDRAC7=>
iDRAC7=> setenv ipaddr '192.168.0.100'
iDRAC7=> setenv gatewayip '192.168.0.1'
iDRAC7=> setenv serverip '192.168.0.202'
iDRAC7=> setenv netmask '255.255.255.0'
iDRAC7=> setenv verify 'no'
iDRAC7=> setenv ethact sh_eth.0
iDRAC7=> tftpboot firmimg.d7
Using sh_eth.0 device
TFTP from server 192.168.0.202; our IP address is 192.168.0.100
Filename 'firmimg.d7'.
Load address: 0x81000000
 
Loading: 0 B
Loading: 1 KB
Loading: 1 KB
Loading: 1 MB
Loading: 2 MB
Loading: 4 MB
Loading: 5 MB
Loading: 7 MB
Loading: 8 MB
Loading: 10 MB
Loading: 11 MB
Loading: 12 MB
Loading: 14 MB
Loading: 15 MB
Loading: 17 MB
Loading: 18 MB
Loading: 20 MB
Loading: 21 MB
Loading: 22 MB
Loading: 24 MB
Loading: 25 MB
Loading: 27 MB
Loading: 28 MB
Loading: 30 MB
Loading: 31 MB
Loading: 32 MB
Loading: 34 MB
Loading: 35 MB
Loading: 37 MB
Loading: 38 MB
Loading: 40 MB
Loading: 41 MB
Loading: 43 MB
Loading: 44 MB
Loading: 45 MB
Loading: 47 MB
Loading: 48 MB
Loading: 50 MB
Loading: 51 MB
Loading: 53 MB
Loading: 54 MB
Loading: 55 MB
Loading: 57 MB
Loading: 58 MB
Loading: 60 MB
Bytes transferred = 62953181 (3c096dd hex)
iDRAC7=> fwu mmc sd
Erasing SPI flash at 0x100000...Writing to SPI flash...done
Erasing SPI flash at 0x110000...Writing to SPI flash...done
iDRAC7=> fwu check 0x81000000
Checking image header CRC ... OK
Checking platform env ID..... OK
Checking kernel image CRC ... OK
Checking rootfs image CRC ... OK
Checking u-boot image CRC ... OK
Skipping u-boot update ...... NO
Checking Platform image CRC . OK
Done!
iDRAC7=> fwu update 0x81000000
 
*** Updating Partition 5 ***
Checking image header CRC ... OK
Checking platform env ID..... OK
Checking kernel image CRC ... OK
Checking rootfs image CRC ... OK
Checking u-boot image CRC ... OK
Skipping u-boot update ...... NO
Checking Platform image CRC . OK
Copying kernel image ........ OK
Copying rootfs .............. OK
Copying u-boot1 to flash..... OK
Copying u-boot2 to flash..... OK
Copying u-boot to MMC........ OK
Copying platform image ...... OK
Done!
iDRAC7=> saveenv
Saving Environment to SPI Flash...
Erasing SPI flash at 0x100000...Writing to SPI flash...done
Erasing SPI flash at 0x110000...Writing to SPI flash...done
 

 

 

 

iDRAC7=> fwu boot
OS_WDT0_EN:180 seconds, Re-load ILRAM:
Boot Path Retry:P1/N=3 P5/N-1=3 Recover
Re-load 0x1000Kbytes from u-boot offset 0x0 into ILRAM at 0x0
Force Address Error to reset iDRAC
 

 
U-Boot 2009.08-00066-g951a018 (Apr 30 2014 - 13:44:13) Avocent (0.0.3) EVB, Build: jenkins-idrac-yocto-release-483
 
CPU: SH-4A
BOARD: R0P7757LC00xxRL (C0 step) board
BOOT: Secure, HRK generated
DRAM: 240MB
(240MB of 256MB total DRAM is available on U-Boot)
ENV: Using primary env area.
In: serial
Out: serial
Err: serial
WDT2: Booted Lower Vector, 'uboot1'
sh_mmcif: 0, sh-sdhi: 1
Net: sh_eth.0, sh_g_eth.0
INFO: 00:002 Start-up -to- util_idrac_main()
INFO: 00:004 U-Boot 2009.08-00066-g951a018 (Apr 30 2014 - 13:44:13) Avocent (0.0.3) EVB
INFO: 00:008 U-Boot checkin date(05-10-2013) Version(1.0.183)
INFO: 00:006 iDRAC PPID <NULL>
INFO: 00:003 SPI NOR init 4096 KiB AT25DF321A bus=0 cs=0, speed=1000000, mode=3
INFO: 00:008 SH-4A Product: Major Ver=0x31 Minor Ver=0x14 C4 Little endian
Family=0x10 Major Ver=0x30 Minor Ver=0x0b
PASS: 00:015 Dedicated monolithic mgmt NIC disabled
INFO: 00:129 BCM54610 OUI=0x3fffff Model=0x3f Revision=0x0f PhyAddr=1
INFO: 00:168 SD CARD: Device: sh-sdhi Manufacturer ID: 27 OEM: 5048
Name: SD08G Tran Speed: 25000000 Rd Block Len: 512
SD version 2.0 High Capacity: Yes Capacity: -620756992
INFO: 00:058 EMMC: Device: sh_mmcif Manufacturer ID: 90 OEM: 14a
Name: HYNIX Tran Speed: 25000000 Rd Block Len: 512
MMC version 4.0 High Capacity: Yes Capacity: 0
INFO: 00:019 CPLD: Major Ver=0x1 Minor Ver=0x0 Maint Ver=0x3
Planar: Type=0x04 Rev=0x8 Rework=0x0 Scratch/PathRetry=0x0f
PASS: 00:014 Coin cell detected good, AD=0x392 low water=0x2c1
PASS: 00:008 PCIe C0 Ver=0.15 MCTP en, CRC=0x8e9b6875 @0x8efbf954 cnt=0x18000
INFO: 00:007 Init PCIe mailbox(PCIe 0xFFEE0150=0x40010000)
INFO: 00:005 mode=normal
INFO: 00:003 reset_cause=recover
PASS: 00:005 Booted Lower Vector, 'uboot1' wdt2cnt=0
INFO: 00:005 wdt0cnt=0
PASS: 00:002 SMR0 no sermux env, default 0xd4
INFO: 00:004 GRACR=0x3c HISEL=0x00 SIRQCR5_D=0x03 SIRQCR6_D=0x01 LADMSK0=0xff2
MRSTCR0=0xfedffe7f MRSTCR1=0xfff3ff0f MRSTCR2=0x7f80feff
BARMAP=0x1 BCR=0x85000000 NCER=0x01fc NCMCR=0x0006 NCCSR=0x0303
PASS: 00:022 etherc0=F0:1F:AF:CF:17:7D
getherc0=F0:1F:AF:CF:17:7E
INFO: 00:007 Fan logic is not modified on Non-AC power up
INFO: 00:052 Env and backup CRC'ed ok
*** no text signature found ***
*** partition count was not correct ***
*** create default partitions ***
No. Type Status Start Size System
-----------------------------------------------------------
1 P 80 1 8000 16 MB Linux
2 P 00 8001 37c00 111 MB Empty
3 P 00 3fc01 400 512 KB Empty
4 E 00 40001 1bffff 895 MB Extended
5 L 00 40002 8000 16 MB Linux
6 L 00 48003 37c00 111 MB Empty
7 L 00 7fc04 400 512 KB Empty
8 L 00 80005 a0000 320 MB Empty
9 L 00 120006 2000 4 MB Empty
10 L 00 122007 2000 4 MB Empty
11 L 00 124008 2000 4 MB Empty
12 L 00 126009 2c1001 1 GB Linux
13 L 00 3e700b 17d79 47 MB Linux
14 L 00 3fed8b 3001 6 MB Linux
15 L 00 401d8d 12c001 600 MB Linux
 
1 Unknown Image
 
2 Unknown Image
 
3 Unknown Image
 
4 Unknown Image
 
5 Name: sh-linux
Type: SuperH Linux Kernel Image (gzip compressed)
Data Size: 0x26c395 bytes (0x1362 blocks)
Load Address: 80001000
Entry Point: 80002000
 
6 Type: SquashFS
Data Size: 0x38d15f4 bytes (0x1c68b blocks)
 
7 Unknown Image
 
8 Unknown Image
 
9 Unknown Image
 
10 Type: SquashFS
Data Size: 0x7212c bytes (0x391 blocks)
 
11 Unknown Image
 
12 Unknown Image
 
13 Unknown Image
 
14 Unknown Image
 
15 Unknown Image
 
INFO: 02:518 Sync eMMC/SPI NOR/Alternate u-boot images
PASS: 00:081 Current u-boot1 1.0.183 verified with 'ubootN'
Trailer Struct - Missing start token, exp=0xc0de1111 rec=0x0
FAIL: 00:102 Verify OS Images N: Kernel crc exp=0x8c86b2b rec=0x7d2e61f9
blk_start=0x1 blk_size=0x0 ENV bcnt=0x26d5d5
FAIL: 00:013 Boot device=emmc Boot partition1/N
Boot Path Retry:P1/N=3 P5/N-1=3 Recover
INFO: 00:010 Sync eMMC/SPI NOR/Alternate u-boot images
PASS: 00:086 Current u-boot1 1.0.183 verified with 'ubootN'
Trailer Struct - Missing start token, exp=0xc0de1111 rec=0x0
FAIL: 00:102 Verify OS Images N: Kernel crc exp=0x8c86b2b rec=0x7d2e61f9
blk_start=0x1 blk_size=0x0 ENV bcnt=0x26d5d5
FAIL: 00:012 Boot device=emmc Boot partition1/N
Boot Path Retry:P1/N=3 P5/N-1=3 Recover
INFO: 00:010 Autoboot will abort as Bootdelay = -1, Disable WDT2
INFO: 00:000 03:494
iDRAC7=>
iDRAC7=>
iDRAC7=>
iDRAC7=>
 


Below is my printenv, I'm wondering if my env got corrupted somehow?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
 
iDRAC7=> printenv
baudrate=115200
bootfile="all.bin"
offset=8a000000
offset_kernel=8a100000
offset_rootfs=8a300000
ps_start=a8040000
envps_on_flash=a8030000
envps_size=10000
flash_0_start=a8000000
kernel_load=88000000
kernel_start=a8100000
sd_kernel_start=1
kernel_size=200000
rootfs_start=a8300000
rootfs_load=8a000000
rootfs_size=d00000
rootfs_size_in_long=340000
ps_size=C0000
erase_env=ps erase env
erase_ps=set fl_start $(ps_start);set fl_size $(ps_size);run erase
erase=protect off $(fl_start) +$(fl_size);erase $(fl_start) +$(fl_size);protect on $(fl_start) +$(fl_size)
netboot=bootp; bootm
uboot_start=a8000000
bu=set interface tftp;set bootfile $(rootpath)bootloader.bin;set fl_start $(uboot_start);run uploadfile
au=run fwu_au erase_ps erase_env
ku=run sd_ku
ru=run sd_ru
sd_ku=fwu dev 1;set interface tftp;set bootfile kernel.bin;set sdstart $(fwu_kernel_start);run uploadsd
sd_ru=fwu dev 1;set interface tftp;set bootfile rootfs.squashfs;set sdstart $(fwu_rootfs_start);run uploadsd
uploadsd=$(interface) $(offset) $(rootpath)$(bootfile);getsdblk;mmc write 0 $(offset) $(sdstart) $(sdblknum)
fwu_au=tftp $(offset) $(rootpath)$(fwuimage);fwu update $(offset)
spi_boot=bootm $(kernel_start) $(rootfs_start)
nfs_boot=run nfsargs;run nfs_load_kernel
sd_boot=fwu dev 1; fwu boot;
nfs_load_kernel=fwu dev 1; mmc read 0 $(kernel_load) $(fwu_kernel_start) 1000;run nfsargs;bootm $(kernel_load)
uploadfile=$(interface) $(offset);protect off $(fl_start) +$(filesize);erase $(fl_start) +$(filesize);cp.b $(offset) $(fl_start) $(filesize);protect on $(fl_start) +$(filesize)
fwuimage=firmimg.d7
netdev=eth0
nfsip=
nfsroot=/nfsroot
console=ttyS2
initrdargs=set bootargs console=$(console) root=$(rootpath);bootm $(kernel_start) $(rootfs_start)
nfsargs=set bootargs console=$(console),$(baudrate) $(optarg) ethaddr=$(ethaddr) mem=$(mem) nfsroot=$(nfsip):$(nfsroot) root=/dev/nfs rw ip=$(ipaddr):$(nfsip):$(gatewayip):$(netmask):$(hostname):$(netdev):off
sbu=run spi_sbu
sku=fwu dev 1;set interface loadb;set bootfile kernel.bin;set sdstart $(fwu_kernel_start);run uploadsd
sru=fwu dev 1;set interface loadb;set bootfile kernel.bin;set sdstart $(fwu_kernel_start);run uploadsd
mac_source=0
autoload=n
uboot_offset=0
uboot_size=30000
write_spi=sf probe 0;sf erase $(spi_offset) $(size_to_spi);sf write $(offset) $(spi_offset) $(size_to_spi)
spi_bu=set interface tftp;set bootfile $(rootpath)bootloader.bin;$(interface) $(offset);set spi_offset $(uboot_offset);set size_to_spi $(uboot_size);run write_spi
spi_sbu=set interface loadb;$(interface) $(offset);set spi_offset $(uboot_offset);set size_to_spi $(uboot_size);run write_spi
m0_inf=1
m0_act=1
dmn=disabled
hostname=idrac7
bootnfs=tftp 82000000 $(bootfile); run nfsargs; bootm
etherc0=F0:1F:AF:CF:17:7D
getherc0=F0:1F:AF:CF:17:7E
macs_in_res1=yes
fwu_spi_uboot1_start=0x0
fwu_spi_uboot2_start=0x80000
platform_id=DDRB
FWN=0x26d5d5_0x8c86b2b,0x38ec000_0xb0e73b0,0x57ff4_0xaf8a2c02,0x73000_0xb04957fb
fwu_kernel_load=0x82000000
bootcmd=fwu dev 1;fwu boot
dell_version=U-Boot checkin date(05-10-2013) Version(1.0.183)
bootdelay=-1
verify=no
filesize=3C096DD
fileaddr=81000000
gatewayip=192.168.0.1
netmask=255.255.255.0
ipaddr=192.168.0.100
serverip=192.168.0.202
fwu_kernel_offset=81000200
fwu_rootfs_offset=8126c600
fwu_uboot_offset=84b3e600
fwu_uboot_size=57ff4
fwu_platform_offset=84b96600
fwu_platform_size=398
FWN1=0x26c3d5_0x1139a4c6,0x38d2000_0x80668c52,0x57ff4_0xf0dc6379,0x73000_0x3ad0249b
stdin=serial
stdout=serial
stderr=serial
ethaddr=F0:1F:AF:CF:17:7D
eth2addr=F0:1F:AF:CF:17:7E
mem=239616k
ethrotate=no
ethact=sh_g_eth.0
first_ac=yes
nmi_buf=0x83000000
runtime_args=mode=normal reset_cause=ac nmi_buf=0x83000000
fwudev=evb
bootargs=root=/dev/mmcblk1p6 rootwait rw rootfstype=squashfs mem=239616k console=ttyS2,115200 <NULL> mac1=F0:1F:AF:CF:17:7D mac2=F0:1F:AF:CF:17:7E mode=normal reset_cause=ac nmi_buf=0x83000000 quiet
fwu_kernel_start=40002
fwu_rootfs_start=48003
fwu_platform_start=122007
fwu_uboot_start=7fc04
fwu_kernel_size=1362
fwu_rootfs_size=1c68b
fwummc=emmc
ver=U-Boot 2009.08-00066-g951a018 (Apr 30 2014 - 13:44:13) Avocent (0.0.3) EVB
 
Environment size: 4097/65532 bytes
iDRAC7=>
 

I dont think its your env, the only difference I see is my bootcmd is set to only ‘fwu boot’ which I think fwu dev1 selects the emmc. You might want to try -

setenv bootcmd 'fwu boot’
saveenv

It looks like its trying to boot to an incomplete image which might be the emmc that is still reporting partition structure but not reading data.

then just run -

fwu mmc sd
fwu boot

again from the console