cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2622
Views
0
Helpful
3
Replies

IR 809 and USB STORAGE

gkujawsk
Level 4
Level 4

Hi guys,

IR 809 fails to boot properly if the USB storage is inserted during power up.

Boot stucks in rommon-1> and there's no way to make it run. I tried to boot

HV from the usb drive but this failed as well. If I try to dir there are some error

messages. Take a look below.


I planned to use externally connected storage with my python app. Is it at all

possible? If I insert pen drive when the GOS is up and running there's no message

in dmesg at all. I use latest IOS and GOS available on cco.

IR809 Loader Stage 1 Version 1.6

FPGA version 0x20300 built 2015-12-16

Booted from the upgrade FPGA; SecureBoot did not fallback

Reset reason: CPU reset

BIOS Platform: IR800

BIOS Version: 10

SecureBoot core version: F01047X15.01ada48ab2015-04-03

Microloader version: MA0061R06.0404022015

Booted from the upgrade BIOS

Autoboot is ON, variable: bootstrap:ir800-hv.srp.SPA.0.37

ERROR: autoboot image not valid, autoboot suspended

rommon-1> dir

mount: /dev/flash: failed to setup loop device: No such file or directory

mount: /dev/bootstrap: failed to setup loop device: No such file or directory

mount: /dev/flash: failed to setup loop device: No such file or directory

mount: /dev/bootstrap: failed to setup loop device: No such file or directory

flash:

bootstrap:

usb:

          575 Jul  8 18:36 MANIFEST

     24447317 Jul  8 18:36 ir800-hv.srp.SPA.0.37

     87535926 Jul  8 18:36 ir800-ref-gos.img.2.3.gz

     62346519 Jul  8 18:36 ir800-universalk9-mz.SPA.156-2.T1

rommon-1>   

3 Replies 3

gkujawsk
Level 4
Level 4

I've just format the usb storage with ext2. rommon-1 fails to mount it

but at least shows that it was recognized by system as /dev/sda1... I assume that

rommon-1 expects internal flash at /dev/sda1 and plugged in usb storage

somehow overrides the defaults...

Any suggestions?

rommon-1> dir

mount: /dev/flash: failed to setup loop device: No such file or directory

mount: /dev/bootstrap: failed to setup loop device: No such file or directory

mount: wrong fs type, bad option, bad superblock on /dev/sda1,

       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try

       dmesg | tail or so.

mount: /dev/flash: failed to setup loop device: No such file or directory

mount: /dev/bootstrap: failed to setup loop device: No such file or directory

mount: wrong fs type, bad option, bad superblock on /dev/sda1,

       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try

       dmesg | tail or so.

flash:

bootstrap:

Hi,

You may run the below command to boot SRP and IOS manually. Hope it helps.

//boot SRP:

rommon-1> boot flash:ir800-hv.srp.SPA.0.37

//boot IOS:

rommon-2> boot flash:ir800-universalk9-mz.SPA.156-2.T1

Thanks,

Steve

No I cannot. As I wrote flash: and bootstrap: are not available (empty)

if the box is boot up with usb pen drive plugged in. If pen drive is FAT32, then dir

lists its content. In this state I've tried to boot up the HV directly from the usb:

then over tftp, then over http. I've tried to change BOOTUP variables to boot

the IOS image from usb:, over tftp and over http. Everything failed. HV starts the

bootup processes, hangs on "Loading subjects" and after a couple of minutes

it's back to rommon-1>

If I remove the pen drive from the usb port ir 809 boots properly without any issues.

Thus my logical conclusion, that rommon-1 has some issues with USB drive.

The USB port was supposed to be available in GOS, but it's not. Plugging in any device

into usb port while ir 809 is running shows no messages in dmesg listing at all.

I've found somewhere on the Internet, that GOS will detect the usb storage only

if it was plugged in before the box boot up. However, I box do not boot up at all

when the usb storage is plugged in....

What's the proper way to connect USB storage to GOS?

PS. HV image is on bootstrap: and not on flash: drive.