Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Hi, You must know the meaning of addresses, "physical" and "virtual" ones. And also you must know the meaning of modes, "kernel mode" and "user mode".
pio_red_led: BASE = 0x0800_00b0, END = 0x0800_00bf I mean those as physical ones. Kazu --- Quote End --- Thanks. Ok. But i dont try to write directly in physical address. In code i put physical adress in mmap and it should give me virtual address that i can use to get access to registers. If i write 0x1 to base address of red_led, will firts red led swith on? And also i think to try to recompile linux, to be able to write drivers, e.t.c. Is there an instruction how to compile linux with the same abilities (vga, usb, e.t.c.)?