litex-hub / linux-on-litex-rocket

Run 64-bit Linux on LiteX + RocketChip
BSD 2-Clause "Simplified" License
189 stars 20 forks source link

Which cpu architecture to use in BBL building when full rocket (with fp) is used? #25

Closed matsbror closed 1 year ago

matsbror commented 1 year ago

I am building the full cpu variant as I have the Kintex 7 device which can hold it, but I do not know which cpu architecture to specify when building BBL. Please advise.

gsomlo commented 1 year ago

On Mon, Dec 05, 2022 at 03:48:00AM -0800, Mats Brorsson wrote:

I am building the full cpu variant as I have the Kintex 7 device which can hold it, but I do not know which cpu architecture to specify when building BBL. Please advise.

You can use the same BBL parameters specified for the "linux" variants. You get fpu emulation linked in, but if Linux never traps into M mode due to a floating-point opcode, it doesn't matter.

matsbror commented 1 year ago

Makes sense. Thanks!