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

Re: [microblaze-uclinux] Questions on auto-config build flow



Hi David,

David Banas wrote:

>>However, if you want to start from scratch (or simply auto-ify your 
>>existing hardware), then just copy the bsp subdirectory out of the 
>>uclinux-auto project, into your own, adjust your MSS file using the 
>>original MSS/MHS pair as a guide, and proceed from there.
> 
> I struggled for a while trying to figure out what in my MSS file to change,
> in order to get the bsp/... tools invoked during the build, as I could find
> nothing in that file that seemed to directly reference and/or invoke the
> tools in the newly added "bsp" sub-directory. I was finally able to trigger
> this invocation by changing the "OS_NAME" parameter, in the "OS" section,
> from "standalone" to "uclinux". Is that really all that's involved in
> getting the bsp/... tools invoked during the build?

Everythign happens in the OS section - e.g.

BEGIN OS
  PARAMETER OS_NAME = uclinux
  PARAMETER OS_VER = 1.00.a
  PARAMETER PROC_INSTANCE = microblaze_0
  PARAMETER MAIN_MEMORY = ddr_controller
  PARAMETER LMB_MEMORY = ilmb_cntlr
  PARAMETER STDOUT = console_uart
  PARAMETER STDIN = console_uart
  PARAMETER TARGET_DIR = 
/mnt/home2/jwilliam/dist-test/uClinux-dist/linux-2.4.x/arch/microblaze/platform/uclinux-auto
END

> Now that I've figured out how to get the "bsp/..." tools invoked during the
> build, I'm getting the following error when attempting to build. Any
> thoughts on what I'm failing to include?

Can you post your "OS" section from your MSS file?  The peripherals 
named in the MAIN_MEMORY and LMB_MEMORY must correspond to actual 
instances in your hardware (MHS).  STDOUT and STDIN are the same as in 
the "standalone" BSP - it's just for the bootloader.

Regards,

John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/