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

Linux Kernel Start Address #34

Open
Kendidi opened this issue Jul 17, 2020 · 2 comments
Open

Linux Kernel Start Address #34

Kendidi opened this issue Jul 17, 2020 · 2 comments

Comments

@Kendidi
Copy link

Kendidi commented Jul 17, 2020

Hi,

I am trying to load a compiled ariane-sdk based vmlinux to a FPGA (ROM built with ariane.dts) via GDB. But the physical memory address on FPGA is 0x2_0000_0000. I wonder where & how do I change the Kernel start/boot address?? Many thanks in advance!

@Moschn
Copy link
Contributor

Moschn commented Jul 20, 2020

riscv64-unknown-elf-objcopy -S -O binary --change-addresses -0x80000000 bbl bbl.bin

openhwgroup/cva6#469

@Kendidi
Copy link
Author

Kendidi commented Aug 1, 2020

riscv64-unknown-elf-objcopy -S -O binary --change-addresses -0x80000000 bbl bbl.bin

openhwgroup/cva6#469

Thanks Moschn!

I am only using vmlinux, not bbl or bbl.bin. Can I still use "riscv64-unknown-elf-objcopy" command to change start address? Please advise.

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

2 participants