Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SiFive Unleashed U5 hardware support #7

Open
Logicwax opened this issue Apr 4, 2019 · 0 comments
Open

SiFive Unleashed U5 hardware support #7

Logicwax opened this issue Apr 4, 2019 · 0 comments

Comments

@Logicwax
Copy link

Logicwax commented Apr 4, 2019

I'm trying to get some baremetal code running on the SiFive Unleashed board, enough to provide some two-way communication over the virtual comm serial port (sifive UART) with printf/getchar function calls.

I have been trying to compare the differences between the hardware E2 core and the qemu E2 core folders to try and see if I can adopt the qemu U5 core to work on the actual unleashed board U5 hardware, but I just can't see to get it working. Looking in the memory layout of the E2 hardware default.lds I see,

flash (rxai!w) : ORIGIN = 0x40400000, LENGTH = 128M
ram   (wxa!ri) : ORIGIN = 0x80000000, LENGTH = 64K

I have tried changing it to:

ram   (wxa!ri) : ORIGIN = 0x80000000, LENGTH = 128M
flash (rxai!w) : ORIGIN = 0x10000, LENGTH = 64M

but no luck. any idea on how I could get my code which is working on the qemu simulation of U5 to work on actual hardware? There already is E2 qemu to hardware parity, so I must be missing something very small.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant