[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Peripherals



Peter Ryser wrote:
> John,
> 
> 
> 
>>I'll be interested to talk to you about how you've integrated the EDK
>>driver/libgen side of things with the PPC Linux kernel configuration
>>process.  My simplest idea is just taking the xparameters.h file from
>>the EDK project directory, and putting it somehwere the Linux source can
>>see it, to get base addresses of peripherals etc.  I've given some
>>thought to driver configuration etc, but haven't gone very far (ie
>>anywhere!) down that road yet.
> 
> 
> That's basically what we've done. When you have a look at the linuxppc_2_4_devel
> kernel you'll see arch/ppc/platforms/xilinx_ocp/xparameters_ml300.h which is
> nothing else than the file generated by EDK. Okay, this one got generated by hand
> but we are currently working on having EDK fully generate this file and the whole
> layer 0,1 driver structure.

Good plan.  I'm still working on loose ends in the kernel so this device 
driver stuff is probably a couple of weeks away for me, but I'll get 
there eventually.

I'll be posting instructions on building uClinux for microblaze in about 
30 minutes, hopefully people can start getting their hands dirty then.

John