Dear all,<br><br>I want to figure out the building system about OKL4,<br>now I have a question about the file "machine.py".<br><br>For example, int the "platform\s3c2410\tools\machine.py"<br>I got some information about class s3c2410 as follow,<br>
but I have no idea about the address of [memory_timer, memory_serial, memory_lcd, memory_rtc ].<br>How to map them into OKL4?<br>And what does "v2_drivers" do in machine.py?<br><br>[platform\s3c2410\tools\machine.py]<br>
class s3c2410(arm920t):<br> platform = "s3c2410"<br> platform_dir = "s3c2410"<br> memory = arm920t.memory.copy()<br> timer_driver = "s3c2410_timer"<br> rtc_driver = "s3c2410_rtc"<br>
serial_driver = "s3c2410_uart"<br> lcd_driver = "s3c2410_lcd"<br> touch_driver = "s3c2410_touch"<br> spi_driver = "s3c2410_spi"<br> drivers = [timer_driver, serial_driver, lcd_driver]<br>
memory_timer = [(0x51000000, 0x51001000)]<br> interrupt_timer = [11, 12]<br> memory_serial = [(0x50000000, 0x50001000)]<br> interrupt_serial = [32, 33]<br> memory_lcd = [(0x4d000000, 0x4d001000)]<br> interrupt_lcd = [16]<br>
memory_rtc = [(0x57000000, 0x57001000)]<br> interrupt_rtc = [30]<br> v2_drivers = [("s3c2410_timer", "vtimer", memory_timer, interrupt_timer),<br> ("s3c2410_uart", "vserial", memory_serial, interrupt_serial),<br>
("s3c2410_lcd", "vlcd", memory_lcd, interrupt_lcd),<br> ("s3c2410_rtc", "vrtc", memory_rtc, interrupt_rtc)<br> # ("s3c2410_spi", "vbus"),<br>
# ("s3c2410_touch", "vtouch"),<br> ]<br><br>Can anyone give me some ideas? Thank you very much.<br><br>Best Regards,<br>Qmo<br><br>