Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX4 in USB: (7 Items)
   
QNX4 in USB  
Hi Everybody,

I have to install QNX4 to a usb disk. 
1. Format disk:

# fdisk /dev/hd0 >>> make type t77, bootable

# dinit /dev/hd0t77

2. Change .boot file:
I created a boot script that:

/boot/sys/boot
$ /boot/sys/boot -v

/boot/sys/Proc32
$ /boot/sys/Proc32 -l 11

/boot/sys/Slib32
$ /boot/sys/Slib32

/boot/sys/Slib16
$ /boot/sys/Slib16

/bin/io-usb
$ /bin/io-usb &

/bin/Fsys
$ /bin/Fsys 

/bin/Fsys.umass
$ /bin/Fsys.umass fsys -n0=hd0

/bin/mount
$ /bin/mount -p /dev/hd0 /dev/hd0t77 /

/bin/sinit
$ /bin/sinit TERM=qnxm

Then I run buildqnx to make .boot file and copy it to root directory. 

But it hangs on "Start QNX.."
Attachment: Image IMG_1327[1].JPG 1.63 MB
Re: QNX4 in USB  
Hi Cong,

I guess the image may be too large. Try to tune your build file first. Exclude Slib16. It is not needed at boot time, 
you can launch it later if required. Also replace io-usb to io-usb-ehci. Can you boot up with that new image?

Respectfully,
Oleg

23 марта 2017 г., в 7:32, Cong Pham <community-noreply@qnx.com> написал:

> Hi Everybody,
> 
> I have to install QNX4 to a usb disk. 
> 1. Format disk:
> 
> # fdisk /dev/hd0 >>> make type t77, bootable
> 
> # dinit /dev/hd0t77
> 
> 2. Change .boot file:
> I created a boot script that:
> 
> /boot/sys/boot
> $ /boot/sys/boot -v
> 
> /boot/sys/Proc32
> $ /boot/sys/Proc32 -l 11
> 
> /boot/sys/Slib32
> $ /boot/sys/Slib32
> 
> /boot/sys/Slib16
> $ /boot/sys/Slib16
> 
> /bin/io-usb
> $ /bin/io-usb &
> 
> /bin/Fsys
> $ /bin/Fsys 
> 
> /bin/Fsys.umass
> $ /bin/Fsys.umass fsys -n0=hd0
> 
> /bin/mount
> $ /bin/mount -p /dev/hd0 /dev/hd0t77 /
> 
> /bin/sinit
> $ /bin/sinit TERM=qnxm
> 
> Then I run buildqnx to make .boot file and copy it to root directory. 
> 
> But it hangs on "Start QNX.."
> 
> 
> 
> _______________________________________________
> 
> QNX4 Community Support
> http://community.qnx.com/sf/go/post117549
> To cancel your subscription to this discussion, please e-mail qnx4-community-unsubscribe@community.qnx.com
> <IMG_1327[1].JPG>

Re: QNX4 in USB  
Hi Mr Oleg,

I replaced io-usb by io-usb-ehci , as you said. 

It boot ok, but slowly :)
Re: QNX4 in USB  
And,

If I want to use MicroSD card, what Fsys driver can I use to mount?
Re: QNX4 in USB  
Hello Cong,

You can use Fsys.umass for MicroSD connected via USB-reader.

Respectfully,
Oleg

24 марта 2017 г., в 6:57, Cong Pham <community-noreply@qnx.com> написал:

> And,
> 
> If I want to use MicroSD card, what Fsys driver can I use to mount?
> 
> 
> 
> _______________________________________________
> 
> QNX4 Community Support
> http://community.qnx.com/sf/go/post117552
> To cancel your subscription to this discussion, please e-mail qnx4-community-unsubscribe@community.qnx.com

Re: QNX4 in USB  
Oh no, I want to mount and boot my MicroSD card, it is plugged on board directly, not via SDcard reader.
Re: QNX4 in USB  
Hi Cong,

There are no special Fsys drivers for MicroSD controller in QNX 4.

Respectfully,
Oleg

25 марта 2017 г., в 4:44:15, Cong Pham <community-noreply@qnx.com> написал:

> Oh no, I want to mount and boot my MicroSD card, it is plugged on board directly, not via SDcard reader.
> 
> 
> 
> _______________________________________________
> 
> QNX4 Community Support
> http://community.qnx.com/sf/go/post117554
> To cancel your subscription to this discussion, please e-mail qnx4-community-unsubscribe@community.qnx.com