[U-Boot-Users] Do we enable Interrupts in U-Boot?

Andreas Schweigstill andreas at schweigstill.de
Tue Jan 8 14:03:40 CET 2008


Hello!

Chetan Nanda schrieb:
> In that case there must be some threads that continuously check for
> pending requests from UART, ETHERNET or so ..
> But I don't find any sort  of threading inside u-boot code

No, the peripherals get only polled when they are used. That's why
a device running U-Boot usually won't respond to ping/ICMP echo.
Network driver polling only occurs from NetLoop(); this function will
be used only for most (all?) network commands.

U-Boot doesn't implement any kind of threading. Keep in mind that U-Boot
is *not* an operating system but only a bootloader.

There have been lots of requests for some kind of multitasking but it
would be quite time-consuming to implement this without breaking
compatibility with many software parts why rely on the fact that they
have full control over the system when running.

Regards
Andreas Schweigstill

-- 
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/




More information about the U-Boot mailing list