* [U-Boot-Users] IO access in U-BOOT
@ 2005-11-29 8:39 terry
0 siblings, 0 replies; 3+ messages in thread
From: terry @ 2005-11-29 8:39 UTC (permalink / raw)
To: u-boot
hi,
I use the ARM926ejs, it need set the I/O as input, output or other
status. Also it need read the I/O port.And "all IO is memory mapped".
In u-boot how to support this, where to configure it, or it need write
by myself.
Another question, in uboot, the irq of ARM926ejs was closed by a macro
CONFIG_USE_IRQ. So the irq interrupt is no used, then how u-boot support
the keyboard, network, and IDE hard disk, polling? if need support USB,
can it still use polling driver?
Does someone have more document about the u-boot, I really need
Thank you
Terry
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] IO access in U-BOOT
@ 2005-11-29 8:50 蔡栋
2005-11-29 9:50 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: 蔡栋 @ 2005-11-29 8:50 UTC (permalink / raw)
To: u-boot
hi terry
>hi,
>
>I use the ARM926ejs, it need set the I/O as input, output or other
>status. Also it need read the I/O port.And "all IO is memory mapped".
>In u-boot how to support this, where to configure it, or it need write
>by myself.
>
In convention u-boot do it in cpu/<you cpu id>/start.S
best regards
??????????
????????caidong at kedacom.com
??????????2005-11-29
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] IO access in U-BOOT
2005-11-29 8:50 蔡栋
@ 2005-11-29 9:50 ` Wolfgang Denk
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2005-11-29 9:50 UTC (permalink / raw)
To: u-boot
In message <OF301B3B63.E25B41D2-ON482570C8.002F5342@com> you wrote:
> aGkgdGVycnkNCg0KPmhpLA0KPg0KPkkgdXNlIHRoZSBBUk05MjZlanMsIGl0IG5lZWQgc2V0IHRo
> ZSBJL08gYXMgaW5wdXQsIG91dHB1dCBvciBvdGhlcg0KPnN0YXR1cy4gQWxzbyBpdCBuZWVkIHJl
> YWQgdGhlIEkvTyBwb3J0LkFuZCAiYWxsIElPIGlzIG1lbW9yeSBtYXBwZWQiLg0KPkluIHUtYm9v
> dCBob3cgdG8gc3VwcG9ydCB0aGlzLCB3aGVyZSB0byBjb25maWd1cmUgaXQsIG9yIGl0IG5lZWQg
> d3JpdGUNCj5ieSBteXNlbGYuDQo+DQpJbiBjb252ZW50aW9uIHUtYm9vdCBkbyBpdCBpbiBjcHUv
> PHlvdSBjcHUgaWQ+L3N0YXJ0LlMNCg0KCQkJYmVzdCByZWdhcmRzDQoNCgkJCQkgDQqhoaGhoaGh
> oaGhoaGhoaGhssy2sA0KoaGhoaGhoaGhoaGhoaGhoWNhaWRvbmdAa2VkYWNvbS5jb20NCqGhoaGh
> oaGhoaGhoaGhoaGhoaGhMjAwNS0xMS0yOQ0KDQo=
Grrrghhhh .... posting nonsense, and then base64 encoded, too!
Please do not send base 64 encoded messages.
Please send plain text only.
>I use the ARM926ejs, it need set the I/O as input, output or other
>status. Also it need read the I/O port.And "all IO is memory mapped".
>In u-boot how to support this, where to configure it, or it need write
>by myself.
>
In convention u-boot do it in cpu/<you cpu id>/start.S
NO!!!! *Never* place any board dependent code in any files in cpu/ -
such code obviously belongs to your board-specific code in board/
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"How is this place run - is it an anarchy?"
"No, I wouldn't say so; it is not that well organised..."
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-11-29 9:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-29 8:39 [U-Boot-Users] IO access in U-BOOT terry
-- strict thread matches above, loose matches on Subject: below --
2005-11-29 8:50 蔡栋
2005-11-29 9:50 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox