[okl4-developer] Some question about "machine.py" setup files
Qmo (Yi-Sheng)
qmosheng at gmail.com
Mon May 26 22:02:14 EST 2008
Dear all,
I want to figure out the building system about OKL4,
now I have a question about the file "machine.py".
For example, int the "platform\s3c2410\tools\machine.py"
I got some information about class s3c2410 as follow,
but I have no idea about the address of [memory_timer, memory_serial,
memory_lcd, memory_rtc ].
How to map them into OKL4?
And what does "v2_drivers" do in machine.py?
[platform\s3c2410\tools\machine.py]
class s3c2410(arm920t):
platform = "s3c2410"
platform_dir = "s3c2410"
memory = arm920t.memory.copy()
timer_driver = "s3c2410_timer"
rtc_driver = "s3c2410_rtc"
serial_driver = "s3c2410_uart"
lcd_driver = "s3c2410_lcd"
touch_driver = "s3c2410_touch"
spi_driver = "s3c2410_spi"
drivers = [timer_driver, serial_driver, lcd_driver]
memory_timer = [(0x51000000, 0x51001000)]
interrupt_timer = [11, 12]
memory_serial = [(0x50000000, 0x50001000)]
interrupt_serial = [32, 33]
memory_lcd = [(0x4d000000, 0x4d001000)]
interrupt_lcd = [16]
memory_rtc = [(0x57000000, 0x57001000)]
interrupt_rtc = [30]
v2_drivers = [("s3c2410_timer", "vtimer", memory_timer,
interrupt_timer),
("s3c2410_uart", "vserial", memory_serial,
interrupt_serial),
("s3c2410_lcd", "vlcd", memory_lcd, interrupt_lcd),
("s3c2410_rtc", "vrtc", memory_rtc, interrupt_rtc)
# ("s3c2410_spi", "vbus"),
# ("s3c2410_touch", "vtouch"),
]
Can anyone give me some ideas? Thank you very much.
Best Regards,
Qmo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080526/beae0e80/attachment.htm
More information about the Developer
mailing list