DOC and DOM

Dear Mr:
We tried to replacing the DOC driver with the DOM driver in our device,
there are some errors.
2. Login using root user name
3.Run command: cd /proc/boot
4 Run command: vi start.boot
5 Locate the line start starts with the command: “devb-doc…”
6 Replace this line using “devb-eide eide slave,nobios,ioport=0x1f0,irq=14
blk noatime,auto=partition,cache=512k cam quiet &”
7 Save the changes and exit the editor
But when we save the changes and exit the editor,error information “Trouble
writing to ‘start.boot’” was shown.
The permission of the file is -rwxr-xr-x by run command: ls -l.
When we run command: chmod a+x start.boot, there was an error message
“start.boot: No such file or directory”.
What is its reason?
How will we settle problem?

You will need to either modify the start.boot file on your host
system first and rebuild your image or if that is not possible, copy
start.boot to /dev/shmem, edit and run it from there as /proc/boot is
not writable.

I would recommend that you modify the file on your host system and
rebuild your image, so you will have the proper script each time you
reboot the device.

-Jay.

Previously, liuh wrote in qdn.public.qnxrtp.embedded:

Dear Mr:
We tried to replacing the DOC driver with the DOM driver in our device,
there are some errors.
2. Login using root user name
3.Run command: cd /proc/boot
4 Run command: vi start.boot
5 Locate the line start starts with the command: “devb-doc…”
6 Replace this line using “devb-eide eide slave,nobios,ioport=0x1f0,irq=14
blk noatime,auto=partition,cache=512k cam quiet &”
7 Save the changes and exit the editor
But when we save the changes and exit the editor,error information “Trouble
writing to ‘start.boot’” was shown.
The permission of the file is -rwxr-xr-x by run command: ls -l.
When we run command: chmod a+x start.boot, there was an error message
“start.boot: No such file or directory”.
What is its reason?
How will we settle problem?


\


-Jay.