Anyone has never used the porting kit with the source code to migrate
the lynxos 3 to a new architecture? I am planning to migrate it to a
standard board which is currently obsolete and no bsp is available.
Apart from the drivers effort, for which i can write the code, I was
wondering how much effort would be needed in the main kernel routines
(PCI and memory initialization, ....) by using the porting kit.
Thank you very much
Pedro García
New architecture as in a processor type not previously supported by the
release? (Say, Alpha, MIPS64, or something.)
That's a major effort, several to many man-years' worth of work.
Or is it a variant of a processor already supported (yet another
PowerPC variant, for instance)? That's a lot less work, and depends
on how different the target processor is from the nearest supported
architecture.
Based on your question asking only about PCI and memory initialization,
it sounds like you're much closer to just creating a new BSP. The
complexity depends on the processor, then. Some processors have more
integrated peripherals, timers, interrupt and memory controllers, and
such, which makes porting easier.
So, you'll need to provide more detail to get a good answer.
--
Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5" / 37N 20' 15.3"
Internet: steve @ Watt.COM Whois: SW32-ARIN
Free time? There's no such thing. It just comes in varying prices...
Hello Steve,
First of all, thank you very much for your response.
My ide was planning to migrate from a VMPC6A with a PPC 750L processor
to VM6250 with a PPC MPC864X. The new processor is compatible with the
older one and has a few more instructions. I don't need to use new
instructions and I think generating code with the old tool chain is
enough for me.
I can manage also writing new drivers for new devices. The problem is
that I don't know what is done in the code inside sys/bsp.vmpc/ for
which I have not the source code. I think this code is part of the
porting kit but I have no clue on what implements. I think its the
kind of glue for the whole bsp stuff and also initializations and so
on but I am not sure. I am not sure also if this may be highly
reusable from one board to another or not.
I was thinking in acquire poring kit to do so but I was uncertain
about what the code within sys/bsp.vmpc/ actually does and I was
asking before purchasing.
Thank you very much again for your response and help.
Best Regards,
Pedro García.