Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

sopc-create-header-files generates wrong header file

Hi all!

I installed Quartus II Web Edition v11.0 for Linux to be able to work on Linux with MMU on Neek project.

I followed instructions on this page: Extreme_Guide_to_Kill_NEEK_with_u-boot

As part of normal procedure a header file describing the hardware should be generated by

sopc-create-header-files script:

sopc-create-header-files --single Custom fpga.h

Fortunately, the mentioned link has already generated Custom fpga.h file so it is possible

to compare two header files.

Unpleasant surprise is that sopc-create-header-files generates header file incorrectly.

It wrongfully clears values for FAST_TLB_MISS_EXCEPTION_ADDR, EXCEPTION_ADDR,

RESET_ADDR and BREAK_ADDR. All those variables have distinctive values different from zero

in .sopcinfo file. After fixing those values manually kernel boots normally.

This smells like sopc-create-header-files bug or I do not understand something?

Thanks,

Vladik
No RepliesBe the first to reply