SBC and Flash

  • Thread starter Thread starter Paul Waterfield
  • Start date Start date
P

Paul Waterfield

I am fairly new to this and I am having a few problems. My dev system is set
up as XP Pro on c: work on D: and CF on E:. I can get an image on D: working
correctly but cant get it to work at all on the Flash. One problem is that
the SBC has a fixed flash drive on the second IDE channel and all the
tutorials say to move the completed image onto the first IDE channel. Could
that be my problem?
Are there any "Noddy does XPE" tutorials out there or can anyone help?

Thanks
Paul

--
Paul Waterfield
Exhibit Developer
Techniquest
Cardiff CF10 5BW

T: 029 2047 5475
F: 029 2048 2517
W: http://www.techniquest.org

Techniquest is a Company Limited by Guarantee,
registered in England & Wales, no. 1955696.
It is registered as a Charity, no. 517722.
 
Slobodan Brcin said:
Paul,
Try reading following doc it might help you to understand how drive letters
are assigned.
http://www.microsoft.com/windows/embedded/community/tips/xp/runtimepartition.asp

I tried that but FBA keeps bombing out. Something about not enough memory
Im not at work now but as far as I remember
If you need more help:
Answer to following questions:
1. How do you select to boot from CF?
I remove the 2 hard drives and set to Boot from BIOS but I also tried adding
a line to the boot.ini with the same result.
2. Where did you do FBA.
On D: the dev HD
3. What error message do you see (complete description) ?

As far as I remember there were three errors one looked like assembler, one
saying something about cant boot, booting from c: and then hanging, and
another saying a problem with the device.

4. Is CF removable/nonremovable?

Sandisk industrial marked as non removable.
5. Your boot.ini?

I dont know offhand but will look tomorow.

I thought this was going to be a fairly quick process since my first attempt
onto HD worked, but each iteration takes so long and my boss is getting a
bit impatient.

Thanks Paul.
 
From what you have described I see at least one problem that prevents you
from booting.
Problem is that when you copy files from HDD (D:) to CF (E). Because CF will
be C: when you boot from it.


You must choose and do one of two things:
1. Do FBA on primary master and set in TD drive letter to C:
2. Use link to tip I have provided to you so you can preassign drive letter
so XPe can be installed as C: on second HDD.

After that you can copy files to bootable CF.

To see if your CF is bootable you can put boot.ini that has pause of let say
30 seconds and multi os choice, if you see multi os choice then ntldr. is
loaded and working.


If you have only this CF in your device then you must use ARC path
multi(0)disk(0)rdisk(0)partition(1) in boot.ini.
Also you must (or should) use in TD C: as your OS volume.


Regards,
Slobodan
 
For most SBC I recommond 256M memory. Also the CF socket on the SBC should
be a primary secoundry. You set the BIOS to boot from thier.
 
Thanks have now managed to get it booting from CF, But it now freezes on the
Windows XP Splash screen, booting from HDD works OK.
Reading the Google groups a few people have had this problem, but I cant see
any answers.
Has anyone solved this?
 
If your XPe is on disk C:
You must either: Disable your HDD in system or delete all entries from
HKLM\System\MountedDevices.

If you are using approach described in this doc:
http://www.microsoft.com/windows/embedded/community/tips/xp/runtimepartition
..asp

Then you must swap drive letters using regedit so your system will think
next time you boot that partition from CF is C: or what ever that you set in
TD.


Bottom line is that partition ID of CF must match ID written in registry for
your OS volume.

Regards,
Slobodan
 
Slobodan Brcin said:
If your XPe is on disk C:
You must either: Disable your HDD in system or delete all entries from
HKLM\System\MountedDevices.

If you are using approach described in this doc:
http://www.microsoft.com/windows/embedded/community/tips/xp/runtimepartition
.asp

Then you must swap drive letters using regedit so your system will think
next time you boot that partition from CF is C: or what ever that you set in
TD.


Bottom line is that partition ID of CF must match ID written in registry for
your OS volume.

Regards,
Slobodan

Following your method above on line
'Change this reg key \DosDevices\G: to this \DosDevices\C:'
should I also have changed key \DosDevices\C: to \DosDevices\G:
because I had two references to \DosDevices\C: Am I thinking correctly?
Thanks again
 
If you are referring to preassigning drive letter from TD.

Then you need only to have \DosDevices\C:.
During first boot phase XPe will assign volume letters for other unknown
partitions.
If you want to have known volume letters for every volume then you can
preassign all volume letters in TD.

Also if you use regedit to change mapping of volumes, same applies.

You can remove everything except volume id that will be \DosDevices\C:.
Or you can rearrange volume letters.

Every new volume that is not in the list will be added during the boot.

Hope that this helps,
Slobodan
 
Back
Top