Forum Discussion
Altera_Forum
Honored Contributor
12 years agoThe 0xe prefix to address for io ports is correct, which bypass the cache.
I don't quite understand your question about u-boot. In typical configuration, we can seperate kernel and dts binding and u-boot pass dtb to kernel. That is, a single kernel image can be used for several similar boards, each board has a specific dtb. So you may select u-boot in kerenel config, and you don't need to specify dts in kernel config. However, dts property name is sometime related to kernel version. There is a change in usng math code from libgcc. Please apply this patch by hand. diff --git a/arch/nios2/kernel/vmlinux.lds.S b/arch/nios2/kernel/vmlinux.lds.S index db9078f..e935377 100644 --- a/arch/nios2/kernel/vmlinux.lds.S +++ b/arch/nios2/kernel/vmlinux.lds.S @@ -57,6 +57,12 @@ SECTIONS RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE) _edata = .; + .got : { + _GLOBAL_OFFSET_TABLE_ = .; + *(.got) + *(.got.plt) + } + BSS_SECTION(0, 0, 0) _end = .; - Hippo