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

Re: [partial-reconfig] Re: [microblaze-uclinux] Adding bootloop to a bitstream made outside EDK



Hi David,

There's a few curious things here - see below:

David Montminy wrote:

> bitinit system.mhs -bm implementation/system_bd.bmm -pe microblaze_0
> bootloops/microblaze_0.elf -bt static_full.bit -o download.bit

Here, you are passing in the _bd BMM file - this is the physically placed
version.  Take a look at implementation/system.bmm and system_bd.bmm to see the
difference.

Anyway, this is the right thing to be doing.

but then, look at your transcript:


> C:\EDK\mb1>bitinit system.mhs -bm implementation/system_bd.bmm -pe microblaze_0
> bootloops/microblaze_0.elf -bt static_full.bit -o download.bit

ok, this looks fine - it's using _bd

[snip]

> Initializing Memory...
> INFO:MDT - BRAM lmb_bram will be initialized with ELF of processor microblaze_0
> Running Data2Mem with the following command:
> data2mem -bm implementation/system_bd.bmm -bt static_full.bit  -bd
> bootloops/microblaze_0.elf tag microblaze_0  -o b download.bit

OK, this looks fine, it's calling data2mem with the _bd version

> ERROR:MDT - Data2Mem generated errors during execution

what's happening here?

> 
> C:\EDK\mb1>bitinit system.mhs -bm implementation/system.bmm -pe microblaze_0 boo
> tloops/microblaze_0.elf -bt static_full.bit -o download.bit

Is this you restarting bitinit with the system.bmm (not _bd), or is it starting
itself again?


> data2mem -bm implementation/system.bmm -bt static_full.bit  -bd
> bootloops/microblaze_0.elf tag microblaze_0  -o b download.bit
> 

ok, running data2mem without the _bd version is going to fil, it doesn't
actually say which BRAM instances to use

> WARNING:Data2MEM:47 - Not all BitLanes in ADDRESS_SPACE
> 'microblaze_0.lmb_bram_combined' have BMM location constraints.
>     Some data for this ADDRESS_SPACE may have been lost during BIT file
> replacement.
> 
>       Bitlane(s)
>    ----------------
>    lmb_bram/lmb_bram/ramb16_s9_s9_0 [31:24]
>    lmb_bram/lmb_bram/ramb16_s9_s9_1 [23:16]
>    lmb_bram/lmb_bram/ramb16_s9_s9_2 [15:8]
>    lmb_bram/lmb_bram/ramb16_s9_s9_3 [7:0]

As reflected by this warning

> ERROR:Data2MEM:89 - Unrecognized register address 10 in .bit file,
> 'static_full.bit'.
> 
> ERROR:MDT - Data2Mem generated errors during execution

Here's your final error - not surprising it won't work although the message is a
little cryptic.

The key here is in the 2nd invocation of bitinit with system.bmm instead if
system_bd.bmm

John


-- 
Dr John Williams, Research Fellow,
Embedded Systems Group / Reconfigurable Computing
School of ITEE, The University of Queensland, Brisbane, Australia
(p) +61 7 33652185  (f) +61 7 33654999 (m) +61 403969243

___________________________
partial-reconfig mailing list
partial-reconfig@xxxxxxxxxxxxxx
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/partial-reconfig/