Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - rtkit install from usb flash?: (8 Items)
   
rtkit install from usb flash?  
Has anyone done this? I tried by:

  formatting drive with QNX4 using the boot file extracted from instflop-rtkit.dat
  copying over the regular rtkit files, including rtinstall, boot/fs/*.ifs,*.qfs

The drive boots, but it does not get into the rtinstall script. I'm *guessing* it somehow isn't finding the USB drive 
after booting. Do I need to build a more carefully customized boot image?
Re: rtkit install from usb flash?  
Most likely. When I wrote it it was intended for customization by the
distributor. I'm fairly certain I hardcoded lots of /fs/cd0's in there.


On 11-08-25 15:02 , "Norton Allen" <community-noreply@qnx.com> wrote:

> Has anyone done this? I tried by:
> 
>   formatting drive with QNX4 using the boot file extracted from
> instflop-rtkit.dat
>   copying over the regular rtkit files, including rtinstall,
> boot/fs/*.ifs,*.qfs
> 
> The drive boots, but it does not get into the rtinstall script. I'm *guessing*
> it somehow isn't finding the USB drive
> after booting. Do I need to build a more carefully customized boot image?
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88372
> 
RE: rtkit install from usb flash?  
We found that 6.4.1 would not find rtinstall on a USB CD, but 6.5.0
would.

-----Original Message-----
From: Keith Russell [mailto:community-noreply@qnx.com] 
Sent: Thursday, August 25, 2011 3:07 PM
To: momentics-community
Subject: Re: rtkit install from usb flash?

Most likely. When I wrote it it was intended for customization by the
distributor. I'm fairly certain I hardcoded lots of /fs/cd0's in there.


On 11-08-25 15:02 , "Norton Allen" <community-noreply@qnx.com> wrote:

> Has anyone done this? I tried by:
> 
>   formatting drive with QNX4 using the boot file extracted from
> instflop-rtkit.dat
>   copying over the regular rtkit files, including rtinstall,
> boot/fs/*.ifs,*.qfs
> 
> The drive boots, but it does not get into the rtinstall script. I'm
*guessing*
> it somehow isn't finding the USB drive
> after booting. Do I need to build a more carefully customized boot
image?
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88372
> 




_______________________________________________

QNX Momentics Community Support
http://community.qnx.com/sf/go/post88374
Re: rtkit install from usb flash?  
Keith, When you say "when I wrote it", are you referring to diskboot, the rtkit technote or the instflop.dat boot image?
 (or something else)
Re: rtkit install from usb flash?  
All three, though diskboot I inherited. But in this case I'm only referring
to the script and the technote. I am pretty sure it's possible but I can't
remember right now. It may be just waiting for /fs/usb* and mounting it. The
'rtinstall' is just a shell script. Nothing fancy.

--
Keith


On 11-08-25 15:14 , "Norton Allen" <community-noreply@qnx.com> wrote:

> Keith, When you say "when I wrote it", are you referring to diskboot, the
> rtkit technote or the instflop.dat boot image? (or something else)
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88376
> 
Re: rtkit install from usb flash?  
Yeah, I have customized rtinstall, and it works well for CD installs (and not a sign of /fs/cd0 there at least). I don't
 think I'm getting that far, which makes me think the problem might be in diskboot.

diskboot seems to be a little bit of a mystery, since it must be doing some of the things that enum-devices does, but 
with less configurability. But without configurability, I can't tell it to wait, right?

And that would point the way to a boot image that skips diskboot, starts the drivers I need, waits for /fs/umass0 or 
whatever, and runs rtinstall. Does that seems like the most straightforward approach?
Re: rtkit install from usb flash?  
Did you find a solution for this? I want to do the same thing.
Re: rtkit install from usb flash?  
Yes, although it is not a very robust solution. It works for certain specific flash drives some of the time. A more 
robust solution would probably require matching the driver settings to the flash drive, and build a custom boot image 
for each drive. I am attaching the build file I used, which is a fairly straightforward modification of the rtkit 
example.
Attachment: Text usbinst.build 4.07 KB